@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap";*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{zoom:75%;-webkit-text-size-adjust:100%;font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app{min-height:133.333vh;color:var(--text);background:var(--bg);padding:16px}.app.theme-light{--bg:#fff;--surface:#fff;--text:#000;--muted:#000000a8;--line:#0003;--border:#00000026;--field:#0000000a;--surface-sunken:#0000000a;--inverseBg:#000;--inverseText:#fff;--danger:#dc2626;--success:#16a34a}.app.theme-dark{--bg:#000;--surface:#000;--text:#fff;--muted:#ffffffa8;--line:#ffffff3d;--border:#ffffff2e;--field:#ffffff14;--surface-sunken:#ffffff0f;--inverseBg:#fff;--inverseText:#000;--danger:#f87171;--success:#4ade80}.nav-bar{z-index:10;border:1px solid var(--line);background:var(--surface);grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:min(1160px,100%);margin:0 auto 40px;padding:10px;display:grid;position:sticky;top:12px}.brand-left,.brand-center,.nav-actions a,.nav-actions button,.hero-actions a,.auth-form button,.full-button,.test-head button,.secure-test button,.test-layout>button{border-radius:8px}.brand-left{place-items:center;width:42px;height:42px;padding:0;display:grid;overflow:hidden}.brand-logo{object-fit:contain;border-radius:8px;width:100%;height:100%;display:block}.theme-dark .brand-logo{background:#fefefe;padding:3px;box-shadow:0 0 0 1px #ffffff2e}.brand-center{border:1px solid var(--line);justify-self:center;padding:10px 16px;font-weight:800}.nav-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.nav-actions a,.nav-actions button,.hero-actions a,.auth-form button,.full-button,.test-head button,.secure-test button,.test-layout>button{border:1px solid var(--text);min-height:40px;color:var(--text);background:var(--surface);cursor:pointer;justify-content:center;align-items:center;padding:0 14px;font-weight:700;display:inline-flex}.nav-actions a:hover,.nav-actions button:hover,.hero-actions a:hover,.auth-form button:hover,.full-button:hover,.test-head button:hover,.secure-test button:hover,.test-layout>button:hover{color:var(--inverseText);background:var(--inverseBg)}.main-layout{gap:44px;width:min(1160px,100%);margin:0 auto;display:grid}.page-loading{min-height:55vh;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;align-content:center;place-items:center;gap:16px;font-size:.82rem;font-weight:700;display:grid}.page-loading:before{content:"";border:3px solid var(--line);border-top-color:var(--text);border-radius:50%;width:34px;height:34px;animation:.7s linear infinite page-spin}@keyframes page-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.page-loading:before{animation-duration:1.8s}}.hero-section{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,.9fr) minmax(300px,1.1fr);align-items:center;gap:28px;min-height:min(78vh,720px);padding-bottom:22px;display:grid}.hero-media{border:1px solid var(--line);min-height:420px;overflow:hidden}.hero-media img{object-fit:cover;filter:grayscale()contrast(1.1);width:100%;height:100%;min-height:420px;display:block}.eyebrow{color:var(--muted);letter-spacing:0;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:800}h1,h2,h3,p{margin:0}h1{letter-spacing:0;max-width:14ch;font-size:5rem;line-height:.98}h2{letter-spacing:0;font-size:1.6rem}.hero-section p,.auth-layout p,.test-head p,.section-band p,.panel p,.panel small,.result-panel p{color:var(--muted);line-height:1.65}.hero-section>div>p:not(.eyebrow),.auth-layout>div>p,.test-head p{max-width:64ch;margin-top:18px}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.hero-actions a,.full-button{align-items:center;display:inline-flex}.stats-grid,.exam-grid,.two-column{gap:14px;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.exam-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.section-band{border-top:1px solid var(--line);gap:18px;padding:28px 0;display:grid}.compact{align-content:start}.panel,.result-panel,.auth-form,.secure-test{border:1px solid var(--line);background:var(--surface);padding:18px}.panel{gap:10px;display:grid}.panel strong{font-size:1.8rem;line-height:1}.panel span,.flow-list span{color:var(--muted)}.panel-title{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.panel-title strong{font-size:1.5rem}.panel-title span{border:1px solid var(--line);padding:4px 8px;font-size:.82rem}.flow-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.flow-list li{border-bottom:1px solid var(--line);gap:5px;padding-bottom:14px;display:grid}.chip-grid{flex-wrap:wrap;gap:8px;display:flex}.chip-grid span{border:1px solid var(--line);border-radius:8px;padding:8px 10px}.auth-layout,.test-layout,.dashboard-layout,.teacher-questions-layout{grid-template-columns:minmax(0,.85fr) minmax(320px,1fr);align-items:start;gap:28px;display:grid}.auth-form,.test-layout,.dashboard-layout,.teacher-questions-layout{gap:16px;display:grid}.auth-form button,.full-button,.test-head button,.secure-test button,.test-layout>button{height:44px}.full-button.secondary,.auth-form button[type=submit],.secure-test button,.test-layout>button{color:var(--inverseText);background:var(--inverseBg)}.auth-form label,.secure-test label,.admin-comment{color:var(--muted);gap:7px;font-weight:700;display:grid}.auth-form input,.auth-form select,.teacher-question-form textarea,.secure-test textarea,.admin-comment textarea{border:1px solid var(--line);width:100%;min-height:44px;color:var(--text);background:var(--field);border-radius:8px;padding:10px 12px}.secure-test textarea{resize:vertical;min-height:150px}.teacher-question-form textarea{resize:vertical;min-height:120px}.admin-comment textarea{resize:vertical;min-height:96px}.dashboard-inline-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.test-controls{gap:8px;min-width:260px;display:grid}.test-controls label{color:var(--muted);gap:6px;font-weight:700;display:grid}.question-count{color:var(--text);font-weight:800}.test-controls select{border:1px solid var(--line);width:100%;min-height:44px;color:var(--text);background:var(--field);border-radius:8px;padding:10px 12px}.question-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-message{color:var(--text)}.test-layout{grid-template-columns:1fr}.test-head,.dashboard-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:18px;padding-bottom:24px;display:flex}.dashboard-layout,.teacher-questions-layout{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.table-panel{border:1px solid var(--line);display:grid}.table-panel p{color:var(--muted);padding:18px}.table-row{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 16px;display:grid}.admin-user-table .table-row{grid-template-columns:1fr 1.3fr .7fr 1.2fr .8fr 1.2fr}.table-row:last-child{border-bottom:0}.table-row span{overflow-wrap:anywhere}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.row-actions button{border:1px solid var(--text);min-height:34px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:8px;padding:0 10px;font-weight:700}.row-actions button:hover{color:var(--inverseText);background:var(--inverseBg)}.secure-test{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;gap:18px;display:grid;position:relative}.secure-test input[type=text],.secure-test input[type=number],.secure-test textarea{-webkit-user-select:text;user-select:text}.secure-test:after{content:attr(data-watermark);color:var(--text);opacity:.06;letter-spacing:.06em;pointer-events:none;z-index:999;white-space:nowrap;text-transform:uppercase;place-items:center;font-size:2.4rem;font-weight:800;display:grid;position:fixed;inset:0;transform:rotate(-22deg)}.option-list{gap:10px;display:grid}.option-list label{border:1px solid var(--line);border-radius:8px;grid-template-columns:20px 1fr;align-items:start;padding:12px}.option-list input{margin-top:4px}.footer{border-top:1px solid var(--line);width:min(1160px,100%);color:var(--muted);margin:44px auto 0;padding-top:18px}.footer p+p{margin-top:6px}@media (width<=900px){.nav-bar,.hero-section,.auth-layout{grid-template-columns:1fr}.brand-center,.nav-actions{justify-self:stretch}.brand-center{text-align:center}.nav-actions{justify-content:start}.hero-section{min-height:auto}.hero-media,.hero-media img{min-height:260px}.stats-grid,.exam-grid,.two-column,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}h1{font-size:3rem}}@media (width<=768px){body{zoom:1}.app{min-height:100vh;padding:12px}.nav-bar{grid-template-rows:auto auto;grid-template-columns:auto 1fr;margin-bottom:24px;padding:10px 12px;position:relative;top:auto}.brand-center{text-align:left;grid-area:1/2;justify-self:start}.brand-left{grid-area:1/1;width:36px;height:36px}.nav-actions{border-top:1px solid var(--line);grid-area:2/1/auto/-1;justify-content:start;gap:6px;margin-top:8px;padding-top:10px}.nav-actions a,.nav-actions button{flex:none;min-height:36px;padding:0 12px;font-size:.88rem}.table-panel{-webkit-overflow-scrolling:touch;overflow-x:auto}.admin-user-table .table-row{grid-template-columns:minmax(100px,1fr) minmax(140px,1.4fr) 80px minmax(90px,1fr) 80px minmax(100px,1.2fr);min-width:620px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats-grid,.exam-grid,.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.section-band{gap:14px;padding:20px 0}.auth-layout,.auth-form{grid-template-columns:1fr}[style*="position: fixed"][style*="justifyContent: center"],[style*="position: fixed"][style*="justify-content: center"]{align-items:flex-end!important;padding:0!important}.dashboard-inline-actions{flex-direction:column;align-items:flex-start;gap:8px}.dashboard-inline-actions .full-button,.dashboard-inline-actions button{width:100%}.table-row:not(.admin-user-table .table-row){grid-template-columns:1fr 1fr;gap:6px 12px}.panel strong{font-size:1.5rem}h2{font-size:1.3rem}.footer{margin-top:28px;font-size:.85rem}}@media (width<=560px){.app{padding:10px}h1{font-size:2.4rem}h2{font-size:1.2rem}.test-head,.dashboard-head{gap:12px;display:grid}.question-option-grid{grid-template-columns:1fr}.table-row:not(.admin-user-table .table-row){grid-template-columns:1fr;gap:4px}.stats-grid,.exam-grid,.two-column,.dashboard-grid{grid-template-columns:1fr}.nav-actions{flex-wrap:wrap}.nav-actions a,.nav-actions button{text-align:center;flex:auto;min-width:80px}.section-band{gap:12px;padding:16px 0}.panel{padding:14px}.row-actions{flex-direction:column;align-items:flex-start}.row-actions button{width:100%}.auth-form{padding:14px}}.question-nav-grid{flex-wrap:wrap;gap:6px;display:flex}@media (width<=768px){.question-nav-grid{gap:5px}.question-nav-grid button{width:32px!important;height:32px!important;font-size:.72rem!important}}@media (width<=400px){.question-nav-grid button{width:28px!important;height:28px!important;font-size:.68rem!important}}.scroll-x{-webkit-overflow-scrolling:touch;overflow-x:auto}@media (width<=768px){.secure-test:after{opacity:.04;font-size:1.6rem}}.tk-katex .katex,.tk-katex .katex-display{color:var(--text)}.tk-katex .katex-display{margin:0}.tk-markdown table{border-collapse:collapse;margin:6px 0;font-size:.9rem}.tk-markdown th,.tk-markdown td{border:1px solid var(--line);text-align:left;padding:6px 10px}.tk-markdown th{background:var(--surface-sunken);font-weight:700}.tk-markdown p{margin:6px 0}.tk-markdown code{background:var(--surface-sunken);border-radius:3px;padding:1px 4px;font-family:monospace}
