@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--color-primary: #4F46E5;--color-primary-light: #EEF2FF;--color-bg: #F8FAFC;--color-bg-card: #fff;--color-text: #1E293B;--color-accent: #4F46E5;--color-error: #EF4444;--color-error-bg: #FEE2E2;--color-border: #e2e8f0;--radius: 12px;--shadow: 0 2px 16px rgba(0,0,0,.08);--transition: .2s cubic-bezier(.4,0,.2,1);--font-main: "Inter", "Segoe UI", "Roboto", "Arial", sans-serif}html{box-sizing:border-box;font-size:16px;scroll-behavior:smooth}*,*:before,*:after{box-sizing:inherit}.page-container{padding:1.5rem;margin:0 auto}.page-header{margin-bottom:2rem}.page-title{font-size:1.75rem;font-weight:600;margin-bottom:.5rem;color:var(--color-text);text-align:left}.page-description{font-size:1rem;color:#64748b;margin-top:0;margin-bottom:1.5rem;text-align:left;max-width:800px}#root{min-height:100vh;width:100vw;max-width:none;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:0}.app-container{min-height:100vh;width:100vw;background:var(--color-bg);box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:2rem 2.5rem 2.5rem;transition:box-shadow var(--transition)}h1,h2,h3,h4,h5,h6{color:var(--color-text);font-weight:600;margin-top:0;margin-bottom:.5em}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-overlay:focus-within{outline:none}.modal-overlay .modal-container{position:relative}.skip-to-content{position:absolute;top:-40px;left:6px;background:var(--color-primary);color:#fff;padding:8px;text-decoration:none;z-index:9999;border-radius:4px}.skip-to-content:focus{top:6px}.card,.user-info{background:#f1f5f9;border-radius:8px;padding:1rem;margin-top:1.5rem;font-size:.95rem;color:var(--color-text)}.error{color:var(--color-error);background:var(--color-error-bg);border:1px solid #fed7d7;border-radius:6px;padding:.5rem 1rem;margin-top:.5rem}.switch-link{color:var(--color-accent);background:none;border:none;cursor:pointer;font-size:1rem;text-decoration:underline;margin-left:.5rem}.app-header{width:100%;display:flex;justify-content:flex-end;align-items:center;min-height:56px;margin-bottom:1.5rem}.profile-menu-wrapper{position:relative;display:flex;align-items:center}.profile-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary-light),var(--color-primary));color:#fff;font-weight:700;font-size:1.1rem;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px #4f46e51a;transition:box-shadow var(--transition)}.profile-avatar:hover,.profile-avatar:focus{box-shadow:0 2px 8px #4f46e52e}.profile-menu-dropdown{display:none;position:absolute;top:48px;right:0;min-width:220px;background:#fff;border-radius:10px;box-shadow:0 4px 24px #0000001a;padding:1rem .5rem .5rem;z-index:100;animation:fadeIn .2s}.profile-menu-dropdown.open{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.profile-menu-header{display:flex;align-items:center;gap:.8rem;margin-bottom:.7rem}.profile-avatar-lg{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--color-primary-light),var(--color-primary));color:#fff;font-weight:700;font-size:1.3rem;display:flex;align-items:center;justify-content:center}.profile-name{font-weight:600;color:var(--color-text);font-size:1.05rem}.profile-email{color:#64748b;font-size:.95rem}.profile-logout-btn{width:100%;background:none;color:var(--color-error);border:none;padding:.8rem 1rem;font-size:1rem;font-weight:500;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;margin-top:.5rem;box-shadow:none}.profile-logout-btn:hover{background:#fff5f5;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}@media (max-width: 600px){.app-container{padding:1.2rem .5rem 2rem}#root{padding:0}.app-header{min-height:44px;margin-bottom:1rem}.profile-menu-dropdown{right:-30px;min-width:170px}}@media (min-width: 601px) and (max-width: 900px){.app-container{padding:1.5rem 1rem 2rem}}::-webkit-scrollbar{width:8px;background:#e2e8f0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}.question-text img,.question-options img,.option-content img,.solution-content img,div[class*=solution] img,.html-content img,[data-html-content] img,div[style*=dangerouslySetInnerHTML] img,span[dangerouslySetInnerHTML] img{max-width:100%!important;height:auto!important;display:inline-block;vertical-align:middle;margin:4px;border-radius:4px;box-shadow:0 2px 4px #0000001a;object-fit:contain}img[name^=Object],img[alt^=Object],img.ole-equation-fallback,img.html-img-ole-fallback,.equation-image{max-height:60px!important;max-width:220px!important;width:auto!important;height:auto!important;vertical-align:middle!important;margin:2px 4px!important;box-shadow:none!important}.equation-placeholder{background-color:#fff2cc;padding:2px 6px;border:1px dashed #d6b656;border-radius:3px;font-style:italic;color:#856404;display:inline-block;margin:0 2px}img.equation-image{max-height:50px!important;vertical-align:middle}:root{--keyboard-zindex: 99999}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.32"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.html-content{line-height:1.5}.html-content img{max-width:500px;max-height:400px;height:auto;border-radius:4px;margin:8px 0;box-shadow:0 2px 4px #0000001a;object-fit:contain;vertical-align:middle}.html-content img.html-img-inline{display:inline;max-width:none;max-height:none;margin:0 2px;vertical-align:middle;border-radius:0;box-shadow:none}.html-content img.html-img-ole-fallback{display:inline-block;max-width:220px;max-height:60px;width:auto;height:auto;object-fit:contain;vertical-align:middle;margin:2px 4px;border-radius:2px;box-shadow:none}.html-content--table img{max-width:200px;max-height:80px;object-fit:contain;height:auto}.html-content--detail img{max-width:450px;max-height:350px;object-fit:contain;height:auto}.html-content--paper-preview img{max-width:350px;max-height:250px;object-fit:contain;height:auto}.html-content--pdf img{max-width:300px;max-height:200px;object-fit:contain;height:auto}.html-content--review img{max-width:500px;max-height:400px;object-fit:contain;height:auto}.html-content--table img.html-img-inline,.html-content--detail img.html-img-inline,.html-content--paper-preview img.html-img-inline,.html-content--pdf img.html-img-inline,.html-content--review img.html-img-inline{display:inline;max-width:none;max-height:none;margin:0 2px;vertical-align:middle;border-radius:0;box-shadow:none}.html-content--table img.html-img-ole-fallback,.html-content--detail img.html-img-ole-fallback,.html-content--paper-preview img.html-img-ole-fallback,.html-content--pdf img.html-img-ole-fallback,.html-content--review img.html-img-ole-fallback{display:inline-block;max-width:220px;max-height:60px;width:auto;height:auto;object-fit:contain;vertical-align:middle;margin:2px 4px;border-radius:2px;box-shadow:none}.html-content p{margin:8px 0}.html-content h1,.html-content h2,.html-content h3,.html-content h4,.html-content h5,.html-content h6{margin:12px 0 8px;color:#333}.html-content ul,.html-content ol{margin:8px 0;padding-left:20px}.html-content li{margin:4px 0}.html-content blockquote{margin:12px 0;padding:8px 16px;border-left:4px solid #ddd;background-color:#f8f9fa;font-style:italic}.html-content code{background-color:#f1f3f4;padding:2px 4px;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.9em}.html-content pre{background-color:#f8f9fa;padding:12px;border-radius:6px;overflow-x:auto;margin:12px 0}.html-content pre code{background-color:transparent;padding:0}.html-content table{border-collapse:collapse;width:100%;margin:12px 0}.html-content th,.html-content td{border:1px solid #ddd;padding:8px;text-align:left}.html-content th{background-color:#f8f9fa;font-weight:600}.html-content a{color:#007bff;text-decoration:none}.html-content a:hover{text-decoration:underline}.html-content .katex{font-size:1em}.html-content .katex-display{margin:.5em 0;overflow-x:auto;overflow-y:hidden;padding:4px 0}.html-content--table .katex,.html-content--paper-preview .katex,.html-content--pdf .katex{font-size:1em}.html-content .katex-error{color:#c00;font-size:.85em;font-family:Courier New,Courier,monospace;background-color:#fff0f0;padding:1px 4px;border-radius:2px;border:1px solid #ffcccc}.html-content .equation-placeholder{background-color:#fff2cc;padding:2px 6px;border:1px dashed #d6b656;border-radius:3px;font-size:.85em;color:#856404}.html-content .latex-equation{display:inline}.html-content .html-img-progressive{transition:filter .4s ease-out,opacity .4s ease-out}.html-content .html-img-loading{filter:blur(8px);opacity:.6}.html-content .html-img-loaded{filter:blur(0);opacity:1}.html-content .html-img-error{filter:blur(0) grayscale(.5);opacity:.4}.take-test-container{display:flex;height:calc(100vh - 64px);overflow:hidden}.test-content{flex:1;padding:20px;overflow-y:auto}.test-sidebar{width:320px;background-color:#f5f5f5;padding:20px;overflow-y:auto;border-left:1px solid #e0e0e0;display:flex;flex-direction:column}.test-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #e0e0e0}.test-title{margin:0;font-size:1.5rem}.test-timer{display:flex;align-items:center;background-color:#fff;padding:10px 15px;border-radius:4px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.timer-icon{margin-right:10px;color:#f44336}.timer-countdown{font-size:1.2rem;font-weight:700}.timer-warning{color:#f44336;animation:pulse 1s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.question-container{background-color:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.question-header{display:flex;justify-content:space-between;margin-bottom:15px}.question-info{display:flex;flex-direction:column}.question-number{font-weight:700;font-size:1.1rem;margin-bottom:5px}.question-metadata{font-size:.9rem;color:#666}.question-marks{background-color:#e3f2fd;color:#1976d2;font-weight:700;padding:5px 10px;border-radius:4px;display:flex;align-items:center;justify-content:center}.question-text{font-size:1.1rem;margin-bottom:20px;line-height:1.5}.options-container{display:flex;flex-direction:column;gap:10px}.option-item{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;transition:all .2s ease}.option-item:hover{background-color:#f5f5f5}.option-item.selected{background-color:#e3f2fd;border-color:#2196f3}.option-label{min-width:28px;height:28px;border-radius:50%;background-color:#f5f5f5;display:flex;align-items:center;justify-content:center;font-weight:700}.option-text{flex:1;line-height:1.4;padding-top:4px}.question-navigation{display:flex;justify-content:space-between;margin-top:30px}.question-buttons{display:flex;gap:10px}.sidebar-title{font-size:1.2rem;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #e0e0e0}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:30px}.grid-item{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:4px;cursor:pointer;font-weight:700;background-color:#fff;border:1px solid #e0e0e0;transition:all .2s ease}.grid-item:hover{background-color:#f5f5f5}.grid-item.current{border:2px solid #2196f3}.grid-item.answered{background-color:#4caf50;color:#fff}.grid-item.marked{background-color:#ff9800;color:#fff}.grid-item.not-visited{background-color:#f5f5f5}.sidebar-legend{margin-top:auto;padding-top:20px}.legend-title{font-weight:700;margin-bottom:10px}.legend-items{display:grid;grid-template-columns:1fr 1fr;gap:10px}.legend-item{display:flex;align-items:center;gap:8px;font-size:.9rem}.legend-color{width:20px;height:20px;border-radius:4px}.legend-answered{background-color:#4caf50}.legend-not-answered{background-color:#fff;border:1px solid #e0e0e0}.legend-marked{background-color:#ff9800}.legend-not-visited{background-color:#f5f5f5}.legend-current{border:2px solid #2196f3;background-color:#fff}.submit-test-button{margin-top:20px;width:100%;padding:12px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:700;cursor:pointer;transition:background-color .2s ease}.submit-test-button:hover{background-color:#388e3c}.submit-test-button:disabled{background-color:#a5d6a7;cursor:not-allowed}.submit-warning{color:#f44336;font-size:.9rem;margin-top:10px;text-align:center}.confirmation-dialog{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000;pointer-events:auto}.dialog-content{background-color:#fff;padding:30px;border-radius:8px;width:400px;box-shadow:0 4px 20px #00000026}.dialog-title{font-size:1.3rem;margin-bottom:15px;color:#333}.dialog-message{margin-bottom:20px;line-height:1.5}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px}.dialog-button{padding:8px 16px;border-radius:4px;font-weight:700;cursor:pointer!important;border:none;position:relative;z-index:2001;pointer-events:auto!important}.dialog-cancel{background-color:#f5f5f5;color:#333}.dialog-confirm.submit{background-color:#4caf50;color:#fff;transition:background-color .2s}.dialog-confirm.submit:hover{background-color:#3d8b40}.dialog-confirm{background-color:#f44336;color:#fff}.dialog-confirm.submit{background-color:#4caf50}.review-list{margin-top:20px}.review-item{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid #e0e0e0}.review-item:last-child{border-bottom:none}.review-status{font-weight:700}.status-answered{color:#4caf50}.status-not-answered{color:#f44336}.status-marked{color:#ff9800}@media (max-width: 768px){.take-test-container{flex-direction:column;height:auto}.test-sidebar{width:100%;border-left:none;border-top:1px solid #e0e0e0;order:-1;margin-bottom:20px}.question-grid{grid-template-columns:repeat(6,1fr)}.test-header{flex-direction:column;align-items:flex-start;gap:10px}.question-navigation{flex-direction:column;gap:10px}.question-buttons{width:100%;justify-content:space-between}.question-container{padding:15px}.question-header{flex-direction:column;align-items:flex-start;gap:10px}.dialog-content{width:90%;max-width:100%;padding:20px}.sidebar-legend{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background-color:#fff;box-shadow:0 -2px 10px #0000001a;z-index:100;padding:10px}.mobile-nav-button{flex:1;padding:10px;text-align:center;border:none;background-color:transparent;font-weight:700;color:#666}.mobile-nav-button.active{color:#2196f3}}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:calc(100vh - 64px);text-align:center;padding:20px}.loading-spinner{width:50px;height:50px;border:5px solid #f3f3f3;border-top:5px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.error-icon{font-size:48px;color:#f44336;margin-bottom:20px}.error-message{color:#f44336;margin-bottom:20px}.retry-button{padding:10px 20px;background-color:#2196f3;color:#fff;border:none;border-radius:4px;font-weight:700;cursor:pointer}#root>div>div>div.question-navigation>button.dialog-button.dialog-confirm.submit{background-color:#4caf50;color:#fff;cursor:pointer;padding:10px 20px;border-radius:4px;font-weight:700;border:none;box-shadow:0 2px 4px #0003;transition:all .3s ease;z-index:9999;position:relative;pointer-events:all!important}#root>div>div>div.question-navigation>button.dialog-button.dialog-confirm.submit:hover{background-color:#45a049;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.dialog-button{pointer-events:all!important;cursor:pointer!important}.question-navigation{display:flex;justify-content:space-between;padding:15px;margin-top:20px;border-top:1px solid #e0e0e0;z-index:1000;position:relative}.dpp-page{display:flex;flex-direction:column;width:100%;padding:24px;background-color:#f9fafb;min-height:calc(100vh - 60px)}.dpp-page h2{font-size:1.75rem;color:#212529;margin:0 0 24px;font-weight:600}.dpp-tabs{display:flex;border-bottom:1px solid #dee2e6;margin-bottom:24px}.dpp-tabs button{padding:12px 24px;background:none;border:none;border-bottom:2px solid transparent;font-size:1rem;color:#495057;cursor:pointer;transition:all .2s ease;font-weight:500}.dpp-tabs button:hover{color:#0056b3}.dpp-tabs button.active{color:#0056b3;border-bottom-color:#0056b3;font-weight:600}.dpp-content{display:flex;gap:24px;flex:1}.dpp-left-panel{flex:1;max-width:450px}.dpp-right-panel{flex:1;display:flex;flex-direction:column;gap:24px}.dpp-page h3{font-size:1.3rem;font-weight:600;color:#2b6cb0;margin-bottom:16px}.dpp-page h4{font-size:1.1rem;font-weight:600;color:#2b6cb0;margin-bottom:8px}.dpp-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px #00000014;align-items:center;justify-content:center;width:100%;max-width:1400px}.filter-label{font-weight:500;color:#4a5568;display:flex;align-items:center;gap:8px;min-width:120px;flex:1 1 120px}.dpp-filter-label{color:#2b6cb0;min-width:160px;flex:1 1 160px}.filter-select{padding:10px 16px;border-radius:6px;border:1px solid #cbd5e0;font-size:.95rem;min-width:90px;flex-grow:1}.filter-select:focus{outline:none;border-color:#0056b3;box-shadow:0 0 0 2px #0056b340}.clear-filters-btn{padding:10px 16px;background-color:#f8f9fa;border:1px solid #ced4da;border-radius:4px;color:#495057;font-size:.9rem;cursor:pointer;transition:all .2s;height:40px;margin-left:auto}.clear-filters-btn:hover{background-color:#e9ecef;color:#212529}.dpp-tab-content{background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:24px;margin-top:20px}.tab-description{color:#495057;margin-bottom:20px;font-size:.95rem}.question-selection-container{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:20px;text-align:center;color:#6c757d;margin-top:8px}.primary-button{margin-top:16px;padding:12px 24px;background-color:#0056b3;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;gap:8px}.primary-button:hover{background-color:#004494}.primary-button:disabled{background-color:#6c757d;cursor:not-allowed}.dpp-dashboard{background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:24px;width:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center}.no-data-message{color:#718096;font-weight:500;font-size:1.1rem;text-align:center;padding:32px}.analytics-summary{display:flex;gap:24px;margin-top:16px;flex-wrap:wrap}.analytics-item{display:flex;flex-direction:column;align-items:center}.analytics-label{color:#4a5568;font-weight:500}.analytics-value{font-weight:700;font-size:1.2rem}.dpp-create-form{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:24px;width:100%;max-width:500px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{font-weight:500;color:#2b6cb0}.form-input{padding:10px 16px;border-radius:6px;border:1px solid #cbd5e0;font-size:.95rem}.form-input:focus{outline:none;border-color:#0056b3;box-shadow:0 0 0 2px #0056b340}.form-button{background:#2b6cb0;color:#fff;border:none;border-radius:6px;padding:12px;font-weight:600;cursor:pointer;transition:background-color .2s}.form-button:hover{background-color:#1e4e8c}.success-message{margin-top:16px;color:#3182ce;font-weight:500;text-align:center}.error-message{margin-top:16px;color:#e53e3e;font-weight:500;text-align:center}.attempt-status-container{margin-top:24px;width:100%}.attempt-status-table{width:100%;min-width:320px;border-collapse:collapse;background:#f7fafc;border-radius:8px;overflow:hidden}.attempt-status-table th{padding:12px 16px;background:#e2e8f0;text-align:left;font-weight:600;color:#4a5568;border:1px solid #cbd5e0}.attempt-status-table td{padding:10px 16px;border:1px solid #cbd5e0;text-align:center}.status-attempted{color:#38a169;font-weight:600}.status-not-attempted{color:#e53e3e;font-weight:600}.status-doubtful{color:#d69e2e;font-weight:600}.solve-dpp-container{max-width:800px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:24px}.question-container{margin-bottom:24px;padding:16px;border-radius:6px;background-color:#f9fafb;border:1px solid #e2e8f0}.question-text{font-weight:500;margin-bottom:12px;color:#2d3748}.answer-options{display:flex;gap:24px;margin-bottom:8px;flex-wrap:wrap}.answer-label{display:flex;align-items:center;gap:6px;cursor:pointer}.answer-input{margin:0}.loading-message{text-align:center;padding:24px;color:#4a5568;font-weight:500}@media (max-width: 768px){.dpp-filters{flex-direction:column;align-items:stretch}.filter-label{min-width:100%}.analytics-summary{flex-direction:column;align-items:center}.answer-options{flex-direction:column;gap:12px}}.sun-editor{width:auto;height:auto;box-sizing:border-box;font-family:Helvetica Neue;border:1px solid #dadada;background-color:#fff;color:#000;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.sun-editor *{box-sizing:border-box;-webkit-user-drag:none;overflow:visible}.sun-editor-common button,.sun-editor-common input,.sun-editor-common select,.sun-editor-common textarea{font-size:14px;line-height:1.5}.sun-editor-common blockquote,.sun-editor-common body,.sun-editor-common button,.sun-editor-common code,.sun-editor-common dd,.sun-editor-common div,.sun-editor-common dl,.sun-editor-common dt,.sun-editor-common fieldset,.sun-editor-common form,.sun-editor-common h1,.sun-editor-common h2,.sun-editor-common h3,.sun-editor-common h4,.sun-editor-common h5,.sun-editor-common h6,.sun-editor-common input,.sun-editor-common legend,.sun-editor-common li,.sun-editor-common ol,.sun-editor-common p,.sun-editor-common pre,.sun-editor-common select,.sun-editor-common td,.sun-editor-common textarea,.sun-editor-common th,.sun-editor-common ul{margin:0;padding:0;border:0}.sun-editor-common dl,.sun-editor-common li,.sun-editor-common menu,.sun-editor-common ol,.sun-editor-common ul{list-style:none!important}.sun-editor-common hr{margin:6px 0!important}.sun-editor textarea{resize:none;border:0;padding:0}.sun-editor button{border:0;background-color:transparent;touch-action:manipulation;cursor:pointer;outline:none}.sun-editor button,.sun-editor input,.sun-editor select,.sun-editor textarea{vertical-align:middle}.sun-editor button span{display:block;margin:0;padding:0}.sun-editor button .txt{display:block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sun-editor button *{pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden}.sun-editor svg{fill:currentColor}.sun-editor .se-svg,.sun-editor button>svg{width:16px;height:16px;margin:auto;fill:currentColor;display:block;text-align:center;float:none}.sun-editor .close>svg,.sun-editor .se-dialog-close>svg{width:10px;height:10px}.sun-editor .se-btn-select>svg{float:right;width:10px;height:10px}.sun-editor .se-btn-list>.se-list-icon{display:inline-block;width:16px;height:16px;margin:-1px 10px 0 0;vertical-align:middle}.sun-editor .se-line-breaker>button>svg{width:24px;height:24px}.sun-editor button>i:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;font-size:15px;line-height:2}.sun-editor button>[class=se-icon-text]{font-size:20px;line-height:1}.sun-editor .se-arrow,.sun-editor .se-arrow:after{position:absolute;display:block;width:0;height:0;border:11px solid transparent}.sun-editor .se-arrow.se-arrow-up{top:-11px;left:20px;margin-left:-11px;border-top-width:0;border-bottom-color:#dadada}.sun-editor .se-arrow.se-arrow-up:after{top:1px;margin-left:-11px;content:" ";border-top-width:0;border-bottom-color:#fff}.sun-editor .se-toolbar .se-arrow.se-arrow-up:after{border-bottom-color:#fafafa}.sun-editor .se-arrow.se-arrow-down{top:0;left:0;margin-left:-11px;border-bottom-width:0;border-top-color:#dadada}.sun-editor .se-arrow.se-arrow-down:after{top:-12px;margin-left:-11px;content:" ";border-bottom-width:0;border-top-color:#fff}.sun-editor .se-toolbar .se-arrow.se-arrow-down:after{border-top-color:#fafafa}.sun-editor .se-container{position:relative;width:auto;height:auto}.sun-editor button{color:#000}.sun-editor .se-btn{float:left;width:34px;height:34px;border:0;border-radius:4px;margin:1px!important;padding:0;font-size:12px;line-height:27px}.sun-editor .se-btn:enabled:focus,.sun-editor .se-btn:enabled:hover{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-btn:enabled:active{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-btn-primary{color:#000;background-color:#c7deff;border:1px solid #80bdff;border-radius:4px}.sun-editor .se-btn-primary:focus,.sun-editor .se-btn-primary:hover{color:#000;background-color:#80bdff;border-color:#3f9dff;outline:0 none}.sun-editor .se-btn-primary:active{color:#fff;background-color:#3f9dff;border-color:#4592ff;-webkit-box-shadow:inset 0 3px 5px #4592ff;box-shadow:inset 0 3px 5px #4592ff}.sun-editor input,.sun-editor select,.sun-editor textarea{color:#000;border:1px solid #ccc;border-radius:4px}.sun-editor input:focus,.sun-editor select:focus,.sun-editor textarea:focus{border:1px solid #80bdff;outline:0;-webkit-box-shadow:0 0 0 .2rem #c7deff;box-shadow:0 0 0 .2rem #c7deff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor .se-btn:enabled.active{color:#4592ff;outline:0 none}.sun-editor .se-btn:enabled.active:focus,.sun-editor .se-btn:enabled.active:hover{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-btn:enabled.active:active{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-btn:enabled.on{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-btn:enabled.on:focus,.sun-editor .se-btn:enabled.on:hover{background-color:#d1d1d1;border-color:#c1c1c1;outline:0 none}.sun-editor .se-btn:enabled.on:active{background-color:#c1c1c1;border-color:#b1b1b1;-webkit-box-shadow:inset 0 3px 5px #b1b1b1;box-shadow:inset 0 3px 5px #b1b1b1}.sun-editor .se-btn-list:disabled,.sun-editor .se-btn:disabled,.sun-editor button:disabled{cursor:not-allowed;background-color:inherit;color:#bdbdbd}.sun-editor .se-loading-box{position:absolute;display:none;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.7;filter:alpha(opacity=70);z-index:2147483647}.sun-editor .se-loading-box .se-loading-effect{position:absolute;display:block;top:50%;left:50%;height:25px;width:25px;border-top:2px solid #07d;border-right:2px solid transparent;border-radius:50%;animation:spinner .8s linear infinite;margin:-25px 0 0 -25px}.sun-editor .se-line-breaker{position:absolute;display:none;width:100%;height:1px;cursor:text;border-top:1px solid #3288ff;z-index:7}.sun-editor .se-line-breaker>button.se-btn{position:relative;display:inline-block;width:30px;height:30px;top:-15px;float:none;left:-50%;background-color:#fff;border:1px solid #0c2240;opacity:.6;cursor:pointer}.sun-editor .se-line-breaker>button.se-btn:hover{opacity:.9;background-color:#fff;border-color:#041b39}.sun-editor .se-line-breaker-component{position:absolute;display:none;width:24px;height:24px;background-color:#fff;border:1px solid #0c2240;opacity:.6;border-radius:4px;cursor:pointer;z-index:7}.sun-editor .se-line-breaker-component:hover{opacity:.9}.sun-editor .se-toolbar{display:block;position:relative;height:auto;width:100%;overflow:visible;padding:0;margin:0;background-color:#fafafa;outline:1px solid #dadada;z-index:5}.sun-editor .se-toolbar-shadow{display:block!important;height:0!important;padding:0!important;margin:0!important;background-color:transparent!important;outline:none!important;border:none!important;z-index:0!important}.sun-editor .se-toolbar-cover{position:absolute;display:none;font-size:36px;width:100%;height:100%;top:0;left:0;background-color:#fefefe;opacity:.5;filter:alpha(opacity=50);cursor:not-allowed;z-index:4}.sun-editor .se-toolbar-separator-vertical{display:inline-block;height:0;width:0;margin:0;vertical-align:top}.sun-editor .se-toolbar.se-toolbar-balloon,.sun-editor .se-toolbar.se-toolbar-inline{display:none;position:absolute;box-shadow:0 3px 9px #00000080;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5)}.sun-editor .se-toolbar.se-toolbar-balloon{z-index:2147483647;width:auto}.sun-editor .se-toolbar.se-toolbar-sticky{position:fixed;top:0}.sun-editor .se-toolbar-sticky-dummy{display:none;position:static;z-index:-1}.sun-editor .se-btn-module{display:inline-block}.sun-editor .se-btn-module-border{border:1px solid #dadada;border-radius:4px;margin-left:1px;margin-right:1px}.sun-editor .se-btn-module-enter{display:block;width:100%;height:0;margin:0;padding:0;background-color:transparent}.sun-editor .se-toolbar-more-layer{margin:0 -3px;background-color:#fafafa}.sun-editor .se-toolbar-more-layer .se-more-layer{display:none;border-top:1px solid #dadada}.sun-editor .se-toolbar-more-layer .se-more-layer .se-more-form{display:inline-block;width:100%;height:auto;padding:4px 3px 0}.sun-editor .se-btn-module .se-btn-more.se-btn-more-text{width:auto;padding:0 4px}.sun-editor .se-btn-module .se-btn-more:focus,.sun-editor .se-btn-module .se-btn-more:hover{color:#000;background-color:#d1d1d1;border-color:#c1c1c1;outline:0 none}.sun-editor .se-btn-module .se-btn-more.on{color:#333;background-color:#d1d1d1;border-color:#c1c1c1;outline:0 none}.sun-editor .se-btn-module .se-btn-more.on:hover{color:#000;background-color:#c1c1c1;border-color:#b1b1b1;outline:0 none}.sun-editor .se-menu-list,.sun-editor .se-menu-list li{float:left;padding:0;margin:0}.sun-editor .se-menu-list li{position:relative}.sun-editor .se-btn-select{width:auto;display:flex;padding:4px 6px}.sun-editor .se-btn-select .txt{flex:auto;text-align:left}.sun-editor .se-btn-select.se-btn-tool-font{width:100px}.sun-editor .se-btn-select.se-btn-tool-format{width:82px}.sun-editor .se-btn-select.se-btn-tool-size{width:78px}.sun-editor .se-btn-tray{position:relative;width:100%;height:auto;padding:4px 3px 0;margin:0}.sun-editor .se-menu-tray{position:absolute;top:0;left:0;width:100%;height:0}.sun-editor .se-submenu{overflow-x:hidden;overflow-y:auto}.sun-editor .se-menu-container{overflow-x:unset;overflow-y:unset}.sun-editor .se-list-layer{display:none;position:absolute;top:0;left:0;height:auto;z-index:5;border:1px solid #bababa;border-radius:4px;padding:6px 0;background-color:#fff;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px #00000080;outline:0 none}.sun-editor .se-list-layer .se-list-inner{padding:0;margin:0;overflow-x:initial;overflow-y:initial;overflow:visible}.sun-editor .se-list-layer button{margin:0;width:100%}.sun-editor .se-list-inner ul{width:100%;padding:0}.sun-editor .se-list-inner li>button{min-width:100%;width:max-content}.sun-editor .se-list-inner .se-list-basic li{width:100%}.sun-editor .se-list-inner .se-list-basic li button.active{background-color:#80bdff;border:1px solid #3f9dff;border-left:0;border-right:0}.sun-editor .se-list-inner .se-list-basic li button.active:hover{background-color:#3f9dff;border:1px solid #4592ff;border-left:0;border-right:0}.sun-editor .se-list-inner .se-list-basic li button.active:active{background-color:#4592ff;border:1px solid #407dd1;border-left:0;border-right:0;-webkit-box-shadow:inset 0 3px 5px #407dd1;box-shadow:inset 0 3px 5px #407dd1}.sun-editor .se-list-inner .se-list-checked li button>.se-svg{float:left;padding:6px 6px 0 0}.sun-editor .se-list-inner .se-list-checked li button>.se-svg>svg{display:none}.sun-editor .se-list-inner .se-list-checked li button.se-checked{color:#4592ff}.sun-editor .se-list-inner .se-list-checked li button.se-checked>.se-svg>svg{display:block}.sun-editor .se-btn-list{width:100%;height:auto;min-height:32px;padding:0 14px;cursor:pointer;font-size:12px;line-height:normal;text-indent:0;text-decoration:none;text-align:left}.sun-editor .se-btn-list.default_value{background-color:#f3f3f3;border-top:1px dotted #b1b1b1;border-bottom:1px dotted #b1b1b1}.sun-editor .se-btn-list:focus,.sun-editor .se-btn-list:hover{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-btn-list:active{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-list-layer.se-list-font-size{min-width:140px;max-height:300px}.sun-editor .se-list-layer.se-list-font-family{min-width:156px}.sun-editor .se-list-layer.se-list-font-family .default{border-bottom:1px solid #ccc}.sun-editor .se-list-layer.se-list-line{width:125px}.sun-editor .se-list-layer.se-list-line hr{border-width:1px 0 0;height:1px}.sun-editor .se-list-layer.se-list-align .se-list-inner{left:9px}.sun-editor .se-list-layer.se-list-format{min-width:156px}.sun-editor .se-list-layer.se-list-format li{padding:0;width:100%}.sun-editor .se-list-layer.se-list-format ul .se-btn-list{line-height:100%}.sun-editor .se-list-layer.se-list-format ul .se-btn-list[data-value=h1]{height:40px}.sun-editor .se-list-layer.se-list-format ul .se-btn-list[data-value=h2]{height:34px}.sun-editor .se-list-layer.se-list-format ul p{font-size:13px}.sun-editor .se-list-layer.se-list-format ul div{font-size:13px;padding:4px 2px}.sun-editor .se-list-layer.se-list-format ul h1{font-size:2em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul h2{font-size:1.5em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul h3{font-size:1.17em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul h4{font-size:1em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul h5{font-size:.83em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul h6{font-size:.67em;font-weight:700;color:#333}.sun-editor .se-list-layer.se-list-format ul blockquote{font-size:13px;color:#999;height:22px;margin:0;background-color:transparent;line-height:1.5;border-color:#b1b1b1;padding:0 0 0 7px;border-left:5px #b1b1b1;border-style:solid}.sun-editor .se-list-layer.se-list-format ul pre{font-size:13px;color:#666;padding:4px 11px;margin:0;background-color:#f9f9f9;border:1px solid #e1e1e1;border-radius:4px}.sun-editor .se-selector-table{display:none;position:absolute;top:34px;left:1px;z-index:5;padding:5px 0;float:left;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px #0000002d}.sun-editor .se-selector-table .se-table-size{font-size:18px;padding:0 5px}.sun-editor .se-selector-table .se-table-size-picker{position:absolute!important;z-index:3;font-size:18px;width:10em;height:10em;cursor:pointer}.sun-editor .se-selector-table .se-table-size-highlighted{position:absolute!important;z-index:2;font-size:18px;width:1em;height:1em;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADJmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4QTZCNzMzN0I3RUYxMUU4ODcwQ0QwMjM1NTgzRTJDNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4QTZCNzMzNkI3RUYxMUU4ODcwQ0QwMjM1NTgzRTJDNyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MzYyNEUxRUI3RUUxMUU4ODZGQzgwRjNBODgyNTdFOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0MzYyNEUxRkI3RUUxMUU4ODZGQzgwRjNBODgyNTdFOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pl0yAuwAAABBSURBVDhPY/wPBAxUAGCDGvdBeWSAeicIDTfIXREiQArYeR9hEBOEohyMGkQYjBpEGAxjg6ib+yFMygCVvMbAAABj0hwMTNeKJwAAAABJRU5ErkJggg==) repeat}.sun-editor .se-selector-table .se-table-size-unhighlighted{position:relative!important;z-index:1;font-size:18px;width:10em;height:10em;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC) repeat}.sun-editor .se-selector-table .se-table-size-display{padding-left:5px}.sun-editor .se-list-layer.se-table-split{top:36px}.sun-editor .se-list-layer .se-selector-color{display:flex;width:max-content;max-width:270px;height:auto;padding:0;margin:auto}.sun-editor .se-list-layer .se-selector-color .se-color-pallet{width:100%;height:100%;padding:0}.sun-editor .se-list-layer .se-selector-color .se-color-pallet li{display:flex;float:left;position:relative;margin:0}.sun-editor .se-list-layer .se-selector-color .se-color-pallet button{display:block;cursor:default;width:30px;height:30px;text-indent:-9999px}.sun-editor .se-list-layer .se-selector-color .se-color-pallet button.active,.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:focus,.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:hover{border:3px solid #fff}.sun-editor .se-form-group{display:flex;width:100%;min-height:40px;height:auto;padding:4px}.sun-editor .se-form-group input{flex:auto;display:inline-block;width:auto;height:33px;font-size:12px;margin:1px 0;padding:0;border-radius:.25rem;border:1px solid #ccc}.sun-editor .se-form-group button,.sun-editor .se-submenu-form-group button{float:right;width:34px;height:34px;margin:0 2px!important}.sun-editor .se-form-group button.se-btn{border:1px solid #ccc}.sun-editor .se-form-group>div{position:relative}.sun-editor .se-form-group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.sun-editor .se-form-group-label{width:100%;height:auto;padding:0 4px}.sun-editor .se-form-group-label label{font-size:13px;font-weight:700}.sun-editor .se-submenu .se-form-group input{width:auto;height:33px;color:#555}.sun-editor .se-submenu .se-form-group .se-color-input{width:72px;text-transform:uppercase;border:none;border-bottom:2px solid #b1b1b1;outline:none}.sun-editor .se-submenu .se-form-group .se-color-input:focus{border-bottom:3px solid #b1b1b1}.sun-editor .se-wrapper{position:relative!important;width:100%;height:auto;overflow:hidden;z-index:1}.sun-editor .se-wrapper .se-wrapper-inner{width:100%;height:100%;min-height:65px;overflow-y:auto;overflow-x:auto;-webkit-overflow-scrolling:touch;user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.sun-editor .se-wrapper .se-wrapper-inner:focus{outline:none}.sun-editor .se-wrapper .se-wrapper-code{background-color:#191919;color:#fff;font-size:13px;word-break:break-all;padding:4px;margin:0;resize:none!important}.sun-editor .se-wrapper .se-wrapper-wysiwyg{display:block}.sun-editor .se-wrapper .se-wrapper-code-mirror{font-size:13px}.sun-editor .se-wrapper .se-placeholder{position:absolute;display:none;white-space:nowrap;text-overflow:ellipsis;z-index:1;color:#b1b1b1;font-size:13px;line-height:1.5;top:0;left:0;right:0;overflow:hidden;margin-top:0;padding-top:16px;padding-left:16px;margin-left:0;padding-right:16px;margin-right:0;pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden}.sun-editor .se-resizing-bar{display:flex;width:auto;height:auto;min-height:16px;border-top:1px solid #dadada;padding:0 4px;background-color:#fafafa;cursor:ns-resize}.sun-editor .se-resizing-bar.se-resizing-none{cursor:default}.sun-editor .se-resizing-back{position:absolute;display:none;cursor:default;top:0;left:0;width:100%;height:100%;z-index:2147483647}.sun-editor .se-resizing-bar .se-navigation{flex:auto;position:relative;width:auto;height:auto;color:#666;margin:0;padding:0;font-size:10px;line-height:1.5;background:transparent}.sun-editor .se-resizing-bar .se-char-counter-wrapper{flex:none;position:relative;display:block;width:auto;height:auto;margin:0;padding:0;color:#999;font-size:13px;background:transparent}.sun-editor .se-resizing-bar .se-char-counter-wrapper.se-blink{color:#b94a48;animation:blinker .2s linear infinite}.sun-editor .se-resizing-bar .se-char-counter-wrapper .se-char-label{margin-right:4px}.sun-editor .se-dialog{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:2147483647}.sun-editor .se-dialog button,.sun-editor .se-dialog input,.sun-editor .se-dialog label{font-size:14px;line-height:1.5;color:#111;margin:0}.sun-editor .se-dialog .se-dialog-back{background-color:#222;opacity:.5}.sun-editor .se-dialog .se-dialog-back,.sun-editor .se-dialog .se-dialog-inner{position:absolute;width:100%;height:100%;top:0;left:0}.sun-editor .se-dialog .se-dialog-inner .se-dialog-content{position:relative;width:auto;max-width:500px;margin:1.75rem auto;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:4px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px #00000080}@media screen and (max-width:509px){.sun-editor .se-dialog .se-dialog-inner .se-dialog-content{width:100%}}.sun-editor .se-dialog .se-dialog-inner .se-dialog-content label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.sun-editor .se-dialog .se-dialog-inner .se-dialog-content .se-btn-primary{display:inline-block;padding:6px 12px;margin:0 0 10px!important;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;border-radius:4px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-header{height:50px;padding:6px 15px;border-bottom:1px solid #e5e5e5}.sun-editor .se-dialog .se-dialog-inner .se-dialog-header .se-dialog-close{float:right;font-weight:700;text-shadow:0 1px 0 #fff;-webkit-appearance:none;filter:alpha(opacity=100);opacity:1}.sun-editor .se-dialog .se-dialog-inner .se-dialog-header .se-modal-title{float:left;font-size:14px;font-weight:700;margin:0;padding:0;line-height:2.5}.sun-editor .se-dialog .se-dialog-inner .se-dialog-body{position:relative;padding:15px 15px 5px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form{margin-bottom:10px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer{margin-top:10px;margin-bottom:0}.sun-editor .se-dialog .se-dialog-inner input:disabled{background-color:#f3f3f3}.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text{width:100%}.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text .size-h,.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text .size-w{width:70px;text-align:center}.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-x{margin:0 8px;width:25px;text-align:center}.sun-editor .se-dialog .se-dialog-inner .se-dialog-footer{height:auto;min-height:55px;padding:10px 15px 0;text-align:right;border-top:1px solid #e5e5e5}.sun-editor .se-dialog .se-dialog-inner .se-dialog-footer>div{float:left}.sun-editor .se-dialog .se-dialog-inner .se-dialog-footer>div>label{margin:0 5px 0 0}.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-radio{margin-left:12px;margin-right:6px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-check{margin-left:12px;margin-right:4px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer .se-dialog-btn-check{margin-left:0;margin-right:4px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer label:first-child{margin-right:16px;margin-left:0}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files{position:relative;display:flex;align-items:center}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files>input{flex:auto}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button{flex:auto;opacity:.8;border:1px solid #ccc}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button.se-file-remove>svg{width:8px;height:8px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button:hover{background-color:#f0f0f0;outline:0 none}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button:active{background-color:#e9e9e9;-webkit-box-shadow:inset 0 3px 5px #d6d6d6;box-shadow:inset 0 3px 5px #d6d6d6}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-select{display:inline-block;width:auto;height:34px;font-size:14px;text-align:center;line-height:1.42857143}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-control{display:inline-block;width:70px;height:34px;font-size:14px;text-align:center;line-height:1.42857143}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form{display:block;width:100%;height:34px;font-size:14px;line-height:1.42857143;padding:0 4px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-input-url{direction:ltr}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-input-url:disabled{text-decoration:line-through;color:#999}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-video-ratio{width:70px;margin-left:4px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form a{color:#004cff}.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert{border:1px solid #ccc}.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert:hover{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert:active{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-dialog-tabs{width:100%;height:25px;border-bottom:1px solid #e5e5e5}.sun-editor .se-dialog-tabs button{background-color:#e5e5e5;border-right:1px solid #e5e5e5;float:left;outline:none;padding:2px 13px;transition:.3s}.sun-editor .se-dialog-tabs button:hover{background-color:#fff}.sun-editor .se-dialog-tabs button.active{background-color:#fff;border-bottom:0}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-math-exp{resize:vertical;height:14em;border:1px solid #ccc;font-size:13px;padding:4px;direction:ltr}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-select.se-math-size{width:6em;height:28px;margin-left:1em}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview{font-size:13px}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview>span{display:inline-block;-webkit-box-shadow:0 0 0 .1rem #c7deff;box-shadow:0 0 0 .1rem #c7deff}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview>span *{direction:ltr}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview>.se-math-katex-error{color:#b94a48;-webkit-box-shadow:0 0 0 .1rem #f2dede;box-shadow:0 0 0 .1rem #f2dede}.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview>.se-math-katex-error svg{width:auto;height:30px;color:#b94a48}.sun-editor .se-dialog .se-dialog-inner .se-link-preview{display:block;height:auto;max-height:18px;font-size:13px;font-weight:400;font-family:inherit;color:#666;background-color:transparent;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:pre}.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form{width:100%;display:flex;margin-top:4px}.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form .se-svg.se-anchor-preview-icon{flex:unset;display:none;line-height:1.5;color:#4592ff}.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form .se-link-preview{flex:auto;margin:0}.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel{height:34px}.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-btn{width:46px;color:#3f9dff}.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-wrapper{display:flex;line-height:1.5;padding-top:6px}.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-preview{text-align:left}.sun-editor .se-controller .se-arrow.se-arrow-up{border-bottom-color:#00000040}.sun-editor .se-controller{position:absolute;display:none;overflow:visible;z-index:6;border:1px solid rgba(0,0,0,.25);border-radius:4px;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px #0003;line-break:auto}.sun-editor .se-controller .se-btn-group{position:relative;display:flex;vertical-align:middle;padding:2px;top:0;left:0}.sun-editor .se-controller .se-btn-group .se-btn-group-sub{left:50%;min-width:auto;width:max-content;display:none}.sun-editor .se-controller .se-btn-group .se-btn-group-sub button{margin:0;min-width:72px}.sun-editor .se-controller .se-btn-group button{position:relative;min-height:34px;height:auto;border:none;border-radius:4px;margin:1px;padding:5px 10px;font-size:12px;line-height:1.5;display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation}.sun-editor .se-controller .se-btn-group button:focus:enabled,.sun-editor .se-controller .se-btn-group button:hover:enabled{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-controller .se-btn-group button:active:enabled{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-controller .se-btn-group button span{display:block;padding:0;margin:0}.sun-editor .se-controller .se-btn-group button:enabled.active{color:#4592ff;outline:0 none}.sun-editor .se-controller .se-btn-group button:enabled.active:focus,.sun-editor .se-controller .se-btn-group button:enabled.active:hover{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-controller .se-btn-group button:enabled.active:active{background-color:#d1d1d1;border-color:#c1c1c1;-webkit-box-shadow:inset 0 3px 5px #c1c1c1;box-shadow:inset 0 3px 5px #c1c1c1}.sun-editor .se-controller .se-btn-group button:enabled.on{background-color:#e1e1e1;border-color:#d1d1d1;outline:0 none}.sun-editor .se-controller .se-btn-group button:enabled.on:focus,.sun-editor .se-controller .se-btn-group button:enabled.on:hover{background-color:#d1d1d1;border-color:#c1c1c1;outline:0 none}.sun-editor .se-controller .se-btn-group button:enabled.on:active{background-color:#c1c1c1;border-color:#b1b1b1;-webkit-box-shadow:inset 0 3px 5px #b1b1b1;box-shadow:inset 0 3px 5px #b1b1b1}.sun-editor .se-controller .se-form-group input{min-width:120px}.sun-editor .se-controller-resizing{margin-top:-50px!important;padding:0;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143}.sun-editor .se-controller-resizing .se-btn-group .se-btn-group-sub.se-resizing-align-list{width:74px}.sun-editor .se-resizing-container{position:absolute;display:none;outline:1px solid #3f9dff;background-color:transparent}.sun-editor .se-resizing-container .se-modal-resize{position:absolute;display:inline-block;background-color:#3f9dff;opacity:.3}.sun-editor .se-resizing-container .se-resize-dot{position:absolute;top:0;left:0;width:100%;height:100%}.sun-editor .se-resizing-container .se-resize-dot>span{position:absolute;width:7px;height:7px;background-color:#3f9dff;border:1px solid #4592ff}.sun-editor .se-resizing-container .se-resize-dot>span.tl{top:-5px;left:-5px;cursor:nw-resize}.sun-editor .se-resizing-container .se-resize-dot>span.tr{top:-5px;right:-5px;cursor:ne-resize}.sun-editor .se-resizing-container .se-resize-dot>span.bl{bottom:-5px;left:-5px;cursor:sw-resize}.sun-editor .se-resizing-container .se-resize-dot>span.br{right:-5px;bottom:-5px;cursor:se-resize}.sun-editor .se-resizing-container .se-resize-dot>span.lw{left:-7px;bottom:50%;cursor:w-resize}.sun-editor .se-resizing-container .se-resize-dot>span.th{left:50%;top:-7px;cursor:n-resize}.sun-editor .se-resizing-container .se-resize-dot>span.rw{right:-7px;bottom:50%;cursor:e-resize}.sun-editor .se-resizing-container .se-resize-dot>span.bh{right:50%;bottom:-7px;cursor:s-resize}.sun-editor .se-resizing-container .se-resize-display{position:absolute;right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:#fff;background-color:#333;border-radius:4px}.sun-editor .se-controller-table,.sun-editor .se-controller-table-cell{width:auto}.sun-editor .se-controller-link,.sun-editor .se-controller-table,.sun-editor .se-controller-table-cell{padding:0;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143}.sun-editor .se-controller-link:after,.sun-editor .se-controller-link:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sun-editor .se-controller-link .link-content{padding:0;margin:0}.sun-editor .se-controller-link .link-content a{display:inline-block;color:#4592ff;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;margin-left:5px}.sun-editor .se-select-list{position:absolute;top:0;left:0;display:none;width:auto;max-width:100%;background-color:#fff;padding:0;margin:0;border:1px solid #bababa;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px #00000080;outline:0 none}.sun-editor .se-select-list .se-select-item{line-height:28px;min-height:28px;font-size:13px;padding:0 5px;margin:2px 0;cursor:pointer}.sun-editor .se-select-list.__se_select-menu-mouse-move .se-select-item:hover,.sun-editor .se-select-list:not(.__se_select-menu-mouse-move) .se-select-item.active{background-color:#e1e1e1}.sun-editor .se-dialog-form-files .se-select-list{width:100%}.sun-editor .se-file-browser{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:2147483647}.sun-editor .se-file-browser button,.sun-editor .se-file-browser input,.sun-editor .se-file-browser label{font-size:14px;line-height:1.5;color:#111;margin:0}.sun-editor .se-file-browser .se-file-browser-back{background-color:#222;opacity:.5}.sun-editor .se-file-browser .se-file-browser-back,.sun-editor .se-file-browser .se-file-browser-inner{position:absolute;display:block;width:100%;height:100%;top:0;left:0}.sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content{position:relative;width:960px;max-width:100%;margin:20px auto;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:4px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px #00000080}.sun-editor .se-file-browser .se-file-browser-header{height:auto;min-height:50px;padding:6px 15px;border-bottom:1px solid #e5e5e5}.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-close{float:right;font-weight:700;text-shadow:0 1px 0 #fff;-webkit-appearance:none;filter:alpha(opacity=100);opacity:1}.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-close>svg{width:12px;height:12px}.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-title{font-size:16px;font-weight:700;margin:0;padding:0;line-height:2.2}.sun-editor .se-file-browser .se-file-browser-tags{display:block;width:100%;padding:0;text-align:left;margin:0 -15px}.sun-editor .se-file-browser .se-file-browser-tags a{display:inline-block;background-color:#f5f5f5;padding:6px 12px;margin:8px 0 8px 8px;color:#333;text-decoration:none;border-radius:32px;-moz-border-radius:32px;-webkit-border-radius:32px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;cursor:pointer}.sun-editor .se-file-browser .se-file-browser-tags a:hover{background-color:#e1e1e1}.sun-editor .se-file-browser .se-file-browser-tags a:active{background-color:#d1d1d1}.sun-editor .se-file-browser .se-file-browser-tags a.on{background-color:#ebf3fe;color:#4592ff}.sun-editor .se-file-browser .se-file-browser-tags a.on:hover{background-color:#d8e8fe}.sun-editor .se-file-browser .se-file-browser-tags a.on:active{background-color:#c7deff}.sun-editor .se-file-browser .se-file-browser-body{position:relative;height:auto;min-height:350px;padding:20px;overflow-y:auto}.sun-editor .se-file-browser .se-file-browser-body .se-file-browser-list{position:relative;width:100%}@media screen and (max-width:992px){.sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content{width:748px}}@media screen and (max-width:768px){.sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content{width:600px}}.sun-editor .se-file-browser .se-file-browser-list .se-file-item-column{position:relative;display:block;height:auto;float:left}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column{width:calc(25% - 20px);margin:0 10px}@media screen and (max-width:992px){.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column{width:calc(33% - 20px)}}@media screen and (max-width:768px){.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column{width:calc(50% - 20px)}}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img{position:relative;display:block;cursor:pointer;width:100%;height:auto;border-radius:4px;outline:0;margin:10px 0}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img:hover{opacity:.8;-webkit-box-shadow:0 0 0 .2rem #3288ff;box-shadow:0 0 0 .2rem #3288ff}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img>img{position:relative;display:block;width:100%;border-radius:4px;outline:0;height:auto}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img>.se-file-img-name{position:absolute;z-index:1;font-size:13px;color:#fff;left:0;bottom:0;padding:5px 10px;background-color:transparent;width:100%;height:30px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;pointer-events:none}.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img>.se-file-img-name.se-file-name-back{background-color:#333;opacity:.6;pointer-events:none}.sun-editor .se-notice{position:absolute;top:0;display:none;z-index:7;width:100%;height:auto;word-break:break-all;font-size:13px;color:#b94a48;background-color:#f2dede;padding:15px;margin:0;border:1px solid #eed3d7;user-select:auto;-o-user-select:auto;-moz-user-select:auto;-khtml-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto}.sun-editor .se-notice button{float:right;padding:7px}.sun-editor .se-tooltip{position:relative;overflow:visible}.sun-editor .se-tooltip .se-tooltip-inner{visibility:hidden;position:absolute;display:block;width:auto;height:auto;top:120%;left:50%;background:transparent;opacity:0;z-index:1;line-height:1.5;transition:opacity .5s;margin:0;padding:0;bottom:auto;float:none;pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden}.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text{position:relative;display:inline-block;width:auto;height:auto;left:-50%;font-size:.9em;margin:0;padding:4px 6px;border-radius:2px;background-color:#333;color:#fff;text-align:center;line-height:unset;white-space:nowrap;cursor:auto}.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-bottom-color:#333}.sun-editor .se-tooltip:hover .se-tooltip-inner{visibility:visible;opacity:1}.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut{display:block!important}.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut>.se-shortcut-key{display:inline;font-weight:700}.sun-editor.se-rtl .se-btn-tray{direction:rtl}.sun-editor.se-rtl .se-btn-select svg{margin:auto 1px}.sun-editor.se-rtl .se-btn-select .txt{flex:auto;text-align:right;direction:rtl}.sun-editor.se-rtl .se-btn-list{text-align:right}.sun-editor.se-rtl .se-btn-list>.se-list-icon{margin:-1px 0 0 10px}.sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix),.sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix) li{float:right}.sun-editor.se-rtl .se-list-layer *{direction:rtl}.sun-editor.se-rtl .se-list-layer.se-list-format ul blockquote{padding:0 7px 0 0;border-right-width:5px;border-left-width:0}.sun-editor.se-rtl .se-list-layer .se-selector-color .se-color-pallet li{float:right}.sun-editor.se-rtl .se-list-inner .se-list-checked li button>.se-svg{float:right;padding:6px 0 0 6px}.sun-editor.se-rtl .se-tooltip .se-tooltip-inner .se-tooltip-text,.sun-editor.se-rtl .se-wrapper .se-placeholder{direction:rtl}.sun-editor.se-rtl .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut{direction:ltr}.sun-editor.se-rtl .se-dialog *{direction:rtl}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-form .se-video-ratio{margin-left:0;margin-right:4px}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-header .se-dialog-close{float:left}.sun-editor.se-rtl .se-dialog-tabs button,.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-header .se-modal-title{float:right}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-size-text{padding-right:34px}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer .se-btn-primary{float:left}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer>div{float:right}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer>div>label{margin:0 0 0 5px}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-form-footer label:first-child{margin-left:16px;margin-right:0}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-anchor-rel-preview{margin-left:4px;text-align:right}.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-anchor-rel-btn{float:right}.sun-editor.se-rtl .se-file-browser *{direction:rtl}.sun-editor.se-rtl .se-file-browser .se-file-browser-tags{text-align:right}.sun-editor.se-rtl .se-file-browser .se-file-browser-tags a{margin:8px 8px 0}.sun-editor.se-rtl .se-file-browser .se-file-browser-header .se-file-browser-close{float:left}.sun-editor.se-rtl .se-controller .se-btn-group,.sun-editor.se-rtl .se-resizing-container .se-resize-display{direction:rtl}.sun-editor .se-btn-module-border.module-float-left{float:left}.sun-editor .se-btn-module-border.module-float-right{float:right}.sun-editor .se-error{color:#d9534f}.sun-editor input.se-error:focus,select.se-error:focus,textarea.se-error:focus{border:1px solid #f2dede;outline:0;-webkit-box-shadow:0 0 0 .2rem #eed3d7;box-shadow:0 0 0 .2rem #eed3d7;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor hr.__se__solid{border-style:solid none none}.sun-editor hr.__se__dotted{border-style:dotted none none}.sun-editor hr.__se__dashed{border-style:dashed none none}@keyframes blinker{50%{opacity:0}}@keyframes spinner{to{transform:rotate(361deg)}}.sun-editor-editable{font-family:Helvetica Neue;font-size:13px;color:#333;background-color:#fff;line-height:1.5;word-break:normal;word-wrap:break-word;padding:16px;margin:0}.sun-editor-editable *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-family:inherit;font-size:inherit;color:inherit}.sun-editor-editable.se-rtl *{direction:rtl}.sun-editor-editable .se-component>figure{direction:ltr}.sun-editor-editable audio,.sun-editor-editable figcaption,.sun-editor-editable figure,.sun-editor-editable iframe,.sun-editor-editable img,.sun-editor-editable td,.sun-editor-editable th,.sun-editor-editable video{position:relative}.sun-editor-editable span{display:inline;vertical-align:baseline;margin:0;padding:0}.sun-editor-editable span.katex{display:inline-block}.sun-editor-editable span.katex *{direction:ltr}.sun-editor-editable a{color:#004cff;text-decoration:none}.sun-editor-editable span[style~="color:"] a{color:inherit}.sun-editor-editable a:focus,.sun-editor-editable a:hover{cursor:pointer;color:#0093ff;text-decoration:underline}.sun-editor-editable a.on{color:#0093ff;background-color:#e8f7ff}.sun-editor-editable pre{display:block;padding:8px;margin:0 0 10px;font-family:monospace;color:#666;line-height:1.45;background-color:#f9f9f9;border:1px solid #e1e1e1;border-radius:2px;white-space:pre-wrap!important;word-wrap:break-word;overflow:visible}.sun-editor-editable ol{list-style-type:decimal}.sun-editor-editable ol,.sun-editor-editable ul{list-style-position:outside;display:block;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0;padding-inline-start:40px}.sun-editor-editable ul{list-style-type:disc}.sun-editor-editable li{display:list-item;text-align:-webkit-match-parent;margin-bottom:5px}.sun-editor-editable ol ol,.sun-editor-editable ol ul,.sun-editor-editable ul ol,.sun-editor-editable ul ul{margin:0}.sun-editor-editable ol ol,.sun-editor-editable ul ol{list-style-type:lower-alpha}.sun-editor-editable ol ol ol,.sun-editor-editable ul ol ol,.sun-editor-editable ul ul ol{list-style-type:upper-roman}.sun-editor-editable ol ul,.sun-editor-editable ul ul{list-style-type:circle}.sun-editor-editable ol ol ul,.sun-editor-editable ol ul ul,.sun-editor-editable ul ul ul{list-style-type:square}.sun-editor-editable sub,.sun-editor-editable sup{font-size:75%;line-height:0}.sun-editor-editable sub{vertical-align:sub}.sun-editor-editable sup{vertical-align:super}.sun-editor-editable p{display:block;margin:0 0 10px}.sun-editor-editable div{display:block;margin:0;padding:0}.sun-editor-editable blockquote{display:block;font-family:inherit;font-size:inherit;color:#999;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0;padding:0 5px 0 20px;border:solid #b1b1b1;border-width:0 0 0 5px}.sun-editor-editable blockquote blockquote{border-color:#c1c1c1}.sun-editor-editable blockquote blockquote blockquote{border-color:#d1d1d1}.sun-editor-editable blockquote blockquote blockquote blockquote{border-color:#e1e1e1}.sun-editor-editable.se-rtl blockquote{padding-left:5px;padding-right:20px;border-left-width:0;border-right-width:5px}.sun-editor-editable h1{font-size:2em;margin-block-start:.67em;margin-block-end:.67em}.sun-editor-editable h1,.sun-editor-editable h2{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h2{font-size:1.5em;margin-block-start:.83em;margin-block-end:.83em}.sun-editor-editable h3{font-size:1.17em;margin-block-start:1em;margin-block-end:1em}.sun-editor-editable h3,.sun-editor-editable h4{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h4{font-size:1em;margin-block-start:1.33em;margin-block-end:1.33em}.sun-editor-editable h5{font-size:.83em;margin-block-start:1.67em;margin-block-end:1.67em}.sun-editor-editable h5,.sun-editor-editable h6{display:block;margin-inline-start:0;margin-inline-end:0;font-weight:700}.sun-editor-editable h6{font-size:.67em;margin-block-start:2.33em;margin-block-end:2.33em}.sun-editor-editable hr{display:flex;border-width:1px 0 0;border-color:#000;border-image:initial;height:1px}.sun-editor-editable hr.__se__solid{border-style:solid none none}.sun-editor-editable hr.__se__dotted{border-style:dotted none none}.sun-editor-editable hr.__se__dashed{border-style:dashed none none}.sun-editor-editable hr.on{border-color:#4592ff;-webkit-box-shadow:0 0 0 .1rem #c7deff;box-shadow:0 0 0 .1rem #c7deff}.sun-editor-editable table{display:table;table-layout:auto!important;border:1px solid #ccc;width:100%;max-width:100%;margin:0 0 10px;background-color:transparent;border-spacing:0;border-collapse:collapse}.sun-editor-editable.se-rtl table{margin:0 0 10px auto}.sun-editor-editable table thead{border-bottom:2px solid #333}.sun-editor-editable table tr{border:1px solid #efefef}.sun-editor-editable table th{background-color:#f3f3f3}.sun-editor-editable table td,.sun-editor-editable table th{border:1px solid #e1e1e1;padding:.4em;background-clip:padding-box}.sun-editor-editable table.se-table-size-auto{width:auto!important}.sun-editor-editable table.se-table-size-100{width:100%!important}.sun-editor-editable table.se-table-layout-auto{table-layout:auto!important}.sun-editor-editable table.se-table-layout-fixed{table-layout:fixed!important}.sun-editor-editable table td.se-table-selected-cell,.sun-editor-editable table th.se-table-selected-cell{outline:1px double #4592ff}.sun-editor-editable.se-disabled *{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.sun-editor-editable .se-component{display:flex;padding:1px;margin:0 0 10px}.sun-editor-editable[contenteditable=true] .se-component{outline:1px dashed #e1e1e1}.sun-editor-editable[contenteditable=true] .se-component.se-component-copy{-webkit-box-shadow:0 0 0 .2rem #80bdff;box-shadow:0 0 0 .2rem #3f9dff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.sun-editor-editable .__se__float-left{float:left;margin-right:4px}.sun-editor-editable .__se__float-right{float:right;margin-left:4px}.sun-editor-editable .__se__float-center{float:center}.sun-editor-editable .__se__float-none{float:none}.sun-editor-editable audio,.sun-editor-editable iframe,.sun-editor-editable img,.sun-editor-editable video{display:block;margin:0;padding:0;width:auto;height:auto;max-width:100%}.sun-editor-editable[contenteditable=true]:not(.se-read-only) figure:after{position:absolute;content:"";z-index:1;inset:0;cursor:default;display:block;background:transparent}.sun-editor-editable[contenteditable=true] figure a,.sun-editor-editable[contenteditable=true] figure iframe,.sun-editor-editable[contenteditable=true] figure img,.sun-editor-editable[contenteditable=true] figure video{z-index:0}.sun-editor-editable[contenteditable=true] figure figcaption{display:block;z-index:2}.sun-editor-editable[contenteditable=true] figure figcaption:focus{border-color:#80bdff;outline:0;-webkit-box-shadow:0 0 0 .2rem #c7deff;box-shadow:0 0 0 .2rem #c7deff}.sun-editor-editable .se-image-container,.sun-editor-editable .se-video-container{width:auto;height:auto;max-width:100%}.sun-editor-editable figure{display:block;outline:none;padding:0;margin:0}.sun-editor-editable .__se__float-center figure,.sun-editor-editable .__se__float-left figure,.sun-editor-editable .__se__float-right figure{margin:auto!important}.sun-editor-editable figure figcaption{padding:1em .5em;margin:0;background-color:#f9f9f9;outline:none}.sun-editor-editable figure figcaption p{line-height:2;margin:0}.sun-editor-editable .se-image-container a img{padding:1px;margin:1px;outline:1px solid #4592ff}.sun-editor-editable .se-video-container iframe,.sun-editor-editable .se-video-container video{outline:1px solid #9e9e9e;position:absolute;top:0;left:0;border:0;width:100%;height:100%}.sun-editor-editable .se-video-container figure{left:0;width:100%;max-width:100%}.sun-editor-editable audio{width:300px;height:54px}.sun-editor-editable audio.active{outline:2px solid #80bdff}.sun-editor-editable.se-show-block div,.sun-editor-editable.se-show-block h1,.sun-editor-editable.se-show-block h2,.sun-editor-editable.se-show-block h3,.sun-editor-editable.se-show-block h4,.sun-editor-editable.se-show-block h5,.sun-editor-editable.se-show-block h6,.sun-editor-editable.se-show-block li,.sun-editor-editable.se-show-block ol,.sun-editor-editable.se-show-block p,.sun-editor-editable.se-show-block pre,.sun-editor-editable.se-show-block ul{border:1px dashed #3f9dff!important;padding:14px 8px 8px!important}.sun-editor-editable.se-show-block ol,.sun-editor-editable.se-show-block ul{border:1px dashed #d539ff!important}.sun-editor-editable.se-show-block pre{border:1px dashed #27c022!important}.se-show-block p{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPAQMAAAAF7dc0AAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAaSURBVAjXY/j/gwGCPvxg+F4BQiAGDP1HQQByxxw0gqOzIwAAAABJRU5ErkJggg==) no-repeat}.se-show-block div{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAPAQMAAAAxlBYoAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j//wcDDH+8XsHwDYi/hwNx1A8w/nYLKH4XoQYJAwCXnSgcl2MOPgAAAABJRU5ErkJggg==) no-repeat}.se-show-block h1{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAfSURBVAjXY/j/v4EBhr+9B+LzEPrDeygfhI8j1CBhAEhmJGY4Rf6uAAAAAElFTkSuQmCC) no-repeat}.se-show-block h2{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAmSURBVAjXY/j/v4EBhr+dB+LtQPy9geEDEH97D8T3gbgdoQYJAwA51iPuD2haEAAAAABJRU5ErkJggg==) no-repeat}.se-show-block h3{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQPy9geHDeQgN5p9HqEHCADeWI+69VG2MAAAAAElFTkSuQmCC) no-repeat}.se-show-block h4{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAPAQMAAADTSA1RAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j//wADDH97DsTXIfjDdiDdDMTfIRhZHRQDAKJOJ6L+K3y7AAAAAElFTkSuQmCC) no-repeat}.se-show-block h5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAlSURBVAjXY/j/v4EBhr+1A/F+IO5vYPiwHUh/B2IQfR6hBgkDABlWIy5uM+9GAAAAAElFTkSuQmCC) no-repeat}.se-show-block h6{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPAQMAAAA4f7ZSAAAABlBMVEWAgID////n1o2sAAAAAnRSTlP/AOW3MEoAAAAiSURBVAjXY/j/v4EBhr+dB+LtQLy/geFDP5S9HSKOrA6KAR9GIza1ptJnAAAAAElFTkSuQmCC) no-repeat}.se-show-block li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAYAAADkmO9VAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA7SURBVDhPYxgFcNDQ0PAfykQBIHEYhgoRB/BpwCfHBKWpBkaggYxQGgOgBzyQD1aLLA4TGwWDGjAwAACR3RcEU9Ui+wAAAABJRU5ErkJggg==) no-repeat}.se-show-block ol{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABHSURBVDhPYxgFcNDQ0PAfhKFcFIBLHCdA1oBNM0kGEmMAPgOZoDTVANUNxAqQvURMECADRiiNAWCagDSGGhyW4DRrMAEGBgAu0SX6WpGgjAAAAABJRU5ErkJggg==) no-repeat}.se-show-block ul{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA1SURBVDhPYxgFDA0NDf+hTBSALI5LDQgwQWmqgVEDKQcsUBoF4ItFGEBXA+QzQpmDGjAwAAA8DQ4Lni6gdAAAAABJRU5ErkJggg==) no-repeat}.sun-editor-editable .__se__p-bordered,.sun-editor .__se__p-bordered{border-top:1px solid #b1b1b1;border-bottom:1px solid #b1b1b1;padding:4px 0}.sun-editor-editable .__se__p-spaced,.sun-editor .__se__p-spaced{letter-spacing:1px}.sun-editor-editable .__se__p-neon,.sun-editor .__se__p-neon{font-weight:200;font-style:italic;background:#000;color:#fff;padding:6px 4px;border:2px solid #fff;border-radius:6px;text-transform:uppercase;animation:neonFlicker 1.5s infinite alternate}@keyframes neonFlicker{0%,19%,21%,23%,25%,54%,56%,to{text-shadow:-.2rem -.2rem 1rem #fff,.2rem .2rem 1rem #fff,0 0 2px #f40,0 0 4px #f40,0 0 6px #f40,0 0 8px #f40,0 0 10px #f40;box-shadow:0 0 .5px #fff,inset 0 0 .5px #fff,0 0 2px #08f,inset 0 0 2px #08f,0 0 4px #08f,inset 0 0 4px #08f}20%,24%,55%{text-shadow:none;box-shadow:none}}.sun-editor-editable .__se__t-shadow,.sun-editor .__se__t-shadow{text-shadow:-.2rem -.2rem 1rem #fff,.2rem .2rem 1rem #fff,0 0 .2rem #999,0 0 .4rem #888,0 0 .6rem #777,0 0 .8rem #666,0 0 1rem #555}.sun-editor-editable .__se__t-code,.sun-editor .__se__t-code{font-family:monospace;color:#666;background-color:#1b1f230d;border-radius:6px;padding:.2em .4em}.rich-text-editor{position:relative;border-radius:6px;background:#fff;transition:border-color .2s ease}.rich-text-editor.error .sun-editor{border-color:#dc3545!important;box-shadow:0 0 0 2px #dc35451f}.rich-text-editor.disabled{opacity:.6;pointer-events:none}.rich-text-editor .sun-editor{border-radius:6px;border:1px solid #ced4da;transition:border-color .2s}.rich-text-editor .sun-editor:focus-within{border-color:#86b7fe;box-shadow:0 0 0 2px #0d6efd1f}.rich-text-editor .sun-editor .se-toolbar{border-bottom:1px solid #e9ecef;background:#f8f9fb;border-radius:6px 6px 0 0}.rich-text-editor .sun-editor .se-wrapper .se-wrapper-inner{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;color:#212529}.rich-text-editor .sun-editor .se-toolbar .se-btn-module{position:relative}.rich-text-editor .sun-editor .se-tooltip .se-tooltip-inner{white-space:nowrap;max-width:none;font-size:11px;padding:4px 8px;z-index:1100}.rich-text-editor .sun-editor .se-toolbar,.rich-text-editor .sun-editor .se-btn-module,.rich-text-editor .sun-editor .se-toolbar-cover{overflow:visible!important}.rich-text-editor .sun-editor .se-wrapper .se-wrapper-code{font-family:Cascadia Code,Fira Code,Consolas,monospace;font-size:13px}.rte-custom-toolbar{display:flex;align-items:center;gap:6px;padding:6px 10px;border-top:1px solid #e9ecef;background:#f8f9fb;border-radius:0 0 6px 6px;flex-wrap:wrap}.rte-toolbar-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;font-size:13px;font-weight:500;color:#495057;background:#fff;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;user-select:none}.rte-toolbar-btn:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.rte-toolbar-btn.active{background:#e7f1ff;border-color:#86b7fe;color:#0a58ca}.rte-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.rte-btn-icon{font-size:15px;line-height:1}.rte-math-btn:hover:not(:disabled){color:#6f42c1;border-color:#a98eda}.rte-chem-btn:hover:not(:disabled){color:#0d6efd;border-color:#86b7fe}.rte-physics-btn:hover:not(:disabled){color:#198754;border-color:#6ec98f}.rte-symbol-panel{position:relative;margin-top:2px;background:#fff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 4px 16px #0000001a;z-index:20;max-height:280px;overflow-y:auto}.rte-symbol-panel-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #e9ecef;background:#f8f9fb;border-radius:6px 6px 0 0;position:sticky;top:0;z-index:1}.rte-symbol-panel-title{font-size:13px;font-weight:600;color:#343a40}.rte-symbol-panel-close{background:none;border:none;font-size:18px;line-height:1;color:#6c757d;cursor:pointer;padding:0 4px}.rte-symbol-panel-close:hover{color:#dc3545}.rte-symbol-panel-body{padding:8px 12px}.rte-symbol-category{margin-bottom:8px}.rte-symbol-category:last-child{margin-bottom:0}.rte-symbol-category-label{font-size:11px;font-weight:600;color:#6c757d;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.rte-symbol-grid{display:flex;flex-wrap:wrap;gap:3px}.rte-symbol-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:16px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;cursor:pointer;transition:all .12s ease;color:#212529}.rte-symbol-btn:hover{background:#e7f1ff;border-color:#86b7fe;transform:scale(1.15)}.sun-editor .katex-inline{display:inline;background:#f3f0ff;border:1px solid #d4c5f9;border-radius:3px;padding:0 4px;font-family:KaTeX_Main,serif;font-size:1em;cursor:default}@media (max-width: 576px){.rte-custom-toolbar{gap:4px;padding:5px 8px}.rte-toolbar-btn{padding:4px 8px;font-size:12px}.rte-symbol-btn{width:28px;height:28px;font-size:14px}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px;box-sizing:border-box}.section-header{margin:24px 0 16px;padding-bottom:8px;border-bottom:2px solid #e9ecef}.section-title{margin:0;font-size:1.1rem;font-weight:600;color:#333;display:flex;align-items:center;gap:8px}.section-title.mandatory{color:#dc3545}.section-title.optional{color:#6c757d}.section-description{font-size:.85rem;color:#6c757d;margin-top:4px;display:block}.form-label.mandatory{color:#dc3545;font-weight:500}.form-label.optional{color:#495057}.mandatory-badge{background:#dc3545;color:#fff;font-size:.7rem;padding:2px 6px;border-radius:3px;font-weight:500}.optional-badge{background:#6c757d;color:#fff;font-size:.7rem;padding:2px 6px;border-radius:3px;font-weight:500}.options-preview{margin-top:8px;padding:12px;background:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.options-list{margin-top:8px}.option-item{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;margin-bottom:4px;background:#fff;border:1px solid #dee2e6;border-radius:4px;transition:all .2s}.option-item.correct{background:#d4edda;border-color:#28a745;color:#155724}.correct-mark{color:#28a745;font-weight:700;font-size:1.1rem}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #dee2e6}.btn{padding:10px 20px;border-radius:6px;font-size:.95rem;font-weight:500;border:1px solid;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:120px}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268;border-color:#545b62}.btn-primary{background:#007bff;border-color:#007bff;color:#fff}.btn-primary:hover:not(:disabled){background:#0056b3;border-color:#004085}.modal-container{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:1000px;max-width:95vw;max-height:90vh;height:auto;min-height:80vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{padding:16px 24px;border-bottom:1px solid #dee2e6;background-color:#fff;position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;transition:box-shadow .3s}.modal-header.scrolled{box-shadow:0 2px 4px #0000000d}.modal-title{margin:0;font-size:1.5rem;color:#333}.close-button{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:#6c757d;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;transition:background-color .2s}.close-button:hover{background-color:#f0f0f0}.form-container{overflow-y:auto;flex:1;width:100%;display:flex;flex-direction:column;background-color:#fff}.form-content{padding:30px;width:100%;flex:1;display:flex;flex-direction:column;box-sizing:border-box;background-color:#fff}.error-message{padding:12px;background-color:#f8d7da;color:#721c24;border-radius:4px;margin-bottom:20px}.question-form{display:flex;flex-direction:column;gap:24px;margin:0;width:100%;flex:1;background-color:#fff;align-self:stretch;min-width:100%}.question-form *{max-width:100%;box-sizing:border-box}.info-section{padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef;margin-bottom:12px;width:100%;box-sizing:border-box}.info-title{margin:0 0 12px;color:#495057;font-weight:600;font-size:1.1rem}.info-subtitle{font-size:.95rem;color:#6c757d}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:100%;box-sizing:border-box;min-width:100%}.form-group{display:flex;flex-direction:column;width:100%;min-width:0}.form-label{margin-bottom:8px;font-size:1rem;color:#495057;font-weight:500}.form-control{padding:12px 16px;border-radius:6px;border:1px solid #ced4da;font-size:.95rem;height:48px;width:100%;box-sizing:border-box;background:#fff!important}.form-control:-webkit-autofill,.form-control:-webkit-autofill:focus,.form-control:-webkit-autofill:hover,.form-control:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px white inset!important;-webkit-text-fill-color:#495057!important;background-color:#fff!important;background:#fff!important}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;background:#fff!important}.form-control.error{border:1px solid #dc3545}.form-control-textarea{padding:12px 16px;border-radius:6px;border:1px solid #ced4da;resize:vertical;font-family:inherit;font-size:.95rem;width:100%;box-sizing:border-box;background:#fff!important}.form-control-textarea:-webkit-autofill,.form-control-textarea:-webkit-autofill:focus,.form-control-textarea:-webkit-autofill:hover,.form-control-textarea:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px white inset!important;-webkit-text-fill-color:#495057!important;background-color:#fff!important;background:#fff!important}.form-control-textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;background:#fff!important}.form-control-textarea.question-text{min-height:120px}.form-control-textarea.solution-text{min-height:80px}.error-feedback{color:#dc3545;font-size:.9rem;margin-top:6px}.options-container{margin-top:12px;display:flex;flex-direction:column;gap:8px}.option-label{font-size:.9rem;color:#495057}.option-item{padding:8px 12px;background-color:#f8f9fa;border-radius:4px;border:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.option-item.correct{background-color:#e8f4ff;border:1px solid #b8daff}.correct-mark{color:#28a745;font-size:.8rem}.modal-footer{padding:20px 30px;border-top:1px solid #dee2e6;background-color:#fff;position:sticky;bottom:0;z-index:10;display:flex;justify-content:flex-end;gap:16px}.btn{padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;font-size:1rem;transition:all .2s}.btn:disabled{cursor:not-allowed;opacity:.7}.btn-cancel{border:1px solid #6c757d;background-color:transparent;color:#6c757d;min-width:100px}.btn-cancel:hover:not(:disabled){background-color:#f8f9fa}.btn-primary{border:none;background-color:#0056b3;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;min-width:140px}.btn-primary:hover:not(:disabled){background-color:#004494}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.question-type-hint{background-color:#e7f3ff;border:1px solid #bee5eb;border-radius:4px;padding:8px 12px;margin-bottom:16px;font-size:.85rem;color:#0c5460}.question-type-hint.mcq{background-color:#e7f3ff;border-color:#bee5eb;color:#0c5460}.question-type-hint.integer{background-color:#fff3cd;border-color:#ffeaa7;color:#856404}.question-type-hint.numerical{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460}.question-type-hint.subjective{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.form-control-textarea.answer-input{min-height:100px;resize:vertical}.form-control.numerical-input,.form-control.integer-input{font-family:Courier New,monospace;text-align:right}.field-hint{margin-top:4px}.field-hint small{color:#6c757d;font-style:italic}.field-hint.type-specific{background-color:#f8f9fa;border-left:3px solid #007bff;padding:4px 8px;margin-top:8px;border-radius:0 4px 4px 0}.question-form .rich-text-editor{margin-bottom:8px}.question-form .rich-text-editor.error{border-color:#dc3545}.question-form .rich-text-editor .editor-container .form-control-textarea{background:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.question-form .question-text .editor-container .form-control-textarea{min-height:120px;font-weight:500}.question-form .answer-input .editor-container .form-control-textarea{min-height:100px}.question-form .solution-editor .editor-container .form-control-textarea{min-height:90px}.question-form .rich-text-editor .uploaded-images{background:#f8f9fa;border-radius:6px}.question-form .rich-text-editor .image-item{background:#fff;box-shadow:0 1px 3px #0000001a}.question-form .rich-text-editor .thumbnail{border:1px solid #dee2e6}.question-form .rich-text-editor:focus-within{box-shadow:0 0 0 2px #007bff40}.question-form .rich-text-editor.error:focus-within{box-shadow:0 0 0 2px #dc354540}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999;padding:1rem;box-sizing:border-box}.modal-container.word-upload-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:90%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background-color:#fff;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.modal-title{margin:0;font-size:1.25rem;font-weight:600;color:#333}.close-button{background:#f8f9fa;border:1px solid #dee2e6;font-size:1.5rem;cursor:pointer;padding:.25rem .5rem;border-radius:4px;color:#6c757d;line-height:1;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-button:hover{background:#e9ecef;color:#495057}.modal-body{padding:1.5rem 2rem;overflow-y:auto;flex:1}.form-label{display:block;margin-bottom:.5rem;font-weight:500;color:#333;font-size:1rem}.form-control{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:1rem;color:#333;background:#fff;transition:all .2s ease;box-sizing:border-box}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-control:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;opacity:.6}.form-hint{margin-top:.5rem;font-size:.85rem;color:#666;font-style:italic}.filter-info{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.filter-info h4{margin:0 0 .75rem;font-size:1rem;color:#495057;font-weight:600}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;font-size:.9rem}.filter-grid>div{padding:.5rem;background:#fff;border-radius:4px;border:1px solid #e9ecef}.file-picker-button{width:100%;padding:1rem;border:2px dashed #007bff;border-radius:8px;font-size:1rem;background-color:#f8f9fa;color:#007bff;cursor:pointer;text-align:center;transition:all .3s ease;font-weight:500}.file-picker-button:hover:not(:disabled){background-color:#e3f2fd;border-color:#0056b3}.file-picker-button:disabled{cursor:not-allowed;opacity:.6;color:#6c757d;border-color:#6c757d}.file-status{margin-top:.75rem;font-size:.875rem;font-weight:500}.file-status.selected{color:#28a745}.file-status.no-file{color:#666}.upload-status{padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-weight:500;border:1px solid transparent}.upload-status.success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.upload-status.error{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.questions-preview{background-color:#fff;border:1px solid #e9ecef;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.questions-preview h4{margin:0 0 1rem;color:#495057;font-weight:600}.preview-container{max-height:400px;overflow-y:auto;border:1px solid #f1f3f4;border-radius:6px;padding:1rem;background:#fafafa}.question-preview{background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;border:1px solid #e9ecef}.question-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.question-type-badge{background-color:#007bff;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.question-text{color:#333;margin-bottom:.75rem;line-height:1.5;font-size:.95rem}.question-options{margin:.75rem 0;padding-left:1rem}.question-options .option{margin-bottom:.5rem;color:#666;font-size:.9rem;padding:.25rem 0}.correct-answer{color:#28a745;font-size:.9rem;margin-top:.75rem;font-weight:500}.correct-answer strong{font-weight:600}.multiple-correct-badge{margin-left:.5rem;font-size:.8rem;background-color:#e7f3ff;color:#0056b3;padding:2px 8px;border-radius:4px;font-weight:500}.more-questions{text-align:center;color:#666;font-style:italic;padding:1rem;background-color:#f8f9fa;border-radius:6px;margin-top:1rem}.modal-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem 2rem;border-top:1px solid #e9ecef;background-color:#f8f9fa;flex-shrink:0}.btn{padding:.75rem 1.5rem;border-radius:6px;font-weight:500;font-size:.95rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:120px}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-secondary{background-color:#fff;color:#6c757d;border-color:#6c757d}.btn-secondary:hover:not(:disabled){background-color:#f8f9fa;color:#495057;border-color:#495057}.btn-primary{background-color:#007bff;color:#fff;border-color:#007bff}.btn-primary:hover:not(:disabled){background-color:#0056b3;border-color:#0056b3}.btn-success{background-color:#28a745;color:#fff;border-color:#28a745}.btn-success:hover:not(:disabled){background-color:#218838;border-color:#1e7e34}@media (max-width: 768px){.modal-overlay{padding:.5rem}.modal-container.word-upload-modal{width:95%;max-height:95vh}.modal-header,.modal-body,.modal-footer{padding:1rem}.filter-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column;gap:.5rem}.btn{width:100%}}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.modal-container.word-upload-modal{animation:modalFadeIn .2s ease-out}.time-selector{position:relative;width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.time-display{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #ddd;border-radius:4px;background-color:#fff;cursor:pointer;transition:all .2s ease-in-out;min-height:38px;box-sizing:border-box}.time-display:hover:not(.disabled){border-color:#007bff}.time-display:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.time-display.open{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.time-display.disabled{background-color:#f8f9fa;border-color:#e9ecef;color:#6c757d;cursor:not-allowed}.time-value{flex:1;font-size:14px;font-weight:500;color:#333}.time-display.disabled .time-value{color:#6c757d}.dropdown-arrow{display:flex;align-items:center;justify-content:center;color:#666;transition:transform .2s ease-in-out;margin-left:8px}.dropdown-arrow.open{transform:rotate(180deg)}.time-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 4px 12px #00000026;z-index:1000;margin-top:2px;padding:16px;min-width:280px}.time-selectors{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px}.time-selector-group{flex:1}.time-label{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.time-separator{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#333;padding-bottom:4px;width:20px}.time-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #eee}.btn-time-clear,.btn-time-apply{padding:6px 16px;border:none;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease-in-out;text-transform:uppercase;letter-spacing:.5px}.btn-time-clear{background-color:#f8f9fa;color:#6c757d;border:1px solid #dee2e6}.btn-time-clear:hover{background-color:#e9ecef;color:#495057}.btn-time-apply{background-color:#007bff;color:#fff}.btn-time-apply:hover{background-color:#0056b3}.btn-time-clear:focus,.btn-time-apply:focus{outline:none;box-shadow:0 0 0 .2rem #007bff40}.time-select__control{min-height:36px!important;border-color:#ddd!important}.time-select__control--is-focused{border-color:#007bff!important;box-shadow:0 0 0 1px #007bff!important}.time-select__value-container{padding:2px 8px!important}.time-select__single-value{color:#333!important;font-weight:500!important;font-size:14px!important}.time-select__placeholder{color:#999!important;font-size:14px!important}.time-select__indicator-separator{display:none!important}.time-select__dropdown-indicator{color:#666!important;padding:0 6px!important}.time-select__dropdown-indicator:hover{color:#333!important}.time-select__menu{border:1px solid #ddd!important;box-shadow:0 2px 8px #0000001a!important;border-radius:4px!important}.time-select__menu-list{padding:4px 0!important;max-height:180px!important}.time-select__option{padding:8px 12px!important;font-size:14px!important;cursor:pointer!important}.time-select__option--is-focused{background-color:#f8f9fa!important;color:#333!important}.time-select__option--is-selected{background-color:#007bff!important;color:#fff!important}@media (max-width: 768px){.time-dropdown{min-width:260px;padding:12px}.time-selectors{gap:8px;margin-bottom:12px}.time-separator{width:16px}}.selected-questions-preview{margin:0}.preview-header{display:flex;align-items:center;justify-content:space-between;padding:.4rem 1rem;border-bottom:1px solid #f1f5f9}.preview-header h4{margin:0;font-size:.7rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.preview-subtitle{margin:0;color:#cbd5e1;font-size:.68rem}.questions-list{display:flex;flex-direction:column}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0f172a66;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{background:#fff;border-radius:12px;max-width:720px;width:100%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 24px 48px #00000029}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1.25rem;border-bottom:1px solid #e2e8f0}.modal-header h3{margin:0;font-size:1rem;font-weight:600;color:#1e293b}.modal-close{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:#94a3b8;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .15s ease}.modal-close:hover{background:#f1f5f9;color:#475569}.modal-body{flex:1;overflow-y:auto;padding:1rem 1.25rem}.loading-state,.empty-state{text-align:center;padding:2rem 1rem;color:#94a3b8;font-size:.875rem}.swap-questions-list{display:flex;flex-direction:column;gap:.5rem}.swap-question-item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;transition:all .15s ease}.swap-question-item:hover{border-color:#6366f1;background:#fafbff}.swap-question-info{flex:1;min-width:0}.swap-question-header{display:flex;align-items:center;gap:.35rem;margin-bottom:.25rem;flex-wrap:wrap}.swap-question-number{font-weight:700;color:#64748b;font-size:.8rem}.swap-question-text{color:#475569;font-size:.82rem;overflow:hidden;text-overflow:ellipsis}@media (max-width: 768px){.swap-question-item{flex-direction:column;align-items:stretch}.btn-primary.btn-sm{width:100%;text-align:center}.modal-content{max-height:90vh;margin:.5rem}}.paper-content{max-width:210mm;margin:0 auto;padding:12mm 15mm 14mm;background:#fff;font-family:Times New Roman,"Noto Serif",Georgia,serif;font-size:11pt;line-height:1.55;color:#000}.preview-mode{box-shadow:0 2px 16px #0000001f;border:1px solid #d0d0d0;margin:8px auto}.pdf-mode{box-shadow:none}.paper-header{text-align:center;margin-bottom:8px}.institute-branding{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin-bottom:8px}.institute-logo{height:48px;width:auto;object-fit:contain}.institute-name{font-size:14pt;font-weight:700;letter-spacing:.5px;color:#1a1a1a}.exam-info-bar{margin:0;border:1px solid #000}.exam-info-table{width:100%;border-collapse:collapse}.exam-info-table td{padding:4px 10px;border-right:1px solid #ccc;font-size:10.5pt}.exam-info-table td:last-child{border-right:none}.info-label{font-weight:700;color:#000;font-size:10.5pt}.info-value{color:#000;font-size:10.5pt}.teacher-edition-badge{margin-top:8px;padding:4px 0;font-size:10pt;font-weight:700;color:#b71c1c;text-align:center;border:2px solid #b71c1c;border-radius:3px;background:#fff5f5;letter-spacing:1px}.paper-instructions{margin:10px 0 12px;padding:8px 12px;border:1px solid #000;background:#fffff5;font-size:10pt}.instructions-title{font-weight:800;font-size:10.5pt;text-transform:uppercase;margin-bottom:4px}.instructions-body ul,.instructions-body ol{margin:4px 0 4px 18px;padding:0}.instructions-body li{margin-bottom:3px}.instructions-body p{margin:3px 0}.paper-section{margin:16px 0 10px;page-break-inside:avoid}.section-header-block{border-top:1.5px solid #000;border-bottom:1px solid #999;padding:4px 0 3px;margin-bottom:8px}.section-header-row{display:flex;justify-content:space-between;align-items:baseline}.section-label{font-size:11pt;font-weight:700;letter-spacing:.3px;color:#000}.section-marks-label{font-size:10pt;font-weight:600;color:#333}.section-meta-row{display:flex;justify-content:space-between;font-size:9.5pt;color:#555;margin-top:2px}.section-type-label{font-style:italic}.section-marking-scheme{font-weight:600}.section-optional-note{font-size:9.5pt;font-weight:600;color:#b71c1c;margin-top:3px}.section-instructions-block{margin:6px 0 10px;padding:5px 10px;background:#f5f8ff;border-left:3px solid #1565c0;font-size:10pt;color:#333}.section-instructions-block p{margin:3px 0}.section-questions{margin-top:4px}.paper-question{margin-bottom:10px;padding-bottom:0;border-bottom:none;page-break-inside:avoid}.paper-question:last-child{border-bottom:none}.question-number-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:2px}.q-number-and-text{display:flex;align-items:flex-start;gap:6px;flex:1;min-width:0}.q-number{font-weight:800;font-size:11pt;color:#000;flex-shrink:0}.q-text-inline{flex:1;font-size:11pt;line-height:1.45}.q-text-inline p{margin:0;display:inline}.q-marks{font-weight:600;font-size:10pt;color:#000;text-align:right;flex-shrink:0;white-space:nowrap;line-height:1.3}.q-text{margin-bottom:4px;font-size:11pt;line-height:1.45}.q-text p{margin:2px 0}.q-image-container{margin:8px 0;text-align:center}.q-image{max-width:80%!important;height:auto!important;max-height:300px!important;display:block;margin:0 auto;border:1px solid #ccc;padding:3px;background:#fff}.q-options{margin:4px 0 2px 20px}.q-answer-space{margin:8px 0;padding:6px 10px;border:1px solid #ddd;background:#fafafa;border-radius:2px}.q-answer-space.numeric p{margin:0;font-size:11pt}.q-answer-space.subjective{min-height:80px}.q-answer-space.subjective p{margin:0 0 8px}.q-answer-reveal{color:#1b5e20;font-weight:700;background-color:#e8f5e9;padding:4px 8px;border-radius:4px;border-left:3px solid #4caf50}.q-answer-lines{display:flex;flex-direction:column;gap:14px}.q-answer-line{border-bottom:1px solid #888;height:18px}.q-solution-block{margin-top:6px;padding:6px 10px;background:#e8f5e9;border-left:3px solid #2e7d32;font-size:10pt;color:#1b5e20}.q-solution-image{max-width:70%!important;height:auto!important;max-height:250px!important;display:block;margin:6px auto}.q-solution{font-size:10pt;color:#1b5e20}.q-metadata{margin-top:6px;display:flex;flex-wrap:wrap;gap:5px}.q-meta-tag{display:inline-block;padding:1px 7px;font-size:8pt;font-weight:600;border-radius:2px;background:#e8eaf6;color:#283593;border:1px solid #c5cae9}.q-meta-tag.difficulty-easy{background:#e8f5e9;color:#1b5e20;border-color:#a5d6a7}.q-meta-tag.difficulty-medium{background:#fff8e1;color:#e65100;border-color:#ffe082}.q-meta-tag.difficulty-hard{background:#fce4ec;color:#b71c1c;border-color:#ef9a9a}.edition-student .q-metadata{display:none}.paper-end-marker{text-align:center;margin:24px 0 8px;padding:8px 0;font-size:11pt;font-weight:700;color:#555;letter-spacing:2px;border-top:2px solid #000;border-bottom:2px solid #000}.page-break-before{page-break-before:always;break-before:page;margin-top:0;padding-top:12mm}.paper-answer-key{font-family:Times New Roman,serif}.answer-key-header{text-align:center;border-bottom:2px solid #000;padding-bottom:6px;margin-bottom:12px}.answer-key-header h2{margin:0;font-size:16pt;font-weight:800;letter-spacing:3px}.answer-key-subtitle{font-size:11pt;color:#444;margin-top:2px}.answer-key-grid{display:flex;gap:16px}.answer-key-column{flex:1}.answer-key-table{width:100%;border-collapse:collapse;font-size:9pt}.answer-key-table th{background:#263238;color:#fff;padding:4px 6px;text-align:left;font-size:8.5pt;font-weight:700}.answer-key-table td{padding:3px 6px;border-bottom:1px solid #ddd;font-size:9pt}.answer-key-table tbody tr:nth-child(2n){background:#f5f5f5}.ak-qnum{font-weight:700;text-align:center;width:30px}.ak-type{text-align:center;width:40px;color:#555}.ak-answer{font-weight:700;color:#1b5e20}.ak-chapter{color:#333;font-size:8.5pt}.ak-difficulty{font-size:8.5pt}.answer-key-stats{margin-top:16px}.answer-key-stats h3{font-size:11pt;margin:0 0 6px;border-bottom:1px solid #999;padding-bottom:3px}.stats-table{width:100%;border-collapse:collapse;font-size:9.5pt}.stats-table th{background:#37474f;color:#fff;padding:4px 8px;text-align:left;font-size:9pt}.stats-table td{padding:4px 8px;border-bottom:1px solid #ddd}.stats-table tbody tr:nth-child(2n){background:#f5f5f5}.paper-omr-sheet{font-family:Arial,Helvetica Neue,sans-serif}.omr-header{text-align:center;border-bottom:3px solid #000;padding-bottom:6px;margin-bottom:10px}.omr-header h2{margin:0;font-size:16pt;font-weight:800;letter-spacing:3px}.omr-subtitle{font-size:11pt;color:#444;margin-top:2px}.omr-student-details{margin:10px 0;padding:8px 12px;border:1px solid #000}.omr-student-row{display:flex;gap:20px;margin-top:8px}.omr-student-field{display:flex;align-items:center;gap:8px;flex:1}.omr-field-label{font-weight:700;font-size:10pt;white-space:nowrap}.omr-field-line{flex:1;border-bottom:1px solid #000;height:16px;min-width:80px}.omr-field-line.short{max-width:150px}.omr-instructions{padding:5px 10px;background:#f5f5f5;border:1px solid #ccc;font-size:9pt;margin-bottom:12px}.omr-section{margin-bottom:14px}.omr-section-title{font-weight:700;font-size:10pt;padding:4px 8px;background:#263238;color:#fff;margin-bottom:4px}.omr-grid{width:100%;border-collapse:collapse}.omr-grid th{font-size:8pt;padding:3px 4px;text-align:center;border-bottom:2px solid #000;background:#f0f0f0}.omr-col-header{width:20%}.omr-col-q{font-weight:700;margin-right:4px}.omr-col-options{font-size:7pt;color:#666}.omr-cell{padding:4px 6px;border-bottom:1px solid #e0e0e0;white-space:nowrap;font-size:9pt}.omr-cell-empty{border-bottom:none}.omr-q-num{font-weight:700;display:inline-block;width:26px;text-align:right;margin-right:6px;font-size:9pt}.omr-bubble{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1.5px solid #000;border-radius:50%;font-size:8pt;font-weight:700;margin:0 2px;background:#fff}.numeric-grid{margin-top:4px}.omr-numeric-cell{padding:4px 6px;border-bottom:1px solid #e0e0e0;white-space:nowrap}.omr-answer-box{display:inline-block;width:80px;height:20px;border:1.5px solid #000;background:#fff;margin-left:4px;vertical-align:middle}.omr-footer{margin-top:16px;border-top:2px solid #000;padding-top:10px}.omr-signature{display:flex;justify-content:space-between;font-size:9.5pt;font-weight:600}@media print{.paper-content{max-width:100%;padding:8mm;margin:0;box-shadow:none}.paper-section,.paper-question{page-break-inside:avoid}.page-break-before{page-break-before:always}.edition-student .q-metadata{display:none}.q-image,.q-solution-image{page-break-inside:avoid}}@media (max-width: 768px){.paper-content{padding:10mm;font-size:10pt}.exam-type-name{font-size:13pt}.exam-paper-title{font-size:11pt}.institute-name{font-size:14pt}.student-info-row{flex-direction:column;gap:8px}.answer-key-grid{flex-direction:column}.omr-signature{flex-direction:column;gap:8px}}@media (max-width: 480px){.paper-content{padding:6mm;font-size:9pt}.exam-info-table td{display:block;border-right:none;padding:3px 6px}}.flexible-test-generator{width:100%;margin:0;background:transparent;border-radius:0;box-shadow:none;min-height:auto;display:flex;flex-direction:column}.generator-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;position:relative}.generator-header h2{margin:0;font-size:1.8rem;font-weight:600}.generator-header p{margin:.5rem 0 0;opacity:.9;font-size:1rem}.step-indicator{display:flex;padding:2rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;max-width:600px;margin:0 auto}.step{display:flex;flex-direction:column;align-items:center;cursor:pointer;flex:1;position:relative}.step:not(:last-child):after{content:"";position:absolute;top:20px;right:-50%;width:100%;height:2px;background:#e2e8f0;z-index:1}.step-number{width:40px;height:40px;border-radius:50%;background:#e2e8f0;color:#64748b;display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:.5rem;transition:all .2s;position:relative;z-index:2}.step.active .step-number{background:#667eea;color:#fff}.step-label{font-size:.875rem;color:#64748b;text-align:center}.step.active .step-label{color:#667eea;font-weight:600}.generator-content{padding:0;flex:1}.config-section{width:100%;margin:0 0 1.5rem;padding-top:.25rem}.config-section-title{color:#1e293b;font-size:1.15rem;font-weight:700;margin:0 0 12px;padding-bottom:.4rem;border-bottom:2px solid #6366f1}.config-section h3{color:#1e293b;font-size:1.25rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}.test-config-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;align-items:start}.test-config-field{display:flex;flex-direction:column;gap:0}.test-config-label{display:block;margin-bottom:6px;font-weight:600;font-size:.82rem;color:#1e293b;letter-spacing:.01em}.test-config-input{width:100%;height:40px;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;color:#1e293b;background:#fff;transition:border-color .15s ease,box-shadow .15s ease;box-sizing:border-box}.test-config-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.test-config-input::placeholder{color:#9ca3af}.test-config-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px;cursor:pointer}.test-config-hint{display:block;margin-top:4px;font-size:.72rem;color:#9ca3af}.test-config-field .time-selector .time-display{height:40px;border-radius:8px;border:1px solid #d1d5db;font-size:.9rem}.test-config-field .time-selector .time-display:hover{border-color:#6366f1}.test-config-field .time-selector .time-display.open{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.test-sections-standalone{width:100%;margin:0;padding:0}.test-sections-standalone>h3{padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}.test-sections-standalone .sections-content{padding:0;gap:.75rem}.test-sections-standalone .sections-list{gap:.75rem}.config-subsection{margin-bottom:2rem;padding:1.5rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.config-subsection h4{margin:0 0 1rem;color:#334155;font-size:1.2rem;font-weight:600}.config-subsection h5{margin:0 0 .75rem;color:#475569;font-size:1.1rem;font-weight:600}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-row .form-group{width:100%}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#374151;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-group input:disabled,.form-group select:disabled{background-color:#f1f5f9;color:#64748b}.form-group small{display:block;margin-top:.25rem;color:#64748b;font-size:.875rem}.checkbox-group{display:flex;align-items:center}.checkbox-group label{display:flex;align-items:center;margin-bottom:0}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem;padding:1rem;background:#f8fafc;border-radius:8px;margin-top:.5rem}.subject-checkbox{display:flex!important;align-items:center;padding:.5rem;background:#fff;border-radius:6px;cursor:pointer;transition:background-color .2s;margin-bottom:0!important}.subject-checkbox:hover{background:#e2e8f0}.subject-checkbox input[type=checkbox]{margin-right:.5rem;width:auto}.selected-subjects{margin-top:1rem;padding:.75rem;background:#dbeafe;border-radius:6px;color:#1e40af;font-size:.875rem}.sections-management{margin-top:2rem;padding:1.5rem;background:#f8fafc;border-radius:8px;width:100%}.sections-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.sections-header h4{margin:0;color:#1e293b}.sections-controls{display:flex;align-items:center;gap:1rem}.sections-controls .checkbox-group{margin-bottom:0}.empty-sections{text-align:center;padding:2rem;color:#64748b}.sections-list{display:grid;gap:.5rem;margin-bottom:.5rem}.section-card{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.section-info p{margin:.25rem 0;color:#64748b;font-size:.875rem}.redesigned-section-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;transition:all .2s ease}.redesigned-section-card:not(:last-child){margin-bottom:.5rem}.redesigned-section-card:hover{box-shadow:0 2px 8px #00000014}.redesigned-section-card.collapsed{background:transparent;border:none;box-shadow:none}.redesigned-section-card.collapsed:not(:last-child){margin-bottom:.5rem}.redesigned-section-card.collapsed:hover{box-shadow:none}.redesigned-section-card.collapsed .redesigned-section-header{border-bottom:none;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px}.redesigned-section-card.collapsed .redesigned-section-content{display:none}.redesigned-section-header{display:flex;justify-content:space-between;align-items:center;padding:.625rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.section-header-left{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.section-name-display{display:flex;align-items:center;gap:.5rem}.section-name-display h5{margin:0;font-size:.875rem;font-weight:600;color:#1e293b}.edit-name-btn{background:none;border:none;color:#6366f1;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .2s ease}.edit-name-btn:hover{background:#eef2ff}.section-name-edit{display:flex;align-items:center;gap:.5rem}.section-name-edit input{padding:.5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem;min-width:200px}.section-name-edit input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.section-name-edit button{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s ease}.section-name-edit button:first-of-type{background:#6366f1;color:#fff}.section-name-edit button:first-of-type:hover{background:#4f46e5}.section-name-edit button:last-of-type{background:#f1f5f9;color:#64748b}.section-name-edit button:last-of-type:hover{background:#e2e8f0}.section-metrics{display:flex;align-items:center;gap:1rem;margin-left:auto}.metric-item{font-size:.875rem;color:#64748b}.metric-item strong{color:#1e293b;font-weight:600}.section-header-right{display:flex;align-items:center;gap:.5rem}.collapse-toggle-btn{background:none;border:none;color:#64748b;cursor:pointer;padding:.5rem;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.collapse-toggle-btn:hover{background:#e2e8f0;color:#1e293b}.delete-section-btn{background:none;border:none;color:#ef4444;cursor:pointer;padding:.5rem;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.delete-section-btn:hover{background:#fee2e2}.redesigned-section-content{padding:0;display:flex;flex-direction:column;gap:0}.section-controls{display:grid;gap:1rem}.control-item{display:flex;align-items:flex-start;gap:1rem}.control-item label{flex:1;display:flex;flex-direction:column;gap:.25rem}.control-item label span:first-child{font-weight:500;color:#1e293b;font-size:.875rem}.control-item label span:last-child{font-size:.75rem;color:#64748b}.control-item input[type=number]{width:100px;padding:.5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem}.control-item input[type=number]:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.toggle-control{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.toggle-label{font-size:.875rem;font-weight:500;color:#1e293b}.toggle-control input[type=checkbox]{width:18px;height:18px;cursor:pointer}.control-hint{color:#64748b;font-size:.75rem;margin-left:.5rem;font-weight:400;opacity:.8}.toggle-button{position:relative;width:44px;height:24px;background:#cbd5e1;border:none;border-radius:12px;cursor:pointer;transition:background-color .3s ease;outline:none}.toggle-button:disabled{opacity:.5;cursor:not-allowed}.toggle-button.active{background:#3b82f6}.toggle-slider{position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px #0003}.toggle-button.active .toggle-slider{transform:translate(20px)}.section-toolbar .toggle-button{width:32px;height:18px;border-radius:9px}.section-toolbar .toggle-slider{width:14px;height:14px;top:2px;left:2px}.section-toolbar .toggle-button.active .toggle-slider{transform:translate(14px)}.metric{font-size:.78rem;color:#64748b;white-space:nowrap}.metric strong{color:#1e293b;font-weight:600}.radio-control{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.radio-label{font-size:.875rem;font-weight:500;color:#1e293b}.radio-control input[type=checkbox]{width:18px;height:18px;cursor:pointer}.section-instructions-container{background:#fef9c3;border:1px solid #fde047;border-radius:6px;padding:1rem}.section-instructions-container h6{margin:0 0 .5rem;font-size:.875rem;font-weight:600;color:#854d0e}.section-instructions-container p{margin:0;font-size:.875rem;color:#713f12;white-space:pre-line;line-height:1.5}.add-section-container{display:flex;justify-content:center;margin-top:0}.add-section-container button{padding:.75rem 1.5rem;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.add-section-container button:hover{background:#4f46e5;transform:translateY(-1px);box-shadow:0 4px 12px #6366f14d}.add-section-container button:disabled{background:#cbd5e1;cursor:not-allowed;transform:none;box-shadow:none}.section-form-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.section-form{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 20px 50px #0000004d}.form-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.form-header h4{margin:0;color:#1e293b}.form-header button{background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer}.form-content{padding:1.5rem}.form-footer{padding:1.5rem;border-top:1px solid #e2e8f0;background:#f8fafc;display:flex;justify-content:flex-end;gap:1rem}.difficulty-distribution{margin-top:2rem;padding:1.5rem;background:#f8fafc;border-radius:8px}.difficulty-distribution h4{margin:0 0 1rem;color:#1e293b}.difficulty-sliders{display:grid;gap:1rem}.slider-group{display:flex;align-items:center;gap:1rem}.slider-group label{min-width:150px;margin-bottom:0;font-weight:500}.slider-group input[type=range]{flex:1;margin:0}.readonly-value{min-width:60px;text-align:right;font-weight:500;color:#64748b}.distribution-summary{margin-top:1rem;padding:.75rem;background:#fff;border-radius:6px;text-align:center;font-weight:600}.distribution-summary .error{color:#dc2626}.review-summary{display:grid;gap:2rem}.summary-card{padding:1.5rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.summary-card h4{margin:0 0 1rem;color:#1e293b}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e2e8f0}.summary-row:last-child{border-bottom:none}.summary-row span{color:#64748b}.summary-row strong{color:#1e293b}.sections-summary{padding:1.5rem;background:#f0f9ff;border-radius:8px;border:1px solid #bae6fd}.sections-summary h4{margin:0 0 1rem;color:#0c4a6e}.section-summary-card{padding:1rem;background:#fff;border-radius:6px;margin-bottom:.5rem;border:1px solid #e0f2fe}.section-summary-card:last-child{margin-bottom:0}.section-summary-card strong{display:block;color:#0c4a6e;margin-bottom:.25rem}.section-summary-card p{margin:.25rem 0;color:#0369a1;font-size:.875rem}.generate-actions{text-align:center;margin-top:2rem}.generate-actions .note{margin-top:1rem;color:#64748b;font-style:italic}.generator-navigation{padding:1.5rem 2rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between}.btn-primary:hover{background:#5a67d8}.btn-secondary{background:#e2e8f0;color:#475569;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.btn-secondary:hover{background:#cbd5e1}.btn-small{padding:.5rem 1rem;font-size:.875rem}.btn-large{padding:1rem 2rem;font-size:1.125rem}.section-actions{display:flex;gap:.5rem;flex-wrap:wrap}.calculated-field{background-color:#f8f9fa!important;color:#6c757d!important;cursor:not-allowed}.taxonomy-filters-section{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.taxonomy-filters-section h4{color:#495057;margin:0 0 1rem;font-size:1.1rem;font-weight:600}.taxonomy-filters{display:flex;flex-direction:column;gap:1rem}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-top:.5rem;padding:1rem;background:#fff;border:1px solid #e9ecef;border-radius:6px;max-height:200px;overflow-y:auto}.subject-checkbox{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:4px;cursor:pointer;transition:background-color .2s}.subject-checkbox:hover{background:#f8f9fa}.subject-checkbox input{margin:0}.subject-checkbox span{font-size:.9rem;color:#495057}.text-warning{color:#856404;font-style:italic}.no-subjects-message{padding:2rem;background:#f8f9fa;border:1px dashed #dee2e6;border-radius:8px;margin:2rem 0}.message-content h4{color:#495057;margin-bottom:1rem;font-size:1.2rem;text-align:center}.message-content>p{color:#6c757d;margin-bottom:1.5rem;font-size:1rem;text-align:center}.inline-taxonomy-filters{max-width:600px;margin:0 auto;text-align:left}.inline-taxonomy-filters .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.inline-taxonomy-filters .form-group{margin-bottom:1rem}.inline-taxonomy-filters label{display:block;font-weight:600;color:#495057;margin-bottom:.5rem;font-size:.95rem}.inline-taxonomy-filters select{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:6px;background:#fff;font-size:.9rem}.inline-taxonomy-filters select:focus{outline:none;border-color:#667eea}.inline-taxonomy-filters select:disabled{background:#f8f9fa;color:#6c757d}.inline-taxonomy-filters .subjects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem;margin-top:.5rem;padding:1rem;background:#fff;border:2px solid #e1e5e9;border-radius:6px;max-height:200px;overflow-y:auto}.inline-taxonomy-filters .subject-checkbox{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:4px;cursor:pointer;transition:background-color .2s;font-size:.9rem}.inline-taxonomy-filters .subject-checkbox:hover{background:#f8f9fa}.help-text{display:block;margin-top:.5rem;color:#28a745;font-size:.85rem;font-style:italic}.section-question-overlay{background:#f8f9fa;border:2px solid #667eea;border-radius:8px;padding:1rem;margin-bottom:1rem}.section-question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.section-question-header h4{color:#667eea;margin:0;flex:1}.section-question-info{color:#6c757d;font-size:.9rem}.section-question-info p{margin:0}@media (max-width: 768px){.flexible-test-generator{margin:0;border-radius:0}.generator-header{padding:1rem}.generator-content{padding:0}.form-row{grid-template-columns:1fr;gap:1rem}.step-indicator{padding:1rem}.step-label{font-size:.75rem}.subjects-grid{grid-template-columns:1fr}.section-form{width:95%;margin:1rem}.generator-navigation{padding:1rem}}.manual-question-selection{margin-top:2rem;padding:1.5rem;border:2px dashed #e2e8f0;border-radius:8px;background:#f8fafc}.manual-question-selection h4{margin:0 0 1rem;color:#2d3748;font-size:1.2rem}.questions-filters{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.search-input{flex:1;min-width:200px;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem}.filter-select{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.9rem;min-width:120px}.questions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;max-height:400px;overflow-y:auto;padding:1rem;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.question-card{padding:1rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;transition:all .2s;cursor:pointer}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.question-subject{font-size:.8rem;padding:.25rem .5rem;background:#667eea;color:#fff;border-radius:4px;font-weight:500}.question-difficulty{font-size:.8rem;padding:.25rem .5rem;border-radius:4px;font-weight:500}.question-difficulty.easy{background:#10b981;color:#fff}.question-difficulty.medium{background:#f59e0b;color:#fff}.question-difficulty.hard{background:#ef4444;color:#fff}.question-text{font-size:.9rem;line-height:1.4;color:#374151;margin-bottom:1rem}.question-marks{font-size:.8rem;color:#6b7280}.btn-select-question{padding:.5rem 1rem;background:#667eea;color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:background-color .2s}.btn-select-question:hover{background:#5a67d8}.no-questions{text-align:center;padding:3rem;color:#6b7280}.no-questions p{font-size:1rem;margin:0}@media (max-width: 480px){.step-indicator{flex-wrap:wrap;gap:1rem}.step{flex:0 1 auto;min-width:120px}.step:not(:last-child):after{display:none}.questions-filters{flex-direction:column}.search-input,.filter-select{width:100%}.questions-grid{grid-template-columns:1fr}}.manual-question-selection{margin-top:1.5rem}.questions-filters{display:flex;gap:1rem;margin-bottom:1rem;align-items:center;flex-wrap:wrap}.search-input{flex:1;min-width:200px;padding:.5rem;border:1px solid #ddd;border-radius:6px;font-size:.9rem}.filter-select{padding:.5rem;border:1px solid #ddd;border-radius:6px;font-size:.9rem;background:#fff;cursor:pointer}.btn-clear-selection{padding:.5rem 1rem;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.btn-clear-selection:hover{background:#e9ecef}.questions-summary{margin-bottom:1rem;padding:.75rem;background:#f8f9fa;border-radius:6px;font-size:.9rem;color:#6c757d}.questions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;max-height:400px;overflow-y:auto;padding:.5rem;border:1px solid #e9ecef;border-radius:6px}.question-card{border:1px solid #e9ecef;border-radius:8px;padding:1rem;background:#fff;transition:all .2s;cursor:pointer;position:relative}.question-card:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.question-card.selected{border-color:#28a745;background:#f8fff9;box-shadow:0 2px 8px #28a7451a}.question-card.greyed-out{opacity:.4;background-color:#f8f9fa;pointer-events:none}.question-card.greyed-out .question-text{color:#6c757d}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;position:relative}.question-subject{background:#667eea;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.question-difficulty{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.question-difficulty.easy{background:#d4edda;color:#155724}.question-difficulty.medium{background:#fff3cd;color:#856404}.question-difficulty.hard{background:#f8d7da;color:#721c24}.question-selected-badge{position:absolute;top:-.25rem;right:-.25rem;background:#28a745;color:#fff;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}.question-used-badge{background:#6c757d;color:#fff;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.question-text{margin-bottom:.75rem;line-height:1.5;color:#333;font-size:.9rem}.question-actions{display:flex;justify-content:space-between;align-items:center}.question-marks{font-size:.85rem;color:#6c757d;font-weight:600}.btn-select-question{padding:.4rem .8rem;border:1px solid #667eea;background:transparent;color:#667eea;border-radius:4px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .2s}.btn-select-question:hover{background:#667eea;color:#fff}.btn-select-question.selected{background:#28a745;border-color:#28a745;color:#fff}.btn-select-question.selected:hover{background:#218838;border-color:#218838}.btn-select-question.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.no-questions{text-align:center;padding:2rem;color:#6c757d;background:#f8f9fa;border-radius:6px;border:1px dashed #dee2e6}.question-selection-summary{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;margin-bottom:1rem}.selection-info{display:flex;flex-direction:column;gap:.25rem}.selected-count{font-weight:600;color:#495057}.selection-details{font-size:.85rem;color:#6c757d}.selection-hint{text-align:center;padding:1rem;color:#6c757d;font-style:italic}.question-dialog-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.question-dialog{background:#fff;border-radius:12px;width:90vw;height:90vh;max-height:800px;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;overflow:hidden}.question-dialog-header{padding:1.5rem;border-bottom:1px solid #dee2e6;background:#f8f9fa;display:flex;justify-content:space-between;align-items:center}.question-dialog-header h3{margin:0;color:#495057;font-size:1.25rem}.question-dialog-close{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.question-dialog-close:hover{background:#e9ecef}.question-dialog-content{flex:1;overflow:hidden;padding:1.5rem;display:flex;flex-direction:column}.question-dialog-content .questions-list{flex:1;display:flex;flex-direction:column;overflow:hidden}.question-dialog-content .questions-grid{max-height:none;height:100%;overflow-y:auto;border:1px solid #e9ecef;border-radius:8px;padding:1rem}.question-dialog-footer{padding:1.5rem;border-top:1px solid #dee2e6;background:#f8f9fa;display:flex;justify-content:space-between;align-items:center}.selection-summary{font-weight:600;color:#495057}.dialog-actions{display:flex;gap:.75rem}.loading-questions{display:flex;align-items:center;justify-content:center;height:200px;color:#6c757d}.question-selection-header{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.selection-context{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.inline-section-form{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;margin-top:1rem}.inline-section-form .form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #dee2e6}.inline-section-form .form-header h4{margin:0;color:#495057}.btn-close{background:none;border:none;font-size:1.25rem;color:#6c757d;cursor:pointer;padding:.25rem;border-radius:4px;transition:background-color .2s}.btn-close:hover{background:#e9ecef}.sections-content{display:flex;flex-direction:column;gap:1rem;padding:0;margin:0}.context-item{display:flex;flex-direction:column;gap:.25rem}.context-label{font-size:.85rem;color:#6c757d;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.context-value{font-size:1rem;color:#495057;font-weight:500}.context-value.selected-count{color:#28a745;font-weight:600}.loading-questions .loading-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-spinner{width:32px;height:32px;border:3px solid #f3f3f3;border-top:3px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.step-indicator{display:flex;justify-content:center;align-items:center;padding:2rem 1rem;background:#f8f9fa;border-bottom:1px solid #dee2e6;overflow-x:auto}.step{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;cursor:pointer;transition:all .3s ease;position:relative;min-width:120px;text-align:center}.step:not(:last-child):after{content:"";position:absolute;top:50%;right:-15px;transform:translateY(-50%);width:30px;height:2px;background:#dee2e6;z-index:1}.step.active:not(:last-child):after{background:#667eea}@media (max-width: 768px){.question-selection-summary{flex-direction:column;gap:1rem;align-items:stretch}.selection-info{text-align:center}.selection-context{grid-template-columns:1fr;gap:.75rem}.context-item{flex-direction:row;justify-content:space-between;align-items:center}.step-indicator{flex-wrap:wrap;gap:1rem}.step{flex:0 1 auto;min-width:100px}.step:not(:last-child):after{display:none}}.final-actions{display:flex;gap:1rem;align-items:center}.final-actions button:disabled{opacity:.5;cursor:not-allowed}.question-selection-page{margin:-24px;padding:24px}.taxonomy-filters{margin:0;padding:0;background:#f8fafc;border-radius:8px}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.filter-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.filter-group select{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem}.multi-select{min-height:100px}.questions-list{padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.selected-count{margin-top:1rem;padding:.5rem 1rem;background:#dbeafe;color:#1e40af;border-radius:6px;font-weight:500}.final-review{padding:1.5rem}.test-summary{display:grid;gap:2rem}.summary-section,.sections-summary{padding:1rem;background:#f8fafc;border-radius:8px}.summary-section h4,.sections-summary h4{margin:0 0 1rem;color:#374151;font-size:1.1rem}.info-row{display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.25rem 0}.info-row span:first-child{color:#6b7280}.section-item{margin-bottom:1rem;padding:1rem;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.section-details{display:flex;gap:1rem;font-size:.9rem;color:#6b7280;flex-wrap:wrap}.page-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.tg-form-container{padding:1rem}.selection-instruction{margin-bottom:1.5rem;padding:1rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;color:#0c4a6e;font-size:.95rem}.integration-note{margin:2rem 0}.note-card{padding:2rem;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;text-align:center}.note-card h4{margin:0 0 1rem;color:#334155;font-size:1.2rem}.note-card p{margin:.5rem 0;color:#64748b;line-height:1.6}.note-card ul{text-align:left;margin:1rem auto;max-width:500px;color:#64748b}.note-card li{margin:.5rem 0}.note-card code{background:#e2e8f0;padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.9rem}.selected-info{margin-bottom:1rem}.page-header h3{margin:0;color:#374151}.questions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.questions-header h4{margin:0;color:#374151}.questions-grid{display:grid;gap:1rem}.question-card{padding:1rem;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s;background:#fff}.question-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f61a}.question-card.selected{border-color:#10b981;background:#f0fdf4}.question-content p{margin:0 0 .5rem;color:#374151;line-height:1.5}.question-meta{display:flex;gap:.5rem;align-items:center}.difficulty{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500;text-transform:uppercase}.difficulty.easy{background:#dcfce7;color:#166534}.difficulty.medium{background:#fef3c7;color:#92400e}.difficulty.hard{background:#fee2e2;color:#dc2626}.subject{padding:.25rem .5rem;background:#f3f4f6;color:#374151;border-radius:4px;font-size:.75rem}.question-actions{display:flex;justify-content:flex-end;margin-top:.5rem}.selected-indicator{color:#10b981;font-weight:700;font-size:1.2rem}.no-questions{text-align:center;padding:3rem 1rem;color:#6b7280}.question-selection-actions{margin-top:2rem;text-align:center;padding-top:1rem;border-top:1px solid #e5e7eb}.validation-note{color:#dc2626;font-size:.9rem;margin-top:.5rem;font-style:italic}.question-selection-page .page-header{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;padding:0;background:transparent;border-radius:0;border:none}.header-left{display:flex;align-items:center;gap:1rem}.section-info h3{margin:0;color:#1f2937;font-size:1.25rem;font-weight:600}.section-requirements{margin:.25rem 0 0;color:#6b7280;font-size:.875rem}.header-right{display:flex;align-items:center;gap:1rem}.selected-count{padding:.5rem .75rem;background:#dbeafe;color:#1e40af;border-radius:6px;font-weight:500;font-size:.875rem}.search-filters-section{margin:0 0 20px}.search-container{margin-bottom:1rem}.search-input{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;transition:border-color .2s,box-shadow .2s}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.questions-section{padding:0}.loading-state,.no-questions{text-align:center;padding:3rem 1rem;color:#6b7280;font-size:1rem}.select-all-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.75rem 1rem;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}.select-all-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer}.selection-summary{color:#6b7280;font-size:.75rem}.questions-container{border:1px solid #dee2e6;border-radius:8px;overflow:visible;background:#fff}.question-item{background:#fff;transition:background-color .2s;border-bottom:1px solid #dee2e6;cursor:pointer}.question-item.selected{background:#f1f8ff;border-left:4px solid #3b82f6;padding-left:12px}.question-item.with-border{border-bottom:1px solid #f3f4f6}.question-item:hover{background:#f9fafb}.question-item.selected:hover{background:#e0f2fe}.question-header{display:grid;grid-template-columns:20px 1fr 36px;gap:1rem;padding:1rem;cursor:pointer;align-items:start}.question-checkbox{cursor:pointer;width:18px;height:18px;margin:0;flex-shrink:0;accent-color:#3b82f6}.question-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}.question-text{font-size:.9375rem;font-weight:500;line-height:1.5;color:#1f2937;margin:0}.question-text.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.question-text.expanded{white-space:normal;word-wrap:break-word;overflow-wrap:break-word}.question-meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.difficulty{color:#fff;padding:.25rem .6rem;border-radius:12px;font-weight:600;font-size:.75rem;text-transform:capitalize}.meta-item{color:#6b7280;font-size:.75rem;background:#f3f4f6;padding:.25rem .5rem;border-radius:4px;white-space:nowrap}.expand-button{font-size:1.5rem;line-height:1;color:#6b7280;font-weight:600;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s;flex-shrink:0;border:1px solid #dee2e6;background:#fff}.expand-button:hover{background:#f9fafb;border-color:#d1d5db;color:#374151}.question-details{padding:16px;margin-left:46px;margin-right:46px;background:#f8fafc;border-top:1px solid #dee2e6}.options-section,.solution-section{margin-bottom:1rem}.section-title{font-size:.875rem;font-weight:600;margin:0 0 .5rem;color:#374151}.options-list{display:flex;flex-direction:column;gap:.375rem}.option-item{padding:.5rem .75rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;font-size:.8125rem;transition:border-color .2s}.option-item.correct{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.correct-indicator{margin-left:.5rem;color:#059669;font-weight:600}.solution-content{padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;font-size:.8125rem;line-height:1.5;color:#374151}.question-info{font-size:.75rem;color:#6b7280;margin-top:.5rem}@media (max-width: 768px){.final-actions{flex-direction:column;width:100%}.final-actions button{width:100%}.filter-row{grid-template-columns:1fr}.section-details{flex-direction:column;gap:.25rem}.question-selection-page .page-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-left{flex-direction:column;align-items:flex-start;gap:.5rem;width:100%}.header-right{width:100%;justify-content:space-between}.questions-header{flex-direction:column;align-items:flex-start;gap:.5rem}.questions-container{overflow:visible}.question-meta{flex-direction:column;align-items:flex-start;gap:.25rem}.search-filters-section,.questions-section{padding:0 1rem}.question-selection-page .page-header{padding:1rem}}:root{--primary-color: #2563eb;--primary-hover: #1d4ed8;--primary-light: #3b82f6;--accent-color: #0ea5e9;--accent-hover: #0284c7;--success-color: #10b981;--warning-color: #f59e0b;--danger-color: #ef4444;--gray-50: #f9fafb;--gray-100: #f3f4f6;--gray-200: #e5e7eb;--gray-300: #d1d5db;--gray-400: #9ca3af;--gray-500: #6b7280;--gray-600: #4b5563;--gray-700: #374151;--gray-800: #1f2937;--gray-900: #111827;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-slow: .3s ease;--icon-xs: .75rem;--icon-sm: 1rem;--icon-md: 1.25rem;--icon-lg: 1.5rem;--icon-xl: 2rem}.icon{display:inline-block;vertical-align:middle;flex-shrink:0;transition:all var(--transition-fast)}.icon-xs{width:var(--icon-xs);height:var(--icon-xs)}.icon-sm{width:var(--icon-sm);height:var(--icon-sm)}.icon-md{width:var(--icon-md);height:var(--icon-md)}.icon-lg{width:var(--icon-lg);height:var(--icon-lg)}.icon-xl{width:var(--icon-xl);height:var(--icon-xl)}.tab-button .icon{width:var(--icon-sm);height:var(--icon-sm);margin-right:.5rem}.action-button .icon{width:var(--icon-sm);height:var(--icon-sm);margin-right:.375rem}.save-button .icon{width:var(--icon-md);height:var(--icon-md);margin-right:.5rem}.drag-handle .icon{width:var(--icon-sm);height:var(--icon-sm);color:var(--gray-400);cursor:grab}.drag-handle:active .icon{cursor:grabbing}.remove-button .icon{width:var(--icon-sm);height:var(--icon-sm);transition:all var(--transition-fast)}.remove-button:hover .icon{transform:scale(1.1)}.tab-button,.action-button,.save-button{display:inline-flex;align-items:center;justify-content:center}.mode-indicator .icon{margin-right:.5rem;flex-shrink:0}.icon-muted{color:var(--gray-400)}.icon-primary{color:var(--primary-color)}.icon-success{color:var(--success-color)}.icon-warning{color:var(--warning-color)}.icon-danger{color:var(--danger-color)}.generate-test-page{display:flex;flex-direction:column;width:100%;padding:2rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);min-height:calc(100vh - 60px);position:relative}.generate-test-page:before{content:"";position:absolute;top:0;left:0;right:0;height:200px;background:linear-gradient(135deg,#2563eb08,#0ea5e90d);z-index:0}.generate-test-page>*{position:relative;z-index:1}.generate-test-page h2{font-size:2rem;color:var(--gray-900);margin:0 0 2rem;font-weight:700;letter-spacing:-.025em;text-shadow:0 2px 4px rgba(0,0,0,.05)}.tabs{display:flex;gap:4px;margin-bottom:0;padding:0;border-bottom:2px solid var(--gray-200);position:relative}.tab-button{position:relative;background:linear-gradient(135deg,#fff,#f8fafc);color:var(--gray-600);border:2px solid var(--gray-200);border-bottom:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:.875rem 1.5rem;font-weight:600;font-size:.95rem;cursor:pointer;transition:all var(--transition-normal);box-shadow:var(--shadow-sm);transform:translateY(0);z-index:1}.tab-button:hover:not(.active){background:linear-gradient(135deg,#f8fafc,#f1f5f9);color:var(--gray-700);transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--gray-300)}.tab-button.active{background:linear-gradient(135deg,var(--accent-color) 0%,var(--primary-color) 100%);color:#fff;border-color:var(--accent-color);box-shadow:var(--shadow-lg);transform:translateY(-4px);z-index:3}.tab-button.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:linear-gradient(135deg,var(--accent-color) 0%,var(--primary-color) 100%)}.question-item{padding:1rem;border-bottom:1px solid var(--gray-200);transition:all var(--transition-fast);position:relative;background:#fff}.question-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);transition:width var(--transition-normal)}.question-item:hover{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);transform:translate(4px);box-shadow:var(--shadow-md)}.question-item:hover:before{width:4px}.paper-builder-container{position:sticky;top:1.5rem;right:0;background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);padding:2rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:hidden}.paper-builder-container:before{content:"";position:absolute;top:0;right:0;width:100px;height:100px;background:linear-gradient(135deg,#2563eb1a,#0ea5e91a);border-radius:50%;transform:translate(50%,-50%)}.summary-section{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:1.5rem;position:relative;box-shadow:var(--shadow-sm)}.summary-section:after{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--primary-color) 0%,var(--accent-color) 100%);border-radius:var(--radius-lg) var(--radius-lg) 0 0}.summary-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;font-size:.9rem;font-weight:500;border-bottom:1px solid var(--gray-200);transition:all var(--transition-fast)}.summary-item:last-child{border-bottom:none}.summary-item:hover{background:#2563eb0d;margin:0 -1rem;padding-left:1rem;padding-right:1rem;border-radius:var(--radius-md)}.summary-item strong{color:var(--gray-700);font-weight:600}.summary-item span{color:var(--primary-color);font-weight:600;background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.selected-questions{max-height:45vh;overflow-y:auto;padding:.5rem;position:relative;border-radius:var(--radius-lg);background:linear-gradient(135deg,#fefefe,#f9fafb);border:1px solid var(--gray-200)}.selected-questions::-webkit-scrollbar{width:8px}.selected-questions::-webkit-scrollbar-track{background:var(--gray-100);border-radius:var(--radius-sm);margin:2px}.selected-questions::-webkit-scrollbar-thumb{background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);border-radius:var(--radius-sm);border:1px solid var(--gray-200)}.selected-questions::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,var(--primary-hover) 0%,var(--accent-hover) 100%);box-shadow:var(--shadow-sm)}.preview-item{display:flex;align-items:center;gap:.75rem;padding:1rem;margin-bottom:.5rem;background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-lg);cursor:move;transition:all var(--transition-normal);position:relative;overflow:hidden}.preview-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(135deg,var(--success-color) 0%,var(--accent-color) 100%);transition:width var(--transition-normal)}.preview-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.preview-item:hover:before{width:4px}.preview-item:active{transform:translateY(0);box-shadow:var(--shadow-md)}.preview-item.dragging{background:linear-gradient(135deg,#e0f2fe,#f0f9ff);border:2px dashed var(--accent-color);box-shadow:var(--shadow-xl);transform:rotate(2deg) scale(1.02)}.preview-item .question-number-badge{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);color:#fff;font-weight:700;font-size:.875rem;border-radius:50%;flex-shrink:0;box-shadow:var(--shadow-sm)}.preview-item .question-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.preview-item .question-title{font-size:.875rem;font-weight:600;color:var(--gray-800);margin:0;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-item .question-subtitle{font-size:.75rem;color:var(--gray-500);margin:0;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-item .question-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.preview-item .difficulty-badge{padding:.125rem .5rem;font-size:.625rem;font-weight:600;border-radius:9999px;text-transform:uppercase;letter-spacing:.025em}.preview-item .difficulty-easy{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#166534;border:1px solid #86efac}.preview-item .difficulty-medium{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #fbbf24}.preview-item .difficulty-hard{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #f87171}.preview-item .difficulty-unknown{background:linear-gradient(135deg,var(--gray-100) 0%,var(--gray-200) 100%);color:var(--gray-600);border:1px solid var(--gray-300)}.preview-item .question-marks{font-size:.625rem;color:var(--gray-500);font-weight:500}.preview-item .drag-handle{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;color:var(--gray-400);cursor:grab;transition:all var(--transition-fast);border-radius:var(--radius-sm)}.preview-item .drag-handle:hover{background:var(--gray-100);color:var(--gray-600)}.preview-item .drag-handle:active{cursor:grabbing;background:var(--gray-200)}.preview-item .remove-button{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:var(--gray-400);background:transparent;border:none;border-radius:50%;cursor:pointer;transition:all var(--transition-fast);flex-shrink:0}.preview-item .remove-button:hover{background:linear-gradient(135deg,#fee2e2,#fecaca);color:var(--danger-color);transform:scale(1.1)}.preview-item .remove-button:active{transform:scale(.95)}.selected-questions-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;height:100%;min-height:200px}.selected-questions-empty .empty-icon{width:4rem;height:4rem;margin:0 auto 1rem;background:linear-gradient(135deg,var(--gray-100) 0%,var(--gray-200) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gray-400)}.selected-questions-empty .empty-title{font-size:.875rem;font-weight:600;color:var(--gray-600);margin:0 0 .25rem}.selected-questions-empty .empty-subtitle{font-size:.75rem;color:var(--gray-500);margin:0;line-height:1.4}.test-config-panel{background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);padding:1.5rem 2rem;margin-bottom:2rem;position:relative;overflow:hidden}.test-config-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--primary-color) 0%,var(--accent-color) 100%)}.test-config-panel h3{margin:0;font-size:1.125rem;font-weight:600;color:var(--gray-900)}.test-config-panel label{display:block;font-weight:500;color:var(--gray-700)}.test-config-panel input,.test-config-panel select{font-size:.875rem;font-weight:500}.test-config-panel input:focus,.test-config-panel select:focus{outline:none;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f626}.test-config-panel input[type=number]::-webkit-outer-spin-button,.test-config-panel input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.test-config-panel input[type=number]{-moz-appearance:textfield;appearance:textfield}.tg-content{display:flex;gap:2rem;flex:1;align-items:flex-start;position:relative}.tg-left-panel{flex:2;max-width:none;display:flex;flex-direction:column;gap:1.5rem}.tg-right-panel{flex:1;display:flex;flex-direction:column;gap:1.5rem;min-width:400px;position:sticky;top:1rem;align-self:flex-start}.tg-create-form{background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:2rem;display:flex;flex-direction:column;gap:1.5rem;position:relative;overflow:hidden}.tg-create-form:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--primary-color) 0%,var(--accent-color) 100%)}.tg-create-form h3{font-size:1.5rem;color:var(--gray-900);margin:0 0 1rem;font-weight:700;letter-spacing:-.025em;display:flex;align-items:center;gap:.5rem}.tg-create-form h3:before{content:"";width:4px;height:24px;background:linear-gradient(135deg,var(--primary-color) 0%,var(--accent-color) 100%);border-radius:2px;margin-right:.5rem}.tg-create-form label{display:flex;flex-direction:column;gap:.5rem;font-size:.95rem;color:var(--gray-700);font-weight:600}.tg-create-form input,.tg-create-form select{padding:.875rem 1rem;border-radius:var(--radius-lg);border:2px solid var(--gray-300);font-size:.95rem;height:auto;box-sizing:border-box;width:100%;transition:all var(--transition-normal);background:#fff!important}.tg-create-form input:-webkit-autofill,.tg-create-form input:-webkit-autofill:focus,.tg-create-form input:-webkit-autofill:hover,.tg-create-form input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px white inset!important;-webkit-text-fill-color:#495057!important;background-color:#fff!important;background:#fff!important}.tg-create-form input:focus,.tg-create-form select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a;transform:translateY(-1px)}.tg-create-form input:hover,.tg-create-form select:hover{border-color:var(--gray-400)}.tg-create-form .filters{background-color:#f8f9fa;border-radius:6px;padding:16px;margin-top:8px;display:flex;flex-direction:column;gap:12px}.tg-create-form .filters h4{font-size:1.1rem;color:#343a40;margin:0 0 12px;font-weight:600}.tg-create-form .tab-info{margin-top:8px;padding:12px;background-color:#e8f4ff;border-radius:6px;color:#0056b3;font-size:.95rem}.tg-create-form button[type=submit]{margin-top:16px;padding:12px 24px;background-color:#0056b3;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;gap:8px}.tg-create-form button[type=submit]:hover{background-color:#004494}.tg-create-form button[type=submit]:disabled{background-color:#6c757d;cursor:not-allowed}.tg-create-form .error{padding:12px;background-color:#f8d7da;color:#721c24;border-radius:6px;font-size:.95rem}.tg-create-form .success{padding:12px;background-color:#d4edda;color:#155724;border-radius:6px;font-size:.95rem}.test-summary-panel{background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:2rem;position:relative;overflow:hidden}.test-summary-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--warning-color) 0%,var(--primary-color) 100%)}.test-summary-panel:after{content:"";position:absolute;bottom:-30px;left:-30px;width:60px;height:60px;background:linear-gradient(135deg,#f59e0b1a,#2563eb1a);border-radius:50%}.test-summary-panel h3{font-size:1.5rem;color:var(--gray-900);margin:0 0 1.5rem;font-weight:700;letter-spacing:-.025em;display:flex;align-items:center;gap:.75rem;position:relative;z-index:2}.test-summary-panel h3:before{content:"";width:6px;height:24px;background:linear-gradient(135deg,var(--warning-color) 0%,var(--primary-color) 100%);border-radius:3px;margin-right:.5rem}.test-summary-panel div.summary-item{margin-bottom:1rem;padding:.875rem;font-size:.95rem;color:var(--gray-600);display:flex;align-items:center;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-radius:var(--radius-lg);border:1px solid var(--gray-200);transition:all var(--transition-normal);position:relative;z-index:2}.test-summary-panel div.summary-item:hover{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:var(--primary-color);transform:translateY(-1px);box-shadow:var(--shadow-md)}.test-summary-panel div.summary-item strong{font-weight:600;color:var(--gray-800);display:inline-block;width:140px;flex-shrink:0}.test-summary-panel div.summary-item span{flex:1;text-align:right;font-weight:600;color:var(--primary-color)}.paper-builder{background:linear-gradient(135deg,#fff,#fefefe);border:1px solid var(--gray-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);padding:2rem;flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.paper-builder:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--success-color) 0%,var(--accent-color) 100%)}.paper-builder:after{content:"";position:absolute;top:-50px;right:-50px;width:100px;height:100px;background:linear-gradient(135deg,#10b9811a,#0ea5e91a);border-radius:50%}.paper-builder h3{font-size:1.5rem;color:var(--gray-900);margin:0 0 1.5rem;font-weight:700;letter-spacing:-.025em;display:flex;align-items:center;gap:.75rem;position:relative;z-index:2}.paper-builder h3:before{content:"";width:6px;height:24px;background:linear-gradient(135deg,var(--success-color) 0%,var(--accent-color) 100%);border-radius:3px;margin-right:.5rem}.paper-builder h4{font-size:1.125rem;color:var(--gray-800);margin:1.5rem 0 1rem;font-weight:600;display:flex;align-items:center;gap:.5rem;position:relative;z-index:2}.paper-builder h4:before{content:"";width:3px;height:18px;background:linear-gradient(135deg,var(--success-color) 0%,var(--accent-color) 100%);border-radius:1.5px}.paper-builder .builder-list{flex:1;overflow-y:auto;position:relative;z-index:2;margin:0 -.5rem;padding:0 .5rem}.paper-builder .builder-list::-webkit-scrollbar{width:6px}.paper-builder .builder-list::-webkit-scrollbar-track{background:var(--gray-100);border-radius:3px}.paper-builder .builder-list::-webkit-scrollbar-thumb{background:linear-gradient(135deg,var(--success-color) 0%,var(--accent-color) 100%);border-radius:3px}.paper-builder .mode-indicator,.mode-indicator{margin-bottom:1rem;padding:.75rem 1rem;background:linear-gradient(135deg,#e0f2fe,#f0f9ff);border:1px solid rgba(14,165,233,.2);border-radius:var(--radius-lg);color:var(--accent-color);font-size:.95rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem;position:relative;z-index:2}.paper-builder .question-list,.paper-builder .preview-list,.paper-builder .auto-question-list{list-style:none;padding:0;margin:0;border:1px solid #e9ecef;border-radius:6px;overflow:hidden}.paper-builder .question-item,.paper-builder .auto-question-item{padding:12px 16px;border-bottom:1px solid #e9ecef;color:#495057;font-size:.95rem;background-color:#fff}.paper-builder .question-item:last-child,.paper-builder .auto-question-item:last-child{border-bottom:none}.paper-builder .question-item:hover{background-color:#f8f9fa}.paper-builder .question-label{display:flex;align-items:flex-start;cursor:pointer;gap:10px}.paper-builder .question-checkbox{margin-top:3px}.paper-builder .question-text{flex:1;line-height:1.4}.paper-builder .question-number{display:inline-block;width:24px;font-weight:600;color:#495057}.paper-builder .builder-actions{margin:16px 0;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.paper-builder .action-button{padding:8px 16px;border-radius:4px;border:1px solid #ced4da;background-color:#fff;color:#495057;font-size:.9rem;cursor:pointer;transition:all .2s}.paper-builder .action-button:hover:not(:disabled){background-color:#f8f9fa}.paper-builder .action-button:disabled{opacity:.6;cursor:not-allowed}.paper-builder .save-button{padding:8px 16px;border-radius:4px;background-color:#0056b3;color:#fff;border:none;margin-left:auto;font-size:.9rem;cursor:pointer;transition:all .2s}.paper-builder .save-button:hover{background-color:#004494}.paper-builder .save-status{margin-left:10px;font-size:.9rem;color:#28a745}.paper-builder .auto-question-item{display:flex;gap:10px}.action-button,.save-button{position:relative;overflow:hidden;border-radius:var(--radius-lg);font-weight:600;transition:all var(--transition-normal);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.action-button{padding:.75rem 1.25rem;background:linear-gradient(135deg,#fff,#f8fafc);border:2px solid var(--gray-300);color:var(--gray-700)}.action-button:hover:not(:disabled){background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-color:var(--gray-400);transform:translateY(-2px);box-shadow:var(--shadow-md)}.save-button{padding:.875rem 1.5rem;background:linear-gradient(135deg,var(--primary-color) 0%,var(--primary-light) 100%);border:2px solid var(--primary-color);color:#fff;box-shadow:var(--shadow-md)}.save-button:hover{background:linear-gradient(135deg,var(--primary-hover) 0%,var(--primary-color) 100%);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.save-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.save-button:hover:before{left:100%}@keyframes fadeInUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-slide-in-right{animation:slideInRight .5s ease-out}.animate-fade-in-up{animation:fadeInUp .3s ease-out}.loading{position:relative;pointer-events:none}.loading:after{content:"";position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid var(--gray-300);border-top:2px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 1200px){.tg-right-panel{min-width:350px}.paper-builder-container,.paper-builder{padding:1.5rem}}@media (max-width: 968px){.tg-content{flex-direction:column;gap:1.5rem}.tg-left-panel,.tg-right-panel{max-width:100%;min-width:auto;position:static}.generate-test-page{padding:1rem}.paper-builder-container,.paper-builder,.test-summary-panel,.tg-create-form{padding:1.25rem}}@media (max-width: 640px){.generate-test-page h2{font-size:1.5rem}.tabs{gap:2px;overflow-x:auto;padding-bottom:.5rem}.tab-button{padding:.75rem 1rem;font-size:.875rem;flex-shrink:0}.summary-item{font-size:.875rem}}.student-test-results-tabs{width:100%;margin:0 auto;background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.test-header-container{padding:15px 20px;margin-bottom:20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;background-color:#fff;position:relative;z-index:100}.test-header-container h1{margin:0;font-size:22px;font-weight:600;color:#333;flex:1}.test-header-container div{background-color:#f5f7ff;padding:8px 15px;border-radius:6px;color:#2196f3;font-weight:500}.tabs-header{display:flex;border-bottom:2px solid #eee;margin-bottom:20px;background-color:#f8f9fa}.tab-button{padding:14px 24px;font-size:16px;font-weight:500;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s ease;color:#666;text-align:center;flex:1;position:relative}.tab-button:hover{color:#4a6cf7;background-color:#f0f4ff}.tab-button.active{color:#4a6cf7;border-bottom-color:#4a6cf7;font-weight:600}.tab-button.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:3px;background-color:#4a6cf7}.tab-content{min-height:400px;padding:20px}.tab-actions{margin-top:30px;display:flex;justify-content:flex-end;padding:0 20px 20px}.back-button{padding:10px 20px;background-color:#f5f5f5;color:#333;border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:8px}.back-button:hover{background-color:#e5e5e5}@media (max-width: 768px){.tabs-header{flex-wrap:wrap}.tab-button{padding:10px 15px;font-size:14px}}.result-tab-content{padding:15px}.result-tab-content h2{margin-top:0;margin-bottom:20px;color:#333;font-size:24px}.result-tab-content h3{margin-top:25px;margin-bottom:15px;color:#555;font-size:18px}.no-data-message{text-align:center;padding:20px;background-color:#f9f9f9;border-radius:5px;color:#666}.overview-tab .result-summary{margin-bottom:30px}.overview-tab .summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.overview-tab .score-circle{width:120px;height:120px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;border:8px solid #4a6cf7;color:#4a6cf7}.overview-tab .score-percentage{font-size:28px;font-weight:700}.overview-tab .score-fraction{font-size:14px;margin-top:5px}.overview-tab .summary-details{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px;margin-bottom:20px;background-color:#f8f9ff;padding:15px;border-radius:8px}.overview-tab .detail-item{padding:10px;border-bottom:1px solid #e6e9f4}.overview-tab .detail-item:first-child,.overview-tab .detail-item:nth-child(5){grid-column:1 / -1;background-color:#edf2fd;border-radius:6px;padding:12px 15px;border-bottom:none;margin-bottom:10px}.overview-tab .detail-label{font-weight:600;color:#3a3a3a;margin-right:8px;display:inline-block;min-width:120px}.overview-tab .detail-value{color:#2196f3;font-weight:500}.overview-tab .stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:20px}.overview-tab .stat-card{background-color:#f8f9ff;border-radius:6px;padding:15px;text-align:center;box-shadow:0 2px 5px #0000000d}.overview-tab .stat-value{font-size:24px;font-weight:600;color:#4a6cf7;margin-bottom:5px}.overview-tab .stat-label{color:#666;font-size:14px}.detailed-tab .topic-performance,.detailed-tab .difficulty-chart{margin-bottom:30px}.detailed-tab .topic-item,.detailed-tab .difficulty-item{display:flex;align-items:center;margin-bottom:12px}.detailed-tab .topic-name,.detailed-tab .difficulty-label{width:120px;font-weight:500;padding-right:10px}.detailed-tab .topic-progress-container,.detailed-tab .difficulty-progress-container{flex:1;height:20px;background-color:#f0f0f0;border-radius:10px;overflow:hidden;position:relative;margin:0 10px}.detailed-tab .topic-progress-bar,.detailed-tab .difficulty-progress-bar{height:100%;background-color:#4a6cf7}.detailed-tab .topic-percentage,.detailed-tab .difficulty-percentage{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:500;color:#fff}.detailed-tab .topic-fraction,.detailed-tab .difficulty-fraction{width:60px;text-align:right;font-size:14px;color:#666}.detailed-tab .time-note{background-color:#f8f9ff;padding:15px;border-radius:6px;border-left:4px solid #4a6cf7}.answers-tab .question-result{margin-bottom:30px;padding:15px;border-radius:8px;box-shadow:0 2px 5px #0000000d}.answers-tab .question-result.correct{border-left:4px solid #4caf50}.answers-tab .question-result.incorrect{border-left:4px solid #f44336}.answers-tab .question-result-header{display:flex;justify-content:space-between;margin-bottom:10px}.answers-tab .question-number{font-weight:500}.answers-tab .status-correct{color:#4caf50;font-weight:500}.answers-tab .status-incorrect{color:#f44336;font-weight:500}.answers-tab .question-text{margin-bottom:15px;font-size:16px}.answers-tab .options-analysis{display:flex;flex-direction:column;gap:10px}.answers-tab .result-option{padding:10px;border-radius:4px;border:1px solid #e0e0e0}.answers-tab .selected-correct{background-color:#4caf501a;border-color:#4caf50}.answers-tab .selected-incorrect{background-color:#f443361a;border-color:#f44336}.answers-tab .correct-option{border-color:#4caf50;background-color:#4caf501a}.answers-tab .correct-option .option-indicator{color:#4caf50;font-size:18px;font-weight:700}.answers-tab .option-content{display:flex;align-items:center}.answers-tab .option-indicator{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:10px;color:#4caf50;font-weight:700}.answers-tab .selected-incorrect .option-indicator{color:#f44336}.answers-tab .correct-answer-note{margin-top:10px;font-size:12px;color:#4caf50}.answers-tab .numeric-answer-display{margin:15px 0;padding:15px;background-color:#f8f9ff;border-radius:5px}.answers-tab .numeric-answer-display .answer-row{margin-bottom:10px;font-size:16px}.answers-tab .numeric-answer-display .correct-value{color:#4caf50;font-weight:700;font-family:monospace;font-size:18px}.answers-tab .numeric-answer-display .incorrect-value{color:#f44336;font-weight:700;font-family:monospace;font-size:18px}.performance-tab .performance-metrics{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;margin-bottom:30px}.performance-tab .metric-card{padding:20px;border-radius:8px;background-color:#f8f9ff;box-shadow:0 2px 5px #0000000d;text-align:center}.performance-tab .metric-title{font-weight:500;color:#555;margin-bottom:10px}.performance-tab .metric-value{font-size:28px;font-weight:600;color:#4a6cf7;margin-bottom:5px}.performance-tab .metric-value.primary{font-size:36px}.performance-tab .metric-subtitle{font-size:13px;color:#666}.performance-tab .comparison-item{display:flex;align-items:center;margin-bottom:15px}.performance-tab .comparison-label{width:120px;font-weight:500}.performance-tab .comparison-bar-container{flex:1;height:25px;background-color:#f0f0f0;border-radius:12px;overflow:hidden;position:relative}.performance-tab .comparison-bar{height:100%}.performance-tab .comparison-bar.your-score{background-color:#4a6cf7}.performance-tab .comparison-bar.class-average{background-color:#f9a825}.performance-tab .comparison-value{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:500;color:#fff}.performance-tab .comparison-insight{margin-top:20px;padding:15px;background-color:#f0f8ff;border-radius:6px;color:#333}.performance-tab .improvement-areas{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.performance-tab .improvement-item{padding:15px;background-color:#fff5f5;border-radius:6px;border-left:4px solid #f44336}.performance-tab .improvement-topic{font-weight:500;margin-bottom:5px}.performance-tab .improvement-score{font-size:20px;font-weight:600;color:#f44336;margin-bottom:10px}.performance-tab .improvement-message{font-size:13px;color:#666}.performance-tab .no-improvement-needed{padding:15px;background-color:#f0fff4;border-radius:6px;border-left:4px solid #4caf50}@media (max-width: 768px){.overview-tab .summary-header{flex-direction:column;align-items:flex-start}.overview-tab .score-circle{margin-top:15px}.detailed-tab .topic-item,.detailed-tab .difficulty-item,.performance-tab .comparison-item{flex-direction:column;align-items:flex-start}.detailed-tab .topic-name,.detailed-tab .difficulty-label,.performance-tab .comparison-label{width:100%;margin-bottom:5px}.detailed-tab .topic-progress-container,.detailed-tab .difficulty-progress-container,.performance-tab .comparison-bar-container{width:100%;margin:5px 0}.detailed-tab .topic-fraction,.detailed-tab .difficulty-fraction{width:100%;text-align:left;margin-top:5px}}.exam-pattern-management{max-width:1400px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.header{position:relative;margin-bottom:30px;padding:20px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff}.header h2{margin:0 0 8px;font-size:28px;font-weight:600}.header p{margin:0;opacity:.9;font-size:16px}.close-button{position:absolute;top:15px;right:15px;background:#fff3;border:none;color:#fff;font-size:24px;width:40px;height:40px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .3s}.pattern-tabs{display:flex;gap:0;margin-bottom:30px;background:#f8f9fa;border-radius:8px;padding:4px;border:1px solid #e9ecef}.pattern-tabs button{flex:1;padding:12px 20px;border:none;background:transparent;color:#6c757d;font-weight:500;border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:14px}.pattern-tabs button:hover{color:#495057;background:#fffc}.pattern-tabs button.active{background:#fff;color:#495057;box-shadow:0 2px 8px #0000001a;font-weight:600}.section-header{display:flex;justify-content:between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.section-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b;flex-grow:1}.section-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filter-select{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;min-width:200px}.create-btn{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .3s ease;font-size:14px}.create-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d}.empty-state{text-align:center;padding:60px 20px;background:#f8f9fa;border-radius:12px;border:2px dashed #dee2e6}.empty-state h4{margin:0 0 12px;color:#6c757d;font-size:20px}.empty-state p{color:#868e96;max-width:500px;margin:0 auto 24px;line-height:1.5}.patterns-table{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.patterns-table table{width:100%;border-collapse:collapse}.patterns-table th{background:#f8f9fa;padding:16px 12px;text-align:left;font-weight:600;color:#495057;border-bottom:1px solid #dee2e6;font-size:14px}.patterns-table td{padding:16px 12px;border-bottom:1px solid #f1f3f4;vertical-align:top}.patterns-table tbody tr:hover{background:#f8f9fa}.pattern-description{font-size:12px;color:#6c757d;margin-top:4px;font-style:italic}.badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;text-align:center}.badge-sections{background:#e3f2fd;color:#1976d2}.badge-no-sections{background:#f5f5f5;color:#757575}.badge-negative{background:#ffebee;color:#d32f2f}.badge-no-negative{background:#e8f5e8;color:#388e3c}.status{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status.active{background:#e8f5e8;color:#388e3c}.status.inactive{background:#ffebee;color:#d32f2f}.action-buttons{display:flex;gap:8px;align-items:center}.action-buttons button{width:32px;height:32px;border:none;border-radius:6px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.edit-btn{background:#fff3cd;color:#856404}.edit-btn:hover{background:#ffeaa7}.sections-btn{background:#d1ecf1;color:#0c5460}.sections-btn:hover{background:#bee5eb}.subjects-btn{background:#d4edda;color:#155724}.subjects-btn:hover{background:#c3e6cb}.delete-btn{background:#f8d7da;color:#721c24}.delete-btn:hover{background:#f5c6cb}.form-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.form-container{background:#fff;border-radius:12px;padding:30px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.form-container h3{margin:0 0 24px;font-size:1.25rem;font-weight:600;color:#1e293b}.form-group{margin-bottom:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#495057}.checkbox-label{display:flex!important;align-items:center;gap:8px;cursor:pointer}.checkbox-label input[type=checkbox]{margin:0}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:14px;transition:border-color .3s ease;box-sizing:border-box}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#80bdff;box-shadow:0 0 0 3px #007bff1a}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:1px solid #dee2e6}.form-actions button{padding:10px 24px;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .3s ease}.form-actions button[type=submit]{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.form-actions button[type=submit]:hover{transform:translateY(-1px);box-shadow:0 4px 12px #007bff4d}.form-actions button[type=button]{background:#6c757d;color:#fff}.form-actions button[type=button]:hover{background:#545b62}.form-actions button:disabled{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.pattern-info{display:flex;flex-wrap:wrap;gap:20px;align-items:center;background:#f8f9fa;padding:12px 16px;border-radius:6px;font-size:14px}.pattern-info span{color:#495057}.pattern-info strong{color:#2c3e50}.sections-content,.subjects-content{padding:40px 20px;text-align:center;background:#f8f9fa;border-radius:8px}.loading{text-align:center;padding:40px;color:#6c757d;font-size:16px}@media (max-width: 768px){.exam-pattern-management{padding:10px}.section-header{flex-direction:column;align-items:stretch}.section-actions{justify-content:stretch}.filter-select{min-width:auto}.form-row{grid-template-columns:1fr}.patterns-table{overflow-x:auto}.action-buttons{flex-wrap:wrap}}.exam-configuration-manager{max-width:1400px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;overflow:hidden}.exam-config-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;position:relative}.exam-config-header h2{margin:0;font-size:1.8rem;font-weight:600}.exam-config-header p{margin:.5rem 0 0;opacity:.9;font-size:1rem}.close-button{position:absolute;top:1rem;right:1rem;background:#fff3;border:none;color:#fff;font-size:1.5rem;width:40px;height:40px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.close-button:hover{background:#ffffff4d}.exam-config-tabs{display:flex;background:#f8fafc;border-bottom:1px solid #e2e8f0}.tab-button{flex:1;padding:1rem 2rem;background:none;border:none;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;border-bottom:3px solid transparent}.tab-button:hover{background:#e2e8f0}.tab-button.active{background:#fff;border-bottom-color:#667eea;color:#667eea}.exam-config-content{padding:2rem;min-height:500px}.loading{text-align:center;padding:3rem;color:#64748b;font-size:1.1rem}.exam-config-filters{display:flex;gap:1rem;margin-bottom:2rem;padding:1rem;background:#f8fafc;border-radius:8px}.exam-config-filters select{padding:.5rem;border:1px solid #d1d5db;border-radius:6px;background:#fff}.configurations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.config-card{border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;background:#fff;transition:transform .2s,box-shadow .2s}.config-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.config-card.inactive{opacity:.6;border-color:#d1d5db}.config-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.config-header h4{margin:0;color:#1e293b;font-size:1.2rem}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.inactive{background:#fef2f2;color:#991b1b}.config-details p{margin:.5rem 0;color:#64748b;font-size:.9rem}.config-details strong{color:#374151}.config-actions{display:flex;gap:.5rem;margin-top:1rem}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.template-card{border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;background:#fff;transition:transform .2s,box-shadow .2s}.template-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.template-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.template-header h4{margin:0;color:#1e293b}.exam-type-badge{padding:.25rem .75rem;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:.75rem;font-weight:600}.template-details p{color:#64748b;margin:.5rem 0}.template-actions{margin-top:1rem}.quick-setup-section{margin-bottom:2rem;padding:2rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.quick-setup-section h4{margin:0 0 1.5rem;color:#1e293b;font-size:1.3rem}.quick-setup-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.btn-preset{padding:1.5rem;border:2px solid transparent;border-radius:12px;background:#fff;cursor:pointer;text-align:left;transition:all .2s;font-weight:500;position:relative;display:flex;flex-direction:column;align-items:flex-start}.btn-preset small{margin-top:.5rem;font-size:.85rem;opacity:.7;font-weight:400}.btn-preset:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.btn-preset.jee-advanced{border-color:#f59e0b;color:#92400e}.btn-preset.jee-advanced:hover{background:#fffbeb;border-color:#d97706}.btn-preset.neet{border-color:#10b981;color:#065f46}.btn-preset.neet:hover{background:#ecfdf5;border-color:#059669}.btn-preset.jee-main{border-color:#3b82f6;color:#1e40af}.btn-preset.jee-main:hover{background:#eff6ff;border-color:#2563eb}.configuration-form{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.form-section{padding:2rem;border-bottom:1px solid #e2e8f0}.form-section:last-child{border-bottom:none}.form-section h4{margin:0 0 1.5rem;color:#1e293b;font-size:1.2rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.form-group label{margin-bottom:.5rem;color:#374151;font-weight:500;font-size:.9rem}.form-group input,.form-group select,.form-group textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.checkbox-group{flex-direction:row;align-items:center}.checkbox-group label{margin-bottom:0;margin-left:.5rem;display:flex;align-items:center}.checkbox-group input[type=checkbox]{width:auto;margin-right:.5rem}.section-header{display:flex;justify-content:between;align-items:center;margin-bottom:1rem}.sections-list{display:grid;gap:1rem}.section-card{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.section-info h5{margin:0 0 .5rem;color:#1e293b}.section-info p{margin:.25rem 0;color:#64748b;font-size:.85rem}.negative-marking{color:#dc2626!important;font-weight:500}.section-actions{display:flex;gap:.5rem}.empty-sections{text-align:center;padding:2rem;color:#64748b;background:#f8fafc;border-radius:8px;border:1px dashed #cbd5e1}.empty-state{text-align:center;padding:3rem;color:#64748b}.empty-state p{margin-bottom:1rem}.form-actions{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem 2rem;background:#f8fafc;border-top:1px solid #e2e8f0}.btn-primary{background:#667eea;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.btn-primary:hover:not(:disabled){background:#5a67d8}.btn-secondary{background:#e5e7eb;color:#374151;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.btn-secondary:hover{background:#d1d5db}.btn-danger{background:#dc2626;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.btn-danger:hover{background:#b91c1c}.btn-sm{padding:.5rem 1rem;font-size:.875rem}.implementation-note{margin-top:2rem;padding:1rem;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;color:#92400e}.implementation-note p{margin:0;font-size:.9rem}@media (max-width: 768px){.exam-configuration-manager{margin:1rem}.exam-config-header,.exam-config-content{padding:1rem}.configurations-grid,.templates-grid,.quick-setup-buttons,.form-row{grid-template-columns:1fr}.config-actions,.section-actions,.form-actions{flex-direction:column}}@media (max-width: 480px){.exam-config-tabs{flex-direction:column}.tab-button{flex:none}.config-header,.template-header{flex-direction:column;align-items:flex-start;gap:.5rem}.section-card{flex-direction:column;gap:1rem}.section-actions{flex-direction:row;justify-content:flex-start}}.validation-error{display:flex;align-items:center;margin-top:.25rem;padding:.5rem;background-color:#fee2e2;border:1px solid #fecaca;border-radius:4px;font-size:.875rem;color:#991b1b}.error-icon{margin-right:.5rem;font-size:1rem}.error-text{flex:1}.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:#ef4444;box-shadow:0 0 0 2px #ef44441a}.form-group input.error:focus,.form-group select.error:focus,.form-group textarea.error:focus{outline:none;border-color:#ef4444;box-shadow:0 0 0 3px #ef444433}.field-help{margin-top:.25rem;font-size:.75rem;color:#6b7280;font-style:italic}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #ffffff33;border-top:2px solid #ffffff;border-radius:50%;animation:spin 1s linear infinite;margin-right:.5rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.form-group{position:relative}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.form-group input,.form-group select,.form-group textarea{transition:all .2s ease-in-out}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.form-group input:not(.error):valid,.form-group select:not(.error):valid{border-color:#10b981}.form-group input:not(.error):valid:focus,.form-group select:not(.error):valid:focus{box-shadow:0 0 0 3px #10b9811a}.sections-container{border:1px solid #e5e7eb;border-radius:8px;padding:1rem;background:#fafafa}.sections-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.75rem;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.bulk-actions{display:flex;gap:.5rem}.btn-bulk{padding:.5rem 1rem;border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;display:flex;align-items:center;gap:.25rem}.btn-bulk:hover{background:#f3f4f6;border-color:#9ca3af}.btn-bulk.btn-danger{color:#dc2626;border-color:#fecaca}.btn-bulk.btn-danger:hover{background:#fef2f2;border-color:#dc2626}.section-count{font-size:.875rem;color:#6b7280;font-weight:500}.sections-list{min-height:200px;position:relative}.section-card{display:flex;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:.75rem;padding:1rem;cursor:move;transition:all .2s;position:relative}.section-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f61a}.section-card.dragging{opacity:.5;transform:rotate(2deg);box-shadow:0 8px 25px #00000026}.section-drag-handle{display:flex;flex-direction:column;align-items:center;margin-right:1rem;padding:.5rem;border-radius:4px;background:#f8fafc;border:1px solid #e2e8f0;min-width:60px}.drag-icon{font-size:1.2rem;color:#64748b;margin-bottom:.25rem;cursor:grab}.section-card:active .drag-icon{cursor:grabbing}.section-order{font-size:.75rem;font-weight:600;color:#475569;background:#e2e8f0;padding:.1rem .4rem;border-radius:12px}.section-info{flex:1;display:flex;flex-direction:column;gap:.5rem}.section-header{display:flex;align-items:center;justify-content:space-between}.section-header h6{margin:0;color:#1f2937;font-size:1.1rem;font-weight:600}.section-status{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500;text-transform:uppercase}.section-status.active{background:#d1fae5;color:#065f46}.section-status.inactive{background:#fee2e2;color:#991b1b}.section-details{display:flex;gap:1rem;flex-wrap:wrap}.section-details span{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:#6b7280;background:#f3f4f6;padding:.25rem .5rem;border-radius:4px}.section-actions{display:flex;gap:.5rem;align-items:center}.btn-small{padding:.4rem .8rem;font-size:.75rem;border-radius:4px;border:none;cursor:pointer;font-weight:500;transition:all .2s;display:flex;align-items:center;gap:.25rem}.btn-small.btn-icon{padding:.4rem;min-width:32px;justify-content:center}.btn-small.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-small.btn-secondary:hover{background:#e5e7eb;border-color:#9ca3af}.btn-small.btn-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.btn-small.btn-danger:hover{background:#fee2e2;border-color:#dc2626}.empty-sections{text-align:center;padding:2rem;background:#fff;border-radius:8px;border:2px dashed #d1d5db}.empty-sections p{margin:0 0 1.5rem;color:#6b7280;font-size:1rem}.section-templates{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.section-templates h6{width:100%;margin:0 0 1rem;color:#374151;font-weight:600}.btn-template{padding:.75rem 1.25rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #667eea33}.btn-template:hover{transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.configurations-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a}.toolbar-left .total-count{font-size:.875rem;color:#6b7280;font-weight:500}.toolbar-right{display:flex;gap:.5rem;align-items:center}.toolbar-right .btn-secondary{padding:.5rem 1rem;font-size:.875rem;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.config-actions .btn-secondary[title]{min-width:36px;padding:.5rem;display:flex;justify-content:center;align-items:center;font-size:1rem}.config-card{transition:all .2s;position:relative;overflow:hidden}.config-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#667eea,#764ba2);opacity:0;transition:opacity .2s}.config-card:hover:before{opacity:1}.config-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.config-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-start}.btn-secondary:hover{transform:translateY(-1px)}.btn-secondary:active{transform:translateY(0)}input[type=file]{display:none}.toolbar-feedback{position:fixed;top:20px;right:20px;padding:1rem 1.5rem;border-radius:8px;color:#fff;font-weight:500;z-index:1000;animation:slideInRight .3s ease-out}.toolbar-feedback.success{background:#10b981}.toolbar-feedback.error{background:#ef4444}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@media (max-width: 768px){.sections-toolbar{flex-direction:column;align-items:stretch;gap:1rem}.bulk-actions{justify-content:center}.section-card{flex-direction:column;align-items:stretch;gap:1rem}.section-drag-handle{flex-direction:row;justify-content:center;margin-right:0;margin-bottom:.5rem}.section-header{flex-direction:column;align-items:flex-start;gap:.5rem}.section-details,.section-actions{justify-content:center}.configurations-toolbar{flex-direction:column;align-items:stretch;gap:1rem}.toolbar-right{justify-content:center;flex-wrap:wrap}.toolbar-right .btn-secondary{flex:1;min-width:120px;justify-content:center}}.preview-overlay{position:fixed;inset:0;background:#000c;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.preview-container{background:#fff;border-radius:12px;width:95%;height:90%;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;overflow:hidden}.preview-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center}.preview-title h2{margin:0;font-size:1.5rem;font-weight:600}.preview-badge{display:inline-block;background:#fff3;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500;margin-left:1rem}.preview-controls{display:flex;align-items:center;gap:1.5rem}.timer-display{display:flex;align-items:center;gap:.5rem;background:#ffffff1a;padding:.5rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.2)}.timer-text{font-size:1.1rem;font-weight:600;min-width:80px;text-align:center}.timer-text.warning{color:#fbbf24;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.btn-close-preview{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.btn-close-preview:hover{background:#fff3}.preview-navigation{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.section-tabs{display:flex;gap:.5rem}.section-tab{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:.25rem}.section-tab:hover{background:#f3f4f6;border-color:#9ca3af}.section-tab.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.section-questions{font-size:.75rem;opacity:.8}.section-nav-buttons{display:flex;gap:.5rem}.btn-nav{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.btn-nav:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.btn-nav:disabled{opacity:.5;cursor:not-allowed}.preview-content{flex:1;overflow-y:auto;padding:2rem;display:flex;flex-direction:column;gap:2rem}.section-info-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem}.section-info-panel h3{margin:0 0 1rem;color:#1f2937;font-size:1.25rem}.section-details{display:flex;gap:2rem;flex-wrap:wrap}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-item .label{font-size:.875rem;color:#6b7280;font-weight:500}.detail-item .value{font-size:1rem;color:#1f2937;font-weight:600}.detail-item .value.warning{color:#dc2626}.questions-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.questions-header{background:#f8fafc;padding:1.5rem;border-bottom:1px solid #e2e8f0}.questions-header h4{margin:0 0 .5rem;color:#1f2937}.preview-note{margin:0;color:#6b7280;font-size:.875rem;font-style:italic}.questions-list{padding:1.5rem}.question-preview{margin-bottom:2rem;padding:1.5rem;background:#fafafa;border:1px solid #e5e7eb;border-radius:8px}.question-preview:last-child{margin-bottom:0}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.question-number{font-weight:600;color:#3b82f6;font-size:1.1rem}.question-marks{background:#dbeafe;color:#1e40af;padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:500}.question-text{margin-bottom:1rem;line-height:1.6;color:#374151}.question-options{display:flex;flex-direction:column;gap:.75rem}.option-label{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .2s}.option-label:hover{background:#f3f4f6;border-color:#9ca3af}.option-label input[type=radio]{margin:0}.option-text{flex:1;color:#374151}.preview-instructions{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:1.5rem}.preview-instructions h4{margin:0 0 1rem;color:#92400e}.instructions-content{display:flex;flex-direction:column;gap:1rem}.instruction-section{color:#78350f}.instruction-section strong{display:block;margin-bottom:.5rem;color:#92400e}.instruction-section ul{margin:0;padding-left:1.5rem}.instruction-section li{margin-bottom:.25rem}.preview-footer{background:#f8fafc;border-top:1px solid #e2e8f0;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center}.progress-info{display:flex;align-items:center;gap:1rem;color:#6b7280;font-size:.875rem}.answered-count{background:#dbeafe;color:#1e40af;padding:.25rem .75rem;border-radius:20px;font-weight:500}.section-progress{background:#f3f4f6;color:#374151;padding:.25rem .75rem;border-radius:20px;font-weight:500}.preview-actions{display:flex;gap:1rem}@media (max-width: 768px){.preview-overlay{padding:.5rem}.preview-container{width:100%;height:95%}.preview-header{padding:1rem;flex-direction:column;align-items:flex-start;gap:1rem}.preview-controls{width:100%;justify-content:space-between}.preview-navigation{padding:1rem;flex-direction:column;gap:1rem}.section-tabs{width:100%;justify-content:center;flex-wrap:wrap}.preview-content{padding:1rem}.section-details{flex-direction:column;gap:1rem}.preview-footer{padding:1rem;flex-direction:column;gap:1rem;align-items:stretch}.preview-actions{justify-content:center}}.preview-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;display:flex;justify-content:center;align-items:flex-start;z-index:1000;overflow-y:auto;padding:20px}.preview-container{background:#fff;border-radius:8px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #eee;background:#f8f9fa;border-radius:8px 8px 0 0}.preview-title h2{margin:0;color:#333;font-size:1.5em}.preview-subtitle{color:#666;font-size:.9em;margin-top:4px}.preview-timer{display:flex;align-items:center;gap:16px}.timer-display{background:#2196f3;color:#fff;padding:12px 16px;border-radius:6px;font-size:1.1em;font-weight:600;min-width:120px;text-align:center}.close-preview{background:#f44336;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:1.2em}.preview-instructions{padding:24px;border-bottom:1px solid #eee}.preview-instructions h3{margin:0 0 16px;color:#333}.instructions-content{display:grid;grid-template-columns:1fr 1fr;gap:24px}.instructions-content h4{margin:0 0 12px;color:#2196f3;font-size:1em}.instructions-content ul{margin:0;padding-left:20px}.instructions-content li{margin-bottom:8px;line-height:1.4}.preview-section-nav{padding:24px;border-bottom:1px solid #eee}.preview-section-nav h3{margin:0 0 16px;color:#333}.section-tabs{display:flex;gap:12px;flex-wrap:wrap}.section-tab{background:#fff;border:2px solid #ddd;padding:12px 16px;border-radius:6px;cursor:pointer;transition:all .2s ease;min-width:150px}.section-tab:hover{border-color:#2196f3}.section-tab.active{background:#2196f3;color:#fff;border-color:#2196f3}.section-tab .section-info{font-size:.85em;opacity:.8;margin-top:4px}.preview-section-details{padding:24px;border-bottom:1px solid #eee}.preview-section-details h3{margin:0 0 16px;color:#333}.section-stats,.exam-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:16px}.stat{background:#f8f9fa;padding:16px;border-radius:6px;text-align:center;border:1px solid #eee}.stat-label{display:block;font-size:.9em;color:#666;margin-bottom:4px}.stat-value{display:block;font-size:1.2em;font-weight:600;color:#2196f3}.section-subjects{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.subjects-label{font-weight:500;color:#666}.subjects-list{display:flex;gap:8px;flex-wrap:wrap}.subject-tag{background:#e3f2fd;color:#1565c0;padding:4px 12px;border-radius:20px;font-size:.85em;border:1px solid #90caf9}.preview-question-nav{padding:24px;border-bottom:1px solid #eee}.preview-question-nav h3{margin:0 0 16px;color:#333}.palette-legend{display:flex;gap:24px;margin-bottom:16px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:8px;font-size:.9em}.question-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:8px;max-width:600px}.question-number{width:40px;height:40px;border:2px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-weight:600;font-size:.9em;transition:all .2s ease}.question-number:hover{transform:scale(1.05)}.question-number.answered{background:#4caf50;color:#fff;border-color:#4caf50}.question-number.marked{background:#ff9800;color:#fff;border-color:#ff9800}.question-number.unanswered{background:#fff;color:#333;border-color:#ddd}.preview-controls{padding:24px;background:#f8f9fa;border-radius:0 0 8px 8px}.section-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:16px;background:#fff;border-radius:6px;border:1px solid #eee}.section-indicator{font-weight:600;color:#2196f3}.btn-nav{background:#2196f3;color:#fff;border:none;padding:10px 16px;border-radius:4px;cursor:pointer;transition:all .2s ease}.btn-nav:disabled{background:#ccc;cursor:not-allowed}.btn-nav:not(:disabled):hover{background:#1976d2}.preview-actions{display:flex;justify-content:center;gap:16px}.btn-preview{background:#9c27b0;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease}.btn-preview:hover{background:#7b1fa2}.btn-preview:disabled{background:#ccc;cursor:not-allowed}.btn-preview-small{background:#9c27b0;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:.85em;transition:all .2s ease}.btn-preview-small:hover{background:#7b1fa2}.configurations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-top:20px}.configuration-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:20px;transition:all .3s ease}.configuration-card:hover{border-color:#2196f3;box-shadow:0 4px 12px #2196f31a}.config-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.config-header h4{margin:0;color:#333;font-size:1.1em}.status-badge{padding:4px 12px;border-radius:20px;font-size:.8em;font-weight:600}.status-badge.active{background:#e8f5e8;color:#2e7d32}.status-badge.inactive{background:#ffebee;color:#c62828}.config-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px;font-size:.9em}.detail-row{display:flex;justify-content:space-between}.detail-row span:first-child{color:#666}.detail-row span:last-child{font-weight:500;color:#333}.config-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-edit,.btn-clone,.btn-delete{flex:1;min-width:70px;padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:.85em;transition:all .2s ease}.btn-edit{background:#2196f3;color:#fff}.btn-edit:hover{background:#1976d2}.btn-clone{background:#4caf50;color:#fff}.btn-clone:hover{background:#388e3c}.btn-delete{background:#f44336;color:#fff}.btn-delete:hover{background:#d32f2f}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:20px}.template-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:20px;transition:all .3s ease}.template-card:hover{border-color:#9c27b0;box-shadow:0 4px 12px #9c27b01a}.template-card h4{margin:0 0 12px;color:#333}.template-card p{color:#666;font-size:.9em;margin:0 0 16px;line-height:1.4}.template-details{display:flex;gap:12px;margin-bottom:16px;font-size:.85em;color:#666;flex-wrap:wrap}.template-actions{display:flex;gap:8px}.empty-state{text-align:center;padding:60px 20px;color:#666}.empty-state h3{margin:0 0 12px;color:#333}.empty-state p{margin:0 0 24px}@media (max-width: 768px){.preview-container{margin:10px;max-height:95vh}.instructions-content{grid-template-columns:1fr}.section-tabs{flex-direction:column}.section-controls{flex-direction:column;gap:12px}.config-details,.configurations-grid,.templates-grid{grid-template-columns:1fr}}.taxonomy-management{width:100%;max-width:100%;margin:0;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a}.taxonomy-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #e2e8f0;position:relative}.taxonomy-header h2{margin:0 0 8px;color:#1e293b;font-size:1.25rem;font-weight:600}.taxonomy-header p{margin:0;color:#64748b;font-size:.95rem}.close-button{position:absolute;top:0;right:0;background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-button:hover{background:#f1f5f9;color:#1e293b}.message{padding:12px 16px;border-radius:6px;margin-bottom:20px;font-weight:500}.message.success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.message.error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.taxonomy-tabs{display:flex;border-bottom:2px solid #f1f5f9;margin-bottom:24px}.taxonomy-tabs button{padding:12px 24px;background:none;border:none;border-bottom:2px solid transparent;color:#64748b;font-weight:500;cursor:pointer;transition:all .2s ease}.taxonomy-tabs button:hover{color:#1e293b;background:#f8fafc}.taxonomy-tabs button.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#eff6ff}.loading{text-align:center;padding:40px;color:#64748b;font-size:1.1rem}.taxonomy-content{display:flex;gap:24px;min-height:600px}.taxonomy-sidebar{width:280px;background:#f8fafc;border-radius:8px;padding:20px;border:1px solid #e2e8f0}.sidebar-section{margin-bottom:24px}.sidebar-section h4{margin:0 0 12px;color:#1e293b;font-size:.95rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.sidebar-section button{display:block;width:100%;text-align:left;padding:10px 12px;background:none;border:none;color:#475569;cursor:pointer;border-radius:6px;margin-bottom:4px;transition:all .2s ease;font-size:.9rem}.sidebar-section button:hover{background:#e2e8f0;color:#1e293b}.sidebar-section button.active{background:#3b82f6;color:#fff;font-weight:500}.taxonomy-main{flex:1;min-height:600px}.section-content{height:100%}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.section-header h3{margin:0;color:#1e293b;font-size:1.25rem;font-weight:600}.add-button{background:#3b82f6;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s ease}.add-button:hover{background:#2563eb}.form-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:24px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:20px}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:6px;color:#374151;font-weight:500;font-size:.9rem}.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:12px}.form-actions button{padding:10px 20px;border-radius:6px;border:none;cursor:pointer;font-weight:500;transition:all .2s ease}.form-actions button[type=submit]{background:#10b981;color:#fff}.form-actions button[type=submit]:hover:not(:disabled){background:#059669}.form-actions button[type=submit]:disabled{background:#9ca3af;cursor:not-allowed}.form-actions button[type=button]{background:#6b7280;color:#fff}.form-actions button[type=button]:hover{background:#4b5563}.items-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;max-height:500px;overflow-y:auto;padding-right:8px}.item-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;transition:all .2s ease}.item-card:hover{border-color:#cbd5e1;box-shadow:0 4px 6px #0000000d}.item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.item-header h4{margin:0 12px 0 0;color:#1e293b;font-size:1.1rem;font-weight:600;flex:1}.status{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.status.active{background:#d1fae5;color:#065f46}.item-description{color:#64748b;font-size:.9rem;margin:8px 0;line-height:1.4}.item-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.item-meta span{background:#f1f5f9;color:#475569;padding:4px 8px;border-radius:4px;font-size:.8rem;font-weight:500}.mappings-content{padding:20px 0}.mapping-section h3{margin:0 0 8px;color:#1e293b;font-size:1.25rem;font-weight:600}.mapping-section p{margin:0 0 24px;color:#64748b;font-size:.95rem}.mapping-controls{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:24px}.filter-row{display:flex;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}.filter-row:last-child{margin-bottom:0}.filter-group{display:flex;flex-direction:column;min-width:180px}.filter-group label{margin-bottom:6px;color:#374151;font-weight:500;font-size:.9rem}.filter-group select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;background:#fff}.filter-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-group select:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.mapping-button{background:#8b5cf6;color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-weight:500;font-size:.9rem;transition:background .2s ease;white-space:nowrap;align-self:flex-end}.mapping-button:hover:not(:disabled){background:#7c3aed}.mapping-button:disabled{background:#9ca3af;cursor:not-allowed}.mapping-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.mapping-preview h4{margin:0 0 16px;color:#1e293b;font-size:1.2rem;font-weight:600}.mapping-tree{margin-left:0}.tree-level{margin-bottom:16px;padding-left:0}.tree-level strong{color:#374151;font-size:.95rem;display:block;margin-bottom:8px}.tree-level ul{margin:8px 0 0 20px;padding:0;list-style:none}.tree-level li{margin:4px 0;padding:6px 12px;background:#f8fafc;border-left:3px solid #3b82f6;border-radius:0 4px 4px 0;color:#475569;font-size:.9rem}.tree-level p{margin:8px 0 0 20px;color:#9ca3af;font-style:italic;font-size:.9rem}@media (max-width: 768px){.taxonomy-management{padding:16px}.taxonomy-content{flex-direction:column}.taxonomy-sidebar{width:100%;margin-bottom:20px}.sidebar-section{margin-bottom:16px}.sidebar-section button{display:inline-block;width:auto;margin-right:8px;margin-bottom:8px}.form-grid,.items-list{grid-template-columns:1fr}.filter-row{flex-direction:column;align-items:stretch}.filter-group{min-width:auto}.mapping-button{align-self:stretch;margin-top:8px}}@media (max-width: 480px){.taxonomy-header{flex-direction:column;align-items:stretch}.close-button{position:static;align-self:flex-end;margin-bottom:12px}.taxonomy-tabs{flex-direction:column}.taxonomy-tabs button{text-align:center}.section-header{flex-direction:column;align-items:stretch;gap:12px}.form-actions{flex-direction:column}}.mapping-instructions{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:16px;margin-bottom:24px}.mapping-instructions strong{color:#374151;display:block;margin-bottom:8px}.mapping-instructions ul{margin:0;padding-left:20px;color:#4b5563}.mapping-instructions li{margin-bottom:4px;line-height:1.5}.manage-content{padding:20px 0}.manage-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid #e2e8f0}.manage-tabs button{padding:12px 20px;border:none;background:#f8fafc;color:#64748b;border-radius:6px 6px 0 0;cursor:pointer;font-weight:500;transition:all .2s}.manage-tabs button:hover{background:#e2e8f0;color:#374151}.manage-tabs button.active{background:#3b82f6;color:#fff}.items-table-container{background:#fff;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.items-table{width:100%}.items-table h4{margin:0;padding:16px 20px;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#374151;font-weight:600}.items-table table{width:100%;border-collapse:collapse}.items-table th,.items-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #f1f5f9}.items-table th{background:#f8fafc;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.025em}.items-table td{color:#64748b}.items-table tr:hover{background:#f8fafc}.status{display:inline-block;padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:500;text-transform:uppercase}.status.active{background:#dcfce7;color:#166534}.status.inactive{background:#fee2e2;color:#991b1b}.row-actions,.edit-actions{display:flex;gap:8px}.edit-btn,.delete-btn,.save-btn,.cancel-btn{padding:6px 12px;border-radius:4px;border:none;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.edit-btn{background:#3b82f6;color:#fff}.edit-btn:hover{background:#2563eb}.delete-btn{background:#ef4444;color:#fff}.delete-btn:hover{background:#dc2626}.save-btn{background:#10b981;color:#fff}.save-btn:hover{background:#059669}.cancel-btn{background:#6b7280;color:#fff}.cancel-btn:hover{background:#4b5563}.items-table input,.items-table select{width:100%;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem}.items-table input:focus,.items-table select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.question-review-interface .question-text-editor{margin-bottom:15px}.question-review-interface .question-text-editor .form-control{min-height:80px;font-size:14px;resize:vertical}.question-review-interface .correct-answer-editor{margin-bottom:15px}.question-review-interface .correct-answer-editor .form-control{min-height:60px;font-size:14px;resize:vertical}.question-review-interface .solution-editor{margin-bottom:15px}.question-review-interface .solution-editor .form-control{min-height:80px;font-size:14px;resize:vertical}.question-review-interface .rich-text-editor .uploaded-images{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:10px;margin-top:10px}.question-review-interface .rich-text-editor .image-item{background:#fff;border-radius:4px;padding:5px;box-shadow:0 1px 3px #0000001a}.question-review-interface .rich-text-editor .content-preview{border:1px solid #dee2e6;border-radius:4px;padding:12px;background-color:#f8f9fa;margin-top:10px}.question-review-interface .rich-text-editor .content-preview h6{color:#495057;font-size:13px;font-weight:600;margin-bottom:8px}.question-review-interface .rich-text-editor .btn{font-size:12px;padding:4px 8px}.question-review-interface .rich-text-editor .images-grid{margin-top:8px}.question-review-interface .rich-text-editor .image-item img{border:1px solid #ced4da}.question-review-interface .rich-text-editor{width:100%}.question-review-interface .rich-text-editor .form-control{border:1px solid #ced4da;border-radius:4px;padding:10px;width:100%}.question-review-interface .rich-text-editor .form-control:focus{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}body{background:var(--color-bg, #F8FAFC);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;margin:0;padding:0}.app-container{width:100vw;min-height:100vh;margin:0;background:var(--color-bg, #F8FAFC);border-radius:0;box-shadow:none;box-sizing:border-box;padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}h2{color:#1e293b;margin-bottom:1rem;font-weight:600}.error{color:#ef4444;background:#fee2e2;border-radius:6px;padding:8px 12px;text-align:center;font-size:.98rem}.switch-link{color:#4f46e5;background:none;border:none;cursor:pointer;font-size:1rem;text-decoration:underline;margin-left:.5rem}.user-info{background:#f1f5f9;border-radius:8px;padding:1rem;margin-top:1.5rem;font-size:.95rem;color:#1e293b}*{font-family:Inter,sans-serif}body{font-family:Inter,sans-serif;background-color:#f8fafc}aside .sidebar-item{background:transparent!important;border:none!important;box-shadow:none!important;margin:0!important;min-width:auto!important;min-height:auto!important;padding:.625rem 1rem!important;transition:background-color .2s,color .2s;width:100%!important}aside .sidebar-item:hover{background-color:#e0f2fe!important;color:#334155!important}aside .sidebar-item.active{background-color:#0ea5e9!important;color:#fff!important}.dashboard-header-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;margin-bottom:2rem;gap:2rem}.dashboard-title-section{flex:1}.dashboard-actions-section{width:420px;min-width:320px}@media (max-width: 1024px){.dashboard-header-container{flex-direction:column;align-items:stretch}.dashboard-actions-section{width:100%}}@media (max-width: 640px){.sidebar-collapsed-mobile{width:0!important}.main-content-mobile{padding-left:0!important}.stats-grid-mobile{grid-template-columns:repeat(1,1fr)!important;gap:16px!important}.dashboard-tabs button{padding:8px 16px;font-size:.875rem}.dashboard-content-wrapper,.dashboard-grid-item{width:100%;min-width:0;max-width:100vw;box-sizing:border-box}main{padding:16px!important}.dashboard-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:16px}}@media (min-width: 641px) and (max-width: 1024px){.stats-grid-mobile{grid-template-columns:repeat(2,1fr)!important}}.dashboard-root{max-width:100%;overflow-x:hidden;align-self:flex-start}.table-container{max-width:100%;overflow-x:auto}.min-h-screen{align-items:flex-start}main{padding-top:1rem!important}.dashboard-grid-item{min-width:0;width:100%}.dashboard-content-wrapper{display:flex;flex-direction:column;min-width:0;width:100%}
