.menu-group{width:100%}.menu-parent{cursor:pointer;text-align:left;background:0 0;border:none;width:100%;font-family:inherit;position:relative}.submenu-arrow{opacity:.7;margin-left:auto;font-size:18px;transition:transform .2s}.submenu{border-left:1px solid #ffffff1f;margin-left:20px;padding-left:14px}.submenu-item{color:#b8c0cc;border-radius:7px;align-items:center;gap:10px;margin:3px 0;padding:9px 12px;font-size:14px;text-decoration:none;transition:background .2s,color .2s;display:flex}.submenu-icon{text-align:center;width:20px;font-size:14px}.submenu-item:hover{color:#fff;background:#ffffff0f}.submenu-item.active{color:#60a5fa;background:#3b82f626;font-weight:600}.menu-parent-open{background:#ffffff0a}.excel-upload-toolbar{flex-wrap:wrap;gap:15px;margin-bottom:20px;display:flex}.excel-action-btn{cursor:pointer;text-align:left;background:#fff;border-radius:8px;flex:1;align-items:center;gap:13px;min-width:230px;padding:13px 16px;transition:all .2s;display:flex}.excel-action-btn>i:first-child{font-size:26px}.excel-action-btn span{flex-direction:column;flex:1;display:flex}.excel-action-btn strong{font-size:14px;font-weight:600}.excel-action-btn small{margin-top:3px;font-size:12px}.excel-action-btn .action-icon{font-size:17px}.download-btn{color:#198754;border:1px solid #b7dfc5}.download-btn:hover{background:#f0faf4;border-color:#198754}.upload-btn{color:#0d6efd;border:1px solid #b9d2f5}.upload-btn:hover{background:#f2f7ff;border-color:#0d6efd}.excel-action-btn:active{transform:scale(.98)}@media (width<=576px){.excel-upload-toolbar{flex-direction:column}.excel-action-btn{width:100%}}.paper-toolbar{justify-content:space-between;margin-bottom:20px;display:flex}.exam-paper{box-sizing:border-box;color:#000;background:#fff;width:210mm;min-height:297mm;margin:auto;padding:20mm;font-family:Times New Roman,serif}.paper-header h1{margin-bottom:5px}.paper-header h2{margin-top:0}.paper-meta{justify-content:space-between;margin-top:20px;font-weight:700;display:flex}.instructions{margin-top:20px}.instructions h3{margin-bottom:5px}.paper-section{margin-top:25px}.paper-section>h2{text-align:center;border-bottom:1px solid #000;padding-bottom:5px}.paper-question{page-break-inside:avoid;margin-top:15px}.question-row{grid-template-columns:35px 1fr 50px;align-items:start;gap:10px;display:grid}.question-number{font-weight:700}.question-text{line-height:1.5}.question-marks{text-align:right;font-weight:700}.paper-footer{text-align:center;border-top:1px solid #000;margin-top:40px;padding-top:10px}@media print{.topbar,.topbar-title{display:none!important}body{background:#fff;margin:0;padding:0}.dashboard{margin:0;padding:0}.paper-toolbar{display:none!important}.exam-paper{width:210mm;min-height:297mm;box-shadow:none;margin:0;padding:15mm}.paper-question{page-break-inside:avoid}.paper-section{page-break-inside:auto}@page{size:A4;margin:10mm}}.paper-header{text-align:center}.paper-header-top{align-items:center;min-height:70px;display:flex;position:relative}.logo{text-align:center;flex-shrink:0;width:100px;max-width:100px;height:70px}.logo img{object-fit:contain;vertical-align:middle;width:100px;max-width:100%;height:70px}.paper-title{text-align:center;flex:1}.paper-title h1{margin-top:0;margin-bottom:5px}.paper-title h2{margin-top:0}.question-images{page-break-inside:avoid;break-inside:avoid;margin-top:10px}.question-images img{object-fit:contain;page-break-inside:avoid;break-inside:avoid;max-width:100%;max-height:350px}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.16.47"}.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}.print-header{display:none}@media print{@page{size:A4;margin:18mm}.screen-only{display:none!important}.generated-answers{width:100%;position:absolute;top:0;left:0;background:#fff!important;border:none!important;margin:0!important;padding:0!important;display:block!important}.print-header{display:block!important}.question-card{page-break-inside:avoid;border:none!important;border-bottom:1px solid #999!important;border-radius:0!important;margin-bottom:25px!important;padding-bottom:20px!important}.question-text{font-size:14pt;line-height:1.7}.answer-heading{font-size:14pt!important;font-weight:700!important}.answer-text{font-size:13pt;line-height:1.7}.katex-display{page-break-inside:avoid}}.academic-year-page{max-width:1400px;margin:0 auto;padding:24px}.academic-year-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.academic-year-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:700}.academic-year-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.academic-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.academic-card-header{border-bottom:1px solid #eef0f2;padding:20px 24px}.academic-card-header h3{color:#1f2937;margin:0;font-size:18px;font-weight:650}.academic-card-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.academic-form{flex-wrap:wrap;align-items:flex-end;gap:24px;padding:24px;display:flex}.academic-form-group{flex-direction:column;min-width:280px;display:flex}.academic-form-group label{color:#374151;margin-bottom:8px;font-size:13px;font-weight:600}.academic-form-group label span{color:#dc2626;margin-left:3px}.academic-form-group input[type=text]{box-sizing:border-box;border:1px solid #d1d5db;border-radius:7px;outline:none;height:42px;padding:0 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.academic-form-group input[type=text]:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.academic-form-group input[type=text]:disabled{cursor:not-allowed;background:#f3f4f6}.academic-active-group{min-width:150px}.academic-active-group>label:first-child{margin-bottom:8px}.academic-switch{width:46px;height:24px;margin-bottom:5px;display:inline-block;position:relative}.academic-switch input{opacity:0;width:0;height:0}.academic-slider{cursor:pointer;background:#d1d5db;border-radius:24px;transition:all .2s;position:absolute;inset:0}.academic-slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.academic-switch input:checked+.academic-slider{background:#2563eb}.academic-switch input:checked+.academic-slider:before{transform:translate(22px)}.academic-status-text{color:#4b5563;font-size:12px}.academic-form-actions{gap:10px;display:flex}.academic-btn{cursor:pointer;border:none;border-radius:7px;height:42px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s}.academic-btn:disabled{opacity:.6;cursor:not-allowed}.academic-btn-primary{color:#fff;background:#2563eb}.academic-btn-primary:hover:not(:disabled){background:#1d4ed8}.academic-btn-secondary{color:#374151;background:#f3f4f6;border:1px solid #d1d5db}.academic-btn-secondary:hover:not(:disabled){background:#e5e7eb}.academic-alert{border-radius:8px;align-items:center;gap:10px;margin-bottom:20px;padding:13px 16px;font-size:14px;display:flex}.academic-alert-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.academic-alert-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.academic-list-header{justify-content:space-between;align-items:center;display:flex}.academic-refresh-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:8px 14px;font-size:13px;font-weight:600}.academic-refresh-btn:hover:not(:disabled){background:#f9fafb}.academic-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.academic-table-wrapper{overflow-x:auto}.academic-table{border-collapse:collapse;width:100%}.academic-table thead{background:#f9fafb}.academic-table th{text-align:left;color:#6b7280;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #e5e7eb;padding:13px 20px;font-size:12px;font-weight:700}.academic-table td{color:#374151;border-bottom:1px solid #f0f1f3;padding:15px 20px;font-size:14px}.academic-table tbody tr:hover{background:#fafafa}.academic-table tbody tr:last-child td{border-bottom:none}.academic-year-name{align-items:center;gap:10px;display:flex}.academic-year-icon{background:#eff6ff;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;display:flex}.academic-year-name strong{color:#111827;font-size:14px}.academic-badge{border-radius:20px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.academic-badge-active{color:#166534;background:#dcfce7}.academic-badge-inactive{color:#6b7280;background:#f3f4f6}.academic-actions{gap:8px;display:flex}.academic-action-btn{cursor:pointer;border:none;border-radius:6px;padding:7px 11px;font-size:12px;font-weight:600}.academic-edit-btn{color:#1d4ed8;background:#eff6ff}.academic-edit-btn:hover{background:#dbeafe}.academic-delete-btn{color:#dc2626;background:#fef2f2}.academic-delete-btn:hover{background:#fee2e2}.academic-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:180px;font-size:14px;display:flex}.academic-spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite academic-spin}@keyframes academic-spin{to{transform:rotate(360deg)}}.academic-empty{text-align:center;padding:50px 20px}.academic-empty-icon{margin-bottom:10px;font-size:42px}.academic-empty h4{color:#374151;margin:0 0 6px;font-size:17px}.academic-empty p{color:#6b7280;margin:0;font-size:13px}@media (width<=768px){.academic-year-page{padding:16px}.academic-form{flex-direction:column;align-items:stretch}.academic-form-group{min-width:100%}.academic-form-actions{width:100%}.academic-btn{flex:1}.academic-list-header{align-items:flex-start;gap:15px}.academic-actions{flex-direction:column}}.students-page{max-width:1600px;margin:0 auto;padding:24px}.students-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.students-header h1{color:#1f2937;margin:0 0 6px;font-size:28px;font-weight:700}.students-header p{color:#6b7280;margin:0;font-size:14px}.students-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;overflow:hidden}.students-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding:22px 24px;display:flex}.students-card-header h2{color:#111827;margin:0 0 5px;font-size:19px}.students-card-header p{color:#6b7280;margin:0;font-size:13px}.students-close-button{cursor:pointer;color:#4b5563;background:#f3f4f6;border:none;border-radius:7px;width:34px;height:34px;font-size:15px}.students-close-button:hover{background:#e5e7eb}.students-primary-button{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:600}.students-primary-button:hover{background:#1d4ed8}.students-primary-button:disabled{opacity:.6;cursor:not-allowed}.students-secondary-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600}.students-secondary-button:hover{background:#f9fafb}.students-secondary-button:disabled{opacity:.6;cursor:not-allowed}.students-alert{border-radius:8px;align-items:center;gap:10px;margin-bottom:20px;padding:13px 16px;font-size:14px;display:flex}.students-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.students-alert-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.student-form{padding:24px}.student-section-title{color:#374151;border-bottom:1px solid #e5e7eb;margin-bottom:18px;padding-bottom:10px;font-size:14px;font-weight:700}.student-section-title:not(:first-child){margin-top:28px}.student-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;display:grid}.student-field{flex-direction:column;gap:7px;display:flex}.student-field-full{grid-column:1/-1}.student-field label{color:#374151;font-size:13px;font-weight:600}.student-field label span{color:#dc2626;margin-left:3px}.student-field input,.student-field select,.student-field textarea{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:10px 12px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.student-field input,.student-field select{height:42px}.student-field textarea{resize:vertical;min-height:90px}.student-field input:focus,.student-field select:focus,.student-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.student-field input:disabled,.student-field select:disabled,.student-field textarea:disabled{cursor:not-allowed;background:#f9fafb}.student-status-row{margin-top:24px}.student-checkbox{color:#374151;cursor:pointer;align-items:center;gap:9px;font-size:14px;display:inline-flex}.student-checkbox input{cursor:pointer;width:16px;height:16px}.student-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;display:flex}.students-list-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.students-list-header h2{color:#111827;margin:0 0 5px;font-size:18px}.students-list-header p{color:#6b7280;margin:0;font-size:13px}.students-list-actions{align-items:center;gap:10px;display:flex}.students-search{background:#fff;border:1px solid #d1d5db;border-radius:7px;align-items:center;gap:8px;width:260px;height:40px;padding:0 12px;display:flex}.students-search span{font-size:14px}.students-search input{color:#111827;background:0 0;border:none;outline:none;width:100%;font-size:14px}.students-search input::placeholder{color:#9ca3af}.students-refresh-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;height:40px;padding:0 14px;font-size:13px;font-weight:600}.students-refresh-button:hover{background:#f9fafb}.students-table-wrapper{width:100%;overflow-x:auto}.students-table{border-collapse:collapse;width:100%;min-width:1100px}.students-table thead{background:#f9fafb}.students-table th{text-align:left;color:#6b7280;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 16px;font-size:12px;font-weight:700}.students-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 16px;font-size:13px}.students-table tbody tr:hover{background:#fafafa}.students-table tbody tr:last-child td{border-bottom:none}.student-admission{color:#1d4ed8;background:#eff6ff;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:600;display:inline-block}.student-name-cell strong{color:#111827;margin-bottom:3px;font-size:13px;display:block}.student-name-cell small{color:#9ca3af;font-size:11px;display:block}.student-status{border-radius:999px;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.student-status.active{color:#15803d;background:#dcfce7}.student-status.inactive{color:#6b7280;background:#f3f4f6}.student-actions{align-items:center;gap:7px;display:flex}.student-action{cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;display:flex}.student-action.edit{color:#2563eb;background:#eff6ff}.student-action.edit:hover{background:#dbeafe}.student-action.delete{color:#dc2626;background:#fef2f2}.student-action.delete:hover{background:#fee2e2}.students-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:260px;display:flex}.students-loading p{margin-top:12px;font-size:14px}.students-spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite students-spin}@keyframes students-spin{to{transform:rotate(360deg)}}.students-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:30px;display:flex}.students-empty-icon{margin-bottom:10px;font-size:46px}.students-empty h3{color:#374151;margin:0 0 7px;font-size:18px}.students-empty p{color:#9ca3af;margin:0 0 18px;font-size:13px}@media (width<=900px){.students-page{padding:16px}.students-header,.students-list-header{flex-direction:column;align-items:flex-start}.students-list-actions{width:100%}.students-search{flex:1;width:auto}}@media (width<=700px){.student-form-grid{grid-template-columns:1fr}.student-field-full{grid-column:auto}.students-list-actions{flex-direction:column;align-items:stretch}.students-search{width:auto}.students-refresh-button{width:100%}.student-form-actions{flex-direction:column-reverse}.student-form-actions button{width:100%}}.student-enrollment-page{max-width:1600px;margin:0 auto;padding:24px}.student-enrollment-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.student-enrollment-header h1{color:#1f2937;margin:0 0 6px;font-size:28px;font-weight:700}.student-enrollment-header p{color:#6b7280;margin:0;font-size:14px}.enrollment-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;overflow:hidden}.enrollment-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding:20px 24px;display:flex}.enrollment-card-header h2{color:#111827;margin:0 0 5px;font-size:18px}.enrollment-card-header p{color:#6b7280;margin:0;font-size:13px}.enrollment-primary-button{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:600}.enrollment-primary-button:hover{background:#1d4ed8}.enrollment-primary-button:disabled{opacity:.6;cursor:not-allowed}.enrollment-secondary-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600}.enrollment-secondary-button:hover{background:#f9fafb}.enrollment-secondary-button:disabled{opacity:.6;cursor:not-allowed}.enrollment-close-button{color:#4b5563;cursor:pointer;background:#f3f4f6;border:none;border-radius:7px;width:34px;height:34px}.enrollment-close-button:hover{background:#e5e7eb}.enrollment-alert{border-radius:8px;align-items:center;gap:10px;margin-bottom:20px;padding:13px 16px;font-size:14px;display:flex}.enrollment-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.enrollment-alert-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.enrollment-filter-grid{grid-template-columns:minmax(180px,1fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(260px,1.3fr);gap:18px;padding:24px;display:grid}.enrollment-field{flex-direction:column;gap:7px;display:flex}.enrollment-field label{color:#374151;font-size:13px;font-weight:600}.enrollment-field label span{color:#dc2626;margin-left:3px}.enrollment-field input,.enrollment-field select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-family:inherit;font-size:14px}.enrollment-field input:focus,.enrollment-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.enrollment-search{background:#fff;border:1px solid #d1d5db;border-radius:7px;align-items:center;gap:8px;height:42px;padding:0 12px;display:flex}.enrollment-search:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.enrollment-search input{border:none;outline:none;height:100%;padding:0}.enrollment-form{padding:24px}.enrollment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;display:grid}.enrollment-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:12px;margin-top:26px;padding-top:24px;display:flex}.enrollment-list-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.enrollment-list-header h2{color:#111827;margin:0 0 5px;font-size:18px}.enrollment-list-header p{color:#6b7280;margin:0;font-size:13px}.enrollment-list-actions{align-items:center;gap:12px;display:flex}.enrollment-count{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.enrollment-refresh-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600}.enrollment-refresh-button:hover{background:#f9fafb}.enrollment-refresh-button:disabled{opacity:.5;cursor:not-allowed}.enrollment-table-wrapper{width:100%;overflow-x:auto}.enrollment-table{border-collapse:collapse;width:100%;min-width:1100px}.enrollment-table thead{background:#f9fafb}.enrollment-table th{color:#6b7280;text-align:left;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 16px;font-size:12px;font-weight:700}.enrollment-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 16px;font-size:13px}.enrollment-table tbody tr:hover{background:#fafafa}.enrollment-table tbody tr:last-child td{border-bottom:none}.enrollment-student-cell{align-items:center;gap:10px;display:flex}.enrollment-avatar{color:#3730a3;background:#e0e7ff;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:700;display:flex}.enrollment-student-cell strong{color:#111827}.roll-number{color:#374151;background:#f3f4f6;border-radius:5px;justify-content:center;min-width:32px;padding:5px 8px;font-weight:700;display:inline-flex}.admission-badge{color:#1d4ed8;background:#eff6ff;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:600;display:inline-block}.class-badge{color:#6d28d9;background:#f5f3ff;border-radius:5px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-block}.section-badge{color:#0e7490;background:#ecfeff;border-radius:5px;justify-content:center;align-items:center;min-width:26px;padding:5px 8px;font-size:12px;font-weight:700;display:inline-flex}.enrollment-status{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.enrollment-status.active{color:#15803d;background:#dcfce7}.enrollment-status.inactive{color:#6b7280;background:#f3f4f6}.enrollment-actions{align-items:center;gap:7px;display:flex}.enrollment-action{cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.enrollment-action.edit{color:#2563eb;background:#eff6ff}.enrollment-action.edit:hover{background:#dbeafe}.enrollment-action.delete{color:#dc2626;background:#fef2f2}.enrollment-action.delete:hover{background:#fee2e2}.enrollment-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:280px;display:flex}.enrollment-loading p{margin-top:12px;font-size:14px}.enrollment-spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite enrollment-spin}@keyframes enrollment-spin{to{transform:rotate(360deg)}}.enrollment-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:30px;display:flex}.enrollment-empty-icon{margin-bottom:10px;font-size:46px}.enrollment-empty h3{color:#374151;margin:0 0 7px;font-size:18px}.enrollment-empty p{color:#9ca3af;margin:0 0 18px;font-size:13px}@media (width<=1100px){.enrollment-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.student-enrollment-page{padding:16px}.student-enrollment-header{flex-direction:column;align-items:flex-start}.enrollment-filter-grid,.enrollment-form-grid{grid-template-columns:1fr}.enrollment-list-header{flex-direction:column;align-items:flex-start}}@media (width<=600px){.enrollment-form-actions{flex-direction:column-reverse}.enrollment-form-actions button{width:100%}}.exam-assignment-page{box-sizing:border-box;width:100%;padding:24px}.exam-assignment-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.exam-assignment-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:700}.exam-assignment-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.assignment-card,.assignments-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 2px 8px #0000000a}.assignment-card{margin-bottom:20px;padding:24px}.card-title{align-items:flex-start;gap:12px;margin-bottom:24px;display:flex}.card-title>div:first-child{background:#eff6ff;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:21px;display:flex}.card-title h3{color:#1f2937;margin:0;font-size:19px}.card-title p{color:#6b7280;margin:4px 0 0;font-size:13px}.assignment-form{grid-template-columns:repeat(4,minmax(180px,1fr));gap:18px;display:grid}.required{color:#dc2626;margin-left:3px}.form-group select{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.form-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.btn{cursor:pointer;border:1px solid #0000;border-radius:6px;height:40px;padding:0 17px;font-size:13px;font-weight:600;transition:all .15s}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{color:#374151;background:#fff;border-color:#d1d5db}.btn-secondary:hover:not(:disabled){background:#f9fafb}.btn-light{color:#374151;background:#f3f4f6}.btn-light:hover{background:#e5e7eb}.success-message,.error-message{border-radius:7px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 15px;font-size:14px;display:flex}.assignment-info{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:flex-start;gap:12px;margin-bottom:20px;padding:15px 17px;display:flex}.info-icon{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:25px;height:25px;font-size:13px;font-weight:700;display:flex}.assignment-info strong{font-size:14px}.assignment-info p{margin:4px 0 0;font-size:13px;line-height:1.5}.assignments-card{overflow:hidden}.assignments-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.assignments-header h3{color:#1f2937;margin:0;font-size:18px}.assignments-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.assignments-table{border-collapse:collapse;width:100%;min-width:1050px}.assignments-table thead{background:#f9fafb}.assignments-table th{text-align:left;color:#4b5563;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:12px 14px;font-size:12px;font-weight:700}.assignments-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 14px;font-size:13px}.assignments-table tbody tr:hover{background:#f9fafb}.paper-name{color:#1f2937;min-width:180px;font-weight:600}.class-badge,.section-badge,.type-badge,.status-badge{border-radius:5px;justify-content:center;align-items:center;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.class-badge{color:#1d4ed8;background:#eff6ff}.section-badge{color:#374151;background:#f3f4f6;min-width:25px}.type-badge{color:#6d28d9;background:#f5f3ff}.status-badge{color:#4b5563;background:#f3f4f6}.status-active{color:#047857;background:#ecfdf5}.action-buttons{align-items:center;gap:6px;display:flex}.icon-btn{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;display:flex}.icon-btn:hover{background:#f9fafb}.view-btn:hover{border-color:#93c5fd}.delete-btn:hover{border-color:#fca5a5}.empty-state h4{color:#374151;margin:0;font-size:16px}.table-loading{color:#6b7280;justify-content:center;align-items:center;gap:10px;min-height:180px;font-size:14px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.assignment-form{grid-template-columns:repeat(2,minmax(200px,1fr))}}@media (width<=700px){.exam-assignment-page{padding:15px}.assignment-form{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{width:100%}.assignments-header{flex-direction:column;align-items:flex-start;gap:12px}}.marks-entry-page{max-width:1500px;margin:0 auto;padding:24px}.marks-entry-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.marks-entry-header h1{color:#1f2937;margin:0;font-size:28px;font-weight:700}.marks-entry-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.marks-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;padding:22px;box-shadow:0 2px 8px #0000000a}.marks-filter-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:18px;display:grid}.form-group label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600}.form-group select,.form-group input{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.form-group select:focus,.form-group input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-group select:disabled{cursor:not-allowed;background:#f3f4f6}.filter-actions{justify-content:flex-end;margin-top:18px;display:flex}.btn-secondary{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:9px 18px;font-size:14px;font-weight:600}.btn-secondary:hover{background:#f9fafb}.success-message,.error-message{border-radius:8px;align-items:center;gap:9px;margin-bottom:18px;padding:12px 15px;font-size:14px;font-weight:500;display:flex}.exam-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:20px 22px;display:flex;box-shadow:0 2px 8px #0000000a}.exam-summary-main{align-items:center;gap:14px;display:flex}.exam-icon{background:#eef2ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:23px;display:flex}.exam-summary-main h2{color:#111827;margin:0;font-size:19px}.exam-summary-main p{color:#6b7280;margin:7px 0 0;font-size:13px}.exam-summary-stats{gap:30px;display:flex}.summary-stat{text-align:center;min-width:80px}.summary-stat span{color:#6b7280;margin-bottom:5px;font-size:12px;display:block}.summary-stat strong{color:#111827;font-size:21px}.marks-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.marks-table-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.marks-table-header h2{color:#111827;margin:0;font-size:18px}.marks-table-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.student-search input{border:1px solid #d1d5db;border-radius:7px;outline:none;width:240px;height:38px;padding:0 12px;font-size:14px}.student-search input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.marks-table{border-collapse:collapse;width:100%;min-width:1050px}.marks-table thead{background:#f9fafb}.marks-table th{text-align:left;color:#4b5563;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 14px;font-size:12px;font-weight:700}.marks-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f0f0f0;padding:13px 14px;font-size:13px}.marks-table tbody tr:hover{background:#fafafa}.col-roll{width:50px;text-align:center!important}.roll-cell{text-align:center;font-weight:600;color:#6b7280!important}.marks-column,.percentage-column,.result-column,.status-column,.action-column{text-align:center!important}.student-name-cell{align-items:center;gap:10px;display:flex}.student-name-cell strong{color:#111827;font-size:13px;display:block}.student-name-cell small{color:#9ca3af;margin-top:3px;font-size:11px;display:block}.admission-no{color:#4b5563;font-family:monospace;font-size:12px}.max-marks{color:#374151;font-weight:600}.marks-input{text-align:center;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100px;height:36px;font-size:14px;font-weight:600}.marks-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.result-badge{border-radius:20px;justify-content:center;align-items:center;min-width:58px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.result-pending{color:#9ca3af}.status-badge{border-radius:20px;justify-content:center;align-items:center;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.status-badge.completed{color:#047857;background:#ecfdf5}.status-badge.pending{color:#c2410c;background:#fff7ed}.save-marks-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:6px;min-width:72px;padding:8px 12px;font-size:12px;font-weight:600}.save-marks-btn:hover{background:#4338ca}.save-marks-btn:disabled{cursor:not-allowed;background:#a5b4fc}.loading-state{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:250px;font-size:14px;display:flex}.loading-spinner{border:3px solid #e5e7eb;border-top-color:#4f46e5;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite marks-spinner}@keyframes marks-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.marks-empty-card{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:80px 30px;box-shadow:0 2px 8px #0000000a}.marks-empty-icon{margin-bottom:15px;font-size:50px}.marks-empty-card h2{color:#374151;margin:0;font-size:20px}.marks-empty-card p{color:#9ca3af;max-width:500px;margin:8px auto 0;font-size:14px}@media (width<=1100px){.marks-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.exam-summary-card{flex-direction:column;align-items:flex-start;gap:20px}.exam-summary-stats{justify-content:space-between;width:100%}}@media (width<=700px){.marks-entry-page{padding:15px}.marks-filter-grid{grid-template-columns:1fr}.marks-table-header{flex-direction:column;align-items:flex-start;gap:15px}.student-search{width:100%}.student-search input{box-sizing:border-box;width:100%}.exam-summary-main{align-items:flex-start}.exam-summary-stats{gap:10px}.summary-stat{min-width:60px}}.results-page{box-sizing:border-box;width:100%;padding:24px}.results-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.results-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:700}.results-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.results-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:20px;box-shadow:0 2px 6px #0000000a}.filter-title{color:#1f2937;margin-bottom:18px;font-size:16px;font-weight:700}.results-filter-grid{grid-template-columns:1fr 1fr 1fr 1.4fr auto;align-items:end;gap:16px;display:grid}.filter-field{flex-direction:column;display:flex}.filter-field label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600}.filter-field select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:40px;padding:0 12px;font-size:14px}.filter-field select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb14}.filter-field select:disabled{cursor:not-allowed;background:#f3f4f6}.filter-action{align-items:flex-end;display:flex}.clear-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;height:40px;padding:0 20px;font-size:14px;font-weight:600}.clear-btn:hover{background:#f9fafb}.result-message{border-radius:7px;margin-bottom:18px;padding:12px 16px;font-size:14px;font-weight:500}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.success-message{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.result-summary-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:20px;box-shadow:0 2px 6px #0000000a}.result-summary-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.result-summary-header h3{color:#111827;margin:0;font-size:20px;font-weight:700}.result-meta{color:#6b7280;flex-wrap:wrap;gap:20px;margin-top:9px;font-size:13px;display:flex}.result-meta strong{color:#374151}.result-status{letter-spacing:.4px;border-radius:20px;justify-content:center;align-items:center;padding:7px 13px;font-size:12px;font-weight:700;display:inline-flex}.result-status.draft{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.result-status.published{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.summary-cards{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.summary-card{background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:12px;padding:15px;display:flex}.summary-icon{background:#f3f4f6;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:19px;display:flex}.summary-value{color:#111827;font-size:20px;font-weight:700}.summary-label{color:#6b7280;margin-top:3px;font-size:12px}.result-actions{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-top:20px;padding-top:18px;display:flex}.result-rule{color:#6b7280;align-items:center;gap:8px;font-size:13px;display:flex}.result-rule strong{color:#111827}.result-buttons{gap:10px;display:flex}.publish-btn,.unpublish-btn{cursor:pointer;border:none;border-radius:6px;height:40px;padding:0 20px;font-size:14px;font-weight:600}.publish-btn{color:#fff;background:#16a34a}.publish-btn:hover{background:#15803d}.publish-btn:disabled{cursor:not-allowed;background:#9ca3af}.unpublish-btn{color:#fff;background:#f59e0b}.unpublish-btn:hover{background:#d97706}.unpublish-btn:disabled{opacity:.6;cursor:not-allowed}.pending-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;margin-top:14px;padding:11px 14px;font-size:13px}.student-results-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px #0000000a}.student-results-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px;display:flex}.student-results-header h3{color:#111827;margin:0;font-size:18px;font-weight:700}.student-results-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.student-search input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:6px;outline:none;width:280px;height:38px;padding:0 12px;font-size:13px}.student-search input:focus{border-color:#2563eb}.results-table-wrapper{width:100%;overflow-x:auto}.results-table{border-collapse:collapse;width:100%;min-width:1050px}.results-table thead{background:#f9fafb}.results-table th{text-align:left;color:#4b5563;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 12px;font-size:12px;font-weight:700}.results-table td{color:#374151;white-space:nowrap;border-bottom:1px solid #f0f0f0;padding:13px 12px;font-size:13px}.results-table tbody tr:hover{background:#fafafa}.admission-no{color:#374151;font-weight:600}.student-name{color:#111827;font-weight:600}.obtained-marks{color:#111827;font-weight:700}.percentage-value{color:#374151;font-weight:700}.result-badge,.completion-badge{border-radius:15px;justify-content:center;align-items:center;min-width:70px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.completion-badge.completed{color:#1d4ed8;background:#dbeafe}.completion-badge.pending{color:#92400e;background:#fef3c7}.loading-state{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:220px;font-size:14px;display:flex}.loading-spinner{margin-bottom:8px;font-size:26px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:30px;display:flex}.empty-icon{margin-bottom:10px;font-size:42px}.empty-state h3{color:#374151;margin:0;font-size:17px}.empty-state p{color:#9ca3af;margin:7px 0 0;font-size:13px}@media (width<=1200px){.results-filter-grid{grid-template-columns:repeat(2,1fr)}.filter-action{align-items:center}.summary-cards{grid-template-columns:repeat(3,1fr)}}@media (width<=768px){.results-page{padding:15px}.results-header{align-items:flex-start}.results-filter-grid{grid-template-columns:1fr}.summary-cards{grid-template-columns:1fr 1fr}.result-summary-header{flex-direction:column;gap:15px}.result-actions,.student-results-header{flex-direction:column;align-items:flex-start;gap:15px}.student-search,.student-search input{width:100%}}@media (width<=480px){.summary-cards{grid-template-columns:1fr}.results-header h2{font-size:22px}.publish-btn,.unpublish-btn,.result-buttons{width:100%}}.report-card-page{max-width:1400px;margin:0 auto;padding:24px}.report-card-page-header{margin-bottom:24px}.report-card-page-header h2{margin:0;font-size:26px;font-weight:700}.report-card-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.report-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;padding:20px;box-shadow:0 2px 8px #0000000a}.report-filter-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:18px;display:grid}.report-field{flex-direction:column;gap:7px;display:flex}.report-field label{color:#374151;font-size:13px;font-weight:600}.report-field select{color:#111827;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.report-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.report-field select:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.report-search-row{align-items:center;gap:14px;margin-top:20px;display:flex}.report-search{flex:1;position:relative}.report-search input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:40px;padding:0 14px 0 40px;font-size:14px}.report-search input:focus{border-color:#2563eb}.report-search-icon{position:absolute;top:50%;left:14px;transform:translateY(-50%)}.report-student-count{color:#6b7280;white-space:nowrap;font-size:13px}.report-filter-actions{justify-content:flex-end;margin-top:18px;display:flex}.btn-clear{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;height:40px;padding:0 20px;font-weight:600}.btn-clear:hover{background:#f9fafb}.report-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:10px;margin-bottom:20px;padding:14px 16px;font-size:14px;display:flex}.report-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:180px;display:flex}.report-spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}.report-empty{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:60px 20px}.report-empty-icon{margin-bottom:12px;font-size:44px}.report-empty h3{margin:0;font-size:18px}.report-empty p{color:#6b7280;max-width:500px;margin:8px auto 0;line-height:1.6}.report-card-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.report-toolbar{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:64px;padding:0 20px;display:flex}.report-toolbar>div{flex-direction:column;gap:3px;display:flex}.report-toolbar strong{font-size:15px}.report-toolbar span{color:#6b7280;font-size:12px}.btn-print{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:8px;height:40px;padding:0 18px;font-weight:600}.btn-print:hover{background:#1f2937}.printable-report-card{background:#fff;border:1px solid #d1d5db;margin:28px;padding:32px}.school-header{justify-content:center;align-items:center;gap:20px;min-height:90px;display:flex}.school-logo{justify-content:center;align-items:center;width:80px;height:80px;display:flex}.school-logo-placeholder{border:1px solid #d1d5db;border-radius:8px;justify-content:center;align-items:center;width:64px;height:64px;font-size:30px;display:flex}.school-details{text-align:center}.school-details h1{letter-spacing:.5px;margin:0;font-size:24px;font-weight:800}.school-details p{color:#4b5563;margin:8px 0 0;font-size:14px}.report-divider{background:#111827;height:2px;margin:22px 0}.student-information{border:1px solid #d1d5db;border-radius:8px;overflow:hidden}.student-info-row{grid-template-columns:1fr 1fr;display:grid}.student-info-row+.student-info-row{border-top:1px solid #e5e7eb}.student-info-item{gap:12px;padding:13px 16px;display:flex}.student-info-item+.student-info-item{border-left:1px solid #e5e7eb}.info-label{color:#6b7280;min-width:105px;font-size:13px}.info-value{color:#111827;font-size:14px;font-weight:700}.report-section{margin-top:30px}.report-section-title{margin-bottom:14px}.report-section-title h3{margin:0;font-size:17px}.report-section-title span{color:#6b7280;margin-top:4px;font-size:12px;display:block}.report-table-wrapper{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:13px}.report-table th{text-align:center;white-space:nowrap;background:#f3f4f6;border:1px solid #d1d5db;padding:11px 10px;font-weight:700}.report-table td{text-align:center;vertical-align:middle;border:1px solid #d1d5db;padding:11px 10px}.report-table th.exam-name-column{text-align:left}.report-table td.exam-name-cell{text-align:left;min-width:220px}.exam-name-cell strong{font-weight:600}.obtained-marks{font-weight:700}.exam-type-badge{color:#374151;background:#f3f4f6;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-block}.result-badge{border-radius:5px;min-width:55px;padding:5px 9px;font-size:11px;font-weight:800;display:inline-block}.no-exam-results{text-align:center;color:#6b7280;border:1px dashed #d1d5db;border-radius:8px;padding:30px}.overall-result-section{border:1px solid #d1d5db;border-radius:8px;margin-top:30px;padding:20px}.overall-result-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.overall-result-header h3{margin:0;font-size:17px}.overall-result-header p{color:#6b7280;margin:5px 0 0;font-size:12px}.overall-result-badge{border-radius:7px;padding:9px 18px;font-size:14px;font-weight:800}.overall-pass{color:#166534;background:#dcfce7}.overall-fail{color:#991b1b;background:#fee2e2}.overall-pending{color:#92400e;background:#fef3c7}.overall-stat-grid{border-top:1px solid #e5e7eb;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px;padding-top:20px;display:grid}.overall-stat{text-align:center}.overall-stat span{color:#6b7280;margin-bottom:5px;font-size:12px;display:block}.overall-stat strong{font-size:20px}.teacher-remark{margin-top:30px}.teacher-remark h3{margin:0 0 16px;font-size:15px}.remark-line{border:1px solid #d1d5db;border-radius:6px;height:55px}.report-signatures{grid-template-columns:1fr 1fr;gap:100px;margin-top:55px;display:grid}.signature-box{text-align:center}.signature-space{height:35px}.signature-line{border-top:1px solid #111827}.signature-box span{margin-top:8px;font-size:12px;font-weight:600;display:block}.report-footer{color:#6b7280;border-top:1px solid #e5e7eb;justify-content:space-between;margin-top:40px;padding-top:12px;font-size:10px;display:flex}@media (width<=1000px){.report-filter-grid,.overall-stat-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=650px){.report-card-page{padding:14px}.report-filter-grid,.student-info-row{grid-template-columns:1fr}.student-info-item+.student-info-item{border-top:1px solid #e5e7eb;border-left:none}.overall-stat-grid{grid-template-columns:1fr}.report-toolbar{flex-direction:column;align-items:flex-start;gap:12px;padding:12px}.printable-report-card{margin:12px;padding:16px}.report-signatures{gap:30px}}@media print{@page{size:A4;margin:12mm}body{background:#fff!important}.report-card-page{max-width:none;padding:0}.report-card-page-header,.report-filter-card,.report-toolbar,.report-error,.report-loading,.report-empty{display:none!important}.report-card-container{border:none;border-radius:0;overflow:visible}.printable-report-card{border:none;margin:0;padding:0}.report-table-wrapper{overflow:visible}.report-table{font-size:11px}.report-table th,.report-table td{padding:7px 6px}.overall-result-section,.student-information,.report-signatures{break-inside:avoid}}.student-performance-page{background:#f5f7fb;min-height:calc(100vh - 60px);padding:24px}.performance-page-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.performance-page-header h1{margin:0;font-size:28px;font-weight:700}.performance-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.performance-print-btn{color:#fff;cursor:pointer;background:#374151;border:none;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600}.performance-print-btn:hover{background:#111827}.performance-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:18px;padding:12px 16px;font-size:14px}.performance-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:22px;padding:20px;box-shadow:0 2px 8px #0000000a}.filter-title{align-items:center;gap:8px;margin-bottom:18px;font-size:17px;font-weight:700;display:flex}.performance-filters{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.filter-group select{background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;height:42px;padding:0 12px;font-size:14px}.filter-group select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.filter-actions{gap:10px;margin-top:18px;display:flex}.load-performance-btn,.clear-performance-btn{cursor:pointer;border:none;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600}.load-performance-btn{color:#fff;background:#2563eb}.load-performance-btn:hover{background:#1d4ed8}.load-performance-btn:disabled{cursor:not-allowed;background:#93c5fd}.clear-performance-btn:hover{background:#e5e7eb}.performance-loading{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:center;align-items:center;gap:12px;padding:30px;display:flex}.performance-spinner{border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite performance-spin}@keyframes performance-spin{to{transform:rotate(360deg)}}.student-performance-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:18px;margin-bottom:20px;padding:22px;display:flex;box-shadow:0 2px 8px #0000000a}.student-avatar{color:#1d4ed8;background:#dbeafe;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:65px;height:65px;font-size:25px;font-weight:700;display:flex}.student-main-info{flex:1}.student-main-info h2{color:#111827;margin:0 0 10px;font-size:22px}.student-meta{color:#6b7280;flex-wrap:wrap;gap:18px;font-size:13px;display:flex}.student-meta strong{color:#374151}.overall-result{border-radius:20px;padding:9px 20px;font-size:14px;font-weight:700}.performance-summary-grid{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px;display:grid}.performance-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:11px;align-items:center;gap:13px;min-height:80px;padding:17px;display:flex}.stat-icon{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;font-size:20px;font-weight:700;display:flex}.stat-content{flex-direction:column;gap:4px;display:flex}.stat-label{color:#6b7280;font-size:12px}.stat-value{color:#111827;font-size:21px}.pass-card .stat-icon{color:#15803d;background:#dcfce7}.fail-card .stat-icon{color:#dc2626;background:#fee2e2}.pending-card .stat-icon{color:#d97706;background:#fef3c7}.overall-card .stat-icon{color:#7c3aed;background:#ede9fe}.marks-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-around;align-items:center;margin-bottom:20px;padding:22px;display:flex}.marks-summary-item{text-align:center;flex-direction:column;flex:1;gap:8px;display:flex}.marks-summary-item span{color:#6b7280;font-size:13px}.marks-summary-item strong{color:#111827;font-size:24px}.marks-summary-divider{background:#e5e7eb;width:1px;height:45px}.exam-performance-card,.performance-chart-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;overflow:hidden}.section-header{border-bottom:1px solid #e5e7eb;padding:20px 22px}.section-header h3{color:#111827;margin:0;font-size:18px}.section-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.performance-table-wrapper{overflow-x:auto}.performance-table{border-collapse:collapse;width:100%;min-width:1050px}.performance-table th{color:#374151;text-align:left;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 12px;font-size:12px;font-weight:700}.performance-table td{color:#4b5563;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 12px;font-size:13px}.performance-table tbody tr:hover{background:#f9fafb}.performance-table tbody tr:last-child td{border-bottom:none}.exam-name{color:#111827;min-width:170px;font-weight:600}.exam-type{color:#4b5563;background:#f3f4f6;border-radius:12px;padding:4px 9px;font-size:11px;font-weight:600}.status-badge{color:#1d4ed8;background:#eff6ff;border-radius:12px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-block}.percentage-bar-container{align-items:center;gap:8px;min-width:150px;display:flex}.percentage-bar-fill{background:#2563eb;border-radius:10px;height:100%;transition:width .4s}.percentage-bar-container span{color:#6b7280;min-width:42px;font-size:11px}.no-performance{text-align:center;color:#6b7280;padding:55px 20px}.no-performance>div{margin-bottom:12px;font-size:42px}.no-performance h3{color:#374151;margin:0 0 6px;font-size:17px}.no-performance p{margin:0;font-size:13px}.performance-chart-card{padding-bottom:25px}.performance-chart{justify-content:center;align-items:stretch;gap:35px;height:330px;padding:35px 30px 10px;display:flex;overflow-x:auto}.chart-column{flex-direction:column;justify-content:flex-end;align-items:center;min-width:85px;max-width:110px;height:100%;display:flex}.chart-value{color:#374151;margin-bottom:7px;font-size:12px;font-weight:700}.chart-bar-area{justify-content:center;align-items:flex-end;width:45px;height:220px;display:flex}.chart-bar{background:#2563eb;border-radius:7px 7px 0 0;width:100%;min-height:5px;transition:height .5s}.chart-label{color:#6b7280;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:110px;margin-top:10px;font-size:11px;overflow:hidden}@media (width<=1200px){.performance-filters,.performance-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.student-performance-page{padding:15px}.performance-page-header{flex-direction:column;align-items:flex-start;gap:15px}.performance-filters,.performance-summary-grid{grid-template-columns:1fr}.student-performance-header{flex-wrap:wrap;align-items:flex-start}.overall-result{margin-left:83px}.marks-summary-card{flex-direction:column;gap:20px}.marks-summary-divider{width:80%;height:1px}.performance-chart{justify-content:flex-start}}@media print{.student-performance-page{background:#fff;padding:0}.performance-page-header{margin-bottom:15px}.performance-page-header p{color:#000}.performance-print-btn,.performance-filter-card,.performance-error{display:none!important}.performance-summary-grid{grid-template-columns:repeat(4,1fr)}.performance-stat-card,.student-performance-header,.marks-summary-card,.exam-performance-card,.performance-chart-card{box-shadow:none;break-inside:avoid}.performance-table{min-width:0}.performance-chart-card{display:none}}.class-performance-page{box-sizing:border-box;width:100%;padding:24px}.class-performance-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.class-performance-header h2{margin:0;font-size:26px;font-weight:700}.class-performance-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.class-performance-print-btn{cursor:pointer;border:none;border-radius:6px;padding:10px 18px;font-size:14px;font-weight:600}.class-performance-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:24px;padding:20px;box-shadow:0 2px 8px #0000000a}.class-performance-filters{grid-template-columns:minmax(180px,1fr) minmax(160px,1fr) minmax(160px,1fr) auto;align-items:end;gap:16px;display:grid}.filter-group label{font-size:13px;font-weight:600}.filter-group select{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.filter-actions button{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;height:42px;padding:0 18px;font-weight:600}.view-performance-btn{color:#fff;background:#2563eb}.clear-performance-btn{color:#374151;background:#f3f4f6}.class-performance-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-top:16px;padding:12px 14px;font-size:14px}.class-performance-dashboard{flex-direction:column;gap:20px;display:flex}.class-info-card{background:#e5e7eb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:repeat(5,1fr);gap:1px;display:grid;overflow:hidden}.class-info-item{background:#fff;flex-direction:column;gap:6px;padding:18px;display:flex}.class-info-item span{color:#6b7280;font-size:12px}.class-info-item strong{font-size:16px}.class-summary-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.class-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;justify-content:center;gap:8px;min-height:90px;padding:20px;display:flex;box-shadow:0 2px 8px #00000008}.class-stat-card span{color:#6b7280;font-size:13px}.class-stat-card strong{font-size:26px;font-weight:700}.performance-range-card{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.performance-range-card>div{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:8px;padding:20px;display:flex}.performance-range-card span{color:#6b7280;font-size:13px}.performance-range-card strong{font-size:22px}.student-ranking-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;box-shadow:0 2px 8px #00000008}.section-title-row{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.student-ranking-table{border-collapse:collapse;width:100%;min-width:950px}.student-ranking-table th{text-align:left;color:#4b5563;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:12px;font-size:12px;font-weight:700}.student-ranking-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 12px;font-size:13px}.student-ranking-table tbody tr:hover{background:#f9fafb}.rank-badge{background:#f3f4f6;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:inline-flex}.rank-1{color:#92400e;background:#fef3c7}.rank-2{color:#374151;background:#e5e7eb}.rank-3{color:#9a3412;background:#fed7aa}.percentage-value{margin-bottom:5px}.student-percentage-bar{background:#e5e7eb;border-radius:5px;width:100%;height:6px;overflow:hidden}.student-percentage-fill{background:#2563eb;border-radius:5px;height:100%;transition:width .3s}.result-badge{border-radius:20px;justify-content:center;align-items:center;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.result-badge.pass{color:#166534;background:#dcfce7}.result-badge.fail{color:#991b1b;background:#fee2e2}.result-badge.pending{color:#92400e;background:#fef3c7}.no-students{color:#6b7280;text-align:center!important;padding:30px!important}@media (width<=1100px){.class-performance-filters{grid-template-columns:repeat(2,1fr)}.filter-actions{grid-column:span 2}.class-info-card{grid-template-columns:repeat(3,1fr)}.class-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.class-performance-page{padding:14px}.class-performance-header{flex-direction:column;gap:14px}.class-performance-filters{grid-template-columns:1fr}.filter-actions{grid-column:auto;width:100%}.filter-actions button{flex:1}.class-info-card{grid-template-columns:1fr 1fr}.class-summary-grid,.performance-range-card{grid-template-columns:1fr}}@media print{.class-performance-page{padding:0}.class-performance-print-btn,.class-performance-filter-card{display:none!important}.class-performance-header{margin-bottom:20px}.class-performance-header h2{font-size:22px}.class-performance-dashboard{gap:14px}.class-stat-card,.class-info-item,.performance-range-card>div,.student-ranking-card{box-shadow:none}.student-ranking-table{min-width:0}.student-ranking-table th,.student-ranking-table td{padding:7px;font-size:10px}.student-percentage-bar{display:none}body{background:#fff}}.year-wise-performance-page{box-sizing:border-box;width:100%;padding:24px}.year-wise-performance-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.year-wise-performance-header h2{margin:0;font-size:26px;font-weight:700}.year-wise-performance-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.year-wise-print-btn{color:#fff;cursor:pointer;background:#374151;border:none;border-radius:7px;padding:10px 20px;font-weight:600}.year-wise-print-btn:hover{background:#1f2937}.year-wise-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:22px;padding:20px;box-shadow:0 2px 8px #0000000a}.year-wise-filters{grid-template-columns:minmax(180px,1fr) minmax(280px,1.5fr) auto;align-items:end;gap:18px;display:grid}.filter-group{flex-direction:column;display:flex}.filter-group label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600}.filter-group select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.filter-group select:focus{border-color:#6366f1}.filter-group select:disabled{cursor:not-allowed;background:#f3f4f6}.filter-actions{gap:10px;display:flex}.view-year-performance-btn,.clear-year-performance-btn{cursor:pointer;border:none;border-radius:7px;height:42px;padding:0 18px;font-size:14px;font-weight:600}.view-year-performance-btn{color:#fff;background:#2563eb}.view-year-performance-btn:hover{background:#1d4ed8}.view-year-performance-btn:disabled{opacity:.65;cursor:not-allowed}.clear-year-performance-btn{color:#374151;background:#e5e7eb}.clear-year-performance-btn:hover{background:#d1d5db}.year-wise-performance-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin-top:15px;padding:11px 14px;font-size:14px}.year-wise-performance-dashboard{width:100%}.year-wise-student-info-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:25px;margin-bottom:20px;padding:20px;display:flex;box-shadow:0 2px 8px #0000000a}.student-info-main{align-items:center;gap:15px;display:flex}.student-avatar{color:#3730a3;background:#e0e7ff;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;font-size:23px;font-weight:700;display:flex}.student-info-main h3{margin:0 0 5px;font-size:20px}.student-info-main p{color:#6b7280;margin:0;font-size:13px}.student-info-summary{gap:35px;display:flex}.student-info-summary div{text-align:right;flex-direction:column;gap:5px;display:flex}.student-info-summary span{color:#6b7280;font-size:12px}.student-info-summary strong{color:#111827;font-size:16px}.year-wise-summary-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px;display:grid}.year-wise-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;justify-content:center;min-height:90px;padding:20px;display:flex;box-shadow:0 2px 8px #0000000a}.year-wise-stat-card span{color:#6b7280;margin-bottom:8px;font-size:13px}.year-wise-stat-card strong{color:#111827;font-size:24px}.positive-value{color:#15803d!important}.negative-value{color:#dc2626!important}.section-title-row{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.section-title-row h3{margin:0;font-size:18px}.section-title-row p{color:#6b7280;margin:5px 0 0;font-size:13px}.year-wise-trend-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 2px 8px #0000000a}.overall-trend-badge{border-radius:20px;padding:7px 14px;font-size:12px;font-weight:700}.overall-trend-badge.improved{color:#166534;background:#dcfce7}.overall-trend-badge.declined{color:#991b1b;background:#fee2e2}.overall-trend-badge.stable{color:#92400e;background:#fef3c7}.overall-trend-badge.baseline{color:#3730a3;background:#e0e7ff}.trend-list{flex-direction:column;gap:16px;display:flex}.trend-row{grid-template-columns:150px 1fr 80px 100px;align-items:center;gap:15px;display:grid}.trend-year{flex-direction:column;gap:3px;display:flex}.trend-year strong{font-size:14px}.trend-year span{color:#6b7280;font-size:12px}.trend-bar-background{background:#e5e7eb;border-radius:10px;width:100%;height:12px;overflow:hidden}.trend-bar-fill{background:#2563eb;border-radius:10px;height:100%;transition:width .4s}.trend-percentage{text-align:right}.trend-percentage strong{font-size:14px}.trend-status{text-align:center;border-radius:15px;padding:6px 8px;font-size:12px;font-weight:700}.trend-status.improved{color:#166534;background:#dcfce7}.trend-status.declined{color:#991b1b;background:#fee2e2}.trend-status.stable{color:#92400e;background:#fef3c7}.trend-status.baseline{color:#3730a3;background:#e0e7ff}.trend-status.no-data{color:#6b7280;background:#f3f4f6}.year-wise-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 2px 8px #0000000a}.table-wrapper{width:100%;overflow-x:auto}.year-wise-performance-table,.exam-details-table{border-collapse:collapse;width:100%;min-width:1000px}.year-wise-performance-table th,.exam-details-table th{color:#374151;text-align:left;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:12px 10px;font-size:12px;font-weight:700}.year-wise-performance-table td,.exam-details-table td{color:#374151;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:13px 10px;font-size:13px}.year-wise-performance-table tbody tr:hover,.exam-details-table tbody tr:hover{background:#f9fafb}.year-percentage-cell{min-width:130px}.year-percentage-cell strong{margin-bottom:6px;display:block}.year-percentage-bar{background:#e5e7eb;border-radius:8px;width:100%;height:6px;overflow:hidden}.year-percentage-fill{background:#2563eb;border-radius:8px;height:100%}.year-result-badge,.exam-status-badge{border-radius:14px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-block}.year-result-badge.pass{color:#166534;background:#dcfce7}.year-result-badge.fail{color:#991b1b;background:#fee2e2}.year-result-badge.pending{color:#92400e;background:#fef3c7}.year-result-badge.no_data{color:#6b7280;background:#f3f4f6}.exam-status-badge.completed{color:#166534;background:#dcfce7}.exam-status-badge.assigned{color:#3730a3;background:#e0e7ff}.exam-status-badge.pending{color:#92400e;background:#fef3c7}.year-trend-badge{border-radius:14px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block}.year-trend-badge.improved{color:#166534;background:#dcfce7}.year-trend-badge.declined{color:#991b1b;background:#fee2e2}.year-trend-badge.stable{color:#92400e;background:#fef3c7}.year-trend-badge.baseline{color:#3730a3;background:#e0e7ff}.year-trend-badge.no-data{color:#6b7280;background:#f3f4f6}.year-wise-exam-details{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 2px 8px #0000000a}.academic-year-exam-section{border:1px solid #e5e7eb;border-radius:8px;margin-bottom:16px;overflow:hidden}.academic-year-title{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:13px 16px;display:flex}.academic-year-title>div:first-child{align-items:center;gap:15px;display:flex}.academic-year-title strong{font-size:14px}.academic-year-title span{color:#6b7280;font-size:12px}.academic-year-percentage{font-size:15px;font-weight:700}.academic-year-exam-section .table-wrapper{padding:0}.no-year-data{text-align:center!important;color:#6b7280!important;padding:30px!important}@media (width<=1100px){.year-wise-filters{grid-template-columns:1fr 1fr}.filter-actions{grid-column:1/-1}.year-wise-summary-grid{grid-template-columns:repeat(2,1fr)}.student-info-summary{gap:20px}.trend-row{grid-template-columns:130px 1fr 70px 90px}}@media (width<=768px){.year-wise-performance-page{padding:15px}.year-wise-performance-header{align-items:flex-start;gap:15px}.year-wise-performance-header h2{font-size:21px}.year-wise-filters{grid-template-columns:1fr}.filter-actions{grid-column:auto;width:100%}.view-year-performance-btn,.clear-year-performance-btn{flex:1}.year-wise-student-info-card{flex-direction:column;align-items:flex-start}.student-info-summary{justify-content:space-between;width:100%}.student-info-summary div{text-align:left}.year-wise-summary-grid{grid-template-columns:1fr 1fr}.trend-row{grid-template-columns:1fr;gap:8px}.trend-percentage{text-align:left}.trend-status{text-align:left;width:fit-content}}@media (width<=500px){.year-wise-summary-grid{grid-template-columns:1fr}.student-info-main{align-items:flex-start}.student-info-summary{flex-direction:column;gap:12px}.year-wise-performance-header{flex-direction:column}.year-wise-print-btn{align-self:flex-start}}@media print{.year-wise-performance-page{padding:0}.year-wise-performance-header{margin-bottom:15px}.year-wise-print-btn,.year-wise-filter-card{display:none!important}.year-wise-performance-dashboard{width:100%}.year-wise-student-info-card,.year-wise-stat-card,.year-wise-trend-card,.year-wise-table-card,.year-wise-exam-details{box-shadow:none;break-inside:avoid}.year-wise-performance-table,.exam-details-table{min-width:0;font-size:10px}.year-wise-performance-table th,.year-wise-performance-table td,.exam-details-table th,.exam-details-table td{padding:6px;font-size:9px}.student-avatar,.trend-bar-fill,.year-percentage-fill{-webkit-print-color-adjust:exact;print-color-adjust:exact}.year-wise-exam-details{break-before:auto}body{background:#fff!important}}.subject-yearly-page{background:#f5f7fb;min-height:100vh;padding:24px}.subject-yearly-page-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.subject-yearly-page-header h1{color:#1f2937;margin:0;font-size:28px;font-weight:700}.subject-yearly-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.subject-yearly-header-actions{gap:10px;display:flex}.subject-yearly-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 16px;font-size:14px;display:flex}.subject-yearly-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;padding:22px;box-shadow:0 2px 8px #0000000a}.subject-yearly-filter-title{margin-bottom:20px}.subject-yearly-filter-title h2{color:#111827;margin:0;font-size:18px}.subject-yearly-filter-title p{color:#6b7280;margin:5px 0 0;font-size:13px}.subject-yearly-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.subject-yearly-field{flex-direction:column;display:flex}.subject-yearly-field label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600}.subject-yearly-field label span{color:#dc2626;margin-left:3px}.subject-yearly-field select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.subject-yearly-field select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.subject-yearly-field select:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.subject-yearly-field small{color:#6b7280;margin-top:4px}.subject-yearly-filter-actions{gap:10px;margin-top:20px;display:flex}.subject-yearly-btn{cursor:pointer;border:none;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s}.subject-yearly-btn:disabled{opacity:.6;cursor:not-allowed}.subject-yearly-btn-primary{color:#fff;background:#2563eb}.subject-yearly-btn-primary:hover:not(:disabled){background:#1d4ed8}.subject-yearly-btn-secondary{color:#374151;background:#e5e7eb}.subject-yearly-btn-secondary:hover{background:#d1d5db}.subject-yearly-btn-print{color:#fff;background:#111827}.subject-yearly-btn-print:hover{background:#000}.subject-yearly-report-wrapper{justify-content:center;display:flex}.subject-yearly-report-card{background:#fff;border:1px solid #d1d5db;width:100%;max-width:1200px;padding:38px;box-shadow:0 4px 18px #00000014}.subject-yearly-school-header{border-bottom:2px solid #111827;grid-template-columns:110px 1fr 110px;align-items:center;gap:20px;padding-bottom:22px;display:grid}.subject-yearly-logo{justify-content:center;display:flex}.subject-yearly-logo-placeholder{color:#6b7280;border:1px solid #9ca3af;border-radius:50%;justify-content:center;align-items:center;width:85px;height:85px;font-size:11px;display:flex}.subject-yearly-school-info{text-align:center}.subject-yearly-school-info h1{color:#111827;text-transform:uppercase;margin:0;font-size:25px;font-weight:800}.subject-yearly-school-info p{color:#4b5563;margin:4px 0;font-size:12px}.subject-yearly-school-info h2{letter-spacing:1px;color:#111827;margin:14px 0 5px;font-size:19px}.subject-yearly-academic-year{font-size:13px;font-weight:600}.subject-yearly-photo{justify-content:center;display:flex}.student-photo-placeholder{color:#6b7280;border:1px solid #9ca3af;justify-content:center;align-items:center;width:82px;height:100px;font-size:11px;display:flex}.subject-yearly-student-info{border:1px solid #d1d5db;margin-top:22px}.subject-yearly-info-row{border-bottom:1px solid #e5e7eb;grid-template-columns:repeat(3,1fr);display:grid}.subject-yearly-info-row:last-child{border-bottom:none}.subject-yearly-info-row>div{border-right:1px solid #e5e7eb;padding:10px 14px}.subject-yearly-info-row>div:last-child{border-right:none}.subject-yearly-info-row span{color:#6b7280;margin-bottom:3px;font-size:11px;display:block}.subject-yearly-info-row strong{color:#111827;font-size:14px}.subject-yearly-summary{grid-template-columns:repeat(5,1fr);gap:10px;margin-top:20px;display:grid}.subject-yearly-summary-box{text-align:center;border:1px solid #d1d5db;padding:12px}.subject-yearly-summary-box span{color:#6b7280;margin-bottom:6px;font-size:11px;display:block}.subject-yearly-summary-box strong{color:#111827;font-size:18px}.subject-yearly-section-title{margin-top:25px;margin-bottom:10px}.subject-yearly-section-title h2{color:#111827;border-left:4px solid #2563eb;margin:0;padding-left:10px;font-size:17px}.subject-yearly-table-wrapper{width:100%;overflow-x:auto}.subject-yearly-table{border-collapse:collapse;width:100%;font-size:13px}.subject-yearly-table th{color:#111827;text-align:center;background:#f3f4f6;border:1px solid #d1d5db;padding:10px 8px;font-weight:700}.subject-yearly-table td{text-align:center;vertical-align:middle;border:1px solid #d1d5db;padding:9px 8px}.subject-summary-row{background:#fff}.subject-summary-row:hover{background:#f9fafb}.subject-name-cell{font-weight:700;text-align:left!important}.percentage-cell{min-width:100px}.percentage-cell>span{margin-bottom:4px;display:block}.percentage-bar{background:#e5e7eb;border-radius:10px;width:100%;height:5px;overflow:hidden}.percentage-fill{background:#2563eb;border-radius:10px;height:100%}.grade-badge{border-radius:5px;justify-content:center;align-items:center;min-width:35px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.grade-aplus{color:#166534;background:#dcfce7}.grade-a{color:#1e40af;background:#dbeafe}.grade-bplus{color:#3730a3;background:#e0e7ff}.grade-b{color:#92400e;background:#fef3c7}.grade-c{color:#9a3412;background:#ffedd5}.grade-d{color:#991b1b;background:#fef2f2}.grade-e{color:#991b1b;background:#fee2e2}.grade-f{color:#7f1d1d;background:#fecaca}.result-badge{border-radius:5px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-flex}.result-badge.small{padding:3px 7px;font-size:10px}.result-pass{color:#166534;background:#dcfce7}.result-fail{color:#991b1b;background:#fee2e2}.result-pending{color:#92400e;background:#fef3c7}.result-no-data{color:#374151;background:#e5e7eb}.exam-detail-row{background:#f9fafb}.exam-breakdown{text-align:left;padding:12px}.exam-breakdown-title{color:#374151;margin-bottom:8px;font-size:12px;font-weight:700}.exam-breakdown-table{border-collapse:collapse;width:100%;font-size:11px}.exam-breakdown-table th{text-align:center;background:#e5e7eb;border:1px solid #d1d5db;padding:7px}.exam-breakdown-table td{text-align:center;border:1px solid #d1d5db;padding:7px}.exam-breakdown-table td:first-child{text-align:left}.subject-yearly-highlights{grid-template-columns:repeat(2,1fr);gap:15px;margin-top:22px;display:grid}.subject-yearly-highlight-card{text-align:center;border:1px solid #d1d5db;padding:14px}.subject-yearly-highlight-card span{color:#6b7280;font-size:11px;display:block}.subject-yearly-highlight-card strong{color:#111827;margin-top:5px;font-size:17px;display:block}.subject-yearly-highlight-card small{margin-top:3px;font-size:13px;font-weight:600;display:block}.subject-yearly-remarks{margin-top:28px}.subject-yearly-remarks h3{margin:0 0 12px;font-size:14px}.remark-line{color:#6b7280;height:28px;font-size:13px}.subject-yearly-signatures{text-align:center;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:55px;display:grid}.signature-line{border-top:1px solid #111827;margin-bottom:7px}.subject-yearly-signatures strong{font-size:12px}.subject-yearly-footer{color:#6b7280;border-top:1px solid #d1d5db;justify-content:space-between;margin-top:35px;padding-top:10px;font-size:10px;display:flex}.subject-yearly-no-data{text-align:center;color:#6b7280;border:1px dashed #d1d5db;padding:35px}.subject-yearly-empty-state{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:70px 20px}.subject-yearly-empty-icon{margin-bottom:10px;font-size:42px}.subject-yearly-empty-state h2{color:#374151;margin:0;font-size:20px}.subject-yearly-empty-state p{color:#6b7280;font-size:14px}@media (width<=1000px){.subject-yearly-filter-grid{grid-template-columns:repeat(2,1fr)}.subject-yearly-summary{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.subject-yearly-page{padding:12px}.subject-yearly-page-header{flex-direction:column;align-items:flex-start;gap:15px}.subject-yearly-filter-grid{grid-template-columns:1fr}.subject-yearly-summary{grid-template-columns:repeat(2,1fr)}.subject-yearly-school-header{grid-template-columns:1fr}.subject-yearly-logo,.subject-yearly-photo{display:none}.subject-yearly-info-row{grid-template-columns:1fr}.subject-yearly-info-row>div{border-bottom:1px solid #e5e7eb;border-right:none}.subject-yearly-highlights{grid-template-columns:1fr}.subject-yearly-signatures{grid-template-columns:1fr;gap:35px}.subject-yearly-footer{flex-direction:column;gap:5px}}@media print{@page{size:A4 portrait;margin:10mm}body{background:#fff!important}.subject-yearly-page{background:#fff!important;padding:0!important}.subject-yearly-page-header,.subject-yearly-filter-card,.subject-yearly-error,.subject-yearly-empty-state{display:none!important}.subject-yearly-report-wrapper{display:block}.subject-yearly-report-card{width:100%;max-width:none;box-shadow:none;border:none;padding:0}.subject-yearly-table-wrapper{overflow:visible}.subject-yearly-table{font-size:10px}.subject-yearly-table th,.subject-yearly-table td{padding:6px 5px}.exam-breakdown-table{font-size:9px}.exam-breakdown-table th,.exam-breakdown-table td{padding:5px}.subject-yearly-report-card,.subject-summary-row,.exam-detail-row{break-inside:avoid}}.teacher-page{background:#f5f7fb;min-height:100vh;padding:24px}.teacher-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.teacher-header h1{margin:0;font-size:28px;font-weight:700}.teacher-header p{color:#6b7280;margin:6px 0 0}.teacher-card{background:#fff;border-radius:10px;margin-bottom:24px;padding:22px;box-shadow:0 2px 8px #0000000f}.card-title{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.card-title h2{margin:0;font-size:20px}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.form-group{flex-direction:column;display:flex}.form-group label{margin-bottom:7px;font-size:14px;font-weight:600}.form-group input{border:1px solid #d1d5db;border-radius:6px;outline:none;padding:11px 12px;font-size:14px}.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.form-actions{gap:10px;margin-top:22px;display:flex}.btn{cursor:pointer;border:none;border-radius:6px;padding:9px 15px;font-size:14px;font-weight:600}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{color:#fff;background:#2563eb}.btn-secondary{color:#374151;background:#e5e7eb}.btn-edit{color:#1d4ed8;background:#dbeafe}.btn-status{color:#92400e;background:#fef3c7}.btn-delete{color:#b91c1c;background:#fee2e2}.table-wrapper{overflow-x:auto}.teacher-table{border-collapse:collapse;width:100%}.teacher-table th{text-align:left;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px;font-size:13px}.teacher-table td{border-bottom:1px solid #e5e7eb;padding:13px;font-size:14px}.teacher-table tbody tr:hover{background:#f9fafb}.status{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.status.active{color:#166534;background:#dcfce7}.status.inactive{color:#991b1b;background:#fee2e2}.action-buttons{flex-wrap:wrap;gap:7px;display:flex}.alert{border-radius:6px;margin-bottom:18px;padding:12px 15px;font-size:14px}.alert-error{color:#991b1b;background:#fee2e2}.alert-success{color:#166534;background:#dcfce7}.empty-state{text-align:center;color:#6b7280;padding:40px}.teacher-count{color:#6b7280;font-size:14px}@media (width<=768px){.teacher-page{padding:15px}.teacher-header{flex-direction:column;align-items:flex-start;gap:12px}.form-grid{grid-template-columns:1fr}.teacher-table{min-width:900px}}.school-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.school-summary-card{background:#fff;border:1px solid #e8eaf0;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.school-summary-icon{background:#f0f3ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:23px;display:flex}.school-summary-card p{color:#777;margin:0 0 5px;font-size:13px}.school-summary-card h3{color:#222;margin:0;font-size:25px;font-weight:600}.school-search input{border:1px solid #dfe2e8;border-radius:6px;outline:none;width:240px;height:38px;padding:8px 12px}.school-search input:focus{border-color:#5269d8}.school-table-wrapper{width:100%;overflow-x:auto}.school-table{border-collapse:collapse;width:100%;min-width:850px}.school-table th{text-align:left;color:#555;white-space:nowrap;background:#f7f8fa;border-bottom:1px solid #e8eaf0;padding:13px 12px;font-size:13px;font-weight:600}.school-table td{color:#444;vertical-align:middle;border-bottom:1px solid #eee;padding:14px 12px;font-size:13px}.school-table tbody tr:hover{background:#fafbff}.school-name-cell{font-weight:600;color:#222!important}.school-empty{text-align:center;color:#888!important;padding:35px!important}.school-status{border-radius:20px;padding:5px 11px;font-size:11px;font-weight:600;display:inline-block}.school-status.active{color:#16834a;background:#e7f7ee}.school-status.inactive{color:#a04a4a;background:#fcecec}.school-actions{white-space:nowrap;align-items:center;gap:8px;display:flex}.school-edit-button,.school-deactivate-button{cursor:pointer;border:none;border-radius:5px;padding:6px 10px;font-size:12px}.school-edit-button{color:#4258bd;background:#eef1ff}.school-deactivate-button{color:#c03939;background:#fff0f0}.school-edit-button:hover{background:#dfe5ff}.school-deactivate-button:hover{background:#ffe0e0}.school-pagination{color:#666;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:13px;display:flex}.school-pagination>div{gap:8px;display:flex}.school-pagination button:disabled{opacity:.45;cursor:not-allowed}.school-form{padding:5px 0}.school-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:18px;display:grid}.school-form .form-field{flex-direction:column;gap:7px;display:flex}.school-form .form-field label{color:#444;font-size:13px;font-weight:600}.school-form .form-field label span{color:#e04444}.school-form .form-field input,.school-form .form-field select,.school-form .form-field textarea{box-sizing:border-box;background:#fff;border:1px solid #dfe2e8;border-radius:6px;outline:none;width:100%;padding:10px 12px;font-size:13px}.school-form .form-field input,.school-form .form-field select{height:40px}.school-form .form-field textarea{resize:vertical;min-height:85px}.school-form .form-field input:focus,.school-form .form-field select:focus,.school-form .form-field textarea:focus{border-color:#5269d8}.school-form-actions{justify-content:flex-end;gap:12px;margin:20px 0;display:flex}.school-success{color:#16834a;background:#e7f7ee;border-radius:6px;margin-bottom:15px;padding:12px 15px;font-size:13px}.school-loading{text-align:center;color:#777;padding:35px}@media (width<=768px){.school-summary-grid{grid-template-columns:1fr}.school-form .form-row{grid-template-columns:1fr;gap:15px}.school-search input{width:100%}.school-pagination{flex-direction:column;align-items:flex-start}}.book-school-page .form-field select{background:#fff;border:1px solid #ced4da;border-radius:5px;width:100%;min-height:40px;padding:8px 10px}.book-school-page .mapping-action{align-items:flex-end;display:flex}.mapping-success{color:#0f5132;background:#d1e7dd;border:1px solid #badbcc;border-radius:5px;margin-bottom:15px;padding:10px 14px}.mapping-empty{text-align:center;color:#6c757d;padding:20px}.mapping-table{border-collapse:collapse;width:100%}.mapping-table th,.mapping-table td{text-align:left;border-bottom:1px solid #dee2e6;padding:11px 12px}.mapping-table th{background:#f8f9fa;font-weight:600}.mapping-active{color:#0f5132;background:#d1e7dd;border-radius:12px;padding:4px 9px;font-size:12px;display:inline-block}.mapping-deactivate{color:#dc3545;cursor:pointer;background:#fff;border:1px solid #dc3545;border-radius:4px;padding:6px 10px}.mapping-deactivate:hover{color:#fff;background:#dc3545}@media (width<=768px){.book-school-page .form-row{flex-direction:column;display:flex}.mapping-table{min-width:750px}}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0;padding:0}body{color:#1f2937;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}button,input{font-family:inherit}button{cursor:pointer}.login-page{background:#fff;min-height:100vh;display:flex}.login-left{color:#fff;background:linear-gradient(145deg,#172554 0%,#1e3a8a 50%,#2563eb 100%);flex-direction:column;justify-content:space-between;width:52%;min-height:100vh;padding:45px 70px;display:flex}.login-brand{align-items:center;gap:15px;display:flex}.brand-logo{background:#ffffff26;border:1px solid #ffffff40;border-radius:14px;justify-content:center;align-items:center;width:50px;height:50px;font-size:18px;font-weight:800;display:flex}.login-brand h1{margin:0;font-size:22px}.login-brand p{opacity:.75;margin:4px 0 0;font-size:13px}.login-content{max-width:580px}.login-content h2{letter-spacing:-1.5px;margin:0 0 20px;font-size:48px;line-height:1.12}.login-content>p{opacity:.85;max-width:520px;margin-bottom:35px;font-size:17px;line-height:1.7}.feature-list{flex-direction:column;gap:18px;display:flex}.feature-item{align-items:flex-start;gap:14px;display:flex}.feature-item>span{background:#ffffff26;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:25px;height:25px;font-size:13px;display:flex}.feature-item strong{margin-bottom:4px;font-size:14px;display:block}.feature-item small{opacity:.7;font-size:13px;display:block}.login-footer{opacity:.55;font-size:12px}.login-right{background:#fff;justify-content:center;align-items:center;width:48%;min-height:100vh;padding:40px;display:flex}.login-card{width:100%;max-width:450px}.login-heading{margin-bottom:30px}.login-heading h2{color:#111827;margin:0 0 8px;font-size:32px}.login-heading p{color:#6b7280;margin:0;font-size:14px}.mobile-brand{display:none}.login-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;align-items:center;gap:9px;margin-bottom:20px;padding:12px 14px;font-size:13px;display:flex}.form-group{margin-bottom:20px}.form-group label{color:#374151;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{z-index:1;font-size:15px;position:absolute;left:14px}.input-wrapper input{color:#111827;border:1px solid #d1d5db;border-radius:9px;outline:none;width:100%;height:50px;padding:0 45px;font-size:14px;transition:all .2s}.input-wrapper input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.password-toggle{color:#6b7280;background:0 0;border:0;font-size:17px;position:absolute;right:12px}.login-button{color:#fff;background:#2563eb;border:0;border-radius:9px;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.login-button:hover{background:#1d4ed8}.login-button:disabled{opacity:.65;cursor:not-allowed}.button-spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}.demo-login{background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;margin-top:30px;padding:15px}.demo-title{color:#374151;margin-bottom:10px;font-size:12px;font-weight:700}.demo-row{justify-content:space-between;gap:10px;margin-top:7px;font-size:12px;display:flex}.demo-row span{color:#6b7280}.demo-row code{color:#1d4ed8}.app-layout{min-height:100vh;display:flex}.sidebar{color:#fff;z-index:100;background:#111827;flex-direction:column;width:260px;min-height:100vh;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-header{border-bottom:1px solid #ffffff12;align-items:center;gap:12px;height:80px;padding:0 22px;display:flex}.logo-icon{background:#2563eb;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:14px;font-weight:800;display:flex}.logo-text h2{margin:0;font-size:16px}.logo-text span{color:#9ca3af;margin-top:3px;font-size:10px;display:block}.user-summary{background:#ffffff0d;border-radius:10px;align-items:center;gap:10px;margin:20px 15px;padding:13px;display:flex}.sidebar-avatar,.topbar-avatar{background:#2563eb;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-weight:700;display:flex}.user-summary strong{font-size:12px;display:block}.user-summary small{color:#9ca3af;margin-top:3px;font-size:10px;display:block}.sidebar-menu{flex:1;padding:0 12px}.menu-title{color:#6b7280;letter-spacing:1px;padding:10px;font-size:9px;font-weight:700}.menu-item{color:#d1d5db;border-radius:8px;align-items:center;gap:12px;margin-bottom:4px;padding:11px 12px;font-size:13px;text-decoration:none;transition:all .2s;display:flex}.menu-item:hover{color:#fff;background:#ffffff0f}.menu-item.active{color:#fff;background:#2563eb}.menu-icon{text-align:center;width:20px}.sidebar-bottom{border-top:1px solid #ffffff12;padding:15px}.logout-button{color:#d1d5db;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:11px;font-size:13px;display:flex}.logout-button:hover{color:#fca5a5;background:#ef44441f}.main-container{width:calc(100% - 260px);min-height:100vh;margin-left:260px}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:80px;padding:0 30px;display:flex}.topbar-title h1{color:#111827;margin:0;font-size:18px}.topbar-title span{color:#9ca3af;margin-top:3px;font-size:11px;display:block}.topbar-user{align-items:center;gap:10px;display:flex}.notification{border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-right:10px;display:flex}.topbar-user-info strong{font-size:12px;display:block}.topbar-user-info span{color:#9ca3af;margin-top:2px;font-size:10px;display:block}.mobile-menu-button{display:none}.page-content{padding:30px}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.page-header h2{color:#111827;margin:0;font-size:25px}.page-header p{color:#6b7280;margin:7px 0 0;font-size:13px}.header-badge{color:#2563eb;background:#eff6ff;border-radius:20px;padding:7px 12px;font-size:10px;font-weight:700}.header-badge.teacher{color:#16a34a;background:#f0fdf4}.stats-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:15px;padding:20px;display:flex}.stat-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:46px;height:46px;font-size:20px;display:flex}.stat-info span{color:#6b7280;font-size:11px;display:block}.stat-info strong{color:#111827;margin-top:4px;font-size:23px;display:block}.dashboard-grid{grid-template-columns:1.5fr 1fr;gap:20px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.card-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;padding:20px;display:flex}.card-header h3{margin:0;font-size:15px}.card-header p{color:#9ca3af;margin:5px 0 0;font-size:11px}.card-header>span{font-size:20px}.empty-state>div{margin-bottom:10px;font-size:40px}.empty-state h3{margin:0 0 7px;font-size:14px}.empty-state p{color:#9ca3af;max-width:350px;margin:0 auto 20px;font-size:12px;line-height:1.6}.primary-button{color:#fff;background:#2563eb;border:0;border-radius:8px;padding:10px 16px;font-size:12px;font-weight:600;text-decoration:none;display:inline-block}.primary-button:hover{background:#1d4ed8}.status-list{padding:10px 20px 20px}.status-list>div{border-bottom:1px solid #f3f4f6;justify-content:space-between;padding:13px 0;font-size:12px;display:flex}.status-list>div:last-child{border-bottom:0}.status-online{color:#16a34a}.status-pending{color:#d97706}.teacher-actions{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px;display:grid}.action-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;transition:all .2s}.action-card:hover{border-color:#2563eb;transform:translateY(-2px);box-shadow:0 8px 25px #0000000f}.action-icon{background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:18px;font-size:22px;display:flex}.action-card h3{margin:0 0 8px;font-size:16px}.action-card p{color:#6b7280;min-height:40px;font-size:12px;line-height:1.6}.action-card span{color:#2563eb;font-size:12px;font-weight:600}.teacher-info{padding-bottom:25px}.workflow{justify-content:space-between;align-items:center;gap:10px;padding:25px;display:flex}.workflow-step{text-align:center;flex:1}.workflow-step>div{color:#2563eb;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;margin:0 auto 10px;font-weight:700;display:flex}.workflow-step strong{font-size:12px;display:block}.workflow-step span{color:#9ca3af;margin-top:5px;font-size:10px;display:block}.workflow-arrow{color:#9ca3af;font-size:18px}.loading-screen{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.spinner{border:3px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite spin}.coming-soon{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:70px 20px}.coming-soon>div{font-size:45px}.coming-soon h3{margin:15px 0 8px}.coming-soon p{color:#9ca3af;font-size:13px}.not-found{text-align:center;justify-content:center;align-items:center;min-height:100vh;display:flex}.not-found h1{color:#2563eb;margin:0;font-size:80px}.not-found h2{margin:0}.not-found p{color:#6b7280;margin-bottom:25px}@media (width<=1100px){.login-left{width:48%;padding:35px}.login-right{width:52%}.login-content h2{font-size:38px}.stats-grid,.teacher-actions{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media (width<=800px){.login-page{display:block}.login-left{display:none}.login-right{width:100%;min-height:100vh;padding:25px}.mobile-brand{justify-content:center;align-items:center;gap:10px;margin-bottom:40px;display:flex}.mobile-brand .brand-logo{color:#fff;background:#2563eb}.mobile-brand h1{margin:0;font-size:20px}.sidebar{transition:all .25s;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}.sidebar-overlay{z-index:90;background:#00000073;position:fixed;inset:0}.main-container{width:100%;margin-left:0}.mobile-menu-button{background:0 0;border:0;margin-right:12px;font-size:22px;display:block}.topbar{padding:0 18px}.topbar-title{flex:1}.topbar-user-info,.notification{display:none}.page-content{padding:20px}.workflow{flex-direction:column}.workflow-arrow{transform:rotate(90deg)}}@media (width<=600px){.stats-grid,.teacher-actions{grid-template-columns:1fr}.page-header{flex-direction:column;gap:15px}.topbar-title h1{font-size:15px}.login-heading h2{font-size:28px}}.secondary-button{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 16px;font-size:12px;font-weight:600}.secondary-button:hover{background:#f9fafb;border-color:#9ca3af}.book-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:1fr 1fr 1fr 1.5fr;gap:15px;margin-bottom:20px;padding:20px;display:grid}.filter-group label{color:#374151;margin-bottom:7px;font-size:11px;font-weight:600;display:block}.filter-group select,.filter-group input{background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:12px}.book-form{padding:25px}.form-row{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;display:grid}.form-field label{color:#374151;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.form-field label span{color:#dc2626;margin-left:3px}.form-field input,.form-field select{background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:45px;padding:0 12px;font-size:13px}.form-field input:focus,.form-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.upload-card{margin-top:20px}.upload-area-wrapper{padding:25px}.upload-area{cursor:pointer;background:#fafafa;border:2px dashed #d1d5db;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:220px;transition:all .2s;display:flex}.upload-area:hover,.upload-area.drag-active{background:#eff6ff;border-color:#2563eb}.upload-icon{color:#2563eb;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:55px;height:55px;margin-bottom:15px;font-size:24px;display:flex}.upload-area h3{margin:0 0 7px;font-size:15px}.upload-area p{color:#6b7280;margin:0 0 8px;font-size:12px}.upload-area small{color:#9ca3af;font-size:10px}.selected-file{background:#eff6ff;border:1px solid #dbeafe;border-radius:9px;align-items:center;gap:12px;margin-top:15px;padding:13px 15px;display:flex}.file-icon{font-size:24px}.file-info{flex:1}.file-info strong{color:#1f2937;word-break:break-all;font-size:12px;display:block}.file-info span{color:#6b7280;margin-top:3px;font-size:10px;display:block}.selected-file button{color:#dc2626;background:0 0;border:0;font-size:11px;font-weight:600}.form-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.form-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;margin-bottom:20px;padding:12px 15px;font-size:12px}@media (width<=900px){.book-filter-card{grid-template-columns:1fr 1fr}}@media (width<=600px){.book-filter-card,.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}.table-container{width:100%;margin-top:10px;overflow-x:auto}.data-table{border-collapse:collapse;background:#fff;width:100%;font-size:14px}.data-table thead{background:#f5f7fa}.data-table th{text-align:left;color:#374151;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-weight:600}.data-table td{color:#4b5563;vertical-align:middle;border-bottom:1px solid #eef0f3;padding:14px 16px}.data-table tbody tr{transition:background .2s}.data-table tbody tr:hover{background:#f8fafc}.data-table td strong{color:#111827}.secondary-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:7px 14px;font-size:13px;font-weight:500}.secondary-button:hover{background:#f3f4f6}.danger-button{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #ef4444;border-radius:6px;padding:7px 14px;font-size:13px;font-weight:500}.danger-button:hover{background:#fef2f2}.book-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:repeat(3,minmax(160px,1fr)) minmax(220px,1.5fr);gap:18px;margin-bottom:24px;padding:20px;display:grid;box-shadow:0 1px 3px #0000000d}.filter-group{flex-direction:column;gap:7px;display:flex}.filter-group label{color:#374151;font-size:13px;font-weight:600}.filter-group select,.filter-group input{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;height:40px;padding:0 12px;font-size:14px}.filter-group select:focus,.filter-group input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.empty-state{text-align:center;padding:60px 30px}.empty-state>div:first-child{margin-bottom:15px;font-size:50px}.empty-state h3{color:#1f2937;margin:0 0 10px}.empty-state p{color:#6b7280;max-width:600px;margin:0 auto 20px;line-height:1.6}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:12px 16px;font-size:14px}@media (width<=900px){.book-filter-card{grid-template-columns:1fr 1fr}}@media (width<=600px){.book-filter-card{grid-template-columns:1fr}.data-table{min-width:900px}}.book-details-grid{grid-template-columns:repeat(4,1fr);gap:20px;padding:24px;display:grid}.detail-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:7px;padding:16px;display:flex}.detail-item span{color:#6b7280;font-size:12px;font-weight:500}.detail-item strong{color:#1f2937;font-size:15px}.processing-actions{gap:12px;padding:24px;display:flex}@media (width<=1000px){.book-details-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.book-details-grid{grid-template-columns:1fr}.processing-actions{flex-direction:column}}.question-detail{padding:20px 0}.question-text{white-space:pre-wrap;margin-bottom:20px;font-size:18px;line-height:1.7}.question-meta{flex-wrap:wrap;gap:10px;display:flex}.question-meta span{background:#f3f4f6;border-radius:6px;padding:6px 12px;font-size:13px}.answer-box{background:#f8fafc;border-left:4px solid #2563eb;border-radius:6px;margin-top:20px;padding:16px}.answer-box p{margin-bottom:0;line-height:1.6}.options-list{margin-top:25px}.option-row{border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:14px;margin-bottom:10px;padding:14px;display:flex}.option-row span:nth-child(2){flex:1}.success-badge{color:#166534;background:#dcfce7;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}.image-upload-form{margin-bottom:30px}.image-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin-top:25px;display:grid}.image-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.image-card img{object-fit:contain;background:#f8fafc;width:100%;height:220px;display:block}.image-card-info{padding:14px}.image-card-info strong{margin-bottom:5px;display:block}.image-card-info span{color:#6b7280;font-size:13px;display:block}.image-card-info p{margin:10px 0;font-size:14px}.image-card-info .danger-button{margin-top:8px}@media (width<=768px){.option-row{flex-wrap:wrap}.image-grid{grid-template-columns:1fr}}
