@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";@layer base,components;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--color-cyan-200:oklch(91.7% .08 205.041);--color-indigo-200:oklch(87% .065 274.039);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--ease-out:cubic-bezier(0, 0, .2, 1);--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.-top-20{top:calc(var(--spacing) * -20)}.-right-16{right:calc(var(--spacing) * -16)}.-z-10{z-index:calc(10 * -1)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mb-0{margin-bottom:0}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-52{height:calc(var(--spacing) * 52)}.w-52{width:calc(var(--spacing) * 52)}.max-w-72{max-width:calc(var(--spacing) * 72)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:2147483647px}.border{border-style:var(--tw-border-style);border-width:1px}.bg-indigo-200\/30{background-color:#c7d2ff4d}@supports (color:color-mix(in lab, red, red)){.bg-indigo-200\/30{background-color:color-mix(in oklab, var(--color-indigo-200) 30%, transparent)}}.py-4{padding-block:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[11px\]{font-size:11px}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.text-slate-100{color:var(--color-slate-100)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-white{color:var(--color-white)}.italic{font-style:italic}.underline{text-decoration-line:underline}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-500{--tw-duration:.5s;transition-duration:.5s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){.group-hover\:bg-cyan-200\/35:is(:where(.group):hover *){background-color:#a2f4fd59}@supports (color:color-mix(in lab, red, red)){.group-hover\:bg-cyan-200\/35:is(:where(.group):hover *){background-color:color-mix(in oklab, var(--color-cyan-200) 35%, transparent)}}}}:root{--primary:#4f46e5;--primary-light:#6366f1;--primary-dark:#4338ca;--primary-50:#eef2ff;--primary-100:#e0e7ff;--accent:#7c3aed;--accent-light:#8b5cf6;--success:#10b981;--success-light:#d1fae5;--warning:#f59e0b;--warning-light:#fef3c7;--danger:#ef4444;--danger-light:#fee2e2;--info:#3b82f6;--info-light:#dbeafe;--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;--sidebar-bg:#0f172a;--sidebar-hover:#1e293b;--sidebar-active:var(--primary);--sidebar-text:#94a3b8;--sidebar-text-active:#fff;--sidebar-width:260px;--sidebar-collapsed-width:72px;--header-height:64px;--content-bg:#f1f5f9;--card-bg:#fff;--card-border:#e2e8f0;--card-shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a;--card-shadow-hover:0 10px 25px #00000014;--radius:12px;--radius-sm:8px;--radius-lg:16px;--transition-fast:.15s cubic-bezier(.4, 0, .2, 1);--transition-base:.25s cubic-bezier(.4, 0, .2, 1);--transition-slow:.35s cubic-bezier(.4, 0, .2, 1)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;font-size:14px}html.student-drag-autoscroll-active{scroll-behavior:auto!important}body{background-color:var(--content-bg);color:var(--gray-800);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.6}html.modal-scroll-locked,body.modal-scroll-locked{overscroll-behavior:none}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-dark)}img{max-width:100%;height:auto}h1,h2,h3,h4,h5,h6{color:var(--gray-900);font-weight:700;line-height:1.3}.letterhead-text-preview{text-align:center;color:#111827;min-width:0;font-size:1rem;font-weight:700;line-height:1.22}.letterhead-text-preview div,.letterhead-text-preview p{white-space:nowrap!important;margin:0!important;padding:0!important;line-height:1.22!important}.letterhead-text-preview font[size="1"]{font-size:.75rem!important}.letterhead-text-preview font[size="2"]{font-size:.9rem!important}.letterhead-text-preview font[size="3"]{font-size:1rem!important}.letterhead-text-preview font[size="4"]{font-size:1.15rem!important}.letterhead-text-preview font[size="5"]{font-size:1.35rem!important}.letterhead-text-preview font[size="6"]{font-size:1.5rem!important}.letterhead-text-preview font[size="7"]{font-size:1.75rem!important}.card.letterhead-settings-card{border-color:#dbe4ef;box-shadow:0 10px 30px #0f172a0f}.card.letterhead-settings-card:hover{box-shadow:0 10px 30px #0f172a0f}.card-header.letterhead-card-header{padding:20px 24px}.letterhead-card-heading{align-items:center;gap:13px;display:flex}.letterhead-card-icon{background:var(--primary-50);border:1px solid var(--primary-100);color:var(--primary);border-radius:9px;flex:0 0 40px;justify-content:center;align-items:center;height:40px;display:inline-flex}.letterhead-card-heading h3{margin:0;font-size:1.08rem}.letterhead-card-heading p{color:var(--gray-500);margin:3px 0 0;font-size:.82rem;line-height:1.45}.letterhead-settings-card>.card-body{padding:24px}.letterhead-settings-grid{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);align-items:start;gap:24px 28px;display:grid}.letterhead-form-panel,.letterhead-settings-form{display:contents}.letterhead-editor-section{grid-area:1/1;min-width:0;margin-bottom:0!important}.letterhead-preview-panel{grid-area:2/1/span 2;min-width:0}.letterhead-section-title{color:var(--gray-700);margin-bottom:7px;font-size:.85rem;font-weight:600}.letterhead-editor-section>label,.letterhead-section-title{color:var(--gray-800);font-size:.9rem;font-weight:700}.letterhead-editor-shell{background:#fff;border:1px solid #cbd5e1;border-radius:9px;overflow:hidden}.letterhead-editor-toolbar{background:#f8fafc;border-bottom:1px solid #dbe4ef;flex-wrap:wrap;align-items:center;gap:5px;padding:7px 9px;display:flex}.letterhead-editor-toolbar .btn{color:var(--gray-700);background:#fff;border:1px solid #dbe4ef;border-radius:6px;justify-content:center;align-items:center;width:36px;height:32px;padding:0;display:inline-flex}.letterhead-editor-toolbar .btn:hover{background:var(--primary-50);border-color:var(--primary-100);color:var(--primary)}.letterhead-toolbar-select.form-control{background-color:#fff;border-color:#dbe4ef;border-radius:6px;width:112px;height:32px;padding:3px 28px 3px 8px;font-size:.75rem}.letterhead-toolbar-select.form-control.is-font{width:125px}.letterhead-editor-canvas{text-align:center;outline:none;min-height:178px;padding:24px 18px;font-family:Arial,sans-serif;font-size:.92rem;line-height:1.35}.letterhead-editor-meta{color:var(--gray-500);justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.letterhead-editor-meta small{align-items:center;gap:6px;font-size:.73rem;display:inline-flex}.letterhead-preview-stage{background:#f8fafc;border:1px solid #dbe4ef;border-radius:9px;justify-content:center;align-items:center;min-height:230px;padding:20px;display:flex}.letterhead-preview-note{color:var(--gray-500);background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:9px;margin-top:10px;padding:11px 13px;font-size:.74rem;line-height:1.5;display:flex}.letterhead-preview-note svg{color:#0284c7;flex:none}.letterhead-logo-stack{grid-area:1/2;gap:16px;min-width:0;display:grid}.letterhead-logo-control{background:#f8fafc;border:1px solid #dbe4ef;border-radius:10px;min-width:0;padding:16px}.letterhead-settings-card .letterhead-logo-control label{color:var(--gray-800);margin-bottom:10px;font-size:.9rem;font-weight:700}.letterhead-logo-file-row{background:#fff;border:1px solid #cbd5e1;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-width:0;padding:4px 5px 4px 11px;display:grid}.letterhead-logo-file-row>svg{color:var(--gray-500)}.letterhead-logo-filename{color:var(--gray-700);cursor:pointer;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;min-width:0;padding:7px 2px;font-size:.72rem;overflow:hidden}.letterhead-logo-filename:disabled{cursor:wait;opacity:.55}.letterhead-logo-preview-button,.letterhead-logo-delete-button{white-space:nowrap;background:#fff;border-color:#dbe4ef;align-items:center;gap:6px;height:34px;display:inline-flex}.letterhead-logo-delete-button{color:var(--danger);justify-content:center;width:35px;padding:0}.letterhead-logo-delete-button:hover{background:var(--danger-light);color:#dc2626;border-color:#fecaca}.letterhead-logo-control>small{color:var(--gray-500);margin-top:8px;font-size:.7rem;display:block}.letterhead-adjustment-grid{background:#f8fafc;border:1px solid #dbe4ef;border-radius:10px;grid-area:2/2;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;min-width:0;padding:16px;display:grid}.letterhead-adjustment-grid>h4{color:var(--gray-800);grid-column:1/-1;margin:0;font-size:.9rem}.letterhead-range-control{min-width:0}.letterhead-settings-card .letterhead-range-control label{color:var(--gray-700);margin-bottom:7px;font-size:.78rem}.letterhead-range-row{align-items:center;gap:10px;display:flex}.letterhead-range-row input[type=range]{accent-color:#0891b2;flex:auto;min-width:70px}.letterhead-range-row output{color:var(--gray-700);background:#fff;border:1px solid #dbe4ef;border-radius:7px;flex:none;justify-content:center;align-items:center;min-width:66px;padding-left:9px;font-size:.78rem;display:inline-flex;overflow:hidden}.letterhead-range-row output span{color:var(--gray-500);border-left:1px solid #e2e8f0;margin-left:7px;padding:6px 7px}.letterhead-border-toggle{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-column:1/-1;padding:11px 12px}.letterhead-border-toggle span{color:var(--gray-700);font-size:.78rem;font-weight:600}.letterhead-save-button{color:#fff;background:linear-gradient(135deg,#0891b2,#0e7490);border-color:#0000;grid-area:3/2;justify-content:center;align-items:center;gap:7px;height:44px;font-size:.88rem;font-weight:700;display:inline-flex}.letterhead-save-button:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#0e7490,#155e75);border-color:#0000}@media (width<=1050px){.letterhead-settings-grid{grid-template-columns:minmax(0,1fr)}.letterhead-editor-section{grid-area:1/1}.letterhead-preview-panel{grid-area:2/1}.letterhead-logo-stack{grid-area:3/1}.letterhead-adjustment-grid{grid-area:4/1}.letterhead-save-button{grid-area:5/1}}@media (width<=520px){.card-header.letterhead-card-header,.letterhead-settings-card>.card-body{padding-left:15px;padding-right:15px}.letterhead-settings-grid{gap:18px}.letterhead-adjustment-grid{grid-template-columns:minmax(0,1fr)}.letterhead-logo-control{padding:12px}.letterhead-logo-preview-button{justify-content:center;gap:0;width:35px;padding:0;font-size:0}.letterhead-editor-canvas{min-height:150px;padding:18px 12px}.letterhead-preview-stage{min-height:185px;padding:12px}}.card-kop-text{text-align:center;font-size:.54rem;line-height:1.15;overflow:hidden}.card-kop-text div,.card-kop-text p{white-space:nowrap!important;margin:0!important;padding:0!important;line-height:1.15!important}.card-kop-text font[size="4"],.card-kop-text font[size="5"],.card-kop-text font[size="6"],.card-kop-text font[size="7"],.card-kop-text span[style*=font-size],.card-kop-text p[style*=font-size]{font-size:1.22em!important;line-height:1.15!important}.card-kop-text font[size="1"],.card-kop-text font[size="2"],.card-kop-text font[size="3"]{font-size:.9em!important;line-height:1.15!important}h1{font-size:1.75rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.1rem}.app-layout{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);z-index:1000;height:100vh;transition:width var(--transition-base), transform var(--transition-base);flex-direction:column;display:flex;position:fixed;top:0;left:0;overflow:hidden}.sidebar.collapsed{width:var(--sidebar-collapsed-width)}.sidebar-brand{height:var(--header-height);min-height:var(--header-height);border-bottom:1px solid #ffffff0f;justify-content:flex-start;align-items:center;padding:10px 18px;display:flex;overflow:hidden}.sidebar-brand img{object-fit:contain;flex-shrink:0;display:block}.sidebar-brand-wordmark{object-position:left center;width:190px;height:48px}.sidebar.collapsed .sidebar-brand{justify-content:center;padding:9px}.sidebar-brand-symbol{width:42px;height:46px}.sidebar-brand h2{color:#fff;white-space:nowrap;-webkit-text-fill-color:transparent;background:linear-gradient(135deg,#818cf8,#c084fc);-webkit-background-clip:text;background-clip:text;font-size:1.2rem;font-weight:800}.sidebar-nav{flex:1;padding:12px 10px;overflow:hidden auto}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}.sidebar-label{text-transform:uppercase;letter-spacing:1.2px;color:var(--sidebar-text);opacity:.5;white-space:nowrap;transition:opacity var(--transition-fast);padding:16px 14px 6px;font-size:.7rem;font-weight:700}.sidebar.collapsed .sidebar-label{text-align:center;letter-spacing:0;padding:16px 0 6px;font-size:.6rem}.sidebar-link{border-radius:var(--radius-sm);color:var(--sidebar-text);transition:all var(--transition-fast);white-space:nowrap;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:.9rem;font-weight:500;display:flex}.sidebar.collapsed .sidebar-link{justify-content:center;padding:10px 0}.sidebar.collapsed .sidebar-link span{display:none}.sidebar-link:hover{background:var(--sidebar-hover);color:#e2e8f0}.sidebar-link.active{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;box-shadow:0 4px 12px #4f46e559}.sidebar-link svg{flex-shrink:0;width:20px;height:20px}.sidebar-link.logout{color:var(--danger)}.sidebar-link.logout:hover{background:#ef444426}.main-content{margin-left:var(--sidebar-width);min-height:100vh;transition:margin-left var(--transition-base);flex:1}.main-content.collapsed{margin-left:var(--sidebar-collapsed-width)}.top-header{z-index:900;-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--card-border);height:var(--header-height);background:#ffffffd9;justify-content:space-between;align-items:center;padding:0 24px;display:flex;position:sticky;top:0}.header-left{align-items:center;gap:12px;display:flex}.desktop-toggle{justify-content:center;align-items:center;display:flex}@media (width<=768px){.desktop-toggle{display:none}}.header-left h1,.header-title{color:var(--gray-900);margin:0;font-size:1.4rem;font-weight:800}.header-right{align-items:center;gap:16px;display:flex}.header-school{background:var(--primary-50);color:var(--primary-dark);border-radius:20px;align-items:center;gap:8px;padding:6px 14px;font-size:.85rem;font-weight:600;display:flex}.header-user{color:var(--gray-600);align-items:center;gap:8px;font-size:.85rem;font-weight:500;display:flex}.menu-toggle{cursor:pointer;border-radius:var(--radius-sm);color:var(--gray-600);transition:background var(--transition-fast);background:0 0;border:none;padding:8px;display:none}.menu-toggle:hover{background:var(--gray-100)}.page-content{width:100%;padding:24px}.breadcrumb{color:var(--gray-400);align-items:center;gap:8px;margin-bottom:4px;font-size:.8rem;display:flex}.breadcrumb a{color:var(--gray-500)}.breadcrumb a:hover{color:var(--primary)}.card{background:var(--card-bg);border-radius:var(--radius);border:1px solid var(--card-border);box-shadow:var(--card-shadow);transition:box-shadow var(--transition-base);overflow:hidden}.card:hover{box-shadow:var(--card-shadow-hover)}.card-header{border-bottom:1px solid var(--card-border);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.card-header h3{align-items:center;gap:8px;font-size:1rem;font-weight:600;display:flex}.card-body{padding:20px}.card-footer{border-top:1px solid var(--card-border);background:var(--gray-50);padding:12px 20px}.stat-card{border-radius:var(--radius);color:#fff;transition:transform var(--transition-base), box-shadow var(--transition-base);padding:20px;position:relative;overflow:hidden}.stat-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #0000001f}.stat-card .stat-icon{opacity:.2;font-size:3rem;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.stat-card .stat-icon svg{width:56px;height:56px}.stat-card h3{color:inherit;margin-bottom:4px;font-size:2rem;font-weight:800}.stat-card p{opacity:.85;font-size:.85rem;font-weight:500}.stat-card .stat-detail{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.stat-card .stat-detail span{white-space:nowrap;background:#fff3;border-radius:4px;padding:2px 8px;font-size:.7rem}.stat-card.bg-info{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-card.bg-success{background:linear-gradient(135deg,#10b981,#059669)}.stat-card.bg-warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-card.bg-primary{background:linear-gradient(135deg, var(--primary), var(--accent))}.stat-card.bg-danger{background:linear-gradient(135deg,#ef4444,#dc2626)}.stat-card.bg-purple{background:linear-gradient(135deg,#7c3aed,#6d28d9)}.stat-card.bg-secondary{background:linear-gradient(135deg,#64748b,#475569)}.grading-page-heading{background:linear-gradient(120deg,#fff 0%,#f7f5ff 58%,#eee9ff 100%);border:1px solid #e5e0ff;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:20px 22px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 28px #4f46e514}.grading-page-heading:after{content:"";background:#8b5cf617;border-radius:50%;width:150px;height:150px;position:absolute;top:-92px;right:74px}.grading-page-heading.is-report{background:linear-gradient(120deg,#fff 0%,#f3f8ff 58%,#e8f1ff 100%);border-color:#dbe8ff}.grading-page-heading.is-report:after{background:#3b82f614}.grading-page-heading-copy{z-index:1;align-items:center;gap:14px;min-width:0;display:flex;position:relative}.grading-page-heading-icon{color:#6d28d9;background:linear-gradient(135deg,#ede9fe,#ddd6fe);border:1px solid #7c3aed24;border-radius:14px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex;box-shadow:0 6px 16px #7c3aed1f}.grading-page-heading.is-report .grading-page-heading-icon{color:#2563eb;background:linear-gradient(135deg,#e0edff,#dbeafe);border-color:#2563eb24;box-shadow:0 6px 16px #2563eb1c}.grading-page-kicker{color:#7c3aed;letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:.68rem;font-weight:800;display:block}.grading-page-heading.is-report .grading-page-kicker{color:#2563eb}.grading-page-heading h2{color:var(--gray-900);margin:0 0 4px;font-size:1.35rem;line-height:1.25}.grading-page-heading p{color:var(--gray-500);margin:0;font-size:.8rem;line-height:1.5}.report-list-card-header{flex-wrap:wrap;padding-block:13px}.report-list-card-header>h3{flex:none}.report-header-filters{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.report-header-filters>select{flex:0 210px;width:210px;height:38px;padding-block:6px;font-size:.875rem}.report-header-filters>.btn{height:38px;padding-inline:12px}.report-filter-reset{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 2px 7px #d977063d}.report-filter-reset:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px);box-shadow:0 4px 12px #b453094d}.report-date-filter{color:var(--gray-600);white-space:nowrap;flex:none;align-items:center;gap:8px;font-size:.875rem;font-weight:700;display:flex}.report-date-filter>input[type=date]{width:150px;min-width:0;height:38px;padding-block:6px;font-size:.875rem}.report-row-actions{flex-wrap:nowrap;align-items:center;gap:8px;min-width:204px}.report-row-actions>.btn{flex:0 0 98px;min-height:34px;padding-inline:10px}.report-row-actions>.btn-success{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 7px #0596693d}.report-row-actions>.btn-success:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #05966952}.report-list-card .data-table input[type=checkbox],.grading-list-card .data-table input[type=checkbox]{accent-color:#4f46e5;cursor:pointer;width:16px;height:16px}:is(.report-list-card .data-table th:has(input[type=checkbox]),.report-list-card .data-table td:has(input[type=checkbox]),.grading-list-card .data-table th:has(input[type=checkbox]),.grading-list-card .data-table td:has(input[type=checkbox])){padding-inline:9px}.grading-row-actions{flex-wrap:nowrap;align-items:center;gap:8px;min-width:310px}.grading-row-actions>.btn{flex:0 0 98px;min-height:34px;padding-inline:10px}.report-bulk-actions{align-items:center;gap:8px;display:flex}.report-bulk-summary{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;align-items:center;gap:7px;min-height:36px;padding:5px 10px;font-size:.75rem;display:flex}.report-bulk-summary-icon{display:flex}.report-bulk-clear{color:#64748b;cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:4px;padding:7px 3px;font-size:.7rem;font-weight:700;display:inline-flex}.report-bulk-clear:hover{color:#dc2626}.grading-bulk-delete-summary{color:#be123c;background:#fff1f2;border-color:#fecdd3}.grading-bulk-delete-button{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#dc2626,#e11d48);border:0;min-height:36px;padding:7px 12px;font-size:.75rem;box-shadow:0 5px 14px #dc262638}.grading-bulk-delete-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px #dc26264d}.grading-bulk-delete-preview{color:#334155;background:#fff7f7;border:1px solid #fecdd3;border-radius:12px;padding:11px 13px}.grading-bulk-delete-preview>strong{color:#9f1239;margin-bottom:6px;font-size:.82rem;display:block}.grading-bulk-delete-preview ul{gap:4px;margin:0;padding-left:18px;list-style:outside;display:grid}.grading-bulk-delete-preview li{font-size:.75rem;line-height:1.35}.grading-bulk-delete-preview li span,.grading-bulk-delete-preview small{color:#64748b}.grading-bulk-delete-preview small{margin-top:6px;font-size:.7rem;display:block}.report-combined-download,.report-cross-grade-download{color:#fff;white-space:nowrap;background:linear-gradient(135deg,#4f46e5,#7c3aed);border:0;min-height:36px;padding:7px 12px;font-size:.75rem;box-shadow:0 5px 14px #4f46e53d}.report-cross-grade-download{background:linear-gradient(135deg,#0891b2,#2563eb);box-shadow:0 5px 14px #0891b23d}.report-combined-download:hover:not(:disabled),.report-cross-grade-download:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px #4f46e552}.report-cross-grade-download:hover:not(:disabled){box-shadow:0 8px 18px #0891b252}.report-download-modal{max-width:700px;overflow:hidden}.report-download-modal .modal-header{background:linear-gradient(110deg,#fff,#f8faff);padding:18px 22px}.report-download-modal .modal-header h3{color:#172033;font-size:1.05rem}.report-download-modal .modal-body{background:#fbfcff;padding:18px 22px 22px}.report-download-hero{color:#fff;background:radial-gradient(circle at 90% -20%,#818cf847,#0000 42%),linear-gradient(125deg,#312e81,#4f46e5 58%,#2563eb);border-radius:16px;align-items:center;gap:13px;padding:15px 17px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 24px #312e8133}.report-download-hero:after{content:"";border:16px solid #ffffff14;border-radius:50%;width:76px;height:76px;position:absolute;top:-31px;right:-19px}.report-download-hero-icon{background:#ffffff24;border:1px solid #fff3;border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;height:46px;display:flex}.report-download-hero>div{z-index:1;min-width:0;position:relative}.report-download-kicker{color:#c7d2fe;letter-spacing:.15em;margin-bottom:3px;font-size:.6rem;font-weight:800;display:block}.report-download-hero strong{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;display:block;overflow:hidden}.report-download-hero p{color:#e0e7ff;margin:3px 0 0;font-size:.72rem}.report-download-hero p span{opacity:.7;margin-inline:4px}.report-download-intro{margin:13px 2px 14px;line-height:1.55}.report-download-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.report-download-option{--report-accent:#4f46e5;--report-accent-dark:#3730a3;--report-soft:#eef2ff;background:linear-gradient(145deg, #fff, var(--report-soft));border:1.5px solid var(--report-accent);align-items:flex-start}@supports (color:color-mix(in lab, red, red)){.report-download-option{border:1.5px solid color-mix(in srgb, var(--report-accent) 24%, white)}}.report-download-option{color:var(--gray-800);cursor:pointer;font:inherit;text-align:left;min-height:154px;transition:border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);border-radius:15px;gap:12px;width:100%;padding:15px;display:flex;position:relative}.report-download-option.is-simple{--report-accent:#059669;--report-accent-dark:#047857;--report-soft:#ecfdf5}.report-download-option.is-complete{--report-accent:#4f46e5;--report-accent-dark:#3730a3;--report-soft:#eef2ff}.report-download-option:hover:not(:disabled){border-color:var(--report-accent);box-shadow:0 12px 24px var(--report-accent)}@supports (color:color-mix(in lab, red, red)){.report-download-option:hover:not(:disabled){box-shadow:0 12px 24px color-mix(in srgb, var(--report-accent) 18%, transparent)}}.report-download-option:hover:not(:disabled){transform:translateY(-2px)}.report-download-option:focus-visible{outline:3px solid var(--report-accent)}@supports (color:color-mix(in lab, red, red)){.report-download-option:focus-visible{outline:3px solid color-mix(in srgb, var(--report-accent) 22%, transparent)}}.report-download-option:focus-visible{outline-offset:2px}.report-download-option:disabled{cursor:wait;opacity:.7}.report-download-option-icon{background:var(--report-accent);box-shadow:0 6px 14px var(--report-accent);border-radius:11px;align-items:center}@supports (color:color-mix(in lab, red, red)){.report-download-option-icon{box-shadow:0 6px 14px color-mix(in srgb, var(--report-accent) 28%, transparent)}}.report-download-option-icon{color:#fff;flex:0 0 43px;justify-content:center;height:43px;display:flex}.report-download-option-copy{min-width:0}.report-download-option-label{color:var(--report-accent-dark);letter-spacing:.12em;margin:1px 0 4px;font-size:.57rem;font-weight:900;display:block}.report-download-option strong,.report-download-option small{display:block}.report-download-option strong{margin-bottom:6px;font-size:.92rem}.report-download-option small{color:var(--gray-500);font-size:.7rem;line-height:1.48}.report-download-option-cta{color:var(--report-accent-dark);align-items:center;gap:5px;font-size:.67rem;font-weight:800;display:inline-flex;position:absolute;bottom:14px;left:70px}.grading-heading-refresh{z-index:1;flex:none;position:relative}.grading-detail-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.grading-back-button{background:#fff;padding-inline:16px;box-shadow:0 4px 14px #0f172a0d}.grading-schedule-hero{background:linear-gradient(120deg,#fff 0%,#faf8ff 55%,#f0ecff 100%);border:1px solid #e2dcff;border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(270px,auto);gap:22px;margin-bottom:20px;padding:22px 24px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 28px #4f46e514}.grading-schedule-hero.is-report{background:linear-gradient(120deg,#fff 0%,#f6faff 55%,#eaf3ff 100%);border-color:#dce9ff}.grading-schedule-hero:after{content:"";background:#8b5cf614;border-radius:50%;width:170px;height:170px;position:absolute;top:-92px;right:-54px}.grading-schedule-hero.is-report:after{background:#3b82f612}.grading-schedule-hero-copy,.grading-schedule-hero-side{z-index:1;min-width:0;position:relative}.grading-schedule-kicker{color:#6d28d9;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;margin-bottom:8px;font-size:.7rem;font-weight:800;display:inline-flex}.grading-schedule-hero.is-report .grading-schedule-kicker{color:#2563eb}.grading-schedule-hero h2{color:var(--gray-900);margin:0 0 13px;font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.25}.grading-schedule-meta{flex-wrap:wrap;gap:8px;display:flex}.grading-schedule-meta>span{color:var(--gray-600);background:#ffffffc7;border:1px solid #e6e2f6;border-radius:999px;align-items:center;gap:6px;min-width:0;padding:6px 10px;font-size:.73rem;font-weight:650;display:inline-flex}.grading-schedule-meta>span svg{color:#7c3aed;flex:none}.grading-schedule-hero.is-report .grading-schedule-meta>span svg{color:#2563eb}.grading-schedule-hero-side{flex-direction:column;justify-content:center;align-items:flex-end;gap:10px;display:flex}.grading-result-status{border:1px solid;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.grading-result-status.is-released{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.grading-result-status.is-locked{color:#64748b;background:#f8fafc;border-color:#dbe2ea}.grading-schedule-time{background:#ffffffd1;border:1px solid #e5e7f2;border-radius:12px;align-items:center;gap:10px;max-width:390px;padding:9px 11px;display:flex}.grading-schedule-time>svg{color:#7c3aed;flex:none}.grading-schedule-hero.is-report .grading-schedule-time>svg{color:#2563eb}.grading-schedule-time div{gap:2px;min-width:0;display:grid}.grading-schedule-time small{color:var(--gray-400);text-transform:uppercase;font-size:.64rem;font-weight:700}.grading-schedule-time strong{color:var(--gray-700);font-size:.71rem;line-height:1.4}.grading-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:24px;display:grid}.grading-summary-card{isolation:isolate;border:1px solid;border-radius:16px;align-items:center;min-height:102px;padding:16px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 22px #0f172a12}.grading-summary-card:before{content:"";z-index:-1;background:#ffffff75;border-radius:50%;width:108px;height:108px;position:absolute;top:-48px;right:-28px}.grading-summary-content{z-index:2;flex-direction:column;align-items:flex-start;min-width:0;max-width:calc(100% - 84px);display:flex;position:relative}.grading-summary-content>strong{font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin-bottom:8px;font-size:clamp(1.55rem,2.2vw,1.9rem);font-weight:800;line-height:1}.grading-summary-content>span{color:var(--gray-700);font-size:.72rem;font-weight:750;line-height:1.35}.grading-summary-content>span small{font-size:inherit;font-weight:650}.grading-summary-illustration{filter:drop-shadow(0 8px 10px #312e811f);object-fit:contain;object-position:center;pointer-events:none;z-index:1;width:88px;height:calc(100% - 16px);max-height:88px;position:absolute;top:8px;right:10px}.grading-summary-card.is-submitted{background:linear-gradient(135deg,#fff 0%,#f5f1ff 55%,#eee8ff 100%);border-color:#e3d9ff}.grading-summary-card.is-submitted .grading-summary-content>strong{color:#4f2cc9}.grading-summary-card.is-pending{background:linear-gradient(135deg,#fff 0%,#fff8ed 55%,#ffedd5 100%);border-color:#f8dfbc}.grading-summary-card.is-pending .grading-summary-content>strong{color:#d97706}.grading-summary-card.is-final{background:linear-gradient(135deg,#fff 0%,#effcf5 55%,#dcf8e9 100%);border-color:#c8eedb}.grading-summary-card.is-final .grading-summary-content>strong{color:#059669}.grading-summary-card.is-average{background:linear-gradient(135deg,#fff 0%,#eff6ff 55%,#e0edff 100%);border-color:#d1e2ff}.grading-summary-card.is-average .grading-summary-content>strong{color:#1d4ed8}.grading-summary-card.is-highest{background:linear-gradient(135deg,#fff 0%,#f5f2ff 55%,#ece7ff 100%);border-color:#dfd6ff}.grading-summary-card.is-highest .grading-summary-content>strong{color:#5b21b6}.grading-attempt-summary{border-color:#dde5f0;border-radius:18px;margin-bottom:22px;overflow:hidden;box-shadow:0 10px 28px #0f172a12}.grading-attempt-summary>.card-body{padding:22px}.grading-attempt-student-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.grading-attempt-kicker{color:#6d28d9;letter-spacing:.09em;text-transform:uppercase;margin-bottom:4px;font-size:.68rem;font-weight:800;display:block}.grading-attempt-student-header h2{color:var(--gray-900);margin:0 0 5px;font-size:1.3rem;line-height:1.3}.grading-attempt-student-header p{color:var(--gray-500);margin:0;font-size:.78rem;line-height:1.5}.grading-attempt-divider{border:0;border-top:1px solid #e5eaf2;margin:18px 0}.grading-score-strip{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;display:grid}.grading-score-strip>div{background:var(--score-bg,var(--gray-50));border:1px solid var(--score-border,var(--gray-200));border-radius:13px;flex-direction:column;justify-content:center;gap:7px;min-height:88px;padding:14px 15px;display:flex;position:relative;overflow:hidden}.grading-score-strip span{color:var(--score-label,var(--gray-500));font-size:.69rem;font-weight:700;line-height:1.35}.grading-score-strip strong{color:var(--gray-900);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.2rem;line-height:1.3}.grading-score-strip .is-package strong{font-size:1.05rem}.grading-score-strip .is-package{--score-accent:#7c3aed;--score-bg:linear-gradient(135deg, #faf8ff, #f0ebff);--score-border:#dfd5ff;--score-label:#6d28d9}.grading-score-strip .is-correct{--score-accent:#10b981;--score-bg:linear-gradient(135deg, #f6fffb, #e8fbf2);--score-border:#ced;--score-label:#047857}.grading-score-strip .is-answered{--score-accent:#0891b2;--score-bg:linear-gradient(135deg, #f5fdff, #e5f8fc);--score-border:#c8eaf1;--score-label:#0e7490}.grading-score-strip .is-auto{--score-accent:#3b82f6;--score-bg:linear-gradient(135deg, #f7fbff, #e9f2ff);--score-border:#cee0fb;--score-label:#2563eb}.grading-score-strip .is-manual{--score-accent:#f59e0b;--score-bg:linear-gradient(135deg, #fffcf5, #fff3d9);--score-border:#f3dfb3;--score-label:#b45309}.grading-score-strip .is-earned{--score-accent:#8b5cf6;--score-bg:linear-gradient(135deg, #fbf9ff, #f0eaff);--score-border:#ddd3f8;--score-label:#7c3aed}.grading-score-strip .is-total{--score-accent:#f97316;--score-bg:linear-gradient(135deg, #fffaf6, #ffede1);--score-border:#f6d6c0;--score-label:#c2410c}.grading-score-strip .is-final{--score-accent:#db2777;--score-bg:linear-gradient(135deg, #fff8fb, #fce7f3);--score-border:#f3cde0;--score-label:#be185d}.grading-score-strip .is-final strong{color:#9d174d;font-size:1.3rem}.grading-answer-list{gap:12px;display:grid}.grading-answer-card{scroll-margin-top:90px}.grading-answer-card .grading-question-card-header{background:#fff;min-height:0;padding:11px 16px}.grading-question-meta{align-items:center;gap:10px;min-width:0;display:flex}.grading-question-meta .question-number-badge{background:var(--primary);color:#fff;border:2px solid #c7d2fe;border-radius:50%;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.88rem;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 2px 7px #4f46e538}.grading-question-meta h3{margin:0;font-size:.88rem}.grading-question-meta p{color:var(--gray-500);text-transform:uppercase;margin:2px 0 0;font-size:.68rem;line-height:1.4}.grading-question-meta p span{margin:0 4px}.grading-question-meta p strong{color:var(--gray-700)}.grading-question-result{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.grading-answer-card>.card-body{padding:14px 16px 16px}.grading-answer-card .student-question-card{box-shadow:none;border:0;min-height:0;padding:0}.grading-answer-card .student-question-prompt{font-size:.88rem;line-height:1.55}.grading-answer-card .student-answer-options{gap:7px;margin-top:13px}.grading-answer-card .student-answer-option{gap:8px;min-height:42px;padding:7px 9px}.grading-answer-card .match-up-answer,.grading-answer-card .group-sort-answer,.grading-answer-card .reorder-answer,.grading-answer-card .word-arrangement-answer,.grading-answer-card .labelled-diagram-answer,.grading-answer-card .student-text-answer{margin-top:13px}.grading-essay-photos{flex-direction:column;gap:8px;margin-top:14px;display:flex}.grading-essay-photos>strong{color:var(--gray-700);font-size:.78rem}.grading-essay-photo-gallery{flex-wrap:wrap;gap:10px;display:flex}.grading-essay-photo-thumb{border:1.5px solid var(--gray-200);cursor:pointer;background:0 0;border-radius:9px;flex-shrink:0;width:110px;height:110px;padding:0;transition:border-color .15s,transform .12s;display:block;position:relative;overflow:hidden}.grading-essay-photo-thumb:hover{border-color:var(--primary);transform:scale(1.04)}.grading-essay-photo-thumb img{object-fit:cover;width:100%;height:100%;display:block}.grading-photo-zoom-icon{color:#fff;background:#00000073;border-radius:4px;padding:2px 5px;font-size:.75rem;transition:opacity .15s;position:absolute;bottom:5px;right:5px}.grading-essay-photo-thumb:hover .grading-photo-zoom-icon{background:#000000b8}.grading-lightbox-overlay{z-index:9999;background:#000000e0;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.grading-lightbox-box{background:#111;border-radius:16px;flex-direction:column;width:100%;max-width:860px;max-height:92vh;display:flex;overflow:hidden;box-shadow:0 12px 60px #000000b3}.grading-lightbox-header{color:#fff;background:#1c1c1e;justify-content:space-between;align-items:center;padding:12px 18px;font-size:.88rem;font-weight:600;display:flex}.grading-lightbox-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:7px;padding:6px 12px;font-size:.8rem;font-weight:600;text-decoration:none;transition:background .15s}.grading-lightbox-btn:hover{background:#ffffff3d}.grading-lightbox-btn.is-close{padding:6px 10px}.grading-lightbox-btn.is-close:hover{background:#dc262699}.grading-lightbox-viewport{-webkit-user-select:none;user-select:none;background:#000;flex:1;min-height:320px;position:relative;overflow:hidden}.grading-lightbox-viewport.is-zoomed{cursor:grab}.grading-lightbox-viewport.is-zoomed:active{cursor:grabbing}.grading-lightbox-img{object-fit:contain;cursor:zoom-in;width:100%;height:100%;max-height:62vh;transition:transform .15s;display:block}.grading-lightbox-viewport.is-zoomed .grading-lightbox-img{cursor:zoom-out;transition:none}.grading-lightbox-zoom-hint{color:#ccc;pointer-events:none;background:#00000073;border-radius:5px;padding:4px 10px;font-size:.72rem;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.grading-lightbox-zoom-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#ccc;pointer-events:none;letter-spacing:.03em;background:#00000080;border-radius:5px;padding:4px 9px;font-size:.72rem;font-weight:600;transition:background .2s,color .2s;position:absolute;bottom:10px;left:10px}.grading-lightbox-zoom-badge.is-active{color:#fff;background:#6366f1bf}.grading-lightbox-nav{background:#1c1c1e;justify-content:center;align-items:center;gap:12px;padding:12px 16px;display:flex}.grading-lightbox-nav-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:50%;width:38px;height:38px;padding:0;font-size:1.4rem;line-height:1;transition:background .15s}.grading-lightbox-nav-btn:hover{background:#ffffff47}.grading-lightbox-dots{gap:7px;display:flex}.grading-lightbox-dot{cursor:pointer;background:#ffffff47;border:none;border-radius:50%;width:10px;height:10px;padding:0;transition:background .15s}.grading-lightbox-dot.active{background:#fff}.grading-answer-key{background:var(--info-light);border-radius:var(--radius-sm);color:#1e3a8a;border:1px solid #93c5fd;margin-top:12px;padding:9px 11px;font-size:.8rem;line-height:1.55}.grading-answer-key.is-rubric{gap:8px;display:grid}.grading-rubric-preview{color:var(--gray-800);background:#ffffffb8;border:1px solid #93c5fdb3;border-radius:7px;padding:10px 12px;line-height:1.6}.grading-rubric-preview .rich-text-view ul,.grading-rubric-preview .rich-text-view ol{margin:5px 0}.grading-manual-mode-note{border-radius:var(--radius-sm);color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;margin-bottom:12px;padding:9px 12px;font-size:.82rem;font-weight:650}.grading-manual-empty{min-height:190px}.grading-match-answer-key{gap:7px;margin-top:8px;display:grid}.grading-match-answer-key>div{background:#ffffff9e;border-radius:7px;grid-template-columns:24px minmax(0,1fr) 18px minmax(0,1fr);align-items:flex-start;gap:8px;padding:7px;display:grid}.grading-match-answer-key>div>span{background:#dbeafe;border-radius:5px;justify-content:center;align-items:center;height:24px;font-size:.68rem;font-weight:750;display:flex}.grading-match-answer-key>div>b{text-align:center}.grading-match-answer-key .rich-text-view{min-width:0}.grading-group-answer-key{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.grading-group-answer-key>div{background:#ffffff9e;border-radius:7px;gap:6px;padding:8px;display:grid}.grading-group-title{color:#1e40af;font-size:.75rem;font-weight:750}.grading-group-answer-key>div>.rich-text-view:not(:first-child){background:var(--success-light);color:var(--gray-800);border-radius:5px;padding:5px;font-size:.78rem}.grading-order-answer-key{gap:6px;margin-top:8px;display:grid}.grading-order-answer-key>div{background:#ffffff9e;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:flex-start;gap:8px;padding:7px;display:grid}.grading-order-answer-key>div>span{background:#dbeafe;border-radius:5px;justify-content:center;align-items:center;height:24px;font-size:.68rem;font-weight:750;display:flex}.essay-grade-panel{border-radius:var(--radius);background:#fffbeb;border:1px solid #fde68a;margin-top:16px;padding:18px}.grading-audit-list{gap:12px;display:grid}.grading-audit-item{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:var(--radius-sm);align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.grading-audit-item svg{color:var(--success);flex:none;margin-top:2px}.grading-audit-item p{color:var(--gray-500);margin:3px 0;font-size:.76rem}.grading-audit-item small{color:var(--gray-700)}@media (width<=1400px) and (width>=901px){.grading-score-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=900px){.grading-page-heading{align-items:flex-start}.report-list-card-header{flex-direction:column;align-items:stretch}.report-header-filters{justify-content:flex-start;width:100%;margin-left:0}.grading-schedule-hero{grid-template-columns:1fr}.grading-schedule-hero-side{align-items:flex-start}.grading-summary-grid,.grading-score-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.grading-score-strip>div:first-child{grid-column:1/-1}}@media (width<=1200px) and (width>=901px){.grading-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.grading-page-heading{flex-direction:column;align-items:stretch;padding:17px}.grading-page-heading-copy{align-items:flex-start}.grading-heading-refresh{width:100%}.grading-detail-actions{flex-direction:column;align-items:stretch;margin-bottom:16px}.grading-detail-actions>.btn,.grading-detail-actions>.btn-group{width:100%}.grading-detail-actions>.btn-group>.btn{flex:auto}.grading-schedule-hero{border-radius:15px;padding:18px}.grading-schedule-time{align-items:flex-start;width:100%;max-width:none}.grading-summary-grid{grid-template-columns:1fr}.grading-summary-card{min-height:96px}.grading-attempt-summary>.card-body{padding:17px}.grading-score-strip{grid-template-columns:1fr}.grading-score-strip>div:first-child{grid-column:auto}.grading-answer-card .grading-question-card-header{flex-direction:column;align-items:flex-start;padding:10px 12px}.grading-question-result{justify-content:flex-start;padding-left:42px}.grading-answer-card>.card-body{padding:12px}.report-header-filters{grid-template-columns:1fr;display:grid}.report-date-filter,.report-header-filters>select,.report-header-filters>.btn{width:100%;max-width:none;margin-left:0}.report-date-filter{grid-template-columns:58px minmax(0,1fr);display:grid}.report-date-filter>input[type=date]{width:100%}.report-bulk-actions{flex-wrap:wrap;align-items:stretch;width:100%}.report-bulk-summary{flex:auto}.report-combined-download,.report-cross-grade-download{flex:100%}.report-download-modal .modal-header{padding:16px 17px}.report-download-modal .modal-body{padding:14px 17px 18px}.report-download-hero{border-radius:14px;padding:14px}.report-download-options{grid-template-columns:1fr}.report-download-option{min-height:148px}}@media print{.sidebar,.top-header,.grading-no-print,.table-toolbar,.breadcrumb{display:none!important}.main-content,.main-content.collapsed{margin-left:0!important}.page-content{padding:0!important}.grading-print-area .card,.grading-print-area .stat-card,.grading-print-area .grading-schedule-hero,.grading-print-area .grading-summary-card{break-inside:avoid;box-shadow:none!important}.grading-print-area .data-table-wrapper{overflow:visible}.grading-print-area .data-table{font-size:10px}}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px;display:grid}.btn{border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast);white-space:nowrap;border:none;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.4;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed}.btn svg{width:16px;height:16px}.btn-primary{background:linear-gradient(135deg, var(--primary), var(--primary-dark));color:#fff;box-shadow:0 2px 8px #4f46e540}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #4f46e566}.btn-success{background:var(--success);color:#fff}.btn-success:hover:not(:disabled){background:#059669}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-warning{background:var(--warning);color:#fff}.btn-info{background:var(--info);color:#fff}.btn-ghost{color:var(--gray-600);border:1px solid var(--gray-200);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--gray-50);border-color:var(--gray-300)}.btn-sm{min-height:34px;padding:6px 12px;font-size:.8rem}.btn-lg{padding:12px 28px;font-size:1rem}.btn-block{width:100%}.btn-icon{border-radius:var(--radius-sm);width:36px;height:36px;padding:0}.btn-sm.btn-icon{width:34px;height:34px;min-height:34px}.btn-group{flex-wrap:wrap;gap:8px;display:flex}.form-group{margin-bottom:16px}.form-group label{color:var(--gray-700);margin-bottom:6px;font-size:.85rem;font-weight:600;display:block}.form-group label .required{color:var(--danger)}.form-control{border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);width:100%;color:var(--gray-800);transition:border-color var(--transition-fast), box-shadow var(--transition-fast);background:#fff;padding:10px 14px;font-family:inherit;font-size:.9rem}.form-control:focus{border-color:var(--primary-light);box-shadow:0 0 0 3px var(--primary-50);outline:none}.form-control::placeholder{color:var(--gray-400)}select.form-control{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.form-text{color:var(--gray-500);margin-top:4px;font-size:.78rem}.toggle-wrapper{align-items:center;gap:10px;display:flex}.toggle{background:var(--gray-300);cursor:pointer;width:44px;height:24px;transition:background var(--transition-fast);border:none;border-radius:12px;padding:0;position:relative}.toggle.active{background:var(--success)}.toggle:after{content:"";width:20px;height:20px;transition:transform var(--transition-fast);background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.toggle.active:after{transform:translate(20px)}.data-table-wrapper{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:.875rem}.data-table th{text-align:left;color:var(--primary-dark);background:var(--primary-50);border-bottom:2px solid var(--primary-100);white-space:nowrap;text-transform:uppercase;letter-spacing:.5px;padding:12px 16px;font-size:.8rem;font-weight:600}.data-table td{border-bottom:1px solid var(--gray-100);color:var(--gray-700);vertical-align:middle;padding:12px 16px}.data-table tbody tr{transition:background var(--transition-fast)}.data-table tbody tr:hover{background:var(--gray-50)}.table-actions{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.data-table td .btn.btn-sm:not(.btn-icon){min-width:98px;min-height:34px;padding-inline:10px}.master-data-header-actions{align-items:center}.master-data-header-actions>.btn:not(.btn-icon){min-width:98px}.teacher-assignment-row{grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px;margin-bottom:8px;display:grid}.teacher-assignment-fields{border:1px solid var(--gray-200);border-radius:8px;grid-template-columns:minmax(0,1.55fr) repeat(3,minmax(0,1fr));gap:8px;padding:10px;display:grid}.teacher-assignment-fields .form-control{min-width:0}.teacher-assignment-remove{place-self:center end}.essay-package-open-button{min-width:84px}.essay-back-to-package{min-height:42px;padding:9px 16px;font-size:.84rem;font-weight:750;box-shadow:0 7px 16px #4f46e538}.essay-back-to-package:hover{box-shadow:0 9px 20px #4f46e54d}.essay-workspace{gap:14px;min-width:0;max-width:100%;display:grid}.essay-workspace>div{min-width:0;max-width:100%}.essay-workspace .data-table-wrapper{overscroll-behavior-inline:contain;scrollbar-color:#aeb8d4 #eef1f8;scrollbar-width:thin;width:100%;max-width:100%;overflow-x:auto}.essay-workspace .data-table-wrapper::-webkit-scrollbar{height:10px}.essay-workspace .data-table-wrapper::-webkit-scrollbar-track{background:#eef1f8;border-radius:999px}.essay-workspace .data-table-wrapper::-webkit-scrollbar-thumb{background:#aeb8d4;border:2px solid #eef1f8;border-radius:999px}.essay-workspace .data-table{width:max-content;min-width:100%}.essay-workspace .data-table th,.essay-workspace .data-table td{white-space:nowrap}.essay-workspace .data-table th:first-child,.essay-workspace .data-table td:first-child{z-index:3;width:170px;min-width:170px;max-width:170px;position:sticky;left:0}.essay-workspace .data-table th:nth-child(2),.essay-workspace .data-table td:nth-child(2){z-index:3;width:90px;min-width:90px;position:sticky;left:170px}.essay-workspace .data-table th:first-child,.essay-workspace .data-table th:nth-child(2){z-index:5;background:#eef0ff}.essay-workspace .data-table td:first-child,.essay-workspace .data-table td:nth-child(2){box-shadow:1px 0 0 var(--gray-200);background:#fff}.essay-workspace-heading{background:linear-gradient(135deg,#f8faff,#f4f1ff);border:1px solid #dfe3f4;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;display:flex}.essay-workspace-heading>div{text-align:right;gap:2px;display:grid}.essay-workspace-heading strong{color:var(--gray-900);font-size:.9rem}.essay-workspace-heading span{color:var(--gray-500);font-size:.74rem}.essay-classroom-filter{align-items:center;gap:8px;display:flex}.essay-classroom-filter>span{color:var(--gray-600);white-space:nowrap;font-size:.76rem;font-weight:700}.essay-classroom-filter .form-control{min-width:180px}.essay-status-button{border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-width:112px;min-height:30px;padding:5px 10px;font-size:.78rem;font-weight:750;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}button.essay-status-button{cursor:pointer}button.essay-status-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 12px #0f172a1f}.essay-status-button.is-pending{color:#8a5708;background:#fff7dd;border-color:#f4cf68}.essay-status-button.is-graded{color:#166534;background:#e8f8ef;border-color:#8dd6ad}.essay-status-button.is-unanswered{background:var(--gray-100);border-color:var(--gray-200);color:var(--gray-500)}.essay-status-button:disabled{cursor:wait;opacity:.75}.essay-status-button .spinner{width:14px;height:14px}.essay-total-points{justify-content:center;min-width:92px}.essay-grading-modal.modal-xl{max-width:980px}.essay-grading-modal .modal-body{background:#f8fafc;padding:18px}.essay-grading-question-container{border-radius:12px;margin-bottom:14px;overflow:hidden;box-shadow:0 3px 12px #4f46e50f}.essay-grading-question-header{background:linear-gradient(135deg,#f5f7ff,#eef2ff);border:1px solid #c7d2fe;align-items:center;gap:12px;padding:13px 16px;display:flex}.essay-grading-question-header .question-number-badge{color:#fff;background:linear-gradient(135deg,#5b4cf0,#4338ca);border:3px solid #dfe3ff;border-radius:50%;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.92rem;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 4px 10px #4338ca3d}.essay-grading-question-header h3{color:#1e1b4b;margin:0 0 5px;font-size:.94rem}.essay-question-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.essay-question-badges>span{text-transform:uppercase;border:1px solid #0000;border-radius:999px;padding:5px 8px;font-size:.67rem;font-weight:800;line-height:1}.essay-question-type-badge{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd!important}.essay-question-points-badge{color:#c2410c;background:#ffedd5;border-color:#fdba74!important}.essay-grading-answer{background:#fff;border:1px solid #c7d2fe;border-top:0;padding:17px 16px}.essay-grading-answer .student-question-card{box-shadow:none;border:0;min-height:0;padding:0}.essay-grading-modal .grading-answer-key,.essay-grading-modal .essay-grade-panel{margin-top:0}.essay-grading-modal .grading-answer-key{margin-bottom:14px;padding:12px 14px}.essay-grading-modal .essay-grade-panel{gap:14px;padding:16px;display:grid}.essay-grading-modal .essay-grade-panel .form-group{margin-bottom:0}.essay-grading-modal .essay-grade-panel input[type=number]{max-width:135px}.essay-grade-actions{border-top:1px solid #fde68a;justify-content:flex-end;align-items:center;gap:10px;padding-top:14px;display:flex}.essay-grade-actions .btn{min-height:40px}@media (width<=760px){.teacher-assignment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.essay-workspace-heading{flex-direction:column;align-items:stretch}.essay-workspace-heading>div{text-align:left}.essay-classroom-filter{flex-direction:column;align-items:stretch}.essay-classroom-filter .form-control{width:100%;min-width:0}.essay-grading-modal .modal-body{padding:12px}.essay-grading-question-container,.essay-grading-modal .grading-answer-key{margin-bottom:11px}.essay-grading-question-header{padding:12px}.essay-grading-answer{padding:14px 12px}.essay-grading-modal .essay-grade-panel{padding:13px}.essay-grade-actions{flex-direction:column-reverse;align-items:stretch}.essay-grade-actions .btn{width:100%}}@media (width<=520px){.teacher-assignment-row{align-items:start}.teacher-assignment-fields{grid-template-columns:minmax(0,1fr)}.teacher-assignment-remove{margin-top:10px}}.master-data-compact-control{height:34px;min-height:34px}.master-data-section-tabs>.btn{min-width:132px}.master-data-page-action{min-width:144px}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.table-search{width:280px;position:relative}.table-search input{border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);width:100%;padding:8px 12px 8px 36px;font-family:inherit;font-size:.85rem}.table-search input:focus{border-color:var(--primary-light);outline:none}.table-search svg{color:var(--gray-400);width:16px;height:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.table-pagination{color:var(--gray-500);align-items:center;gap:8px;font-size:.85rem;display:flex}.badge{white-space:nowrap;border-radius:20px;align-items:center;gap:4px;padding:3px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.badge-primary{background:var(--primary-100);color:var(--primary-dark)}.badge-success{background:var(--success-light);color:#065f46}.badge-warning{background:var(--warning-light);color:#92400e}.badge-danger{background:var(--danger-light);color:#991b1b}.badge-info{background:var(--info-light);color:#1e40af}.badge-secondary{background:var(--gray-100);color:var(--gray-600)}.table-badge-stack{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.table-data-badge{text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;border:1px solid;border-radius:999px;align-items:center;gap:5px;max-width:240px;min-height:30px;padding:5px 10px;font-size:.76rem;font-weight:650;line-height:1.2;display:inline-flex;overflow:hidden}.table-data-badge strong{color:currentColor;font-variant-numeric:tabular-nums;font-size:.84rem}.table-data-badge svg{flex:none;width:13px;height:13px}.table-data-badge.is-token{color:#475569;letter-spacing:.035em;background:#f8fafc;border-color:#dbe3ec}.table-data-badge.is-subject{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.table-data-badge.is-grade,.table-data-badge.is-classroom{color:#087f98;background:#effcff;border-color:#bdeaf3}.table-data-badge.is-date{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.table-data-badge.is-time{color:#a16207;background:#fffbeb;border-color:#fde68a}.table-data-badge.is-source{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.table-data-badge.is-submit{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.table-data-badge.is-question{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.table-data-badge.is-points{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.table-data-badge.is-attempt,.table-data-badge.is-snapshot{color:#526074;background:#f8fafc;border-color:#dbe3ec}.table-data-badge.is-students,.table-data-badge.is-answered{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.table-data-badge.is-correct,.table-data-badge.is-final{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.table-data-badge.is-wrong{color:#be123c;background:#fff1f2;border-color:#fecdd3}.table-data-badge.is-type{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.table-data-badge.is-submit-state{color:#a16207;background:#fffbeb;border-color:#fde68a}.table-data-badge.is-score.is-high{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.table-data-badge.is-score.is-mid{color:#a16207;background:#fffbeb;border-color:#fde68a}.table-data-badge.is-score.is-low{color:#be123c;background:#fff1f2;border-color:#fecdd3}.table-data-badge.is-score.is-empty{color:#64748b;background:#f8fafc;border-color:#dbe3ec}.table-status-badge{min-height:30px;padding:5px 10px;font-size:.76rem}.alert{border-radius:var(--radius-sm);border:1px solid;align-items:flex-start;gap:10px;margin-bottom:16px;padding:14px 18px;font-size:.875rem;display:flex}.alert svg{flex-shrink:0;width:18px;height:18px;margin-top:1px}.alert-info{background:var(--info-light);color:#1e40af;border-color:#93c5fd}.alert-success{background:var(--success-light);color:#065f46;border-color:#86efac}.alert-warning{background:var(--warning-light);color:#92400e;border-color:#fcd34d}.alert-danger{background:var(--danger-light);color:#991b1b;border-color:#fca5a5}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;animation:fadeIn var(--transition-fast) ease-out;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--card-bg);border-radius:var(--radius-lg);width:100%;max-width:560px;max-height:90vh;animation:slideUp var(--transition-base) ease-out;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 25px 50px #00000026}.modal.modal-lg{max-width:720px}.modal.modal-xl{max-width:960px}.modal-header{border-bottom:1px solid var(--card-border);justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.modal-header h3{align-items:center;gap:8px;font-size:1.1rem;font-weight:700;display:flex}.modal-close{cursor:pointer;color:var(--gray-500);transition:all var(--transition-fast);background:0 0;border:none;border-radius:6px;padding:6px}.modal-close:hover{background:var(--gray-100);color:var(--gray-800)}.modal-body{flex:1;padding:24px;overflow-y:auto}.modal-footer{border-top:1px solid var(--card-border);justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}.confirm-icon{border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 16px;display:flex}.confirm-icon.warning{background:var(--warning-light);color:var(--warning)}.confirm-icon.danger{background:var(--danger-light);color:var(--danger)}.confirm-icon.success{background:var(--success-light);color:var(--success)}.confirm-icon svg{width:32px;height:32px}.token-source-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.token-source-options>label{border:1px solid var(--gray-200);cursor:pointer;transition:border-color var(--transition-fast), background var(--transition-fast);border-radius:9px;align-items:flex-start;gap:10px;padding:13px;display:flex}.token-source-options>label.active{background:var(--primary-50);border-color:var(--primary)}.token-source-options>label:has(input:disabled){cursor:default}.token-source-options input{flex:none;width:17px;height:17px;margin-top:2px}.token-source-options svg{color:var(--primary);flex:0 0 19px;width:19px;height:19px}.token-source-options span{gap:3px;display:grid}.token-source-options strong{color:var(--gray-800);font-size:.82rem}.token-source-options small{color:var(--gray-500);font-size:.7rem;line-height:1.4}.token-package-picker{border:1px solid var(--gray-200);background:#f8fafc;border-radius:11px;margin-bottom:18px;padding:14px}.token-package-filter-heading{gap:3px;margin-bottom:12px;display:grid}.token-package-filter-heading strong{color:var(--gray-800);font-size:.86rem}.token-package-filter-heading small{color:var(--gray-500);font-size:.72rem;line-height:1.45}.token-package-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.token-package-filters .form-group{margin-bottom:10px}.token-package-select{margin-bottom:0}.token-package-combobox{position:relative}.token-package-combobox-trigger{border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);color:var(--gray-700);cursor:pointer;font:inherit;text-align:left;min-height:42px;transition:border-color var(--transition-fast), box-shadow var(--transition-fast);background:#fff;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:8px 12px;display:flex}.token-package-combobox-trigger:hover:not(:disabled){border-color:var(--gray-300)}.token-package-combobox-trigger:focus-visible,.token-package-combobox.is-open .token-package-combobox-trigger{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-100);outline:none}.token-package-combobox-trigger:disabled{background:var(--gray-50);cursor:not-allowed;opacity:.7}.token-package-combobox-trigger>svg{color:var(--gray-500);height:17px;transition:transform var(--transition-fast);flex:0 0 17px;width:17px}.token-package-combobox.is-open .token-package-combobox-trigger>svg{transform:rotate(180deg)}.token-package-placeholder{color:var(--gray-500);font-size:.82rem}.token-package-option-parts{flex-wrap:wrap;flex:auto;align-items:center;gap:3px 7px;min-width:0;font-size:.8rem;line-height:1.45;display:flex}.token-package-option-title{color:#6d28d9;font-weight:750}.token-package-option-subject{color:#1d4ed8;font-weight:650}.token-package-option-grade{color:#087f98;font-weight:650}.token-package-option-count{color:#c2410c;white-space:nowrap;font-weight:650}.token-package-option-count strong{color:currentColor;font-size:.86rem}.token-package-option-separator{color:#a5afbf}.token-package-combobox-menu{border:1px solid var(--gray-200);overscroll-behavior:contain;z-index:160;background:#fff;border-radius:9px;max-height:260px;margin-top:5px;padding:5px;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 14px 30px #0f172a29}.token-package-combobox-option{cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 10px;display:flex}.token-package-combobox-option.is-active{background:var(--primary-50)}.token-package-combobox-option.is-selected{background:#eef2ff}.token-package-combobox-option>svg{color:var(--primary);flex:0 0 16px;width:16px;height:16px}.token-native-settings{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:10px;margin-bottom:18px;padding:14px}.token-native-settings h4{color:var(--gray-800);margin:0 0 13px;font-size:.85rem}.token-multi-select{min-height:108px;padding:6px}.token-multi-select option{border-radius:5px;padding:6px 8px}.token-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px;display:grid}.token-policy-check{color:var(--gray-700);grid-column:1/-1;align-items:center;gap:8px;font-size:.76rem;display:flex}.token-policy-check input{width:16px;height:16px}.input-suffix{align-items:center;gap:7px;display:flex}.input-suffix span{color:var(--gray-500);font-size:.72rem}.token-source-cell{gap:4px;max-width:220px;display:grid}.token-source-cell .badge{align-items:center;gap:5px;width:fit-content;display:inline-flex}.token-source-cell .badge svg{width:12px;height:12px}.token-source-cell small{color:var(--gray-500);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.token-preview-link{color:var(--primary);align-items:center;gap:5px;width:fit-content;font-size:.7rem;font-weight:700;display:inline-flex}.token-preview-link:hover{color:var(--primary-dark);text-decoration:underline}.token-preview-link svg{width:13px;height:13px}.token-time-picker{grid-template-columns:minmax(64px,1fr) auto minmax(64px,1fr) minmax(68px,.8fr);align-items:center;gap:7px;display:grid}.token-time-picker>span{color:var(--gray-500);font-size:1rem;font-weight:750}.token-time-picker .form-control{min-width:0;padding-left:9px;padding-right:9px}.token-time-period{color:var(--primary-dark);font-weight:750}.token-schedule-preview{background:var(--primary-50);border:1px solid var(--primary-100);color:var(--gray-600);border-radius:9px;margin:-4px 0 17px;padding:9px 12px;font-size:.76rem;line-height:1.5}.token-schedule-preview strong{color:var(--primary-dark)}.progress-bar-track{background:var(--gray-200);border-radius:4px;width:100%;height:8px;overflow:hidden}.progress-bar-fill{height:100%;transition:width var(--transition-slow);border-radius:4px}.chart-container{padding:20px}.spinner{border:2.5px solid #ffffff4d;border-top-color:currentColor;border-radius:50%;width:20px;height:20px;animation:.6s linear infinite spin}.page-loader{min-height:300px;color:var(--primary);justify-content:center;align-items:center;display:flex}.page-loader .spinner{border-color:var(--gray-200);border-top-color:var(--primary);width:40px;height:40px}.login-container{background:radial-gradient(circle at 8% 8%,#7c3aed21,#0000 31%),radial-gradient(circle at 92% 88%,#3b82f624,#0000 34%),linear-gradient(145deg,#f8faff 0%,#eef2ff 48%,#f5f3ff 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex;position:relative;overflow:auto}.login-background-shape{pointer-events:none;border:1px solid #6366f11c;border-radius:50%;position:absolute}.login-background-shape.is-one{width:310px;height:310px;top:-90px;left:-115px}.login-background-shape.is-two{width:420px;height:420px;bottom:-145px;right:-135px}.login-shell{animation:slideUp var(--transition-slow) ease-out;background:#fff;border:1px solid #94a3b82e;border-radius:28px;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);width:100%;max-width:1080px;min-height:min(650px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 30px 80px #1e295a2e}.login-showcase{color:#fff;isolation:isolate;background:radial-gradient(circle at 84% 18%,#818cf84d,#0000 30%),radial-gradient(circle at 20% 88%,#5b43e83d,#0000 34%),linear-gradient(145deg,#111a3b 0%,#192454 52%,#342177 100%);flex-direction:column;padding:48px 54px;display:flex;position:relative;overflow:hidden}.login-showcase:before,.login-showcase:after{content:"";z-index:-1;border:1px solid #ffffff14;border-radius:50%;position:absolute}.login-showcase:before{width:330px;height:330px;top:98px;right:-155px}.login-showcase:after{width:380px;height:380px;bottom:-175px;left:-190px}.login-showcase-wordmark{object-fit:contain;object-position:left center;width:210px;height:58px;display:block}.login-showcase-copy{max-width:450px;margin-top:auto}.login-eyebrow{color:#c7d2fe;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px;font-size:.72rem;font-weight:800;display:block}.login-showcase-copy h2{color:#fff;letter-spacing:-.04em;margin-bottom:18px;font-size:clamp(2rem,3vw,2.75rem);line-height:1.12}.login-showcase-copy p{color:#cbd5e1;max-width:420px;font-size:.96rem;line-height:1.75}.login-highlight-list{gap:9px;margin-top:30px;display:grid}.login-highlight{color:#eef2ff;background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:10px;max-width:300px;padding:10px 12px;font-size:.8rem;font-weight:650;display:flex}.login-highlight svg{color:#a5b4fc;width:17px;height:17px}.login-showcase-note{color:#94a3b8;margin-top:auto;padding-top:32px;font-size:.7rem}.login-panel{flex-direction:column;justify-content:center;min-width:0;padding:42px 52px;display:flex}.login-panel-brand{align-items:center;gap:12px;display:flex}.login-panel-logo{background:linear-gradient(145deg,#f5f3ff,#eef2ff);border:1px solid #ddd6fe;border-radius:13px;justify-content:center;align-items:center;width:50px;height:50px;display:flex;box-shadow:0 6px 16px #4f46e51f}.login-panel-logo img{object-fit:contain;width:35px;height:40px;display:block}.login-panel-brand div{gap:2px;display:grid}.login-panel-brand strong{color:#111b35;letter-spacing:-.01em;font-size:1rem}.login-panel-brand small{color:#77829a;font-size:.68rem}.login-heading{margin:30px 0 25px}.login-heading>span{color:#5b43e8;letter-spacing:.06em;text-transform:uppercase;background:#eeecff;border:1px solid #ddd6fe;border-radius:999px;margin-bottom:12px;padding:6px 10px;font-size:.66rem;font-weight:800;display:inline-flex}.login-heading h1{color:#101935;letter-spacing:-.035em;margin-bottom:9px;font-size:2rem;line-height:1.15}.login-heading p{color:#6b778c;font-size:.84rem;line-height:1.6}.login-alert{border-radius:11px;margin-bottom:18px;animation:.3s ease-out slideUp}.login-form{gap:17px;display:grid}.login-field{gap:7px;display:grid}.login-field label{color:#27324a;font-size:.76rem;font-weight:750}.login-input-wrap{position:relative}.login-input-wrap>svg{color:#8793a8;pointer-events:none;width:18px;height:18px;position:absolute;top:50%;left:15px;transform:translateY(-50%)}.login-input-wrap input{color:#111827;font:inherit;height:50px;transition:border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);background:#f8faff;border:1px solid #dce2ed;border-radius:12px;outline:0;width:100%;padding:0 48px 0 44px;font-size:.83rem}.login-input-wrap input::placeholder{color:#9aa5b7}.login-input-wrap input:hover{border-color:#c6cde0}.login-input-wrap input:focus{background:#fff;border-color:#6957e8;box-shadow:0 0 0 4px #5b43e81c}.login-input-wrap:focus-within>svg{color:#5b43e8}.login-password-toggle{color:#8793a8;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:flex;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.login-password-toggle:hover{color:#5b43e8;background:#eeecff}.login-password-toggle svg{width:17px;height:17px}.login-submit{background:linear-gradient(135deg,#5b43e8,#6d39df);border-radius:12px;width:100%;height:50px;margin-top:3px;font-size:.83rem;box-shadow:0 9px 20px #5b43e83d}.login-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 25px #5b43e84d}.login-submit svg{width:18px;height:18px}.login-switch{background:#f8faff;border:1px solid #e5e9f2;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:10px 12px;display:flex}.login-switch span{color:#77829a;font-size:.7rem}.login-switch button{color:#5540d5;cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;padding:4px;font-size:.7rem;font-weight:800}.login-switch button:hover{color:#3927b5;text-decoration:underline}.login-footer-note{color:#9aa5b7;text-align:center;margin-top:17px;font-size:.66rem}@media (width<=860px){.login-container{align-items:flex-start;overflow:auto}.login-shell{grid-template-columns:1fr;max-width:520px;min-height:0}.login-showcase{display:none}.login-panel{min-height:calc(100vh - 48px);padding:42px 48px}}@media (width<=520px){.login-container{padding:12px}.login-shell{border-radius:21px}.login-panel{min-height:calc(100vh - 24px);padding:30px 22px}.login-heading{margin:25px 0 22px}.login-heading h1{font-size:1.7rem}.login-switch{flex-direction:column;align-items:flex-start;gap:5px}}.empty-state{text-align:center;color:var(--gray-400);padding:48px 24px}.empty-state>svg{opacity:.5;width:64px;height:64px;margin-bottom:16px}.empty-state h3{color:var(--gray-500);margin-bottom:8px;font-size:1.1rem}.empty-state p{font-size:.9rem}.monitor-card{border-radius:var(--radius);border:1px solid var(--card-border);box-shadow:var(--card-shadow);margin-bottom:20px;overflow:hidden}.monitor-card-header{color:#fff;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 20px;display:flex}.monitor-card-header.active{background:linear-gradient(135deg, var(--primary), var(--accent))}.monitor-card-header.waiting{background:linear-gradient(135deg,#64748b,#475569)}.monitor-card-body{background:#fff;padding:20px}.native-monitoring-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;display:flex}.native-monitoring-heading h2{color:#111b35;margin-bottom:5px;font-size:1.35rem}.native-monitoring-heading .btn-primary{background:linear-gradient(135deg,#5b43e8,#7038df);min-width:116px;box-shadow:0 7px 16px #5b43e83b}.native-monitoring-toolbar{border-color:#e3e8f2;border-radius:15px;box-shadow:0 8px 24px #1e293b0f}.native-monitoring-toolbar .card-body{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.native-monitoring-refresh-state{color:#6b778c;align-items:center;font-size:.7rem;display:inline-flex}.native-monitoring-refresh-state:before{content:"";background:#34c98f;border-radius:50%;width:7px;height:7px;margin-right:7px;box-shadow:0 0 0 4px #34c98f1c}.native-monitor-card{background:#fff;border:1px solid #e0e6f0;border-radius:18px;grid-template-rows:72px auto;margin-bottom:20px;display:grid;overflow:hidden;box-shadow:0 10px 28px #1e293b14}.native-monitor-card-hero{background:linear-gradient(115deg,#6048e9 0%,#8271f1 48%,#aebaf8 100%);min-width:0;position:relative;overflow:hidden}.native-monitor-card-hero.is-upcoming{background:linear-gradient(115deg,#53637b 0%,#718198 48%,#b8c4d5 100%)}.native-monitor-card-art{object-fit:contain;opacity:1;pointer-events:none;filter:drop-shadow(0 10px 18px #2d208033)saturate(1.08)contrast(1.04);width:auto;max-width:none;height:98%;position:absolute;top:50%;right:clamp(205px,15vw,250px);transform:translateY(-50%)}.native-monitor-card-hero-content{z-index:1;justify-content:space-between;align-items:center;gap:22px;height:100%;padding:12px 22px;display:flex;position:relative}.native-monitor-card-heading{min-width:0;max-width:58%}.native-monitor-card-title-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:0;display:flex}.native-monitor-card-title-row h3{color:#fff;text-overflow:ellipsis;text-shadow:0 2px 8px #3d2d9a2e;white-space:nowrap;max-width:100%;font-size:1.2rem;font-weight:750;line-height:1.25;overflow:hidden}.native-monitor-kind-badge{color:#fff;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#ffffff2e;border:1px solid #ffffff61;border-radius:999px;align-items:center;min-height:27px;padding:5px 10px;font-size:.68rem;font-weight:700;display:inline-flex;box-shadow:inset 0 1px #ffffff24}.native-monitor-card-actions{z-index:2;flex-direction:row;flex:none;align-items:center;gap:8px;margin-left:auto;display:flex;position:relative}.native-monitor-phase-badge,.native-monitor-detail-btn{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);white-space:nowrap;background:#ffffffe6;border:1px solid #ffffffb8;border-radius:10px;justify-content:center;align-items:center;min-height:34px;padding:7px 12px;font-size:.72rem;font-weight:700;display:inline-flex;box-shadow:0 5px 14px #2a21681f}.native-monitor-phase-badge:before{background:currentColor;border-radius:50%;width:7px;height:7px;margin-right:7px;box-shadow:0 0 0 4px}@supports (color:color-mix(in lab, red, red)){.native-monitor-phase-badge:before{box-shadow:0 0 0 4px color-mix(in srgb, currentColor 13%, transparent)}}.native-monitor-phase-badge:before{content:""}.native-monitor-phase-badge.is-running{color:#07845f}.native-monitor-phase-badge.is-upcoming{color:#2563eb}.native-monitor-phase-badge.is-finished{color:#526074}.native-monitor-phase-badge.is-cancelled{color:#dc2626}.native-monitor-detail-btn{color:#3d2caf;transition:transform var(--transition-base), background var(--transition-base);gap:7px;text-decoration:none}.native-monitor-detail-btn:hover{background:#fff;transform:translateY(-1px)}.native-monitor-detail-btn svg{width:16px;height:16px}.native-monitor-card-body{background:linear-gradient(#fbfcff 0%,#fff 38%);flex-direction:column;min-width:0;min-height:0;padding:18px 20px 20px;display:flex}.native-monitor-exam-strip{z-index:2;flex-wrap:wrap;align-self:flex-start;align-items:center;gap:8px;max-width:100%;margin-top:-32px;display:flex;position:relative}.native-monitor-exam-chip{color:#4d5a70;background:#fffffffa;border:1px solid #e4e7f1;border-radius:12px;align-items:center;gap:9px;min-width:0;min-height:50px;padding:8px 13px;display:inline-flex;overflow:hidden;box-shadow:0 7px 18px #1e293b17}.native-monitor-exam-chip>span{gap:2px;min-width:0;display:grid}.native-monitor-exam-chip small{color:#7a8598;letter-spacing:.025em;text-transform:uppercase;font-size:.63rem;font-weight:650;line-height:1}.native-monitor-exam-chip strong{color:#28354a;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:750;line-height:1.25;overflow:hidden}.native-monitor-exam-chip svg{color:#674ee7;flex:none;width:14px;height:14px}.native-monitor-exam-chip.is-subject{max-width:min(340px,42vw)}.native-monitor-exam-chip.is-token strong{letter-spacing:.035em}.native-monitor-exam-chip.is-grade-violet{background:#f4f1ff;border-color:#dcd3ff}.native-monitor-exam-chip.is-grade-violet svg,.native-monitor-exam-chip.is-grade-violet strong{color:#6842d8}.native-monitor-exam-chip.is-grade-indigo{background:#f0f4ff;border-color:#ccd8ff}.native-monitor-exam-chip.is-grade-indigo svg,.native-monitor-exam-chip.is-grade-indigo strong{color:#405ed2}.native-monitor-exam-chip.is-grade-cyan{background:#effcff;border-color:#bdeaf3}.native-monitor-exam-chip.is-grade-cyan svg,.native-monitor-exam-chip.is-grade-cyan strong{color:#087f98}.native-monitor-exam-chip.is-grade-emerald{background:#effcf7;border-color:#bdebd9}.native-monitor-exam-chip.is-grade-emerald svg,.native-monitor-exam-chip.is-grade-emerald strong{color:#08785a}.native-monitor-exam-chip.is-grade-lime{background:#f7fce9;border-color:#d7ebb0}.native-monitor-exam-chip.is-grade-lime svg,.native-monitor-exam-chip.is-grade-lime strong{color:#567a15}.native-monitor-exam-chip.is-grade-amber{background:#fff9e9;border-color:#f6dea7}.native-monitor-exam-chip.is-grade-amber svg,.native-monitor-exam-chip.is-grade-amber strong{color:#a36506}.native-monitor-exam-chip.is-grade-orange{background:#fff5ed;border-color:#f8cfb3}.native-monitor-exam-chip.is-grade-orange svg,.native-monitor-exam-chip.is-grade-orange strong{color:#b45416}.native-monitor-exam-chip.is-grade-rose{background:#fff2f6;border-color:#f5c8d7}.native-monitor-exam-chip.is-grade-rose svg,.native-monitor-exam-chip.is-grade-rose strong{color:#bd3865}.native-monitor-history-badge{text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;border:1px solid;border-radius:999px;align-items:center;gap:4px;max-width:230px;min-height:28px;padding:5px 9px;font-size:.76rem;font-weight:650;line-height:1.2;display:inline-flex;overflow:hidden}.native-monitor-history-badge strong{color:currentColor;font-variant-numeric:tabular-nums;font-size:.84rem}.native-monitor-history-badge.is-token{color:#526074;background:#f8fafc;border-color:#dbe3ec;margin-top:5px}.native-monitor-history-badge.is-subject{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.native-monitor-history-badge.is-participants{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.native-monitor-history-badge.is-exit.has-exit{color:#be123c;background:#fff1f2;border-color:#fecdd3}.native-monitor-history-badge.is-exit.is-clear{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.native-monitor-history-badge.is-grade-violet{color:#6842d8;background:#f4f1ff;border-color:#dcd3ff}.native-monitor-history-badge.is-grade-indigo{color:#405ed2;background:#f0f4ff;border-color:#ccd8ff}.native-monitor-history-badge.is-grade-cyan{color:#087f98;background:#effcff;border-color:#bdeaf3}.native-monitor-history-badge.is-grade-emerald{color:#08785a;background:#effcf7;border-color:#bdebd9}.native-monitor-history-badge.is-grade-lime{color:#567a15;background:#f7fce9;border-color:#d7ebb0}.native-monitor-history-badge.is-grade-amber{color:#a36506;background:#fff9e9;border-color:#f6dea7}.native-monitor-history-badge.is-grade-orange{color:#b45416;background:#fff5ed;border-color:#f8cfb3}.native-monitor-history-badge.is-grade-rose{color:#bd3865;background:#fff2f6;border-color:#f5c8d7}.native-monitor-status-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:11px;margin-top:0;padding-top:18px;display:grid}.native-monitor-detail-stats .native-monitor-status-grid{margin-bottom:24px;padding-top:0}.native-monitor-status-card{background:#fff;border:1px solid #0000;border-radius:14px;align-items:center;gap:12px;min-width:0;min-height:104px;padding:14px;display:flex;position:relative;overflow:hidden;box-shadow:0 6px 17px #1e293b0f}.native-monitor-status-icon{color:#fff;border-radius:13px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex;box-shadow:0 7px 15px}@supports (color:color-mix(in lab, red, red)){.native-monitor-status-icon{box-shadow:0 7px 15px color-mix(in srgb, currentColor 23%, transparent)}}.native-monitor-status-icon svg{width:25px;height:25px}.native-monitor-status-card>div{gap:3px;min-width:0;display:grid}.native-monitor-status-card strong{color:currentColor;font-size:1.55rem;line-height:1}.native-monitor-status-card>div>span{color:#667085;text-overflow:ellipsis;white-space:nowrap;font-size:.73rem;font-weight:550;overflow:hidden}.native-monitor-status-card.is-target{color:#6045dc;background:linear-gradient(145deg,#fbfaff,#f5f2ff);border-color:#e7e0ff}.native-monitor-status-card.is-target .native-monitor-status-icon{background:linear-gradient(135deg,#8b6cf4,#6942df)}.native-monitor-status-card.is-not-started{color:#526074;background:linear-gradient(145deg,#fbfcfe,#f3f6fa);border-color:#e2e8f0}.native-monitor-status-card.is-not-started .native-monitor-status-icon{background:linear-gradient(135deg,#8493a8,#59677d)}.native-monitor-status-card.is-progress{color:#e27908;background:linear-gradient(145deg,#fffdfa,#fff8ec);border-color:#fde6bd}.native-monitor-status-card.is-progress .native-monitor-status-icon{background:linear-gradient(135deg,#ffb23f,#f68a10)}.native-monitor-status-card.is-exited{color:#e33d4f;background:linear-gradient(145deg,snow,#fff2f3);border-color:#ffd8dc}.native-monitor-status-card.is-exited .native-monitor-status-icon{background:linear-gradient(135deg,#ff7d89,#ed4458)}.native-monitor-status-card.is-submitted{color:#08966c;background:linear-gradient(145deg,#f9fffc,#eefcf6);border-color:#ccefe1}.native-monitor-status-card.is-submitted .native-monitor-status-icon{background:linear-gradient(135deg,#58d4a4,#1fb881)}@media (width<=900px){.native-monitor-card{grid-template-rows:minmax(96px,auto) auto}.native-monitor-card-hero-content{align-items:flex-start}.native-monitor-card-heading{max-width:55%}.native-monitor-card-art{opacity:.62;max-width:none;height:88%;right:205px}.native-monitor-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.native-monitor-exam-strip{align-self:stretch}}@media (width<=640px){.native-monitoring-heading{flex-direction:column;align-items:stretch}.native-monitoring-heading .btn{width:100%}.native-monitoring-toolbar .card-body{flex-direction:column;align-items:stretch}.native-monitoring-refresh-state{justify-content:center}.native-monitor-card{grid-template-rows:minmax(184px,auto) auto}.native-monitor-card-art{opacity:.28;max-width:none;height:82%;right:-10px}.native-monitor-card-hero-content{flex-direction:column;justify-content:space-between;align-items:stretch;padding:17px}.native-monitor-card-heading{max-width:100%}.native-monitor-card-title-row h3{white-space:normal}.native-monitor-card-actions{flex-direction:row;align-items:center;width:100%;margin-left:0}.native-monitor-card-actions>*{flex:1}.native-monitor-card-body{min-height:0;padding:18px 14px 16px}.native-monitor-exam-strip{align-self:stretch;margin-top:-30px;display:grid}.native-monitor-exam-chip{width:100%;min-height:46px;padding:8px 12px}.native-monitor-exam-chip.is-subject{max-width:none}.native-monitor-status-grid{grid-template-columns:1fr;margin-top:0}.native-monitor-status-card{min-height:86px}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-in{animation:slideUp var(--transition-base) ease-out}@media (width<=1024px){.stat-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main-content{margin-left:0}.menu-toggle{display:flex}.page-content{padding:16px}.stat-grid{grid-template-columns:1fr}.table-toolbar{flex-direction:column;align-items:stretch}.table-search{width:100%}.header-school{display:none}.modal{max-height:95vh;margin:10px}}.text-center{text-align:center}.text-right{text-align:right}.text-muted{color:var(--gray-500)}.text-sm{font-size:.85rem}.text-xs{font-size:.75rem}.fw-bold{font-weight:700}.fw-semibold{font-weight:600}.mb-0{margin-bottom:0}.mb-2{margin-bottom:8px}.teacher-dashboard-page{gap:24px;display:grid}.teacher-dashboard-welcome{color:#08705b;background:radial-gradient(circle at 82% 20%,#fffc,#0000 25%),linear-gradient(105deg,#e5fff4 0%,#d4f9e9 56%,#e5fff5 100%);border:1px solid #81e3bc;border-radius:14px;align-items:center;gap:14px;min-height:68px;padding:16px 22px;display:flex;box-shadow:0 8px 24px #10b98114}.teacher-dashboard-welcome-icon{color:#07946f;background:#ffffffa8;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.teacher-dashboard-welcome strong{color:#06614f}.teacher-dashboard-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.teacher-dashboard-stat-card{isolation:isolate;border:1px solid #0000;border-radius:16px;align-items:center;min-width:0;min-height:178px;padding:25px 27px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 24px #3341551a}.teacher-dashboard-stat-card:before,.teacher-dashboard-stat-card:after{z-index:-1;content:"";border-radius:50%;position:absolute}.teacher-dashboard-stat-card:before{background:#ffffff8c;width:190px;height:190px;top:-64px;right:-34px}.teacher-dashboard-stat-card:after{border:1px solid #ffffff94;width:150px;height:150px;bottom:-68px;right:31%}.teacher-dashboard-stat-card.is-school{color:#5b36d8;background:linear-gradient(135deg,#f7f1ff 0%,#e8dcff 100%);border-color:#d5c9ff}.teacher-dashboard-stat-card.is-assignment{color:#3677e9;background:linear-gradient(135deg,#f2f8ff 0%,#dceeff 100%);border-color:#bfddfa}.teacher-dashboard-stat-card.is-question-bank{color:#0b9d72;background:linear-gradient(135deg,#f1fff9 0%,#d8f8ea 100%);border-color:#bdebd9}.teacher-dashboard-stat-content{z-index:2;width:57%;min-width:0;position:relative}.teacher-dashboard-stat-content h3{color:currentColor;letter-spacing:-.04em;margin:0 0 12px;font-size:clamp(2rem,2.25vw,2.55rem);font-weight:800;line-height:1.05}.teacher-dashboard-stat-content h3.teacher-dashboard-school-name{letter-spacing:-.025em;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:12px;font-size:clamp(1.22rem,1.55vw,1.75rem);line-height:1.2;display:-webkit-box;overflow:hidden}.teacher-dashboard-stat-content p{color:#243047;margin:0;font-size:.96rem;font-weight:500;line-height:1.55}.teacher-dashboard-stat-illustration{z-index:1;aspect-ratio:3/2;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 8px 8px #4f46e521);width:min(47%,220px);height:auto;position:absolute;bottom:8px;right:8px}.teacher-dashboard-assignment-card{border:1px solid #dce4f0;border-radius:16px;margin:10px 0 0;overflow:hidden;box-shadow:0 10px 26px #33415517}.teacher-dashboard-assignment-header{border-bottom-color:#dce4f0;min-height:78px;padding:20px 24px}.teacher-dashboard-assignment-header h3{color:#172033;gap:12px;font-size:1.05rem}.teacher-dashboard-assignment-header h3 svg{color:#4f46e5}.teacher-dashboard-assignment-body{padding:24px}.teacher-dashboard-table-wrapper{border:1px solid #e1e7f0;border-radius:10px}.teacher-dashboard-table thead th{color:#4f46e5;letter-spacing:.025em;background:linear-gradient(#f0f3ff 0%,#e9eeff 100%);padding:17px 18px;font-size:.73rem}.teacher-dashboard-table tbody td{color:#3f4c64;padding:18px}.teacher-dashboard-table tbody tr:last-child td{border-bottom:0}.teacher-dashboard-empty{padding:32px 24px}@media (width<=1180px){.teacher-dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-dashboard-stat-card:last-child{grid-column:1/-1}.teacher-dashboard-stat-card:last-child .teacher-dashboard-stat-content{width:42%}}@media (width<=720px){.teacher-dashboard-page{gap:16px}.teacher-dashboard-welcome{align-items:flex-start;padding:15px 16px;font-size:.86rem}.teacher-dashboard-stat-grid{grid-template-columns:1fr}.teacher-dashboard-stat-card,.teacher-dashboard-stat-card:last-child{grid-column:auto;min-height:164px}.teacher-dashboard-stat-card:last-child .teacher-dashboard-stat-content{width:57%}.teacher-dashboard-assignment-card{margin-top:2px}.teacher-dashboard-assignment-header{min-height:66px;padding:17px 18px}.teacher-dashboard-assignment-body{padding:14px}}@media (width<=430px){.teacher-dashboard-stat-card{padding:22px 20px}.teacher-dashboard-stat-illustration{width:min(50%,205px);right:-4px}.teacher-dashboard-stat-content h3.teacher-dashboard-school-name{font-size:1.18rem}}.superadmin-sidebar{background:radial-gradient(circle at 10% 8%,#6366f13d,#0000 34%),linear-gradient(#111936 0%,#0b1025 100%)}.superadmin-sidebar-role{color:#c7d2fe;background:#4f46e526;border:1px solid #a5b4fc33;border-radius:12px;align-items:center;gap:11px;min-height:64px;margin:12px 12px 3px;padding:11px 13px;display:flex;overflow:hidden}.superadmin-sidebar-role>svg{flex:none;width:22px;height:22px}.superadmin-sidebar-role>span{min-width:0;line-height:1.25;display:grid}.superadmin-sidebar-role strong{color:#fff;font-size:.82rem}.superadmin-sidebar-role small{color:#a5b4fc;font-size:.67rem}.superadmin-sidebar.collapsed .superadmin-sidebar-role{justify-content:center;margin-inline:8px;padding-inline:0}.superadmin-header{border-bottom-color:#dfe4ff}.superadmin-page{gap:20px;display:grid}.superadmin-page-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.superadmin-page-heading h2{margin-bottom:4px}.superadmin-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:0}.superadmin-stat-grid .stat-card{min-height:142px}.superadmin-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.superadmin-card-header h3{align-items:center;gap:8px;display:flex}.superadmin-card-header p{margin-top:3px}.superadmin-admin-summary{text-overflow:ellipsis;white-space:nowrap;max-width:190px;overflow:hidden}.superadmin-quota-track{background:var(--gray-200);border-radius:99px;width:110px;height:5px;margin-top:6px;overflow:hidden}.superadmin-quota-track>span{border-radius:inherit;background:linear-gradient(90deg, var(--primary-light), var(--accent));height:100%;display:block}.superadmin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.superadmin-form-grid .form-group{margin-bottom:0}.superadmin-form-span-2{grid-column:1/-1}.superadmin-check-field{border:1px solid var(--gray-200);background:var(--gray-50);cursor:pointer;border-radius:10px;align-items:flex-start;gap:11px;padding:13px 14px;display:flex}.superadmin-check-field input{margin-top:4px}.superadmin-check-field span{display:grid}.superadmin-check-field small{color:var(--gray-500)}.superadmin-form-section{border-top:1px solid var(--gray-200);color:var(--primary);align-items:center;gap:10px;margin-top:4px;padding-top:15px;display:flex}.superadmin-form-section>span{display:grid}.superadmin-form-section small{color:var(--gray-500);font-size:.72rem}.superadmin-admin-modal-heading{background:#f7f8ff;border:1px solid #dfe4ff;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:13px 14px;display:flex}.superadmin-admin-modal-heading>div{color:var(--primary);align-items:center;gap:10px;display:flex}.superadmin-admin-modal-heading span{display:grid}.superadmin-admin-modal-heading small{color:var(--gray-500)}@media (width<=1180px){.superadmin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=768px){.superadmin-page-heading{flex-direction:column;align-items:stretch}.superadmin-page-heading .btn-group{grid-template-columns:1fr 1fr;display:grid}.superadmin-page-heading .btn{justify-content:center}.superadmin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.superadmin-form-grid{grid-template-columns:1fr}.superadmin-form-span-2{grid-column:auto}.superadmin-admin-modal-heading{flex-direction:column;align-items:stretch}}@media (width<=480px){.superadmin-stat-grid,.superadmin-page-heading .btn-group{grid-template-columns:1fr}}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.mt-2{margin-top:8px}.mt-4{margin-top:16px}.gap-2{gap:8px}.gap-3{gap:12px}.d-flex{display:flex}.align-center{align-items:center}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}.grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=640px){.grid-2{grid-template-columns:1fr}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--gray-400)}.sidebar-overlay{z-index:999;background:#0006;display:none;position:fixed;inset:0}.sidebar-overlay.open{display:block}.question-bank-page-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;display:flex}.question-bank-page-header h2{color:#111b35;font-size:1.62rem}.question-bank-page-actions{flex-wrap:wrap;gap:10px;display:flex}.question-bank-page-actions .btn{min-width:128px;min-height:34px}.question-bank-page-actions .btn-primary{background:linear-gradient(135deg,#5b43e8,#793deb);box-shadow:0 7px 16px #5b43e83b}.question-bank-toolbar-card{border-color:#e3e8f2;border-radius:15px;box-shadow:0 8px 24px #1e293b0f}.question-bank-toolbar-card .card-body{padding:20px}.question-bank-toolbar{margin-bottom:0}.question-bank-toolbar .table-search{width:min(100%,360px)}.question-bank-toolbar>select{width:190px}.academic-list-toolbar .table-search{flex:260px;min-width:min(100%,220px);max-width:360px}.academic-list-toolbar>select{flex:0 210px;width:210px}.academic-list-toolbar>select:first-of-type{margin-left:auto}.question-bank-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:stretch;gap:14px;display:grid}.question-bank-card{height:100%;transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);border-color:#e1e7f0;border-radius:17px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 7px 20px #1e293b12}.question-bank-card:hover{border-color:#d9d6fb;transform:translateY(-3px);box-shadow:0 14px 30px #4338ca1c}.question-bank-banner{aspect-ratio:3;background:#f2f0ff;border-radius:12px;height:auto;margin:8px 8px 0;position:relative;overflow:hidden}.question-bank-banner>img{object-fit:cover;width:100%;height:100%;display:block}.question-bank-banner-badges{pointer-events:none;justify-content:space-between;align-items:center;gap:10px;display:flex;position:absolute;inset:12px 12px auto}.question-bank-visibility-badge,.question-bank-status-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffffe0;border-radius:999px;align-items:center;min-height:28px;padding:6px 11px;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex;box-shadow:0 5px 14px #1e293b17}.question-bank-visibility-badge:before,.question-bank-status-badge:before{background:currentColor;border-radius:50%;width:6px;height:6px;margin-right:6px;box-shadow:0 0 0 3px}@supports (color:color-mix(in lab, red, red)){.question-bank-visibility-badge:before,.question-bank-status-badge:before{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 14%, transparent)}}.question-bank-visibility-badge:before,.question-bank-status-badge:before{content:""}.question-bank-visibility-badge.is-school{color:#4338ca;background:#f8f7ffe6}.question-bank-visibility-badge.is-private{color:#475569;background:#f8fafce6}.question-bank-status-badge.is-active{color:#047857;background:#dcfce7eb}.question-bank-status-badge.is-archived{color:#a16207;background:#fef9c3eb}.question-bank-card .card-body{flex-direction:column;flex:1;padding:13px 15px 14px;display:flex}.question-bank-card-title{color:#111b35;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:3px;font-size:1.15rem;line-height:1.3;display:-webkit-box;overflow:hidden}.question-bank-card-description{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px;font-size:.8rem;line-height:1.5;display:-webkit-box;overflow:hidden}.question-bank-meta{grid-template-columns:minmax(0,1fr) max-content;gap:6px;margin-top:auto;display:grid}.question-bank-meta span{color:#5f6b7d;background:#f1f4f8;border:1px solid #0000;border-radius:9px;align-items:center;min-height:29px;padding:5px 9px;font-size:.72rem;font-weight:650;line-height:1.2;display:inline-flex}.question-bank-meta span.is-subject{color:#4f3cc9;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(135deg,#f3f0ff 0%,#ebe8ff 100%);border-color:#e4deff;justify-self:start;min-width:0;max-width:100%;overflow:hidden}.question-bank-meta span.is-grade{color:#1d4ed8;background:linear-gradient(135deg,#eff6ff 0%,#e3efff 100%);border-color:#d6e7ff}.question-bank-meta span.is-class{color:#526074;background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%);border-color:#e5eaf0;grid-column:1/-1;justify-self:start}.question-bank-card-stats{color:#536176;align-items:center;gap:7px;margin-top:13px;font-size:.73rem;display:flex}.question-bank-card-stats>span{white-space:nowrap;border:1px solid #0000;border-radius:9px;align-items:center;gap:6px;min-width:0;min-height:32px;padding:6px 9px;display:flex}.question-bank-card-stats>span.is-counts{color:#4f3cc9;background:linear-gradient(135deg,#f3f0ff 0%,#ebe8ff 100%);border-color:#e1dbff;flex:none}.question-bank-card-stats>span.is-owner{color:#047857;background:linear-gradient(135deg,#ecfdf5 0%,#dcfce7 100%);border-color:#bbf7d0;flex:1;overflow:hidden}.question-bank-card-stats>span.is-owner em{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-style:normal;overflow:hidden}.question-bank-card-stats svg{flex:none;width:15px;height:15px}.question-bank-card-stats strong{color:currentColor}.question-bank-card-stats b{color:#a5afbf}.question-bank-card-actions{background:#fff;border-top-color:#edf0f5;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:7px;padding:9px 10px 10px;display:grid}.question-bank-card-actions.is-editable{grid-template-columns:1.12fr repeat(3,minmax(0,1fr));gap:6px}.question-bank-card-actions .btn{min-width:0;min-height:34px;padding:6px 7px;font-size:.76rem}.question-bank-card-actions.is-editable .btn{white-space:nowrap;gap:4px;padding-inline:5px}.question-bank-card-actions .btn svg{width:15px;height:15px}.question-bank-card-actions .btn-primary{background:linear-gradient(135deg,#5b43e8,#7038df);box-shadow:0 5px 12px #5b43e833}.question-bank-card-actions .btn.is-edit{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.question-bank-card-actions .btn.is-edit:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd}.question-bank-card-actions .btn.is-archive{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.question-bank-card-actions .btn.is-archive:hover:not(:disabled){background:#ffedd5;border-color:#fdba74}.question-bank-card-actions .btn.is-restore{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.question-bank-card-actions .btn.is-restore:hover:not(:disabled){background:#d1fae5;border-color:#6ee7b7}.question-bank-card-actions .btn.is-delete{color:#dc2626;background:#fef2f2;border-color:#fecaca}.question-bank-card-actions .btn.is-delete:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.question-list{gap:14px;display:grid}.question-list-item .card-footer{background:#fff}.question-prompt-summary{color:var(--gray-800);max-width:900px;font-size:1rem;line-height:1.55}.question-sheet{overflow:hidden}.question-sheet-summary{border-bottom:1px solid var(--gray-200);justify-content:space-between;align-items:center;min-height:58px;padding:14px 20px;display:flex}.question-sheet-counts{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.question-sheet-count-badge{border:1px solid;border-radius:999px;align-items:center;gap:6px;min-height:34px;padding:7px 12px;font-size:.76rem;font-weight:650;line-height:1;display:inline-flex}.question-sheet-count-badge strong{color:currentColor;font-variant-numeric:tabular-nums;font-size:.9rem}.question-sheet-count-badge.is-questions{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.question-sheet-count-badge.is-points{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.question-answer-toggle{align-items:center;gap:12px;display:flex}.question-answer-toggle strong{color:var(--gray-700);font-size:.82rem}.question-sheet-item{padding:20px}.question-sheet-item+.question-sheet-item{border-top:1px solid var(--gray-200)}.question-sheet-item-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.question-sheet-item-meta{color:var(--gray-500);letter-spacing:.01em;text-transform:uppercase;flex-wrap:wrap;flex:auto;align-items:center;gap:7px;padding-top:7px;font-size:.72rem;display:flex}.question-sheet-item-meta strong{color:var(--gray-700)}.question-sheet-item-meta .question-number-badge{background:var(--primary);color:#fff;letter-spacing:0;text-transform:none;border:2px solid #c7d2fe;border-radius:50%;flex:0 0 32px;justify-content:center;align-self:center;align-items:center;width:32px;height:32px;margin-right:3px;font-size:.9rem;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 2px 7px #4f46e538}.question-sheet-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:5px;display:flex}.question-sheet-actions .btn{min-height:34px;padding:6px 8px;font-size:.76rem}.question-sheet-actions .btn svg{width:14px;height:14px}.question-sheet-actions .btn.is-preview{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.question-sheet-actions .btn.is-preview:hover:not(:disabled){background:#ede9fe;border-color:#c4b5fd}.question-sheet-actions .btn.is-edit{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.question-sheet-actions .btn.is-edit:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd}.question-sheet-actions .btn.is-duplicate{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.question-sheet-actions .btn.is-duplicate:hover:not(:disabled){background:#cffafe;border-color:#67e8f9}.question-sheet-actions .btn.is-publish,.question-sheet-actions .btn.is-restore{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.question-sheet-actions .btn.is-publish:hover:not(:disabled),.question-sheet-actions .btn.is-restore:hover:not(:disabled){background:#d1fae5;border-color:#6ee7b7}.question-sheet-actions .btn.is-archive{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.question-sheet-actions .btn.is-archive:hover:not(:disabled){background:#ffedd5;border-color:#fdba74}.question-sheet-actions .btn.is-version{color:#475569;background:#f8fafc;border-color:#cbd5e1}.question-sheet-actions .btn.is-version:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.question-sheet-actions .btn.is-delete{color:#dc2626;background:#fef2f2;border-color:#fecaca}.question-sheet-actions .btn.is-delete:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.question-bank-detail-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.question-bank-detail-actions .btn{min-width:128px;min-height:34px}.question-import-trigger,.question-import-check{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.question-import-trigger:hover:not(:disabled),.question-import-check:hover:not(:disabled){color:#155e75;background:#cffafe;border-color:#67e8f9}.question-import-modal .modal-body{background:#f8fafc}.question-import-intro{background:linear-gradient(135deg,#eef2ff,#f5f3ff);border:1px solid #ddd6fe;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;padding:16px;display:flex}.question-import-intro>div{min-width:0}.question-import-intro strong{color:#312e81;margin-bottom:5px;font-size:.92rem;display:block}.question-import-intro p{color:#5b6475;margin:0;font-size:.78rem;line-height:1.55}.question-import-intro code{color:#4338ca;background:#ffffffd1;border-radius:5px;padding:2px 5px}.question-import-intro .btn{color:#4338ca;white-space:nowrap;background:#fff;border-color:#c7d2fe;flex:none}.question-import-intro .btn:hover{background:#eef2ff;border-color:#a5b4fc}.question-import-upload{background:#fff;border:1px solid #e2e8f0;border-radius:13px;gap:7px;margin-top:14px;padding:15px;display:grid}.question-import-upload label{color:#334155;font-size:.8rem;font-weight:700}.question-import-upload small{color:#64748b}.question-import-api-error,.question-import-document-warning{border:1px solid;border-radius:11px;align-items:flex-start;gap:9px;margin-top:11px;padding:11px 13px;font-size:.78rem;line-height:1.5;display:flex}.question-import-api-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.question-import-document-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.question-import-api-error>svg,.question-import-document-warning>svg{flex:none;width:17px;height:17px;margin-top:1px}.question-import-api-error span{gap:2px;display:grid}.question-import-api-error strong{color:#991b1b}.question-import-results{margin-top:14px}.question-import-summary{grid-template-columns:repeat(3,minmax(110px,1fr)) auto;align-items:stretch;gap:8px;margin-bottom:10px;display:grid}.question-import-summary>div{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:11px;align-items:center;gap:8px;min-height:42px;padding:8px 11px;display:flex}.question-import-summary>div.has-error{background:#fff7ed;border-color:#fed7aa}.question-import-summary strong{color:#047857;font-size:1.05rem}.question-import-summary .has-error strong{color:#c2410c}.question-import-summary span{color:#475569;font-size:.72rem;font-weight:650}.question-import-image-status{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:11px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;margin-bottom:10px;padding:10px 12px;display:grid}.question-import-image-status.is-ready{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.question-import-image-status.is-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.question-import-image-status>svg{width:20px;height:20px}.question-import-image-status>.spinner,.question-import-image-message .spinner,.question-import-diagram-message .spinner{border-color:#2563eb #2563eb2e #2563eb2e;width:18px;height:18px}.question-import-image-status>div{gap:2px;min-width:0;display:grid}.question-import-image-status strong{font-size:.8rem}.question-import-image-status div>span{color:#64748b;font-size:.72rem;line-height:1.4}.question-import-image-status .btn{white-space:nowrap}.question-import-progress-modal .modal-body{background:#f8fafc}.question-import-progress{background:#fff;border:1px solid #dbe4ef;border-radius:14px;gap:15px;padding:18px;display:grid}.question-import-progress-heading{align-items:center;gap:12px;display:flex}.question-import-progress-heading>svg{color:#dc2626;flex:none;width:24px;height:24px}.question-import-progress-heading>.spinner{flex:none;width:24px;height:24px}.question-import-progress-heading>div{gap:3px;min-width:0;display:grid}.question-import-progress-heading strong{color:#172033;font-size:.95rem}.question-import-progress-heading span{color:#64748b;overflow-wrap:anywhere;font-size:.78rem;line-height:1.45}.question-import-progress-track{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.question-import-progress-track>span{border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#06b6d4);min-width:0;height:100%;transition:width .18s;display:block}.question-import-progress.is-error .question-import-progress-track>span{background:#ef4444}.question-import-progress.is-success .question-import-progress-track>span{background:#10b981}.question-import-progress-meta{color:#64748b;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.question-import-progress-meta strong{color:#334155}.question-import-progress-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:8px;padding:10px 11px;font-size:.76rem;line-height:1.45;display:flex}.question-import-progress-error>svg{flex:none;width:17px;height:17px}.question-import-list{gap:9px;display:grid}.question-import-item{background:#fff;border:1px solid #dfe6ef;border-radius:12px;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:13px;display:grid}.question-import-item.is-valid:has(input:checked){border-color:#a5b4fc;box-shadow:0 0 0 2px #6366f114}.question-import-item.is-invalid{background:snow;border-color:#fecaca}.question-import-item-check{justify-content:center;align-items:flex-start;padding-top:2px;display:flex}.question-import-item-check input{accent-color:#5b43e8;width:18px;height:18px}.question-import-item-check>svg{color:#dc2626;width:19px;height:19px}.question-import-item-content{min-width:0}.question-import-item-content header{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:7px;display:flex}.question-import-item-content header span{color:#64748b;text-transform:uppercase;font-size:.7rem;font-weight:750}.question-import-item-content header strong{color:#1e293b;font-size:.82rem}.question-import-item-content header em{color:#047857;background:#dcfce7;border-radius:999px;padding:3px 7px;font-size:.66rem;font-style:normal;font-weight:750}.question-import-item.is-invalid header em{color:#b91c1c;background:#fee2e2}.question-import-item-content>.rich-text-view{color:#334155;font-size:.83rem;line-height:1.5}.question-import-error{color:#b91c1c;margin:0;font-size:.79rem}.question-import-warning{color:#a16207;align-items:flex-start;gap:6px;margin:7px 0 0;font-size:.73rem;display:flex}.question-import-warning svg{flex:none;width:14px;height:14px;margin-top:1px}.question-import-question-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:11px}.question-import-question-preview .bank-question-preview{margin-top:0}.bank-question-preview{margin-top:18px}.bank-student-preview-modal{max-width:410px}.bank-student-preview-modal .modal-header{padding-left:18px;padding-right:18px}.bank-student-preview-modal .modal-body{padding:14px 14px 18px}.bank-student-preview{width:100%;max-width:370px;margin:0 auto}.bank-student-preview .student-question-card{min-height:0;padding:16px 13px}.bank-student-preview .student-question-prompt{font-size:.88em}.bank-student-preview .student-question-prompt .question-content-image{max-height:240px}.bank-student-preview .student-answer-options{margin-top:17px}.bank-student-preview .student-answer-options.is-two-column{grid-template-columns:1fr}.bank-student-preview .student-answer-option{padding:10px 9px}.bank-student-preview .match-connect-board{padding:11px 9px}.bank-student-preview .match-up-layout.match-connect-canvas{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px clamp(44px,12vw,50px)}.bank-student-preview .match-up-column-title{padding:0 3px 2px;font-size:.61rem}.bank-student-preview .match-connect-node{border-radius:10px;min-height:70px}.bank-student-preview .match-connect-content{grid-template-columns:minmax(0,1fr);padding:10px 12px}.bank-student-preview .match-up-index{border-radius:6px;flex-basis:25px;height:25px;font-size:.68rem}.bank-student-preview .match-connect-content>.rich-text-view{font-size:.78em;line-height:1.5}.bank-student-preview .match-connect-dot{border-width:3px;width:19px;height:19px}.bank-student-preview .match-connect-node.is-left .match-connect-dot{right:-10px}.bank-student-preview .match-connect-node.is-right .match-connect-dot{left:-10px}.bank-student-preview .match-connect-clear{width:20px;height:20px;top:4px;right:16px}.bank-student-preview .match-connect-line{stroke-width:2.5px}.bank-student-preview .match-connect-progress{min-height:40px;margin-top:11px;font-size:.68rem}.bank-student-preview .group-sort-item-bank>div,.bank-student-preview .group-sort-groups,.bank-student-preview .labelled-diagram-layout{grid-template-columns:1fr}.bank-student-preview .labelled-diagram-stage>img{max-width:100%;max-height:210px}.bank-student-preview .diagram-label-bank{border-top:1px solid var(--gray-200);padding-top:12px}.bank-student-preview .diagram-assigned-label{max-width:130px}.bank-student-preview .student-question-card .question-content-image{background:var(--gray-50);border:1px solid var(--gray-200);object-fit:contain;max-width:100%;max-height:none;padding:3px;width:108px!important;height:72px!important}.bank-student-preview .student-question-prompt .question-content-image{max-height:180px;width:auto!important;height:auto!important}.bank-question-preview .question-content-image,.grading-answer-card .question-content-image,.exam-question-preview .question-content-image{background:var(--gray-50);border:1px solid var(--gray-200);object-fit:contain;border-radius:7px;max-width:100%;max-height:none;padding:4px;width:180px!important;height:120px!important}.bank-question-prompt{color:var(--gray-900);font-size:.95rem;font-weight:650;line-height:1.5}.bank-question-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 30px;margin-top:18px;display:grid}.bank-question-choice{color:var(--gray-800);align-items:flex-start;gap:8px;min-width:0;font-size:.88rem;line-height:1.45;display:flex}.bank-question-choice-marker{border:1.5px solid var(--gray-400);border-radius:50%;flex:0 0 17px;justify-content:center;align-items:center;width:17px;height:17px;margin-top:2px;display:inline-flex}.bank-question-choice-marker.is-square{border-radius:4px}.bank-question-choice-marker svg{stroke-width:3px;width:11px;height:11px}.bank-question-choice.is-correct .bank-question-choice-marker{background:var(--success);border-color:var(--success);color:#fff}.bank-question-choice>.rich-text-view{flex:auto;min-width:0}.bank-match-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin-top:18px;display:grid}.bank-match-preview>div{gap:8px;min-width:0;display:grid}.bank-match-preview>div>strong{color:var(--gray-500);text-transform:uppercase;font-size:.7rem}.bank-match-item{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:flex-start;gap:8px;padding:8px;font-size:.84rem;display:grid}.bank-match-item>span{color:var(--primary);background:#fff;border-radius:6px;justify-content:center;align-items:center;height:24px;font-size:.67rem;font-weight:750;display:flex}.bank-match-item>.rich-text-view{min-width:0;line-height:1.5}.bank-match-preview.is-answer .bank-match-item{background:var(--success-light);border-color:#86efac}.bank-interactive-preview,.bank-labelled-diagram-preview{gap:10px;margin-top:18px;display:grid}.bank-preview-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.bank-preview-groups>div{background:var(--primary-50);border:1px dashed var(--primary-light);border-radius:9px;gap:7px;min-height:60px;padding:9px;display:grid}.bank-preview-group-title{color:var(--primary);font-size:.78rem;font-weight:750}.bank-preview-item-bank,.bank-reorder-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.bank-reorder-preview{grid-template-columns:1fr}.bank-word-arrangement-preview,.exam-word-arrangement-preview,.grading-word-answer-key{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.bank-word-arrangement-preview>span,.exam-word-arrangement-preview>span,.grading-word-answer-key>span{border:1px solid var(--gray-300);color:var(--gray-800);background:#fff;border-radius:9px;align-items:center;gap:7px;min-height:38px;padding:7px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.bank-word-arrangement-preview>span>small,.grading-word-answer-key>span>small{background:var(--primary-50);color:var(--primary);border-radius:6px;justify-content:center;align-items:center;width:23px;height:23px;font-size:.65rem;display:inline-flex}.bank-word-arrangement-preview.is-answer>span{background:var(--success-light);border-color:#86efac}.bank-preview-item{border:1px solid var(--gray-200);background:#fff;border-radius:7px;grid-template-columns:23px minmax(0,1fr);align-items:flex-start;gap:7px;padding:7px;font-size:.8rem;display:grid}.bank-preview-item.is-plain{grid-template-columns:minmax(0,1fr)}.bank-preview-item>span{background:var(--gray-100);color:var(--primary);border-radius:5px;justify-content:center;align-items:center;height:23px;font-size:.65rem;font-weight:750;display:flex}.bank-preview-item>.rich-text-view{min-width:0;line-height:1.5}.bank-reorder-preview.is-answer .bank-preview-item{background:var(--success-light);border-color:#86efac}.bank-diagram-stage{background:var(--gray-100);border:1px solid var(--gray-200);border-radius:10px;justify-self:start;max-width:100%;display:inline-block;position:relative}.bank-diagram-stage>img,.exam-diagram-preview>img,.grading-answer-card .labelled-diagram-stage>img{object-fit:contain;border-radius:9px;width:auto;max-width:min(100%,360px);height:auto;max-height:240px;display:block}.bank-diagram-stage>span{background:var(--primary);color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;font-size:.65rem;font-weight:800;display:flex;position:absolute;transform:translate(-50%,-50%)}.bank-diagram-key{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.bank-diagram-key>div{background:var(--success-light);border:1px solid #86efac;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:flex-start;gap:7px;padding:7px;font-size:.8rem;display:grid}.bank-diagram-key>div>span{color:#047857;background:#d1fae5;border-radius:5px;justify-content:center;align-items:center;height:24px;font-size:.65rem;font-weight:800;display:flex}.bank-question-written-answer{max-width:760px;margin-top:18px}.question-import-image-frame{box-sizing:border-box;max-width:100%;min-height:120px;width:min(180px, var(--question-import-image-width,100%));margin-top:10px;margin-bottom:10px;display:grid;position:relative}.question-import-image-frame[data-align=left]{margin-left:0;margin-right:auto}.question-import-image-frame[data-align=center]{margin-left:auto;margin-right:auto}.question-import-image-frame[data-align=right]{margin-left:auto;margin-right:0}.question-import-question-preview .question-import-image-frame>.question-content-image{grid-area:1/1;transition:opacity .16s;width:100%!important;height:120px!important;margin:0!important}.question-import-image-frame.is-loading>.question-content-image{opacity:.08}.question-import-image-frame.is-error>.question-content-image{opacity:0}.question-import-image-message{color:#1d4ed8;text-align:center;z-index:1;background:#f8fafc;border:1px dashed #93c5fd;border-radius:8px;grid-area:1/1;justify-content:center;align-items:center;gap:8px;min-height:120px;padding:10px;font-size:.72rem;font-weight:700;display:flex}.question-import-image-frame.is-error .question-import-image-message{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.question-import-question-preview .bank-diagram-stage:has(>.question-import-diagram-message){width:min(280px,100%);min-width:min(280px,100%);min-height:170px}.question-import-question-preview .bank-diagram-stage>span.question-import-diagram-message{color:#1d4ed8;z-index:2;background:#f8fafc;border:1px dashed #93c5fd;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:auto;height:auto;font-size:.72rem;font-weight:700;display:flex;position:absolute;inset:0;transform:none}.question-import-question-preview .bank-diagram-stage>span.question-import-diagram-message.is-error{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.question-import-diagram-image.is-loading{opacity:.08}.question-import-diagram-image.is-error{opacity:0}.bank-question-answer-key{background:var(--success-light);color:#166534;border:1px solid #86efac;border-radius:7px;margin-top:10px;padding:10px 12px;font-size:.82rem}.bank-question-answer-key.is-rubric{gap:7px;display:grid}.bank-question-answer-key.is-rubric .rich-text-view{color:var(--gray-800);line-height:1.6}.question-sheet-tags{color:var(--gray-400);flex-wrap:wrap;align-items:center;gap:6px;margin-top:15px;display:flex}.question-editor-page{max-width:1180px;margin:0 auto}.question-editor-sticky-header{border:1px solid var(--card-border);border-radius:var(--radius-md);top:calc(var(--header-height) + 10px);z-index:120;background:#fffffff5;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:14px 16px;display:flex;position:sticky;box-shadow:0 8px 24px #0f172a14}.question-editor-heading{align-items:center;gap:12px;min-width:0;display:flex}.question-editor-heading>div{min-width:0}.question-editor-heading h2{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 3px;font-size:1.08rem;display:flex}.question-editor-type-badge{background:var(--primary-50);border:1px solid var(--primary-100);color:var(--primary);border-radius:999px;padding:5px 8px;font-size:.67rem;font-weight:750;line-height:1}.question-editor-heading p{color:var(--gray-500);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;overflow:hidden}.question-editor-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.question-editor-save-status{color:var(--success);align-items:center;gap:6px;margin-right:4px;font-size:.76rem;display:flex}.question-editor-save-status.is-dirty{color:var(--warning)}.question-editor-save-status svg{width:16px;height:16px}.question-editor-form{gap:18px;display:grid}.question-editor-section{overflow:visible}.question-editor-section-title{border-bottom:1px solid var(--card-border);align-items:center;gap:11px;padding:16px 20px;display:flex}.question-editor-section-title>svg{color:var(--primary);width:20px;height:20px}.question-editor-section-title h3{margin:0 0 2px;font-size:.95rem}.question-editor-section-title p{color:var(--gray-500);margin:0;font-size:.76rem}.question-editor-bottom-actions{justify-content:flex-end;gap:10px;padding-bottom:8px;display:flex}.allow-photo-toggle{cursor:pointer;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.allow-photo-toggle input[type=checkbox]{accent-color:var(--primary);flex-shrink:0;width:17px;height:17px}.rich-editor{border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);background:#fff;overflow:hidden}.rich-editor:focus-within{border-color:var(--primary-light);box-shadow:0 0 0 3px var(--primary-50)}.rich-editor.is-disabled{background:var(--gray-50)}.rich-editor.is-disabled .rich-editor-content{color:var(--gray-600);cursor:not-allowed}.rich-toolbar{background:var(--gray-50);border-bottom:1px solid var(--gray-200);flex-wrap:wrap;align-items:center;gap:3px;padding:7px;display:flex}.rich-toolbar-button{color:var(--gray-600);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;min-width:30px;height:30px;padding:5px;display:inline-flex}.rich-toolbar-button svg{width:16px;height:16px}.rich-toolbar-button .spinner{border-color:var(--gray-300);border-top-color:var(--primary);width:16px;height:16px}.rich-toolbar-button:hover{background:var(--gray-200)}.rich-toolbar-button.active{background:var(--primary-100);color:var(--primary-dark)}.rich-toolbar-button:disabled{cursor:not-allowed;opacity:.4}.image-resize-toolbar{background:var(--primary-50);border-bottom:1px solid var(--primary-100);color:var(--primary-dark);flex-wrap:wrap;align-items:center;gap:9px;padding:7px 10px;font-size:.78rem;display:flex}.image-resize-toolbar input[type=range]{accent-color:var(--primary);flex:1;min-width:100px;max-width:220px}.image-resize-help{color:var(--gray-500);font-size:.7rem}.image-align-buttons{gap:2px;margin-left:auto;display:flex}.table-edit-toolbar{color:#155e75;background:#ecfeff;border-bottom:1px solid #a5f3fc;flex-wrap:wrap;align-items:center;gap:4px;padding:7px 10px;font-size:.78rem;display:flex}.table-edit-toolbar>span{margin-right:4px;font-weight:700}.table-edit-toolbar .rich-toolbar-button{color:#155e75;width:auto;padding-left:8px;padding-right:8px;font-size:.75rem}.rich-editor-content{color:var(--gray-800);outline:none;min-height:130px;padding:12px 14px;line-height:1.65}.rich-editor-content.compact{min-height:46px;padding:10px 12px}.rich-editor-content p,.rich-text-view p{margin:0 0 8px}.rich-editor-content p:last-child,.rich-text-view p:last-child{margin-bottom:0}.rich-editor-content ul,.rich-editor-content ol,.rich-text-view ul,.rich-text-view ol{margin:8px 0;padding-left:24px}.rich-editor-content blockquote,.rich-text-view blockquote{border-left:3px solid var(--primary-light);color:var(--gray-600);margin:10px 0;padding-left:12px}.rich-editor-content mark,.rich-text-view mark{background:#fef08a}.rich-text-view{box-sizing:border-box;width:100%;min-width:0}.math-formula{color:inherit;vertical-align:middle;max-width:100%;overflow:auto hidden}.math-formula.is-inline{padding:0 2px;display:inline-block}.math-formula.is-display{text-align:center;width:100%;margin:10px 0;padding:8px 4px;display:block}.math-formula.ProseMirror-selectednode{background:var(--primary-100);outline:2px solid var(--primary);border-radius:5px}.math-formula-display-toggle{align-items:center;gap:9px;margin-top:16px;display:flex}.math-formula-display-toggle input{accent-color:var(--primary);width:17px;height:17px}.visual-math-editor{min-width:0}.visual-math-field-wrap{position:relative}.visual-math-field{--caret-color:var(--primary);--contains-highlight-background-color:var(--primary-100);--selection-background-color:#c7d2fe;border:2px solid var(--gray-300);box-sizing:border-box;background:#fff;border-radius:12px;width:100%;min-height:82px;padding:18px 116px 18px 18px;font-size:clamp(1.35rem,3vw,1.8rem);transition:border-color .15s,box-shadow .15s;display:block;overflow-x:auto}.visual-math-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-100);outline:none}.visual-math-field::part(menu-toggle),.visual-math-field::part(virtual-keyboard-toggle){display:none}.visual-math-edit-actions{gap:4px;display:flex;position:absolute;top:12px;right:12px}.visual-math-edit-actions button{background:var(--gray-50);border:1px solid var(--gray-200);color:var(--gray-600);border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.visual-math-edit-actions button:hover{background:var(--primary-100);color:var(--primary-dark)}.visual-math-edit-actions svg{width:16px;height:16px}.visual-math-help{color:var(--gray-500);margin:8px 2px 14px;font-size:.8rem;line-height:1.5}.visual-math-tabs{border-bottom:1px solid var(--gray-200);scrollbar-width:thin;gap:4px;padding-bottom:7px;display:flex;overflow-x:auto}.visual-math-tabs button{color:var(--gray-600);background:0 0;border:0;border-radius:7px;flex:none;padding:8px 11px;font-size:.78rem;font-weight:700}.visual-math-tabs button:hover,.visual-math-tabs button.active{background:var(--primary-100);color:var(--primary-dark)}.visual-math-palette{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:7px;max-height:210px;padding:12px 2px 2px;display:grid;overflow-y:auto}.visual-math-palette>button{border:1px solid var(--gray-200);color:var(--gray-800);background:#fff;border-radius:9px;justify-content:center;align-items:center;min-height:48px;padding:7px;display:flex;overflow:hidden}.visual-math-palette>button:hover{background:var(--primary-100);border-color:var(--primary-light);color:var(--primary-dark);transform:translateY(-1px)}.visual-math-palette .math-formula{pointer-events:none;overflow:visible}@media (width<=640px){.visual-math-field{min-height:72px;padding:16px 12px 48px}.visual-math-edit-actions{top:auto;bottom:9px;right:10px}.visual-math-palette{grid-template-columns:repeat(4,minmax(54px,1fr));max-height:190px}}.rich-editor-content .tableWrapper,.question-table-wrapper{max-width:100%;margin:12px 0;overflow-x:auto}.rich-editor-content table,.question-content-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:480px}.rich-editor-content th,.rich-editor-content td,.question-content-table th,.question-content-table td{border:1px solid var(--gray-300);text-align:left;vertical-align:top;min-width:90px;padding:8px 10px;font-size:.9em;line-height:1.45;position:relative}.rich-editor-content th,.question-content-table th{background:var(--gray-100);font-weight:700}.rich-editor-content .selectedCell:after{content:"";pointer-events:none;background:#4f46e51f;position:absolute;inset:0}.rich-editor-content .column-resize-handle{background:var(--primary);pointer-events:none;width:4px;position:absolute;top:0;bottom:-1px;right:-2px}.rich-editor-content.resize-cursor{cursor:col-resize}.rich-editor-content img,.question-content-image{box-sizing:border-box;object-fit:contain;border-radius:8px;max-width:100%;height:auto;max-height:520px;margin-top:10px;margin-bottom:10px;display:block}.rich-editor-content img[data-align=left],.question-content-image[data-align=left]{margin-left:0;margin-right:auto}.rich-editor-content img[data-align=center],.question-content-image[data-align=center]{margin-left:auto;margin-right:auto}.rich-editor-content img[data-align=right],.question-content-image[data-align=right]{margin-left:auto;margin-right:0}.exam-image-node{box-sizing:border-box;max-width:100%;margin-top:12px;margin-bottom:12px;line-height:0;position:relative}.exam-image-node[data-align=left]{margin-left:0;margin-right:auto}.exam-image-node[data-align=center]{margin-left:auto;margin-right:auto}.exam-image-node[data-align=right]{margin-left:auto;margin-right:0}.rich-editor-content .exam-image-node>img{object-fit:contain;border-radius:8px;width:100%;height:auto;max-height:none;margin:0;display:block}.exam-image-node.is-selected{outline:2px solid var(--primary);outline-offset:2px}.exam-image-resize-handle{border:2px solid var(--primary);touch-action:none;z-index:3;background:#fff;border-radius:50%;width:12px;height:12px;display:none;position:absolute;box-shadow:0 1px 4px #0f172a40}.exam-image-node.is-selected .exam-image-resize-handle{display:block}.exam-image-resize-handle.is-top-left{cursor:nwse-resize;top:0;left:0;transform:translate(-50%,-50%)}.exam-image-resize-handle.is-top-right{cursor:nesw-resize;top:0;right:0;transform:translate(50%,-50%)}.exam-image-resize-handle.is-middle-left{cursor:ew-resize;top:50%;left:0;transform:translate(-50%,-50%)}.exam-image-resize-handle.is-middle-right{cursor:ew-resize;top:50%;right:0;transform:translate(50%,-50%)}.exam-image-resize-handle.is-bottom-left{cursor:nesw-resize;bottom:0;left:0;transform:translate(-50%,50%)}.exam-image-resize-handle.is-bottom-right{cursor:nwse-resize;bottom:0;right:0;transform:translate(50%,50%)}body.is-resizing-exam-image{cursor:nwse-resize!important;-webkit-user-select:none!important;user-select:none!important}.image-source-tabs{border-bottom:1px solid var(--gray-200);gap:4px;margin:-8px 0 20px;display:flex;overflow-x:auto}.image-source-tabs button{color:var(--gray-500);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:7px;padding:11px 14px;font-size:.88rem;font-weight:600;display:inline-flex}.image-source-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.image-source-tabs button svg{width:17px;height:17px}.image-source-tabs button span{background:var(--warning-light);color:#92400e;border-radius:999px;padding:2px 6px;font-size:.62rem}.image-source-panel{min-height:390px}.image-upload-dropzone{background:var(--gray-50);border:2px dashed var(--gray-300);color:var(--gray-500);cursor:pointer;text-align:center;min-height:360px;transition:border-color var(--transition-fast), background var(--transition-fast);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:30px;display:flex}.image-upload-dropzone:hover{background:var(--primary-50);border-color:var(--primary)}.image-upload-dropzone>svg{color:var(--primary);width:46px;height:46px}.image-upload-dropzone strong{color:var(--gray-800);font-size:1rem}.image-upload-dropzone span{font-size:.82rem}.image-upload-dropzone .image-upload-divider{color:var(--gray-400);align-items:center;gap:10px;width:min(280px,90%);margin:5px 0;display:flex}.image-upload-dropzone .image-upload-divider:before,.image-upload-dropzone .image-upload-divider:after{background:var(--gray-300);content:"";flex:1;height:1px}.image-upload-dropzone .image-paste-hint{background:var(--primary-50);color:var(--primary-dark);border:1px solid #c7d2fe;border-radius:10px;align-items:center;gap:9px;padding:10px 14px;font-size:.86rem;font-weight:650;display:inline-flex}.image-upload-dropzone .image-paste-hint>svg{flex:none;width:20px;height:20px}.image-upload-dropzone .image-paste-hint>span{font-size:inherit}.image-upload-dropzone .image-paste-hint kbd{color:var(--primary-dark);background:#fff;border:1px solid #a5b4fc;border-bottom-width:2px;border-radius:5px;padding:2px 6px;font-family:inherit;font-size:.72rem;font-weight:800;box-shadow:0 1px #a5b4fc}.image-source-empty{color:var(--gray-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:360px;padding:30px;display:flex}.image-source-empty>svg{color:var(--primary);width:48px;height:48px;margin-bottom:12px}.image-source-empty h4{color:var(--gray-800);margin-bottom:7px}.image-source-empty p{max-width:520px;margin-bottom:12px;font-size:.88rem}.ai-image-generator{gap:18px;padding:8px 4px;display:grid}.ai-image-generator-heading{background:linear-gradient(135deg, var(--primary-50), #eff6ff);border:1px solid #c7d2fe;border-radius:12px;align-items:center;gap:13px;padding:15px;display:flex}.ai-image-generator-heading>span{background:var(--primary);color:#fff;border-radius:10px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.ai-image-generator-heading>span svg{width:22px;height:22px}.ai-image-generator-heading h4{color:var(--gray-800);margin:0 0 3px}.ai-image-generator-heading p{color:var(--gray-500);margin:0;font-size:.82rem}.ai-image-generator .ai-image-error,.ai-image-generator .form-group{margin-bottom:0}.ai-image-generator-actions{grid-template-columns:minmax(190px,240px) auto;justify-content:start;align-items:end;gap:12px;display:grid}.ai-image-generator-actions .btn{min-height:42px}.google-image-search-form{align-items:center;gap:10px;display:flex}.google-image-search-form .table-search{flex:1;width:auto}.google-image-engine{width:1px;height:1px;position:fixed;top:0;left:-10000px;overflow:hidden}.google-image-status{color:var(--gray-500);justify-content:center;align-items:center;gap:9px;min-height:280px;display:flex}.google-image-loading-more{color:var(--gray-500);justify-content:center;align-items:center;gap:8px;padding:10px 0 2px;font-size:.8rem;display:flex}.google-image-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.google-image-result-card{background:var(--card-bg);border:1px solid var(--card-border);color:var(--gray-700);cursor:pointer;text-align:left;min-width:0;transition:border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);border-radius:10px;flex-direction:column;padding:0;display:flex;overflow:hidden}.google-image-result-card:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 8px 20px #4f46e524}.google-image-result-preview{aspect-ratio:4/3;background:var(--gray-100);justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.google-image-result-preview img{object-fit:contain;width:100%;height:100%}.google-image-result-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;padding:9px 10px 4px;font-size:.78rem;line-height:1.35;display:-webkit-box;overflow:hidden}.google-image-result-action{color:var(--primary);margin-top:auto;padding:5px 10px 10px;font-size:.76rem;font-weight:700}.google-image-pagination{justify-content:center;align-items:center;gap:6px;margin-top:16px;display:flex}.google-image-pagination button{background:var(--card-bg);border:1px solid var(--card-border);color:var(--gray-600);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;min-width:34px;height:34px;padding:0 8px;font-size:.8rem;font-weight:700;display:inline-flex}.google-image-pagination button:hover:not(:disabled),.google-image-pagination button.active{background:var(--primary);border-color:var(--primary);color:#fff}.google-image-pagination button:disabled{cursor:not-allowed;opacity:.45}.google-image-pagination svg{width:16px;height:16px}body.examtech-google-image-dialog-open .gsc-modal-background-image,body.examtech-google-image-dialog-open .gsc-results-wrapper-overlay{display:none!important}.image-crop-layout{gap:14px;display:grid}.image-crop-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.image-crop-header>div{gap:3px;min-width:0;display:grid}.image-crop-header strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.image-crop-header span{color:var(--gray-500);font-size:.76rem}.image-crop-stage{background:#111827;border-radius:10px;justify-content:center;align-items:center;min-height:320px;max-height:460px;padding:14px;display:flex;overflow:auto}.image-crop-stage .ReactCrop{max-width:100%;max-height:430px}.image-crop-stage .ReactCrop__child-wrapper img{object-fit:contain;max-width:100%;max-height:430px;display:block}.image-crop-controls{grid-template-columns:180px 1fr;gap:14px;display:grid}.image-crop-controls .form-group{margin-bottom:0}.ai-settings-page{padding-bottom:88px}.ai-settings-grid,.ai-provider-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid}.ai-settings-grid{margin-top:14px}.ai-settings-card,.ai-provider-card{border-color:var(--gray-200);margin:0}.ai-settings-card .card-header,.ai-provider-card .card-header{min-height:73px}.ai-card-title{align-items:center;gap:11px;min-width:0;display:flex}.ai-card-title>div{gap:2px;min-width:0;display:grid}.ai-card-title h3{margin:0}.ai-card-title small{color:var(--gray-500);font-size:.71rem;font-weight:500}.ai-card-icon{border-radius:10px;flex:0 0 38px;justify-content:center;align-items:center;height:38px;display:flex}.ai-card-icon svg{width:19px;height:19px}.ai-card-icon-image{color:#4f46e5;background:#eef2ff}.ai-card-icon-grading{color:#059669;background:#ecfdf5}.ai-card-icon-gemini{color:#6d5dfb;background:linear-gradient(135deg,#eef2ff,#f5f3ff)}.ai-card-icon-sumopod{color:#0891b2;background:#ecfeff}.ai-feature-status{background:var(--gray-100);border:1px solid var(--gray-200);color:var(--gray-500);border-radius:999px;flex:none;padding:5px 9px;font-size:.68rem;font-weight:750}.ai-feature-status.is-active{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.ai-provider-card .card-header{justify-content:space-between;align-items:center;display:flex}.ai-provider-card-gemini .card-header{background:linear-gradient(90deg,#fafaff,#fff)}.ai-provider-card-sumopod .card-header{background:linear-gradient(90deg,#f0fdff,#fff)}.ai-feature-toggle{border-bottom:1px solid var(--gray-200);justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding-bottom:18px;display:flex}.ai-feature-toggle>div{gap:4px;display:grid}.ai-feature-toggle span{color:var(--gray-500);font-size:.8rem}.ai-toggle-control{flex:none;align-items:center;gap:9px!important;display:flex!important}.ai-toggle-control>span{font-size:.69rem;font-weight:700}.ai-toggle-control>span.is-active{color:#059669}.ai-provider-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ai-provider-choice button{border:1px solid var(--gray-200);color:var(--gray-600);cursor:pointer;font:inherit;min-height:44px;transition:border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 30px 11px 12px;font-size:.82rem;font-weight:700;display:flex;position:relative}.ai-provider-choice button:hover{background:#f8faff;border-color:#a5b4fc;transform:translateY(-1px)}.ai-provider-choice button.active{background:var(--primary-50);border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 2px #4f46e514}.ai-provider-choice svg{width:17px;height:17px}.ai-provider-choice .ai-provider-check{width:15px;height:15px;position:absolute;right:10px}.ai-secret-input{align-items:stretch;gap:7px;display:flex}.ai-secret-input .btn{flex:0 0 42px;padding:0}.ai-secret-input svg{width:17px;height:17px}.ai-key-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.ai-key-heading>label{margin:0}.ai-key-heading .btn{font-size:.72rem}.ai-key-heading svg{width:15px;height:15px}.ai-saved-key-list,.ai-new-key-list{gap:7px;margin-bottom:9px;display:grid}.ai-saved-key-list>div{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;justify-content:space-between;align-items:center;min-height:38px;padding:7px 9px 7px 11px;font-size:.78rem;font-weight:650;display:flex}.ai-saved-key-list span{align-items:center;gap:7px;display:flex}.ai-saved-key-list span svg{width:15px;height:15px}.ai-saved-key-list button{color:#dc2626;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:flex}.ai-saved-key-list button:hover{color:#b91c1c;background:#fee2e2}.ai-saved-key-list button svg{width:15px;height:15px}.ai-add-key{color:var(--primary);border-style:dashed;justify-self:start}.ai-add-key:hover{background:var(--primary-50);border-color:#a5b4fc}.ai-add-key svg{width:15px;height:15px}.ai-key-status{color:var(--gray-500);align-items:center;gap:5px;margin-top:6px;font-size:.74rem;display:flex}.ai-key-status.is-ready{color:var(--success)}.ai-key-status svg{width:14px;height:14px}.ai-provider-card code{background:var(--gray-100);color:var(--gray-700);border-radius:4px;padding:1px 4px;font-size:.72rem}.ai-test-button{border:1px solid var(--gray-300);color:var(--gray-700);background:#fff;min-height:38px}.ai-test-button-gemini:hover:not(:disabled){color:#6d28d9;background:#f5f3ff;border-color:#a78bfa}.ai-test-button-sumopod:hover:not(:disabled){color:#0e7490;background:#ecfeff;border-color:#67e8f9}.ai-settings-savebar{border:1px solid var(--gray-200);z-index:8;background:#fffffff5;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex;position:sticky;bottom:18px;box-shadow:0 12px 30px #0f172a1f}.ai-settings-savebar>span{color:var(--gray-500);align-items:center;gap:7px;font-size:.8rem;display:flex}.ai-settings-savebar>span svg{color:var(--primary);width:16px;height:16px}.ai-settings-savebar .btn{min-height:42px}.ai-save-button{background:linear-gradient(135deg, var(--primary), #6d28d9);border:0;padding-left:18px;padding-right:18px;box-shadow:0 7px 16px #4f46e53d}.ai-save-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 20px #4f46e54d}.essay-ai-toolbar{background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.essay-ai-toolbar>div{gap:3px;display:grid}.essay-ai-toolbar span{color:var(--gray-500);font-size:.77rem}.essay-ai-suggestion{background:#f0fdf4;border:1px solid #86efac;border-radius:10px;gap:7px;padding:13px 14px;display:grid}.essay-ai-suggestion>div{justify-content:space-between;align-items:center;display:flex}.essay-ai-suggestion>div span{color:#166534;text-transform:uppercase;font-size:.73rem;font-weight:800}.essay-ai-suggestion>div strong{color:#166534;font-size:1rem}.essay-ai-suggestion p{color:var(--gray-700);margin:0;font-size:.84rem}.essay-ai-suggestion small{color:var(--gray-500)}.essay-ai-suggestion em{color:#166534;font-size:.75rem;font-style:normal;font-weight:650}.choice-editor-list{gap:10px;display:grid}.choice-editor-row{align-items:center;gap:10px;display:flex}.choice-editor-row>input{width:18px;height:18px}.match-pair-editor-list{gap:12px;display:grid}.match-pair-editor-row{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:11px;grid-template-columns:34px minmax(0,1fr) 28px minmax(0,1fr) 38px;align-items:stretch;gap:10px;padding:11px;display:grid}.match-pair-editor-number{background:var(--primary-50);color:var(--primary);border-radius:50%;justify-content:center;align-self:center;align-items:center;width:30px;height:30px;font-size:.75rem;font-weight:750;display:flex}.match-pair-editor-side{min-width:0}.match-pair-editor-side>small{color:var(--gray-500);text-transform:uppercase;margin-bottom:5px;font-size:.68rem;font-weight:700;display:block}.match-pair-editor-link{color:var(--primary);justify-content:center;align-items:center;font-size:1.1rem;display:flex}.match-pair-editor-row>.btn{align-self:center}.interactive-editor-block{gap:18px;display:grid}.interactive-editor-block>.form-group{margin-bottom:0}.sort-group-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.sort-group-editor-card{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:10px;min-width:0;padding:10px}.interactive-editor-card-header{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.interactive-editor-card-header>strong{color:var(--gray-600);font-size:.72rem}.sort-item-editor-list,.reorder-editor-list,.diagram-entry-editor-list{gap:10px;display:grid}.word-arrangement-editor-block{margin-bottom:0}.word-arrangement-source{resize:vertical;line-height:1.65}.word-arrangement-source-summary{color:var(--gray-500);justify-content:space-between;gap:12px;margin-top:7px;font-size:.72rem;display:flex}.word-arrangement-editor-preview{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:13px;margin-top:15px;padding:12px;overflow:hidden}.word-arrangement-editor-preview-title{justify-content:space-between;align-items:center;gap:10px;margin:0 2px 10px;display:flex}.word-arrangement-editor-preview-title strong{color:var(--gray-800);font-size:.82rem}.word-arrangement-editor-preview-title span{color:var(--gray-500);font-size:.69rem}.word-arrangement-editor-preview .student-question-card{min-height:0;padding:16px}.sort-item-editor-row{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:10px;grid-template-columns:32px minmax(0,1fr) minmax(150px,.32fr) 38px;align-items:center;gap:10px;padding:10px;display:grid}.sort-item-editor-row>.rich-text-editor,.reorder-editor-row>.rich-text-editor{min-width:0}.reorder-editor-row{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:10px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.reorder-editor-actions{gap:3px;display:flex}.diagram-upload-empty{background:var(--gray-50);border:1px dashed var(--gray-300);color:var(--gray-500);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:220px;padding:24px;display:flex}.diagram-upload-empty>svg{color:var(--primary);width:32px;height:32px}.diagram-upload-empty>strong{color:var(--gray-700)}.diagram-upload-empty>span{max-width:540px;font-size:.75rem}.diagram-hotspot-editor{gap:8px;display:grid}.diagram-hotspot-stage{border:1px solid var(--gray-300);cursor:crosshair;background:#eef2f7;border-radius:12px;justify-self:start;max-width:100%;display:inline-block;position:relative;overflow:hidden}.diagram-hotspot-stage>img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:620px;display:block}.diagram-editor-marker{aspect-ratio:1;border:2px solid var(--primary);cursor:pointer;min-width:34px;min-height:34px;width:max(34px, var(--hotspot-tolerance));background:#4f46e524;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.diagram-editor-marker>span{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:23px;height:23px;font-size:.68rem;font-weight:800;display:flex}.diagram-editor-marker.is-active{border-color:var(--warning);background:#f59e0b33;box-shadow:0 0 0 4px #f59e0b2e}.diagram-entry-editor-row{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:11px;grid-template-columns:32px minmax(0,1fr) 150px 160px auto;align-items:center;gap:10px;padding:10px;display:grid}.diagram-entry-editor-row.is-active{background:var(--primary-50);border-color:var(--primary-light)}.diagram-label-editor{min-width:0}.diagram-label-editor>small{color:var(--gray-500);margin-bottom:5px;font-size:.68rem;font-weight:700;display:block}.diagram-coordinate-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.diagram-coordinate-editor label,.diagram-tolerance-editor{color:var(--gray-500);font-size:.65rem;font-weight:700}.diagram-coordinate-editor .form-control{min-width:0;margin-top:3px;padding-left:7px;padding-right:7px}.diagram-tolerance-editor{gap:7px;display:grid}.diagram-tolerance-editor input{width:100%}.diagram-entry-actions{align-items:center;gap:4px;display:flex}.question-preview{border:1px solid var(--gray-200);border-radius:var(--radius-sm);min-height:280px;padding:22px}.preview-choices{gap:10px;margin-top:18px;display:grid}.preview-choice{border:1px solid var(--gray-200);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.preview-choice-marker{color:var(--primary);min-width:22px;font-weight:700}.preview-choice>.rich-text-view{flex:auto;width:100%;min-width:0}.version-list{gap:10px;display:grid}.version-item{border:1px solid var(--gray-200);border-radius:8px;gap:3px;padding:12px;display:grid}.version-item span{color:var(--gray-600);font-size:.85rem}.version-item small{color:var(--gray-400)}.exam-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));align-items:stretch;gap:16px;display:grid}.exam-package-card{height:100%;transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);border-color:#e1e7f0;border-radius:17px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 7px 20px #1e293b12}.exam-package-card:hover{border-color:#d9d6fb;transform:translateY(-3px);box-shadow:0 14px 30px #4338ca1c}.exam-package-banner{border-radius:13px;margin:10px 10px 0}.exam-package-banner-badges{pointer-events:none;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:absolute;inset:12px}.exam-package-name-badge,.exam-package-status-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffffe0;border-radius:999px;align-items:center;min-height:28px;padding:6px 11px;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex;overflow:hidden;box-shadow:0 5px 14px #1e293b17}.exam-package-name-badge:before,.exam-package-status-badge:before{background:currentColor;border-radius:50%;flex:none;width:6px;height:6px;margin-right:6px;box-shadow:0 0 0 3px}@supports (color:color-mix(in lab, red, red)){.exam-package-name-badge:before,.exam-package-status-badge:before{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 14%, transparent)}}.exam-package-name-badge:before,.exam-package-status-badge:before{content:""}.exam-package-name-badge{color:#4338ca;text-overflow:ellipsis;white-space:nowrap;background:#f8f7ffe6;min-width:0;max-width:100%}.exam-package-status-badge{flex:none}.exam-package-status-badge.is-draft{color:#a16207;background:#fef9c3eb}.exam-package-status-badge.is-published{color:#047857;background:#dcfce7eb}.exam-package-status-badge.is-closed{color:#1d4ed8;background:#dbeafeeb}.exam-package-status-badge.is-archived{color:#526074;background:#f1f5f9eb}.exam-package-card .card-body{flex-direction:column;flex:1;padding:15px 17px 16px;display:flex}.exam-package-card h3{color:#111b35;margin-bottom:3px;font-size:1.15rem;line-height:1.3;display:block;overflow:hidden}.exam-package-card h3 .exam-package-subject,.exam-package-card h3 .exam-package-grade{display:block}.exam-package-card h3 .exam-package-subject{color:#111b35;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.exam-package-card h3 .exam-package-grade{color:#5943d2;margin-top:2px;font-size:.9em}.exam-package-meta{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.exam-package-meta span{color:#4f3cc9;background:linear-gradient(135deg,#f3f0ff 0%,#ebe8ff 100%);border:1px solid #e4deff;border-radius:9px;align-items:center;min-height:29px;padding:5px 9px;font-size:.72rem;font-weight:650;display:inline-flex}.exam-package-meta svg{width:14px;height:14px;margin-right:5px}.exam-package-stats{grid-template-columns:1fr 1fr;gap:9px;margin-top:auto;padding-top:15px;display:grid}.exam-package-stat{border:1px solid #0000;border-radius:11px;align-items:center;gap:9px;min-width:0;padding:10px;display:flex}.exam-package-stat.is-questions{color:#5943d2;background:linear-gradient(135deg,#f3f0ff 0%,#ebe8ff 100%);border-color:#e1dbff}.exam-package-stat.is-points{color:#c2410c;background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border-color:#fed7aa}.exam-package-stat-icon{background:#ffffffb8;border-radius:9px;flex:none;justify-content:center;align-items:center;width:31px;height:31px;display:inline-flex;box-shadow:0 3px 9px #1e293b12}.exam-package-stat-icon svg{width:16px;height:16px}.exam-package-stat>div{gap:1px;min-width:0;display:grid}.exam-package-stat strong{color:currentColor;font-size:1.05rem;line-height:1.1}.exam-package-stat>div>span{color:#667085;white-space:nowrap;font-size:.68rem}.exam-package-date{color:var(--gray-500);align-items:center;gap:6px;margin-top:10px;font-size:.7rem;display:flex}.exam-package-date svg{flex:none;width:14px;height:14px}.exam-package-actions{background:#fff;border-top-color:#edf0f5;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:7px;padding:10px 12px 12px;display:grid}.exam-package-actions .btn{min-width:0;min-height:34px;padding:6px 7px;font-size:.76rem}.exam-package-actions .btn svg{width:15px;height:15px}.exam-package-actions .btn-primary{background:linear-gradient(135deg,#5b43e8,#7038df);box-shadow:0 5px 12px #5b43e833}.exam-package-actions.has-four-actions{grid-template-columns:1.08fr repeat(3,minmax(0,1fr));gap:6px}.exam-package-actions.has-four-actions .btn{white-space:nowrap;gap:4px;padding-inline:5px}.exam-package-actions .btn.is-close,.exam-package-actions .btn.is-archive{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.exam-package-actions .btn.is-close:hover:not(:disabled),.exam-package-actions .btn.is-archive:hover:not(:disabled){background:#ffedd5;border-color:#fdba74}.exam-package-actions .btn.is-reopen{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.exam-package-actions .btn.is-reopen:hover:not(:disabled){background:#d1fae5;border-color:#6ee7b7}.exam-package-actions .btn.is-delete{color:#dc2626;background:#fef2f2;border-color:#fecaca}.exam-package-actions .btn.is-delete:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.exam-editor-page{max-width:1480px;margin:0 auto}.exam-editor-sticky-header{border:1px solid var(--card-border);border-radius:var(--radius);top:calc(var(--header-height) + 10px);z-index:120;background:#fffffff7;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:14px 16px;display:flex;position:sticky;box-shadow:0 8px 24px #0f172a14}.exam-editor-heading{align-items:center;gap:10px;min-width:0;display:flex}.exam-editor-heading>div{min-width:0}.exam-editor-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;font-size:1.08rem;overflow:hidden}.exam-editor-heading p{color:var(--gray-500);margin:0;font-size:.77rem}.exam-editor-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.exam-unsaved-state{color:var(--warning);font-size:.75rem;font-weight:650}.exam-editor-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;display:grid}.exam-editor-main{gap:18px;min-width:0;display:grid}.exam-editor-sidebar{top:calc(var(--header-height) + 94px);gap:14px;display:grid;position:sticky}.exam-editor-section{overflow:visible}.exam-information-section{background:linear-gradient(120deg,#f5f7ff 0%,#eef6ff 52%,#f8fbff 100%);border:1px solid #c7d2fe;position:relative;box-shadow:0 8px 24px #4f46e517}.exam-information-section:before{content:"";background:linear-gradient(#4f46e5,#2563eb);border-radius:999px;width:4px;position:absolute;top:12px;bottom:12px;left:0}.exam-information-header{align-items:center;gap:14px;min-height:82px;padding:10px 16px 10px 20px;display:flex}.exam-information-header .question-editor-section-title{border-bottom:0;flex:auto;gap:14px;min-width:0;padding:10px 0}.exam-information-header .question-editor-section-title>svg{box-sizing:content-box;color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);border-radius:12px;flex:none;width:20px;height:20px;padding:10px;box-shadow:0 6px 14px #4f46e53d}.exam-information-header .question-editor-section-title h3{color:#1e1b4b;font-size:1rem}.exam-information-header .question-editor-section-title p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.exam-information-summary{flex:0 auto;justify-content:flex-end;align-items:center;gap:6px;display:flex}.exam-information-summary span{color:#334155;white-space:nowrap;background:#ffffffd1;border:1px solid #dbeafe;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:.7rem;font-weight:700;display:inline-flex}.exam-information-summary svg{color:#4f46e5;width:13px;height:13px}.exam-information-toggle{color:#3730a3;background:#fff;border-color:#c7d2fe;flex:none}.exam-information-toggle:hover:not(:disabled){color:#312e81;background:#eef2ff;border-color:#a5b4fc}.exam-information-form{background:#ffffffe0;border:1px solid #dbeafe;border-radius:10px;margin:0 14px 14px;padding:18px}.exam-information-section.is-compact{overflow:hidden}.exam-setting-toggles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.exam-setting-toggles label{border:1px solid var(--gray-200);cursor:pointer;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;display:flex}.exam-setting-toggles input{width:17px;height:17px;margin-top:2px}.exam-setting-toggles span{gap:3px;display:grid}.exam-setting-toggles strong{color:var(--gray-800);font-size:.82rem}.exam-setting-toggles small{color:var(--gray-500);font-size:.72rem;line-height:1.4}.exam-question-section-header{border-bottom:1px solid var(--card-border);justify-content:space-between;align-items:center;padding-right:20px;display:flex}.exam-question-section-header .question-editor-section-title{border-bottom:0}.exam-question-composer-preview{background:var(--gray-50);padding:18px}.exam-question-composer-preview.is-mobile{max-width:390px;margin:18px auto;padding:10px}.exam-composer-question{border:1px solid var(--gray-200);background:#fff;border-radius:9px;overflow:hidden}.exam-composer-question+.exam-composer-question{margin-top:14px}.exam-composer-question-toolbar{background:var(--gray-50);border-bottom:1px solid var(--gray-200);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.exam-composer-question-identity{align-items:center;gap:10px;min-width:0;display:flex}.exam-composer-question-identity>div{gap:3px;min-width:0;display:grid}.exam-composer-question-identity strong{color:var(--gray-900);font-size:.95rem;line-height:1.15}.exam-composer-question-identity>div>span{color:var(--gray-500);font-size:.72rem}.exam-composer-question-identity .exam-composer-number-badge{background:var(--primary);color:#fff;border:2px solid #c7d2fe;border-radius:50%;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.92rem;font-weight:800;line-height:1;display:inline-flex;box-shadow:0 2px 7px #4f46e538}.exam-composer-question-actions{align-items:center;gap:3px;display:flex}.exam-composer-question-actions .btn-icon{width:30px;height:30px;min-height:30px}.exam-composer-question-actions svg{width:14px;height:14px}.exam-question-points{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #c7d2fe;border-radius:6px;margin:0 3px;padding:8px 9px;font-size:.75rem;line-height:1}.exam-question-preview{padding:16px}.exam-question-preview-meta{color:var(--primary);letter-spacing:.03em;text-transform:uppercase;margin-bottom:10px;font-size:.67rem;font-weight:700}.exam-question-preview-prompt{color:var(--gray-900);font-size:.9rem;font-weight:650;line-height:1.5}.exam-question-preview-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 24px;margin-top:16px;display:grid}.exam-question-preview-choice{align-items:flex-start;gap:8px;min-width:0;font-size:.82rem;display:flex}.exam-question-preview-choice>span{border:1.5px solid var(--gray-400);border-radius:50%;flex:0 0 16px;width:16px;height:16px;margin-top:2px}.exam-question-preview-choice>span.is-square{border-radius:4px}.exam-question-preview-choice .rich-text-view{flex:1;min-width:0}.exam-match-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.exam-match-preview>div{gap:7px;min-width:0;display:grid}.exam-match-preview-item{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:7px;grid-template-columns:22px minmax(0,1fr);align-items:flex-start;gap:7px;padding:7px;font-size:.78rem;display:grid}.exam-match-preview-item>span{color:var(--primary);background:#fff;border-radius:5px;justify-content:center;align-items:center;height:22px;font-size:.62rem;font-weight:750;display:flex}.exam-match-preview-item>.rich-text-view{min-width:0;line-height:1.45}.exam-interactive-preview{gap:10px;margin-top:14px;display:grid}.exam-preview-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.exam-preview-groups>div{background:var(--primary-50);border:1px dashed var(--primary-light);border-radius:7px;min-height:48px;padding:8px;font-size:.76rem;font-weight:700}.exam-preview-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.exam-preview-items.is-list{grid-template-columns:1fr}.exam-preview-items>div{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:7px;grid-template-columns:22px minmax(0,1fr);align-items:flex-start;gap:7px;padding:7px;font-size:.76rem;display:grid}.exam-preview-items>div>span{color:var(--primary);background:#fff;border-radius:5px;justify-content:center;align-items:center;height:22px;font-size:.62rem;font-weight:750;display:flex}.exam-preview-items .rich-text-view{min-width:0;line-height:1.45}.exam-diagram-preview{background:var(--gray-100);border:1px solid var(--gray-200);border-radius:9px;max-width:100%;margin-top:14px;display:inline-block;position:relative}.exam-diagram-preview>span{background:var(--primary);color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:25px;height:25px;font-size:.62rem;font-weight:800;display:flex;position:absolute;transform:translate(-50%,-50%)}.exam-question-preview>.form-control{margin-top:14px}.exam-question-preview.is-compact{padding:0}.exam-question-preview.is-compact .exam-question-preview-meta{margin-bottom:4px}.exam-question-preview.is-compact .exam-question-preview-prompt{font-size:.8rem;font-weight:600}.exam-summary-list{gap:11px;display:grid}.exam-summary-list>div{justify-content:space-between;align-items:center;font-size:.78rem;display:flex}.exam-summary-list span{color:var(--gray-500)}.exam-preview-toggle{background:var(--gray-100);border-radius:7px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.exam-preview-toggle button{color:var(--gray-500);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:5px;padding:7px;font-size:.7rem;font-weight:650;display:flex}.exam-preview-toggle button.active{color:var(--primary);background:#fff;box-shadow:0 1px 4px #0f172a1a}.exam-preview-toggle svg{width:14px;height:14px}.exam-immutable-note{background:var(--success-light);color:#166534;border:1px solid #86efac;border-radius:9px;align-items:flex-start;gap:10px;padding:13px;display:flex}.exam-immutable-note svg{flex:0 0 19px;width:19px;height:19px}.exam-immutable-note strong{font-size:.78rem}.exam-immutable-note p{margin:3px 0 0;font-size:.7rem;line-height:1.4}.exam-picker-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.exam-picker-filters .form-group{margin-bottom:4px}.exam-picker-selection-bar{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:8px;justify-content:space-between;align-items:center;margin:8px 0 12px;padding:10px 12px;display:flex}.exam-picker-selection-bar>label{cursor:pointer;align-items:center;gap:10px;display:flex}.exam-picker-selection-bar>label.is-disabled{cursor:not-allowed;opacity:.58}.exam-picker-selection-bar input{width:17px;height:17px}.exam-picker-selection-bar label span{flex-direction:column;display:flex}.exam-picker-selection-bar label strong{color:var(--gray-800);font-size:.78rem}.exam-picker-selection-bar label small,.exam-picker-selection-bar>span{color:var(--gray-500);font-size:.68rem}.exam-picker-compatibility{align-items:flex-start;gap:9px;margin-bottom:12px;display:flex}.exam-picker-compatibility svg{flex:0 0 18px;width:18px;height:18px}.exam-picker-list{gap:9px;max-height:56vh;padding-right:3px;display:grid;overflow-y:auto}.exam-picker-item{border:1px solid var(--gray-200);cursor:pointer;border-radius:8px;align-items:flex-start;gap:11px;padding:12px;display:flex}.exam-picker-item:hover,.exam-picker-item.selected{background:var(--primary-50);border-color:var(--primary-light)}.exam-picker-item>input{width:17px;height:17px;margin-top:3px}.exam-picker-item>div{flex:1;min-width:0}.exam-picker-item>div>span{color:var(--gray-500);margin-top:7px;font-size:.69rem;display:block}@media (width<=640px){.token-source-options,.token-package-filters,.token-policy-grid,.question-bank-grid{grid-template-columns:1fr}.question-bank-page-header{flex-direction:column;align-items:stretch}.exam-picker-filters{grid-template-columns:1fr}.exam-picker-selection-bar{flex-direction:column;align-items:flex-start;gap:8px}.question-bank-page-actions{width:100%}.question-bank-page-actions .btn{flex:1}.academic-list-toolbar .table-search,.academic-list-toolbar>select{flex-basis:100%;width:100%;max-width:none}.academic-list-toolbar>select:first-of-type{margin-left:0}.question-bank-banner{height:auto}.question-bank-card-stats{flex-direction:column;align-items:flex-start;gap:8px}.question-sheet-summary{flex-direction:column;align-items:flex-start;gap:12px}.question-sheet-item{padding:16px}.question-sheet-item-header{flex-direction:column}.question-sheet-actions{justify-content:flex-start}.question-bank-detail-actions{align-items:stretch;width:100%}.question-bank-detail-actions .btn{flex:145px}.question-import-intro{flex-direction:column;align-items:stretch}.question-import-intro .btn{width:100%}.question-import-image-status{grid-template-columns:22px minmax(0,1fr)}.question-import-image-status .btn{grid-column:1/-1;width:100%}.question-import-summary{grid-template-columns:1fr 1fr}.question-import-summary>div:nth-child(3),.question-import-summary>button{grid-column:1/-1}.bank-question-choices,.bank-match-preview,.bank-preview-groups,.bank-preview-item-bank,.bank-diagram-key{grid-template-columns:1fr}.question-editor-sticky-header{flex-direction:column;align-items:stretch;position:static}.question-editor-header-actions{justify-content:flex-start;align-items:stretch}.question-editor-save-status{flex-basis:100%}.question-editor-header-actions .btn{flex:auto}.question-editor-section-title{padding:14px 16px}.rich-toolbar-button{min-width:34px;height:34px}.choice-editor-row{align-items:flex-start}.match-pair-editor-row{grid-template-columns:30px minmax(0,1fr) 36px}.match-pair-editor-side{grid-column:2/-1}.match-pair-editor-link{display:none}.match-pair-editor-row>.btn{grid-area:1/3}.sort-group-editor-grid{grid-template-columns:1fr}.sort-item-editor-row{grid-template-columns:30px minmax(0,1fr) 36px;align-items:start}.sort-item-editor-row>.rich-text-editor,.sort-item-editor-row>.form-control{grid-column:2/-1}.sort-item-editor-row>.btn{grid-area:1/3}.reorder-editor-row{grid-template-columns:30px minmax(0,1fr);align-items:start}.reorder-editor-actions{grid-column:2}.word-arrangement-source-summary,.word-arrangement-editor-preview-title{flex-direction:column;align-items:flex-start;gap:4px}.diagram-entry-editor-row{grid-template-columns:30px minmax(0,1fr);align-items:start}.diagram-label-editor,.diagram-coordinate-editor,.diagram-tolerance-editor,.diagram-entry-actions{grid-column:2}.diagram-entry-actions{flex-wrap:wrap}.question-preview{padding:14px}.image-resize-toolbar input[type=range]{max-width:none}.image-align-buttons{margin-left:0}.image-source-tabs button{padding-left:10px;padding-right:10px}.image-source-panel{min-height:320px}.image-upload-dropzone,.image-source-empty{min-height:290px}.google-image-search-form{flex-direction:column;align-items:stretch}.google-image-search-form .table-search{width:100%}.google-image-results{grid-template-columns:repeat(2,minmax(0,1fr))}.image-crop-stage{min-height:240px;max-height:360px}.image-crop-controls,.ai-image-generator-actions{grid-template-columns:1fr}.ai-image-generator-actions .btn{width:100%}.ai-settings-grid,.ai-provider-settings-grid{grid-template-columns:1fr}.ai-settings-card .card-header,.ai-provider-card .card-header{align-items:flex-start;min-height:0}.ai-card-title small{white-space:normal}.ai-settings-savebar,.essay-ai-toolbar{flex-direction:column;align-items:stretch}.ai-settings-savebar .btn,.essay-ai-toolbar .btn{width:100%}.ai-settings-savebar>span{display:none}.ai-provider-choice,.exam-card-grid{grid-template-columns:1fr}.exam-editor-sticky-header{flex-direction:column;align-items:stretch;position:static}.exam-editor-header-actions{justify-content:flex-start}.exam-editor-header-actions .btn{flex:1}.exam-editor-layout{grid-template-columns:1fr}.exam-editor-sidebar{position:static}.exam-information-header{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:8px 16px 16px 20px}.exam-information-header .question-editor-section-title{flex-basis:100%;padding-left:0;padding-right:0}.exam-information-summary{flex-wrap:wrap;flex:auto;justify-content:flex-start}.exam-information-form{margin:0 10px 10px;padding:14px}.exam-setting-toggles{grid-template-columns:1fr}.exam-question-section-header{flex-direction:column;align-items:stretch;padding:0 16px 14px}.exam-question-section-header .question-editor-section-title{padding-left:0}.exam-question-composer-preview{padding:10px}.exam-composer-question-toolbar{flex-direction:column;align-items:flex-start}.exam-composer-question-actions{flex-wrap:wrap}.exam-question-preview{padding:13px}.exam-question-preview-choices,.exam-match-preview,.exam-preview-groups,.exam-preview-items{grid-template-columns:1fr}}.student-preview-page{background:#e8eef6;flex-direction:column;align-items:center;min-height:100vh;padding:14px;display:flex}.student-preview-toolbar{background:#fff;border:1px solid #d8e1ed;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px;width:100%;max-width:430px;margin-bottom:10px;padding:10px 12px;display:grid}.student-preview-toolbar>span{color:var(--gray-900);align-items:center;gap:6px;font-size:.8rem;font-weight:750;display:flex}.student-preview-toolbar>span svg{color:var(--primary);width:17px;height:17px}.student-preview-toolbar>small{color:var(--gray-500);grid-column:1/3;font-size:.62rem}.student-preview-toolbar>a{color:var(--primary);grid-area:1/3/3;align-items:center;gap:4px;font-size:.68rem;font-weight:700;display:flex}.student-preview-toolbar>a svg{width:13px;height:13px}.student-preview-device{background:#fff;border:7px solid #172033;border-radius:25px;width:min(390px,100%);height:calc(100vh - 104px);min-height:600px;max-height:860px;overflow:hidden;box-shadow:0 22px 55px #0f172a38}.student-preview-device iframe{background:#f4f7fb;border:0;width:100%;height:100%}.student-exam-shell{color:#172033;background:#f4f7fb;min-height:100vh}.student-exam-centered{justify-content:center;align-items:center;padding:22px;display:flex}.student-runtime-loader,.student-runtime-message{text-align:center;background:#fff;border:1px solid #dfe6f0;border-radius:18px;justify-items:center;width:100%;max-width:520px;padding:38px 30px;display:grid;box-shadow:0 18px 50px #0f172a1a}.student-runtime-loader .spinner{width:34px;height:34px;margin-bottom:18px}.student-runtime-loader h1,.student-runtime-message h1{margin-bottom:8px;font-size:1.45rem}.student-runtime-loader p,.student-runtime-message p{color:var(--gray-600)}.student-runtime-message>svg{color:var(--danger);width:52px;height:52px;margin-bottom:16px}.student-runtime-message.is-warning>svg{color:#d97706}.student-runtime-message.is-success>svg{color:var(--success)}.student-runtime-message small{color:var(--gray-500);margin-top:18px}.student-runtime-message .student-primary-button{margin-top:22px}.student-sync-panel{max-width:680px}.student-sync-icon{color:#5b4ce6;background:linear-gradient(135deg,#ede9fe,#dbeafe);border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:18px;display:flex}.student-sync-icon svg{width:36px;height:36px}.student-sync-list{gap:10px;width:100%;max-height:min(52vh,480px);margin:22px 0 18px;padding:2px;display:grid;overflow-y:auto}.student-sync-item{text-align:left;background:#fff;border:1px solid #dfe5ef;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px;padding:14px;display:grid}.student-sync-item.is-current{border-color:#8b7cf6;box-shadow:0 0 0 2px #7c3aed14}.student-sync-item>div:first-child{gap:3px;min-width:0;display:grid}.student-sync-item strong{color:#172033;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.student-sync-item span{color:#596579;font-size:.8rem}.student-sync-item small{color:#7b8799;font-size:.7rem}.student-sync-button{color:#fff;cursor:pointer;background:#5b4ce6;border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-width:112px;min-height:38px;padding:8px 12px;font-size:.78rem;font-weight:700;display:inline-flex}.student-sync-button svg{width:16px;height:16px}.student-sync-button:disabled{cursor:not-allowed;opacity:.68}.student-sync-button.is-ready{color:#137a3d;background:#e8f8ee}.student-sync-percentage{font-variant-numeric:tabular-nums;text-align:right;justify-self:end;min-width:48px;font-weight:800;color:#5b4ce6!important;font-size:.9rem!important}.student-sync-empty{color:#9a3412;justify-content:center;align-items:center;gap:8px;padding:18px;font-size:.82rem;display:flex}.student-sync-empty svg{width:18px;height:18px}.student-sync-progress{background:#e8edf5;border-radius:999px;grid-column:1/-1;width:100%;height:7px;margin:2px 0 0;overflow:hidden}.student-sync-progress>span{border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#3288f3);min-width:4px;height:100%;transition:width .22s;display:block}.student-sync-panel>strong{color:#172033;font-size:.92rem}.student-sync-panel>small{color:#5b4ce6;margin-top:9px}.student-sync-panel>em{color:var(--gray-500);margin-top:20px;font-size:.72rem;font-style:normal}.student-sync-continue{margin-top:4px}.student-sync-continue:disabled{box-shadow:none;color:#6b7280;cursor:not-allowed;opacity:1;background:#d1d5db}@media (width<=560px){.student-exam-centered.student-sync-screen{padding:10px}.student-sync-panel{border-radius:15px;padding:14px}.student-sync-icon{width:48px;height:48px;margin-bottom:6px}.student-sync-icon svg{width:24px;height:24px}.student-sync-panel h1{margin-bottom:4px;font-size:1.15rem}.student-sync-panel>p{font-size:.75rem;line-height:1.4}.student-sync-list{gap:7px;max-height:min(34dvh,240px);margin:12px 0 10px}.student-sync-item{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:9px 10px}.student-sync-item strong{font-size:.82rem}.student-sync-item span{font-size:.72rem}.student-sync-item small{font-size:.65rem}.student-sync-button{width:auto;min-width:96px;min-height:34px;padding:6px 8px;font-size:.7rem}.student-sync-percentage{min-width:42px;font-size:.82rem!important}.student-sync-progress{height:6px}.student-sync-continue{min-height:46px}.student-sync-panel>em{margin-top:10px;line-height:1.4}}.student-submit-result{gap:10px;margin-top:18px;display:flex}.student-submit-result span{background:var(--gray-100);border-radius:9px;padding:9px 12px}.student-submit-upload-overlay{z-index:4000;background:#0f172aad;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.student-submit-upload-card{text-align:center;background:#fff;border:1px solid #dfe6f0;border-radius:22px;flex-direction:column;align-items:center;width:100%;max-width:440px;padding:30px 26px 26px;display:flex;box-shadow:0 26px 80px #0f172a47}.student-submit-upload-icon{color:#5b4ce6;background:linear-gradient(135deg,#e0e7ff,#ede9fe);border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:16px;display:flex}.student-submit-upload-icon svg{width:30px;height:30px}.student-submit-upload-card h2{color:#111a38;margin:0 0 7px;font-size:1.35rem}.student-submit-upload-card p{color:#596579;min-height:40px;margin:0;font-size:.88rem;line-height:1.45}.student-submit-upload-track{background:#e8edf5;border-radius:999px;width:100%;height:11px;margin:21px 0 9px;overflow:hidden}.student-submit-upload-track>span{border-radius:inherit;background:linear-gradient(90deg,#5b4ce6,#3288f3,#14b8a6);min-width:5px;height:100%;transition:width .18s;display:block}.student-submit-upload-card>strong{color:#334155;font-size:1rem}.student-submit-upload-card>small{color:#7b8799;margin-top:14px;font-size:.72rem;line-height:1.45}.student-submit-connection-error{background:#fff1f2;border:1px solid #fecdd3;border-radius:11px;align-items:flex-start;gap:8px;padding:10px 12px;display:flex;color:#be123c!important;margin:0 0 13px!important;font-size:.78rem!important;line-height:1.45!important}.student-submit-connection-error svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px}.student-exam-intro{background:linear-gradient(155deg,#fff 0%,#fbfbff 58%,#f5f7ff 100%);border:1px solid #dfe5f0;border-radius:26px;width:100%;max-width:720px;padding:0 34px 26px;position:relative;overflow:hidden;box-shadow:0 24px 70px #25285a21}.student-intro-hero{grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr);min-height:300px;display:grid;position:relative}.student-intro-hero:after{content:"";pointer-events:none;background:radial-gradient(circle,#6366f133 0%,#8b5cf612 46%,#0000 72%);width:340px;height:340px;position:absolute;top:-92px;right:-105px}.student-intro-brand{color:#4f46e5;letter-spacing:.055em;text-transform:uppercase;z-index:2;grid-column:1/-1;align-items:center;gap:9px;height:fit-content;padding-top:29px;font-size:.78rem;font-weight:800;display:flex;position:relative}.student-intro-brand svg{stroke-width:2.4px;width:25px;height:25px}.student-intro-heading{z-index:3;align-self:center;min-width:0;padding:20px 8px 32px 3px;position:relative}.student-intro-package{color:#475569;max-width:100%;margin:0 0 9px;line-height:1.35;display:block}.student-intro-package strong{color:#5544d9;overflow-wrap:anywhere;font-size:1.15rem;font-weight:800;display:block}.student-intro-heading h1{color:#111a38;letter-spacing:-.035em;overflow-wrap:anywhere;margin:0 0 14px;font-size:clamp(2rem,6vw,3rem);line-height:1.12}.student-intro-grade{color:#6549eb;font-size:1.12rem;font-weight:750;display:block}.student-intro-heading p{color:var(--gray-600);max-width:360px;margin:12px 0 0;font-size:.78rem;line-height:1.5}.student-intro-visual{z-index:2;place-self:center;width:205px;height:205px;position:relative}.student-visual-orb{background:#818cf833;border-radius:50%;position:absolute}.student-visual-orb.is-one{width:34px;height:34px;top:42px;left:5px}.student-visual-orb.is-two{width:22px;height:22px;top:1px;right:8px}.student-visual-clipboard{background:linear-gradient(145deg,#fff,#eef2ff);border:3px solid #9ea8ff;border-radius:15px;gap:12px;width:112px;height:132px;padding:30px 19px 16px;display:grid;position:absolute;top:22px;right:20px;transform:rotate(1.5deg);box-shadow:0 18px 35px #4f46e52e}.student-visual-clip{background:linear-gradient(#b6bcff,#8b91f7);border:2px solid #8b91ed;border-radius:7px 7px 4px 4px;width:56px;height:24px;position:absolute;top:-13px;left:27px}.student-visual-clip:after{content:"";background:#eef2ff;border-radius:50%;width:7px;height:7px;position:absolute;top:4px;left:23px}.student-visual-clipboard>div{align-items:center;gap:7px;display:flex}.student-visual-clipboard>div svg{color:#6d5df5;fill:#6d5df5;stroke:#fff;width:16px;height:16px}.student-visual-clipboard>div i{background:#c8cdf4;border-radius:999px;width:48px;height:5px;display:block}.student-visual-clock{color:#5f54e8;z-index:3;background:linear-gradient(145deg,#fff,#e9e9ff);border:4px solid #6f63ed;border-radius:50%;justify-content:center;align-items:center;width:61px;height:61px;display:flex;position:absolute;bottom:29px;left:26px;box-shadow:0 8px 20px #4f46e538}.student-visual-clock svg{width:36px;height:36px}.student-visual-books{z-index:2;gap:3px;display:grid;position:absolute;bottom:10px;left:70px;transform:rotate(3deg)}.student-visual-books i{border-radius:3px;width:73px;height:13px;display:block;box-shadow:0 3px 7px #1e293b21}.student-visual-books i:first-child{background:linear-gradient(90deg,#51d7b2,#95f1d5);margin-left:6px}.student-visual-books i:nth-child(2){background:linear-gradient(90deg,#8b75f5,#c4b5fd)}.student-visual-books i:nth-child(3){background:linear-gradient(90deg,#5b5be8,#9396ff);margin-left:4px}.student-visual-shield{color:#fff;z-index:4;background:linear-gradient(145deg,#8778ff,#5548e5);border:3px solid #b9b9ff;border-radius:45% 45% 52% 52%/35% 35% 65% 65%;justify-content:center;align-items:center;width:66px;height:78px;display:flex;position:absolute;bottom:0;right:0;transform:rotate(-2deg);box-shadow:0 12px 25px #4f46e54d}.student-visual-shield svg{width:37px;height:37px}.student-intro-grid{z-index:4;grid-template-columns:1fr;gap:13px;margin:2px 0 20px;display:grid;position:relative}.student-intro-info-card{background:#ffffffeb;border:1px solid #e4e7f0;border-radius:18px;align-items:center;gap:17px;min-width:0;padding:15px 18px;display:flex;box-shadow:0 9px 24px #1e293b13}.student-intro-info-icon{border-radius:14px;flex:0 0 60px;justify-content:center;align-items:center;width:60px;height:60px;display:flex!important}.student-intro-info-icon svg{width:29px;height:29px}.student-intro-info-card.is-participant .student-intro-info-icon{color:#6d43eb;background:#f2eaff}.student-intro-info-card.is-school .student-intro-info-icon{color:#3478ec;background:#e8f3ff}.student-intro-info-card.is-duration .student-intro-info-icon{color:#0da996;background:#e6f8f5}.student-intro-info-card.is-schedule .student-intro-info-icon{color:#f59e0b;background:#fff4df}.student-intro-info-card>span:last-child{min-width:0;display:grid}.student-intro-info-card small{color:var(--gray-500);margin-bottom:2px;font-size:.76rem}.student-intro-info-card strong{color:#111a38;overflow-wrap:anywhere;font-size:1rem;line-height:1.35}.student-intro-info-card em{color:var(--gray-500);margin-top:4px;font-size:.72rem;font-style:normal}.student-exam-rules{background:linear-gradient(135deg,#f9f7fff5,#fffffff5);border:1px solid #ebe8f5;border-left:4px solid #7047f2;border-radius:3px 18px 18px 3px;grid-template-columns:auto 1fr;gap:15px;margin-bottom:24px;padding:18px 20px;display:grid;box-shadow:0 9px 25px #473e8212}.student-rules-heading{align-self:start;align-items:center;gap:12px;display:flex}.student-rules-heading>span{color:#6745df;background:#eee9ff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.student-rules-heading svg{width:24px;height:24px}.student-rules-heading h2{color:#111a38;white-space:nowrap;margin:0;font-size:1.02rem}.student-rules-content{min-width:0;padding-top:4px}.student-exam-rules .rich-text-view{color:var(--gray-700);font-size:.82rem}.student-exam-rules ul{color:var(--gray-700);margin:7px 0 0;padding:0;font-size:.79rem;line-height:1.55;list-style:none}.student-exam-rules li{padding-left:17px;position:relative}.student-exam-rules li+li{margin-top:7px}.student-exam-rules li:before{content:"";background:#7047f2;border-radius:50%;width:6px;height:6px;position:absolute;top:.55em;left:0}.student-primary-button{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;cursor:pointer;font:inherit;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:11px 20px;font-weight:700;display:inline-flex}.student-primary-button.is-large{width:100%;font-size:.94rem}.student-primary-button:disabled{cursor:wait;opacity:.7}.student-start-button{background:linear-gradient(105deg,#8b2cf5 0%,#6654ef 48%,#2587f5 100%);border-radius:15px;gap:12px;min-height:58px;padding:13px 20px;transition:transform .16s,box-shadow .16s;box-shadow:0 11px 25px #564ae24d;font-size:1.08rem!important}.student-start-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px #564ae261}.student-start-button>span:not(.spinner){flex:1}.student-start-button>svg{flex:0 0 23px;width:23px;height:23px}.student-start-note{color:#8a91aa;text-align:center;justify-content:center;align-items:center;gap:7px;margin:13px 0 0;font-size:.7rem;display:flex}.student-start-note svg{color:#6752e9;flex:0 0 16px;width:16px;height:16px}.student-completion-page{background:radial-gradient(circle at 50% 0,#e9eaff 0%,#f4f7fb 42%,#eef3f9 100%)}.student-exam-completion{background:linear-gradient(155deg,#fff 0%,#fdfdff 56%,#f5f7ff 100%);border:1px solid #dfe5f0;border-radius:26px;width:100%;max-width:640px;padding:0 34px 30px;position:relative;overflow:hidden;box-shadow:0 24px 70px #25285a24}.student-exam-completion:before{content:"";pointer-events:none;background:radial-gradient(circle,#6366f12e 0%,#8b5cf60f 52%,#0000 72%);width:350px;height:350px;position:absolute;top:-135px;right:-135px}.student-completion-brand{color:#4f46e5;letter-spacing:.055em;text-transform:uppercase;z-index:2;align-items:center;gap:8px;padding-top:27px;font-size:.74rem;font-weight:800;display:flex;position:relative}.student-completion-brand svg{stroke-width:2.4px;width:23px;height:23px}.student-completion-hero{text-align:center;z-index:2;flex-direction:column;align-items:center;padding:6px 12px 24px;display:flex;position:relative}.student-completion-visual{width:190px;height:166px;margin-bottom:2px;position:relative}.student-completion-ring{border:1px solid #6d56ed2b;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.student-completion-ring.is-outer{width:150px;height:150px}.student-completion-ring.is-inner{background:linear-gradient(145deg,#eeeaff,#e3e7ff);width:116px;height:116px}.student-completion-orb{background:#dcdcff;border-radius:50%;position:absolute}.student-completion-orb.is-one{width:17px;height:17px;top:35px;left:15px}.student-completion-orb.is-two{background:#d9f8ef;width:12px;height:12px;top:72px;right:15px}.student-completion-shield{color:#fff;stroke-width:1.9px;background:linear-gradient(145deg,#8977ff,#5547e4);border:3px solid #bbbaff;border-radius:45% 45% 52% 52%/35% 35% 65% 65%;width:82px;height:96px;padding:21px;position:absolute;top:35px;left:47px;box-shadow:0 15px 28px #4f46e547}.student-completion-check{color:#10b981;stroke-width:2.5px;background:#fff;border:3px solid #d8f8ed;border-radius:50%;width:43px;height:43px;padding:7px;position:absolute;bottom:24px;right:35px;box-shadow:0 8px 18px #10b98133}.student-completion-badge{color:#07845e;background:#e6faf3;border:1px solid #b8efda;border-radius:999px;align-items:center;gap:6px;margin-bottom:12px;padding:6px 11px;font-size:.7rem;font-weight:750;display:inline-flex}.student-completion-badge.is-expired{color:#a56208;background:#fff5df;border-color:#f8dda1}.student-completion-badge svg{width:14px;height:14px}.student-completion-hero h1{color:#111a38;letter-spacing:-.035em;margin:0 0 10px;font-size:2rem;line-height:1.1}.student-completion-hero>p{color:#687087;max-width:470px;margin:0;font-size:.84rem;line-height:1.55}.student-completion-exam{flex-wrap:wrap;justify-content:center;align-items:center;gap:5px 10px;margin-top:15px;display:flex}.student-completion-exam strong{color:#17203c;font-size:.85rem}.student-completion-exam span{color:#6549eb;background:#eeeaff;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:750}.student-completion-results{z-index:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:17px;display:grid;position:relative}.student-completion-results>div{background:#fff;border:1px solid #e3e7ef;border-radius:16px;align-items:center;gap:11px;min-width:0;padding:13px;display:flex;box-shadow:0 7px 18px #1e293b0e}.student-completion-results>div>span{border-radius:12px;flex:0 0 42px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.student-completion-results>div>span svg{width:21px;height:21px}.student-completion-results>div>div{flex-direction:column-reverse;min-width:0;display:flex}.student-completion-results small{color:#7a8296;white-space:nowrap;font-size:.61rem;line-height:1.3}.student-completion-results strong{color:#111a38;font-size:1.25rem;line-height:1.1}.student-completion-results .is-answered>span{color:#0aa578;background:#e7faf4}.student-completion-results .is-total>span{color:#704feb;background:#eeeaff}.student-completion-results .is-unanswered>span{color:#dc4a3b;background:#fff0ed}.student-completion-results .is-unanswered.is-clear>span{color:#397be8;background:#e9f2ff}.student-released-result{z-index:2;background:#fff8e7;border:1px solid #f6d58b;border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:17px;padding:13px;display:grid;position:relative}.student-released-result.is-released{background:#eafaf4;border-color:#9de3ca}.student-released-result>span{color:#b7791f;background:#fffc;border-radius:11px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.student-released-result.is-released>span{color:#07825f}.student-released-result svg{width:21px;height:21px}.student-released-result div{gap:2px;display:grid}.student-released-result small{color:#7a6742;font-size:.61rem}.student-released-result strong{color:#1e293b;font-size:.88rem}.student-released-result p{color:#687087;margin:0;font-size:.65rem}.student-released-result button{color:#765916;cursor:pointer;font:inherit;background:#fff;border:1px solid #d8bf86;border-radius:9px;min-height:38px;padding:7px 10px;font-size:.65rem;font-weight:700}.student-released-result button:disabled{cursor:not-allowed;opacity:.5}@media (width<=520px){.student-released-result{grid-template-columns:38px minmax(0,1fr)}.student-released-result>button{grid-column:1/-1;width:100%}}.student-completion-note{z-index:2;background:linear-gradient(135deg,#eef8ff,#f5f8ff);border:1px solid #d8e8fb;border-left:4px solid #3b82f6;border-radius:4px 15px 15px 4px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex;position:relative}.student-completion-note.is-preview{background:linear-gradient(135deg,#f3efff,#faf8ff);border-color:#e4dcff #e4dcff #e4dcff #724bea}.student-completion-note>svg{color:#3b82f6;flex:0 0 22px;width:22px;height:22px}.student-completion-note.is-preview>svg{color:#724bea}.student-completion-note>div{min-width:0}.student-completion-note strong{color:#17203c;margin-bottom:3px;font-size:.78rem;display:block}.student-completion-note p{color:#687087;margin:0;font-size:.69rem;line-height:1.5}.student-completion-replay{z-index:2;border-radius:13px;gap:9px;width:100%;min-height:51px;margin-top:17px;position:relative;box-shadow:0 9px 21px #564ae240}.student-completion-replay svg{width:19px;height:19px}.student-exam-header{z-index:240;background:#fff;border-bottom:1px solid #dfe6f0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;min-height:72px;padding:10px max(18px,50vw - 600px);display:grid;position:sticky;top:0}.student-exam-title{min-width:0;display:grid}.student-exam-title span{color:var(--primary);text-transform:uppercase;font-size:.65rem;font-weight:700}.student-exam-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.student-exam-timer{background:var(--primary-50);border:1px solid var(--primary-100);color:var(--primary-dark);border-radius:10px;align-items:center;gap:9px;min-width:132px;padding:7px 11px;display:flex}.student-exam-timer.is-warning{background:var(--danger-light);color:#b91c1c;border-color:#fecaca;animation:1.4s infinite studentTimerPulse}.student-exam-timer svg{width:20px;height:20px}.student-exam-timer span{display:grid}.student-exam-timer small{font-size:.58rem;line-height:1.1}.student-exam-timer strong{color:inherit;font-variant-numeric:tabular-nums;font-size:1rem;line-height:1.25}@keyframes studentTimerPulse{50%{box-shadow:0 0 0 4px #ef444414}}.student-runtime-status{justify-items:end;min-width:96px;display:grid}.student-runtime-status>span{align-items:center;gap:5px;font-size:.7rem;font-weight:700;display:flex}.student-runtime-status>span svg{width:14px;height:14px}.student-runtime-status .is-online{color:#047857}.student-runtime-status .is-offline{color:#b45309}.student-runtime-status small{color:var(--gray-500);font-size:.62rem}.student-exam-workspace{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;max-width:1200px;margin:0 auto;padding:14px 18px 28px;display:grid}.student-question-area{min-width:0}.student-question-number{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.student-question-number>span{color:var(--gray-600);font-size:.76rem;font-weight:650}.student-question-number>button{border:1px solid var(--gray-300);color:var(--gray-600);cursor:pointer;font:inherit;background:#fff;border-radius:8px;align-items:center;gap:6px;min-height:44px;padding:7px 11px;font-size:.7rem;display:flex}.student-question-number>button.active{background:var(--warning-light);color:#92400e;border-color:#fcd34d}.student-question-number svg{width:15px;height:15px}.student-question-card{font-size:var(--student-content-font-size,1rem);background:#fff;border:1px solid #dfe6f0;border-radius:14px;min-height:420px;padding:22px;overflow:hidden;box-shadow:0 2px 7px #0f172a0a}.student-question-meta{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.student-question-meta span{background:var(--primary-50);color:var(--primary);text-transform:uppercase;border-radius:999px;padding:5px 10px;font-size:.65rem;font-weight:750}.student-question-meta strong{color:var(--gray-600);font-size:.72rem}.student-question-prompt{color:var(--gray-900);font-size:.95em;font-weight:600;line-height:1.65}.student-answer-update-warning{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:11px;align-items:flex-start;gap:8px;margin:0 0 14px;padding:10px 12px;font-size:.76rem;line-height:1.45;display:flex}.student-answer-update-warning svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px}.student-question-prompt .question-content-image{object-fit:contain;max-height:320px;display:block}.student-question-card .question-table-wrapper{max-width:100%;margin:12px 0;overflow-x:auto}.student-answer-options{gap:10px;margin-top:22px;display:grid}.student-answer-options.is-two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.student-answer-option{--student-option-line-box:1.65em;border:1px solid var(--gray-300);cursor:pointer;min-height:50px;transition:var(--transition-fast);background:#fff;border-radius:11px;grid-template-columns:18px 27px minmax(0,1fr);align-items:start;gap:10px;padding:11px 12px;display:grid}.student-answer-option:hover{background:var(--gray-50);border-color:var(--primary-light)}.student-answer-option.selected{background:var(--primary-50);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.student-answer-option>input{align-self:start;width:18px;height:18px;margin:4.5px 0 0}.student-answer-option>.rich-text-view{min-width:0;padding-top:max(0px, calc((27px - var(--student-option-line-box)) / 2));align-self:start;font-size:.84em;line-height:1.65}.student-answer-hint{color:var(--gray-500);font-size:.68rem}.student-option-letter{background:var(--gray-100);color:var(--gray-700);border-radius:50%;flex:0 0 27px;justify-content:center;align-self:start;align-items:center;height:27px;font-size:.7rem;font-weight:750;display:flex}.student-answer-option.selected .student-option-letter{background:var(--primary);color:#fff}.student-option-letter.is-square{border-radius:7px}.student-option-radio{border:2px solid var(--gray-400);border-radius:50%;flex:0 0 18px;align-self:start;width:18px;height:18px;margin-top:4.5px}.student-answer-option.selected .student-option-radio{border:5px solid var(--primary)}.student-answer-option>strong{padding-top:max(0px, calc((27px - var(--student-option-line-box)) / 2));align-self:start;font-size:.84em;line-height:1.65}.match-connect-node,.group-sort-item,.reorder-answer-item,.word-arrangement-token,.diagram-label-option{-webkit-touch-callout:none}.group-sort-item.is-touch-dragging,.reorder-answer-item.is-touch-dragging,.word-arrangement-token.is-touch-dragging,.diagram-label-option.is-touch-dragging{box-shadow:none;opacity:.42;border-style:dashed}.student-touch-drag-preview{box-sizing:border-box;transform:rotate(1deg)scale(1.025);opacity:1!important;pointer-events:none!important;z-index:10000!important;margin:0!important;transition:none!important;position:fixed!important;box-shadow:0 20px 44px #4f46e557!important}.student-native-drag-preview{box-sizing:border-box!important;opacity:1!important;pointer-events:none!important;z-index:10000!important;background:linear-gradient(#fff 0%,#faf9ff 100%)!important;border:3px solid #5b4bf7!important;transition:none!important;position:fixed!important;transform:rotate(1deg)scale(1.025)!important;box-shadow:0 0 0 3px #5b4bf72e,0 20px 44px #30269652!important}.student-native-drag-shim{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed;top:-10000px;left:-10000px}body.student-touch-drag-active{cursor:grabbing}.match-up-answer{margin-top:22px}.match-connect-board{border:1px solid var(--gray-300);border-radius:14px;padding:16px}.match-up-layout.match-connect-canvas{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:11px clamp(72px,10vw,150px);display:grid;position:relative}.match-connect-column{display:contents}.match-connect-column.is-left>.match-connect-node{grid-column:1}.match-connect-column.is-right>.match-connect-node{grid-column:2}.match-up-column-title{color:var(--gray-700);letter-spacing:.035em;text-transform:uppercase;padding:0 8px 3px;font-size:.72rem;font-weight:800}.match-connect-node{min-height:78px;transition:border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);z-index:2;background:#fff;border:1px solid #dcd8fb;border-radius:12px;align-items:stretch;display:grid;position:relative;box-shadow:0 3px 8px #1e293b12}.match-connect-node.is-selected{background:var(--primary-50);border-color:var(--primary);box-shadow:0 0 0 3px #4f46e526}.match-connect-node.is-line-target{background:var(--primary-50);border-color:var(--primary);box-shadow:0 0 0 4px #4f46e529}.match-connect-node.is-connected{border-color:#b9b2ff}.match-connect-content{box-sizing:border-box;text-align:left;grid-template-columns:minmax(0,1fr);align-content:center;align-items:center;min-width:0;height:100%;padding:12px 15px;display:grid}.match-connect-content[role=button]{cursor:pointer}.match-connect-content:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:10px}.match-up-index{background:var(--primary-50);color:var(--primary);border-radius:7px;flex:0 0 29px;justify-content:center;align-items:center;height:29px;font-size:.75rem;font-weight:800;display:inline-flex}.match-up-index.is-letter{background:#f5f3ff}.match-connect-content>.rich-text-view{overflow-wrap:anywhere;text-align:left;min-width:0;font-size:.84em;line-height:1.6}.match-connect-dot{background:var(--primary);cursor:crosshair;touch-action:none;z-index:4;border:3px solid #fff;border-radius:50%;width:21px;height:21px;padding:0;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 0 0 1.5px #a8a2f7,0 2px 5px #4f46e538}.match-connect-node.is-left .match-connect-dot{right:-11px}.match-connect-node.is-right .match-connect-dot{left:-11px}.match-connect-node.is-selected .match-connect-dot{animation:1.15s infinite matchDotPulse;box-shadow:0 0 0 5px #4f46e533,0 0 0 2px #a89fff}.match-connect-node.is-connected .match-connect-dot{background:var(--primary)}.match-connect-dot.is-drawing{cursor:grabbing;transform:translateY(-50%)scale(1.06);box-shadow:0 0 0 5px #4f46e52e,0 0 0 2px #a89fff}.match-connect-dot.is-line-target{box-shadow:0 0 0 6px #4f46e529, 0 0 0 2px var(--primary);transform:translateY(-50%)scale(1.08)}.match-connect-dot:disabled{cursor:default}.match-connect-clear{color:var(--primary);cursor:pointer;font:inherit;z-index:5;background:#fff;border:1px solid #ddd6fe;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;padding:0;font-size:.72rem;display:flex;position:absolute;top:5px;right:20px}.match-connect-lines{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.match-connect-line{fill:none;filter:drop-shadow(0 1px 1px #4f46e52e);stroke:#5145e5;stroke-linecap:round;stroke-width:3px;vector-effect:non-scaling-stroke;animation:.18s ease-out matchLineAppear}.match-connect-line.is-draft{stroke-dasharray:8 5;stroke-width:3.5px;animation:none}.match-connect-draft-end{filter:drop-shadow(0 1px 2px #0f172a4d);pointer-events:none;stroke:#fff;stroke-width:3px;vector-effect:non-scaling-stroke}.match-connect-progress{background:var(--primary-50);border:1px solid var(--primary-100);color:var(--primary);border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:43px;margin-top:14px;padding:8px 12px;font-size:.72rem;display:flex}.match-connect-progress>span{border:2px solid;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.65rem;display:flex}.match-connect-progress.is-complete{background:var(--success-light);color:#047857;border-color:#86efac}@keyframes matchDotPulse{50%{box-shadow:0 0 0 8px #4f46e514,0 0 0 2px #a89fff}}@keyframes matchLineAppear{0%{opacity:0}to{opacity:1}}.group-sort-answer,.reorder-answer,.labelled-diagram-answer{margin-top:22px}.group-sort-item-bank{background:var(--gray-50);border:1px solid var(--gray-200);border-radius:11px;padding:10px}.group-sort-item-bank>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.group-sort-item{border:1px solid var(--gray-300);background:#fff;border-radius:9px;grid-template-columns:27px minmax(0,1fr);align-items:flex-start;gap:8px;min-width:0;padding:9px;display:grid}.group-sort-item[role=button]{cursor:pointer}.group-sort-item.is-selected{background:var(--primary-50);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.group-sort-item.is-used{background:var(--success-light);border-color:#86efac}.group-sort-item.is-dragging{box-shadow:none;opacity:.42;border-style:dashed}.group-sort-drag-preview,.student-touch-drag-preview.group-sort-item,.student-touch-drag-preview.reorder-answer-item,.student-touch-drag-preview.diagram-label-option{box-sizing:border-box;opacity:1!important;background:#fff!important;border:3px solid #5b4bf7!important;border-radius:10px!important;box-shadow:0 0 0 3px #5b4bf72e,0 20px 44px #30269652!important}.group-sort-drag-preview{pointer-events:none;z-index:10000;position:fixed;top:-10000px;left:-10000px;transform:rotate(1deg)}.group-sort-drag-preview .match-up-index,.student-touch-drag-preview.group-sort-item .match-up-index{background:var(--primary-50);color:var(--primary)}.group-sort-item>.rich-text-view{min-width:0;font-size:.82em;line-height:1.55}.group-sort-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.group-sort-group{border:1px dashed var(--gray-300);border-radius:11px;min-height:115px;overflow:hidden}.group-sort-group.is-selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.group-sort-group.is-drag-over,.group-sort-group.is-touch-drag-over{background:linear-gradient(135deg,#f5f3ff,#eef2ff);border:3px solid #5b4bf7;border-radius:15px;transform:scale(1.015);box-shadow:0 0 0 5px #5b4bf729,0 14px 28px #4f46e529}.group-sort-group.is-drag-over .group-sort-group-title,.group-sort-group.is-touch-drag-over .group-sort-group-title{color:#4338ca;background:#e8e5ff}.group-sort-group-title{background:var(--primary-50);grid-template-columns:27px minmax(0,1fr);align-items:flex-start;gap:8px;padding:9px;display:grid}.group-sort-group-title[role=button]{cursor:pointer}.group-sort-group-title>span{background:var(--primary);color:#fff;border-radius:7px;justify-content:center;align-items:center;height:27px;font-size:.68rem;font-weight:750;display:flex}.group-sort-group-title>.rich-text-view{min-width:0;font-size:.82em;font-weight:700;line-height:1.55}.group-sort-group-items{color:var(--gray-500);gap:7px;padding:8px;font-size:.7rem;display:grid}.group-sort-assigned-item{background:var(--success-light);color:var(--gray-800);border:1px solid #86efac;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:7px;padding:7px;display:flex}.group-sort-assigned-item>.rich-text-view{flex:1;min-width:0;font-size:1.1em;line-height:1.5}.group-sort-assigned-item>button{color:var(--danger);cursor:pointer;font:inherit;background:0 0;border:0;font-size:.65rem;font-weight:700}.reorder-answer-list{gap:8px;display:grid}.reorder-answer-item{border:1px solid var(--gray-300);transition:var(--transition-fast);background:#fff;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.reorder-answer-item.is-selected{background:var(--primary-50);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.reorder-answer-item.is-dragging{box-shadow:none;opacity:.42;border-style:dashed}.reorder-answer-item.is-drag-over,.reorder-answer-item.is-touch-drag-over{background:linear-gradient(135deg,#f5f3ff,#eef2ff);border:3px solid #5b4bf7;border-radius:14px;transform:translateY(3px)scale(1.015);box-shadow:0 0 0 5px #5b4bf729,0 12px 24px #4f46e526}.reorder-answer-item[draggable=true]{cursor:grab}.reorder-answer-item[draggable=true]:active{cursor:grabbing}.reorder-drag-preview{border:2px solid var(--primary);box-sizing:border-box;opacity:.98;pointer-events:none;z-index:10000;background:#fff;border-radius:10px;position:fixed;top:-10000px;left:-10000px;transform:rotate(1deg);box-shadow:0 18px 38px #4f46e547}.reorder-answer-content{grid-template-columns:29px minmax(0,1fr);align-items:flex-start;gap:9px;min-width:0;display:grid}.reorder-answer-content[role=button]{cursor:pointer}.reorder-answer-content>span{background:var(--primary-50);color:var(--primary);border-radius:7px;justify-content:center;align-items:center;height:29px;font-size:.7rem;font-weight:800;display:flex}.reorder-answer-content>.rich-text-view{min-width:0;font-size:.84em;line-height:1.6}.reorder-answer-actions{gap:4px;display:flex}.reorder-answer-actions button{background:var(--gray-50);border:1px solid var(--gray-300);color:var(--gray-700);cursor:pointer;font:inherit;border-radius:7px;width:34px;height:34px;font-weight:800}.reorder-answer-actions button:disabled{cursor:not-allowed;opacity:.4}.reorder-confirm-order{background:var(--primary);color:#fff;cursor:pointer;font:inherit;border:0;border-radius:8px;min-height:40px;margin-top:9px;padding:8px 13px;font-size:.72rem;font-weight:700}.reorder-answer-tools{justify-content:flex-end;margin-top:7px;display:flex}.word-arrangement-answer{margin-top:22px}.student-question-card.is-word-arrangement{min-height:0}.word-arrangement-board{transition:border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);background:linear-gradient(#faf9ff,#fff);border:1px solid #c9c4fb;border-radius:12px;overflow:hidden}.word-arrangement-sequence-lane{flex-wrap:wrap;align-content:flex-start;align-items:stretch;gap:8px;min-height:72px;padding:10px;display:flex}.word-arrangement-token{box-sizing:border-box;max-width:100%;min-height:48px;transition:opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);background:#fff;border:2px solid #30266c;border-radius:10px;align-items:stretch;display:inline-flex;position:relative;overflow:visible;box-shadow:0 3px 8px #1e293b1a}.word-arrangement-token.is-touch-drag-over{border-color:#30266c}.word-arrangement-token.is-touch-drag-over:after,.word-arrangement-token.is-drag-before:after,.word-arrangement-token.is-drag-after:after{content:"";z-index:5;background:#5b4bf7;border:1px solid #fff;border-radius:999px;width:4px;position:absolute;top:1px;bottom:1px;box-shadow:0 0 0 2px #5b4bf733}.word-arrangement-token.is-touch-drag-before:after,.word-arrangement-token.is-drag-before:after{left:-7px}.word-arrangement-token.is-touch-drag-after:after,.word-arrangement-token.is-drag-after:after{right:-7px}.word-arrangement-token.is-dragging{box-shadow:none;opacity:.38;border-style:dashed}.word-arrangement-token[draggable=true]{cursor:grab}.word-arrangement-token[draggable=true]:active{cursor:grabbing}.word-arrangement-token-main{color:var(--gray-900);font:inherit;overflow-wrap:anywhere;text-align:center;justify-content:center;align-items:center;width:100%;max-width:min(260px,70vw);min-height:44px;padding:8px 12px;font-size:.84em;font-weight:750;line-height:1.25;display:flex}.word-arrangement-token-actions{border-left:1px solid #d9d6f6;flex:none;display:flex}.word-arrangement-token-actions>button{color:var(--primary);cursor:pointer;font:inherit;background:#ffffffc7;border:0;justify-content:center;align-items:center;min-width:31px;padding:0 6px;font-size:.9rem;font-weight:900;display:flex}.word-arrangement-token-actions>button+button{border-left:1px solid #e2e0f7}.word-arrangement-token-actions>button:disabled{color:var(--gray-300);cursor:not-allowed}.word-arrangement-tools{justify-content:flex-end;margin-top:7px;display:flex}.word-arrangement-help-toggle{border:1px solid var(--gray-300);color:var(--gray-500);cursor:pointer;height:32px;transition:background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);background:#fff;border-radius:9px;justify-content:center;align-items:center;width:32px;padding:0;display:flex}.word-arrangement-help-toggle:hover,.word-arrangement-help-toggle.is-active{background:var(--primary-50);border-color:var(--primary);color:var(--primary)}.word-arrangement-help-toggle.is-active{box-shadow:0 0 0 3px #4f46e51f}.word-arrangement-help-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px}.word-arrangement-help-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.word-arrangement-drag-preview,.student-touch-drag-preview.word-arrangement-token{opacity:1!important;background:#fff!important;border:3px solid #5b4bf7!important;border-radius:10px!important;box-shadow:0 0 0 3px #5b4bf72e,0 20px 44px #30269652!important}.word-arrangement-drag-preview{pointer-events:none;z-index:10000;position:fixed;top:-10000px;left:-10000px;transform:rotate(1deg)}.labelled-diagram-layout{grid-template-columns:minmax(0,1fr) minmax(170px,.35fr);gap:14px;display:grid}.labelled-diagram-stage{background:var(--gray-100);border:1px solid var(--gray-300);border-radius:11px;place-self:start;width:fit-content;max-width:100%;display:inline-block;position:relative;overflow:visible}.labelled-diagram-stage>img{object-fit:contain;border-radius:10px;width:auto;max-width:100%;height:auto;max-height:620px;display:block}.diagram-answer-hotspot{aspect-ratio:1;border:2px dashed var(--primary);width:max(38px, var(--hotspot-size));background:#ffffffb8;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.diagram-answer-hotspot.is-selected{border-color:var(--warning);background:#f59e0b3d;box-shadow:0 0 0 4px #f59e0b2b}.diagram-answer-hotspot.is-filled{border-color:var(--success);background:#d1fae5d1}.diagram-answer-hotspot.is-drag-over,.diagram-answer-hotspot.is-touch-drag-over{background:#dcfce7f0;border:3px solid #10b981;transform:translate(-50%,-50%)scale(1.18);box-shadow:0 0 0 9px #10b98138,0 10px 24px #0596693d}.diagram-answer-hotspot>button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;padding:0;display:flex}.diagram-answer-hotspot.is-drag-over>button,.diagram-answer-hotspot.is-touch-drag-over>button{background:#059669;transform:scale(1.08);box-shadow:0 0 0 3px #fff,0 0 0 6px #05966957}.diagram-answer-hotspot>button:disabled{cursor:default}.diagram-answer-hotspot>button>span{font-size:.66rem;font-weight:800}.diagram-assigned-label{box-shadow:var(--shadow-sm);z-index:3;background:#fff;border:1px solid #86efac;border-radius:7px;align-items:flex-start;gap:5px;min-width:80px;max-width:180px;padding:5px 7px;display:flex;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)}.diagram-assigned-label>.rich-text-view{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.7em;line-height:1.4}.diagram-assigned-label>button{color:var(--danger);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.75rem}.diagram-label-bank{gap:8px;min-width:0;display:grid}.diagram-label-option{border:1px solid var(--gray-300);background:#fff;border-radius:9px;grid-template-columns:27px minmax(0,1fr);align-items:flex-start;gap:8px;min-width:0;padding:9px;display:grid}.diagram-label-option[role=button]{cursor:pointer}.diagram-label-option.is-selected{background:var(--primary-50);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.diagram-label-option.is-used{background:var(--success-light);border-color:#86efac}.diagram-label-option.is-dragging{box-shadow:none;opacity:.42;border-style:dashed}.diagram-label-drag-preview{border:2px solid var(--primary);box-sizing:border-box;opacity:.98;pointer-events:none;z-index:10000;background:#fff;border-radius:9px;position:fixed;top:-10000px;left:-10000px;transform:rotate(1deg);box-shadow:0 18px 38px #4f46e547}.student-native-drag-preview.diagram-label-drag-preview.has-valid-drop-target,.student-touch-drag-preview.diagram-label-option.has-valid-drop-target{background:linear-gradient(#fff 0%,#ecfdf5 100%)!important;border-color:#10b981!important;box-shadow:0 0 0 4px #10b98140,0 20px 44px #0596694d!important}.diagram-label-option.has-valid-drop-target .match-up-index{color:#047857;background:#d1fae5}.diagram-label-option>.rich-text-view{min-width:0;font-size:.82em;line-height:1.55}.student-text-answer{gap:7px;margin-top:22px;display:grid}.student-text-answer label{color:var(--gray-700);font-size:.75em;font-weight:700}.student-text-answer input,.student-text-answer textarea{border:1px solid var(--gray-300);color:var(--gray-900);font:inherit;resize:vertical;background:#fff;border-radius:10px;outline:0;width:100%;min-height:46px;padding:11px 12px;font-size:.85em}.student-text-answer input:focus,.student-text-answer textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-100)}.student-text-answer small{color:var(--gray-500);text-align:right;font-size:.65rem}.student-photo-section{flex-direction:column;gap:8px;display:flex}.student-photo-gallery{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.student-photo-thumbnail{border:1px solid var(--gray-200);border-radius:10px;flex-shrink:0;width:100px;height:100px;position:relative;overflow:hidden}.student-photo-thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.student-photo-delete{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:50%;padding:2px 6px;font-size:1rem;line-height:1;transition:background .15s;position:absolute;top:4px;right:4px}.student-photo-delete:hover{background:#c81e1ecc}.student-photo-capture-btn{background:var(--primary-50,#eff6ff);border:1.5px dashed var(--primary);color:var(--primary);cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:90px;height:100px;padding:10px 14px;font-size:.72rem;font-weight:650;transition:background .15s,transform .1s;display:flex}.student-photo-capture-btn:hover{background:var(--primary-100,#dbeafe)}.student-photo-capture-btn:active{transform:scale(.96)}.student-photo-capture-btn.is-uploading{opacity:.7;pointer-events:none}.student-photo-capture-btn svg{width:26px;height:26px}.student-photo-spinner{border:3px solid var(--primary-100,#dbeafe);border-top-color:var(--primary);border-radius:50%;width:26px;height:26px;animation:.7s linear infinite spin;display:inline-block}.student-photo-count{color:var(--gray-500);font-size:.68rem}.essay-camera-overlay{z-index:9999;background:#000000eb;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.essay-camera-box{background:#111;border-radius:18px;flex-direction:column;width:100%;max-width:520px;max-height:92vh;display:flex;overflow:hidden;box-shadow:0 8px 40px #000000b3}.essay-camera-header{color:#fff;background:#1a1a1a;justify-content:space-between;align-items:center;padding:14px 18px;font-size:.9rem;font-weight:650;display:flex}.essay-camera-close{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:50%;padding:6px 10px;font-size:1.1rem;line-height:1;transition:background .15s}.essay-camera-close:hover{background:#ff50508c}.essay-camera-viewfinder{background:#000;flex:1;min-height:220px;position:relative;overflow:hidden}.essay-camera-video{object-fit:cover;width:100%;height:100%;display:block}.essay-camera-loading{color:#ccc;justify-content:center;align-items:center;font-size:.85rem;display:flex;position:absolute;inset:0}.essay-camera-controls{background:#1a1a1a;justify-content:center;align-items:center;padding:22px 16px;display:flex;position:relative}.essay-camera-shutter{cursor:pointer;background:0 0;border:4px solid #fff;border-radius:50%;width:68px;height:68px;padding:5px;transition:opacity .15s,transform .12s}.essay-camera-shutter:active:not(:disabled){transform:scale(.9)}.essay-camera-shutter:disabled{opacity:.4;cursor:not-allowed}.essay-camera-shutter.is-capturing{opacity:.6}.essay-camera-shutter-inner{background:#fff;border-radius:50%;width:100%;height:100%;transition:background .12s;display:block}.essay-camera-shutter:hover:not(:disabled) .essay-camera-shutter-inner{background:#e0e0e0}.essay-camera-flash-btn{color:#fff;cursor:pointer;background:#ffffff26;border:2px solid #fff6;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;padding:0;transition:background .2s,border-color .2s,color .2s;display:flex;position:absolute;top:50%;left:20px;transform:translateY(-50%)}.essay-camera-flash-btn svg{width:22px;height:22px}.essay-camera-flash-btn:active{transform:translateY(-50%)scale(.92)}.essay-camera-flash-btn.is-on{color:gold;background:#ffdc0040;border-color:gold}.essay-camera-flash-btn.is-on svg{stroke:gold;fill:gold}.student-photo-preview-overlay{z-index:9999;background:#000000e0;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.student-photo-preview-box{background:#1c1c1e;border-radius:12px;flex-direction:column;max-width:92vw;max-height:92vh;display:flex;overflow:hidden}.student-photo-preview-header{color:#fff;background:#111;justify-content:space-between;align-items:center;padding:12px 16px;font-size:.9rem;font-weight:600;display:flex}.student-photo-preview-close{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:6px;padding:6px 10px;font-size:1rem;line-height:1}.student-photo-preview-close:hover{background:#ffffff40}.student-photo-preview-img{object-fit:contain;max-width:92vw;max-height:80vh;display:block}.essay-camera-error{color:#f87171;text-align:center;flex-direction:column;align-items:center;gap:14px;padding:36px 24px;display:flex}.essay-camera-error svg{stroke:#f87171;stroke-width:2px;fill:none;width:40px;height:40px}.essay-camera-error p{color:#d1d5db;margin:0;font-size:.88rem}.essay-camera-retry{color:#fff;cursor:pointer;background:#374151;border:none;border-radius:8px;padding:10px 22px;font-size:.85rem;font-weight:600}.student-question-actions{justify-content:space-between;gap:10px;margin-top:13px;display:flex}.student-question-actions button,.student-submit-button{border:1px solid var(--gray-300);color:var(--gray-700);cursor:pointer;font:inherit;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:46px;padding:9px 14px;font-size:.75rem;font-weight:650;display:flex}.student-question-actions button:disabled{cursor:not-allowed;opacity:.45}.student-question-actions button.next{background:var(--primary);border-color:var(--primary);color:#fff}.student-question-actions button.submit,.student-submit-button{background:var(--success);border-color:var(--success);color:#fff}.student-question-actions button.navigation-toggle{flex:0 0 46px;padding:9px}.student-question-actions svg,.student-submit-button svg{width:17px;height:17px}.student-question-navigation{z-index:230;background:#fff;border:1px solid #dfe6f0;border-radius:13px;padding:15px;position:sticky;top:88px}.student-navigation-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.student-navigation-copy{min-width:0;display:grid}.student-navigation-heading strong{font-size:.84rem}.student-navigation-heading small{color:var(--gray-500);font-size:.65rem}.student-navigation-tools{align-items:center;gap:5px;display:flex}.student-font-size-control{background:var(--gray-100);border:1px solid var(--gray-200);border-radius:9px;align-items:center;display:flex;overflow:hidden}.student-font-size-control button{color:var(--gray-500);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:40px;height:40px;font-family:inherit;font-weight:750;display:flex}.student-font-size-control button+button{border-left:1px solid var(--gray-200)}.student-font-size-control button.is-small{font-size:.68rem}.student-font-size-control button.is-normal{font-size:.86rem}.student-font-size-control button.is-large{font-size:1.05rem}.student-font-size-control button.active{background:var(--primary);color:#fff}.student-font-size-control button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;box-shadow:inset 0 0 0 2px #fff}.student-navigation-close{color:var(--gray-500);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:44px;height:44px;display:none}.student-question-grid{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.student-question-grid button{border:1px solid var(--gray-300);color:var(--gray-600);cursor:pointer;font:inherit;background:#fff;border-radius:8px;min-height:42px;font-size:.72rem;font-weight:700}.student-question-grid button.answered{background:var(--success-light);color:#047857;border-color:#6ee7b7}.student-question-grid button.flagged{background:var(--warning-light);color:#92400e;border-color:#fcd34d}.student-question-grid button.active{background:var(--primary);border-color:var(--primary);color:#fff}.student-navigation-legend{flex-wrap:wrap;gap:9px;margin:14px 0;display:flex}.student-navigation-legend span{color:var(--gray-500);align-items:center;gap:4px;font-size:.61rem;display:flex}.student-navigation-legend i{border:1px solid var(--gray-300);background:#fff;border-radius:3px;width:10px;height:10px}.student-navigation-legend i.answered{background:var(--success-light);border-color:#6ee7b7}.student-navigation-legend i.flagged{background:var(--warning-light);border-color:#fcd34d}.student-submit-button{width:100%}.student-navigation-backdrop{display:none}.student-submit-modal{background:linear-gradient(155deg,#fff 0%,#fdfdff 100%);border:1px solid #e4e7f0;border-radius:28px;max-width:520px;box-shadow:0 28px 75px #0f172a3d}.student-submit-modal .modal-header{border-bottom:0;padding:25px 28px 12px}.student-submit-modal .modal-header h3{color:#111a38;letter-spacing:-.02em;gap:14px;font-size:1.45rem}.student-modal-title-icon{color:#7656ed;background:#f0eaff;border-radius:50%;flex:0 0 56px;justify-content:center;align-items:center;width:56px;height:56px;display:inline-flex}.student-modal-title-icon.is-success{color:#10b981;background:#e5faf4}.student-modal-title-icon svg{width:29px;height:29px}.student-submit-modal .modal-close{border:1px solid #dce1eb;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex}.student-submit-modal .modal-body{padding:10px 28px 16px}.student-submit-summary>p{color:#697086;margin-bottom:13px;font-size:.88rem;line-height:1.5}.student-submit-stats{gap:8px;display:grid}.student-submit-stats>div{border:1px solid;border-radius:14px;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-height:68px;padding:9px 14px;display:grid}.student-submit-stats>div>span{border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.student-submit-stats>div>span svg{width:21px;height:21px}.student-submit-stats>div>div{display:grid}.student-submit-stats strong{font-size:1.45rem;line-height:1}.student-submit-stats small{margin-top:3px;font-size:.78rem}.student-submit-stats .answered{color:#2f58c7;background:#f7faff;border-color:#cbdcff}.student-submit-stats .answered>span{background:#e9f0ff}.student-submit-stats .unanswered{color:#c93636;background:#fff7f7;border-color:#fecaca}.student-submit-stats .unanswered>span{background:#ffe3e3}.student-submit-stats .flagged{color:#b96d0a;background:#fffbf1;border-color:#fde3a7}.student-submit-stats .flagged>span{background:#fff0c9}.student-submit-summary .warning,.student-submit-ready{border-radius:11px;align-items:flex-start;gap:8px;margin:10px 0 0;padding:10px 12px;font-size:.76rem;line-height:1.4;display:flex}.student-submit-summary .warning{color:#ad4f0b;background:#fff1e7}.student-submit-ready{color:#08775a;background:#e9faf4}.student-submit-summary .warning svg,.student-submit-ready svg{flex:0 0 17px;width:17px;height:17px;margin-top:1px}.student-submit-modal .modal-footer{background:#fff;border-top:1px solid #e8ebf2;grid-template-columns:1fr 1fr;gap:11px;padding:18px 28px 23px;display:grid}.student-submit-modal .modal-footer .btn{white-space:normal;border-radius:12px;min-height:48px;padding:10px 13px;font-size:.8rem}.student-modal-secondary{color:#62698a;background:#fff;border:1px solid #cfd5e3}.student-modal-secondary:hover:not(:disabled){background:#f8f9fc;border-color:#aab2c8}.student-modal-primary{color:#fff;background:linear-gradient(105deg,#5145f2,#9744ee);box-shadow:0 8px 18px #6746e13d}.student-modal-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 23px #6746e154}.student-modal-primary:disabled{box-shadow:none;color:#8d93a4;opacity:1;background:#d9dce6}.student-final-modal{max-width:465px}.student-final-confirm{text-align:center;place-items:center;padding:2px 0 8px;display:grid}.student-final-shield{color:#10b981;background:radial-gradient(circle,#eafff8 0%,#f4fffb 52%,#0000 54%);justify-content:center;align-items:center;width:150px;height:118px;display:flex;position:relative}.student-final-shield>svg{filter:drop-shadow(0 10px 13px #10b9813b);fill:#10b981;stroke:#fff;stroke-width:1.5px;width:76px;height:76px}.student-final-shield i{background:#70ddc0;width:5px;height:5px;position:absolute;transform:rotate(45deg)}.student-final-shield .spark-one{top:35px;left:23px}.student-final-shield .spark-two{top:24px;right:27px}.student-final-shield .spark-three{bottom:27px;right:18px}.student-final-confirm h4{color:#111a38;margin:0 0 9px;font-size:1.13rem}.student-final-confirm p{color:#596178;max-width:370px;font-size:.82rem;line-height:1.55}.student-modal-submit{color:#fff;background:linear-gradient(105deg,#10b981,#06a972);box-shadow:0 8px 18px #10b9813d}.student-modal-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 23px #10b98154}@media (width<=760px){.bank-student-preview-modal{max-height:calc(100vh - 16px);margin:8px}.bank-student-preview-modal .modal-header{padding:15px 14px}.bank-student-preview-modal .modal-body{padding:10px 8px 14px}.student-preview-page{padding:0}.student-preview-toolbar{border-radius:0;max-width:none;margin:0}.student-preview-device{box-shadow:none;border:0;border-radius:0;width:100%;height:calc(100vh - 58px);min-height:0;max-height:none}.student-exam-centered{align-items:flex-start;padding:0}.student-exam-intro{box-shadow:none;border:0;border-radius:0;min-height:100vh;padding:0 18px 22px}.student-intro-hero{grid-template-columns:minmax(0,1fr) 132px;min-height:270px}.student-intro-hero:after{width:260px;height:260px;top:-55px;right:-98px}.student-intro-brand{gap:7px;padding-top:22px;font-size:.69rem}.student-intro-brand svg{width:21px;height:21px}.student-intro-heading{padding:17px 0 27px}.student-intro-package{margin-bottom:7px;display:block}.student-intro-package strong{font-size:.96rem;line-height:1.28;display:block}.student-intro-heading h1{margin-bottom:10px;font-size:1.72rem}.student-intro-grade{font-size:.94rem}.student-intro-heading p{font-size:.7rem}.student-intro-visual{transform-origin:50%;width:205px;height:205px;transform:scale(.72)}.student-intro-info-card{border-radius:15px;gap:13px;padding:13px 14px}.student-intro-info-icon{border-radius:12px;flex-basis:50px;width:50px;height:50px}.student-intro-info-icon svg{width:25px;height:25px}.student-intro-info-card strong{font-size:.86rem}.student-exam-rules{padding:16px;display:block}.student-rules-heading{margin-bottom:12px}.student-rules-heading>span{width:42px;height:42px}.student-rules-heading svg{width:21px;height:21px}.student-rules-heading h2{font-size:.94rem}.student-rules-content{padding:0}.student-start-button{min-height:54px}.student-completion-page{min-height:100vh}.student-exam-completion{box-shadow:none;border:0;border-radius:0;min-height:100vh;padding:0 18px 24px}.student-exam-completion:before{width:270px;height:270px;top:-105px;right:-120px}.student-completion-brand{padding-top:22px;font-size:.68rem}.student-completion-brand svg{width:21px;height:21px}.student-completion-hero{padding:0 4px 21px}.student-completion-visual{transform-origin:bottom;height:146px;transform:scale(.87)}.student-completion-hero h1{font-size:1.72rem}.student-completion-hero>p{font-size:.76rem}.student-completion-results{gap:8px}.student-completion-results>div{text-align:center;flex-direction:column;justify-content:center;gap:7px;padding:11px 6px}.student-completion-results>div>span{flex-basis:38px;width:38px;height:38px}.student-completion-results>div>span svg{width:19px;height:19px}.student-completion-results>div>div{align-items:center}.student-completion-results small{white-space:normal;font-size:.57rem}.student-completion-results strong{font-size:1.15rem}.student-completion-note{padding:13px 14px}.student-exam-header{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:65px;padding:8px 11px}.student-exam-title strong{max-width:175px;font-size:.78rem}.student-exam-timer{min-width:118px;padding:6px 9px}.student-exam-timer strong{font-size:.9rem}.student-runtime-status{border-top:1px solid var(--gray-100);grid-column:1/-1;justify-content:space-between;place-items:center stretch;width:100%;min-width:0;padding-top:5px;display:flex}.student-exam-workspace{padding:9px 10px 88px;display:block}.student-question-card{min-height:360px;padding:16px 13px}.student-question-meta{margin-bottom:13px}.student-question-prompt{font-size:.88em}.student-question-prompt .question-content-image{max-height:240px}.student-answer-options{margin-top:17px}.student-answer-options.is-two-column{grid-template-columns:1fr}.student-answer-option{padding:10px 9px}.match-connect-board{padding:11px 9px}.match-up-layout.match-connect-canvas{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px clamp(44px,12vw,50px)}.match-up-column-title{padding:0 3px 2px;font-size:.61rem}.match-connect-node{border-radius:10px;min-height:70px}.match-connect-content{grid-template-columns:minmax(0,1fr);padding:10px 12px}.match-up-index{border-radius:6px;flex-basis:25px;height:25px;font-size:.68rem}.match-connect-content>.rich-text-view{font-size:.78em;line-height:1.5}.match-connect-dot{border-width:3px;width:19px;height:19px}.match-connect-node.is-left .match-connect-dot{right:-10px}.match-connect-node.is-right .match-connect-dot{left:-10px}.match-connect-clear{width:20px;height:20px;top:4px;right:16px}.match-connect-line{stroke-width:2.5px}.match-connect-progress{min-height:40px;margin-top:11px;font-size:.68rem}.group-sort-item-bank>div,.group-sort-groups{grid-template-columns:1fr}.word-arrangement-sequence-lane{gap:7px;min-height:68px;padding:9px}.word-arrangement-token{min-height:48px}.word-arrangement-token-main{min-height:44px;padding:8px 10px;font-size:.82em}.word-arrangement-token-actions>button{min-width:34px;padding:0 7px}.word-arrangement-help-toggle{width:34px;height:34px}.labelled-diagram-layout{grid-template-columns:1fr}.diagram-label-bank{border-top:1px solid var(--gray-200);padding-top:12px}.diagram-assigned-label{max-width:130px}.student-question-number>button{border-radius:10px;gap:clamp(5px,1.5vw,8px);min-height:clamp(46px,12vw,52px);padding:8px clamp(10px,3vw,14px);font-size:clamp(.76rem,3.15vw,.86rem)}.student-question-number svg{width:clamp(17px,4.7vw,21px);height:clamp(17px,4.7vw,21px)}.student-question-actions{border-top:1px solid var(--gray-200);padding:clamp(9px,2.7vw,13px) clamp(9px,3vw,16px);padding-bottom:max(clamp(9px, 2.7vw, 13px), env(safe-area-inset-bottom));z-index:220;background:#fffffffa;grid-template-columns:minmax(0,1fr) clamp(48px,13.5vw,58px) minmax(0,1fr);gap:clamp(7px,2.2vw,11px);margin:0;display:grid;position:fixed;bottom:0;left:0;right:0}.student-question-actions button{gap:clamp(4px,1.4vw,7px);width:100%;min-width:0;min-height:clamp(50px,13.5vw,58px);padding:8px clamp(6px,2.6vw,14px);font-size:clamp(.76rem,3.25vw,.9rem)}.student-question-actions button.navigation-toggle{padding:8px}.student-question-actions svg{flex:none;width:clamp(19px,5vw,23px);height:clamp(19px,5vw,23px)}.student-question-navigation{max-height:75vh;transition:transform var(--transition-base);z-index:510;border-radius:16px 16px 0 0;padding:18px;position:fixed;inset:auto 0 0;overflow-y:auto;transform:translateY(105%)}.student-question-navigation.is-open{transform:translateY(0)}.student-navigation-close{display:flex}.student-question-grid{grid-template-columns:repeat(6,1fr)}.student-question-grid button{min-height:44px}.student-question-navigation .student-submit-button{border-radius:clamp(10px,3vw,13px);gap:clamp(7px,2vw,10px);min-height:clamp(52px,14vw,60px);padding:10px clamp(14px,4vw,20px);font-size:clamp(.86rem,3.7vw,1rem)}.student-question-navigation .student-submit-button svg{width:clamp(20px,5.5vw,24px);height:clamp(20px,5.5vw,24px)}.student-navigation-backdrop{z-index:500;background:#0f172a85;border:0;display:block;position:fixed;inset:0}.student-submit-modal{border-radius:clamp(20px,6vw,26px);max-height:calc(100vh - 24px)}.student-submit-modal .modal-header{padding:clamp(18px,5vw,24px) clamp(18px,5vw,24px) 10px}.student-submit-modal .modal-header h3{gap:clamp(10px,3vw,14px);font-size:clamp(1.18rem,5vw,1.4rem);line-height:1.2}.student-modal-title-icon{flex-basis:clamp(48px,13vw,56px);width:clamp(48px,13vw,56px);height:clamp(48px,13vw,56px)}.student-modal-title-icon svg{width:clamp(25px,7vw,29px);height:clamp(25px,7vw,29px)}.student-submit-modal .modal-close{flex:0 0 clamp(44px,12vw,48px);width:clamp(44px,12vw,48px);height:clamp(44px,12vw,48px)}.student-submit-modal .modal-close svg{width:clamp(21px,5.8vw,24px);height:clamp(21px,5.8vw,24px)}.student-submit-modal .modal-body{padding:8px clamp(18px,5vw,24px) 14px}.student-submit-summary>p{margin-bottom:12px;font-size:clamp(.82rem,3.5vw,.92rem);line-height:1.45}.student-submit-stats{gap:clamp(7px,2vw,9px)}.student-submit-stats>div{grid-template-columns:clamp(40px,11vw,46px) minmax(0,1fr);gap:clamp(10px,3vw,13px);min-height:clamp(62px,17vw,70px);padding:clamp(8px,2.3vw,10px) clamp(11px,3.3vw,15px)}.student-submit-stats>div>span{width:clamp(38px,10.5vw,44px);height:clamp(38px,10.5vw,44px)}.student-submit-stats>div>span svg{width:clamp(19px,5.2vw,22px);height:clamp(19px,5.2vw,22px)}.student-submit-stats strong{font-size:clamp(1.3rem,5.8vw,1.55rem)}.student-submit-stats small{margin-top:2px;font-size:clamp(.73rem,3.15vw,.82rem)}.student-submit-summary .warning,.student-submit-ready{gap:clamp(7px,2vw,9px);margin-top:9px;padding:clamp(9px,2.6vw,11px);font-size:clamp(.76rem,3.2vw,.85rem)}.student-submit-summary .warning svg,.student-submit-ready svg{flex-basis:clamp(17px,4.8vw,20px);width:clamp(17px,4.8vw,20px);height:clamp(17px,4.8vw,20px)}.student-submit-modal .modal-footer{padding:clamp(14px,4vw,19px) clamp(18px,5vw,24px);padding-bottom:max(clamp(18px, 5vw, 23px), env(safe-area-inset-bottom));grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(8px,2.5vw,12px)}.student-submit-modal .modal-footer .btn{border-radius:clamp(11px,3vw,14px);gap:clamp(5px,1.6vw,8px);min-height:clamp(52px,14vw,58px);padding:9px clamp(7px,2.5vw,13px);font-size:clamp(.8rem,3.35vw,.92rem);line-height:1.3}.student-submit-modal .modal-footer .btn svg{flex:none;width:clamp(19px,5.2vw,22px);height:clamp(19px,5.2vw,22px)}.student-final-shield{width:clamp(135px,38vw,150px);height:clamp(105px,29vw,118px)}.student-final-shield>svg{width:clamp(68px,19vw,76px);height:clamp(68px,19vw,76px)}.student-final-confirm h4{font-size:clamp(1.1rem,4.6vw,1.25rem)}.student-final-confirm p{font-size:clamp(.85rem,3.6vw,.96rem)}.student-submit-result{flex-direction:column;width:100%}.student-runtime-message{padding:30px 20px}.student-exam-shell .modal-footer{flex-direction:column-reverse;align-items:stretch}.student-exam-shell .modal-footer .btn{justify-content:center;width:100%;min-height:44px}}@media (width<=360px){.student-exam-intro{padding-left:14px;padding-right:14px}.student-intro-hero{grid-template-columns:minmax(0,1fr) 105px;min-height:250px}.student-intro-heading h1{font-size:1.48rem}.student-intro-visual{transform:scale(.61)}.student-intro-info-card{padding:11px 12px}.student-intro-info-icon{flex-basis:46px;width:46px;height:46px}.student-exam-completion{padding-left:14px;padding-right:14px}.student-completion-visual{margin-top:-5px;transform:scale(.79)}.student-completion-results{gap:6px}.student-completion-results>div{border-radius:13px;padding:10px 4px}.student-exam-title strong{max-width:135px}.student-exam-timer{min-width:110px}.student-question-grid{grid-template-columns:repeat(5,1fr)}.student-question-actions{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)}.student-question-actions button{padding-left:5px;padding-right:5px;font-size:.76rem}}.dashboard-page{animation:.36s ease-out both dashboard-enter}.dashboard-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}.dashboard-stat-card{isolation:isolate;color:#172554;border:1px solid #dfe8f7;min-height:176px;padding:16px;box-shadow:0 8px 24px #1e40af14}.dashboard-stat-card.bg-info{background:linear-gradient(145deg,#fff 12%,#f4f8ff 62%,#e8f1ff 100%)}.dashboard-stat-card.bg-success{color:#0f5d56;background:linear-gradient(145deg,#fff 12%,#f3fcf8 62%,#e0f8ed 100%);border-color:#dcefe6}.dashboard-stat-card.bg-warning{color:#854d0e;background:linear-gradient(145deg,#fff 12%,#fffaf1 62%,#fff0d7 100%);border-color:#f3e6d2}.dashboard-stat-card.bg-primary{color:#312e81;background:linear-gradient(145deg,#fff 12%,#f8f7ff 62%,#eeeaff 100%);border-color:#e7e1fb}.dashboard-stat-card:before{content:"";z-index:-1;background:#3b82f614;border-radius:50%;width:220px;height:220px;position:absolute;bottom:-78px;right:-58px}.dashboard-stat-card.bg-success:before{background:#10b98114}.dashboard-stat-card.bg-warning:before{background:#f59e0b17}.dashboard-stat-card.bg-primary:before{background:#7c3aed14}.dashboard-stat-card:after{content:"";z-index:-1;opacity:.42;background-image:radial-gradient(circle,#93b8ff 2px,#0000 2.5px);background-size:11px 11px;width:70px;height:32px;position:absolute;top:12px;right:14px}.dashboard-stat-card.bg-success:after{background-image:radial-gradient(circle,#7ddfbb 2px,#0000 2.5px)}.dashboard-stat-card.bg-warning:after{background-image:radial-gradient(circle,#f7c36b 2px,#0000 2.5px)}.dashboard-stat-card.bg-primary:after{background-image:radial-gradient(circle,#b7a5f8 2px,#0000 2.5px)}.dashboard-stat-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #1e40af1f}.dashboard-stat-icon{z-index:3;color:#fff;background:linear-gradient(145deg,#73a7ff,#3978eb);border-radius:13px;place-items:center;width:42px;height:42px;display:grid;position:relative;box-shadow:0 8px 18px #3b82f640}.dashboard-stat-icon svg{stroke-width:2px;width:22px;height:22px}.dashboard-stat-card.bg-success .dashboard-stat-icon{background:linear-gradient(145deg,#71d9b0,#26ad79);box-shadow:0 8px 18px #10b9813d}.dashboard-stat-card.bg-warning .dashboard-stat-icon{background:linear-gradient(145deg,#ffc767,#f18b20);box-shadow:0 8px 18px #f59e0b3d}.dashboard-stat-card.bg-primary .dashboard-stat-icon{background:linear-gradient(145deg,#a98cf9,#7351de);box-shadow:0 8px 18px #7c3aed3d}.dashboard-stat-copy{z-index:3;width:51%;margin-top:20px;position:relative}.dashboard-stat-card.has-detail .dashboard-stat-copy{margin-top:11px}.dashboard-stat-card .dashboard-stat-copy h3{color:currentColor;letter-spacing:-.035em;margin:0 0 2px;font-size:clamp(1.85rem,2.2vw,2.2rem);line-height:1}.dashboard-stat-card .dashboard-stat-copy p{color:#5f6b82;opacity:1;font-size:.9rem;font-weight:600}.dashboard-stat-illustration{z-index:1;object-fit:contain;pointer-events:none;filter:drop-shadow(0 10px 10px #36487a1a);width:min(54%,164px);height:auto;position:absolute;bottom:2px;right:12px}.dashboard-stat-card.has-detail .dashboard-stat-illustration{bottom:16px}.dashboard-stat-card .stat-detail{z-index:4;flex-wrap:nowrap;gap:6px;margin:0;display:flex;position:absolute;bottom:10px;left:12px;right:12px;overflow:hidden}.dashboard-stat-card .stat-detail span{color:currentColor;text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffffb8;border:1px solid #ffffffeb;border-radius:7px;min-width:0;padding:4px 8px;font-size:.67rem;font-weight:600;overflow:hidden;box-shadow:0 3px 10px #4755690f}.dashboard-overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.65fr);align-items:stretch;gap:20px;display:grid}.dashboard-overview-grid>.card{border-color:#e2e8f4;border-radius:16px;box-shadow:0 8px 28px #1e293b0e}.dashboard-card-header{border-bottom-color:#edf1f8;min-height:62px;padding:14px 18px}.dashboard-card-header h3{color:#17213a;font-size:.95rem;font-weight:700}.dashboard-section-icon{width:34px;height:34px;color:var(--primary);background:var(--primary-50);border-radius:10px;place-items:center;display:grid}.dashboard-table-body{padding:0}.dashboard-recent-card .data-table th{color:#4f46e5;background:#f6f5ff;border-bottom:1px solid #e8e5ff;padding-top:13px;padding-bottom:13px;font-size:.72rem}.dashboard-recent-card .data-table td{height:58px}.dashboard-empty-state{color:#64748b;justify-content:center;align-items:center;gap:12px;min-height:150px;display:flex}.dashboard-empty-state>span{color:#7c6ee7;background:#f0edff;border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.dashboard-empty-state div{flex-direction:column;line-height:1.4;display:flex}.dashboard-empty-state strong{color:#475569;font-size:.84rem}.dashboard-empty-state small{color:#94a3b8;font-size:.72rem}.dashboard-student-body{grid-template-columns:minmax(170px,1fr) minmax(135px,.8fr);align-items:center;gap:12px;min-height:250px;padding:18px;display:grid}.dashboard-donut-wrap{min-width:0;height:210px;position:relative}.dashboard-donut-center{pointer-events:none;flex-direction:column;align-items:center;line-height:1.2;display:flex;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.dashboard-donut-center strong{color:#1e3a8a;letter-spacing:-.04em;font-size:1.65rem}.dashboard-donut-center span{color:#94a3b8;white-space:nowrap;font-size:.65rem;font-weight:600}.dashboard-student-legend{gap:10px;display:grid}.dashboard-student-legend>div{background:#fbfcff;border:1px solid #edf1f7;border-radius:10px;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:9px;padding:9px 10px;display:grid}.dashboard-legend-dot{border-radius:50%;width:9px;height:9px}.dashboard-student-legend div div{flex-direction:column;min-width:0;display:flex}.dashboard-student-legend small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.dashboard-student-legend strong{color:#1e293b;font-size:1rem}@keyframes dashboard-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=1180px){.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-overview-grid{grid-template-columns:1fr}.dashboard-student-body{grid-template-columns:minmax(220px,.7fr) minmax(220px,1.3fr)}.dashboard-student-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-stat-grid{grid-template-columns:1fr;gap:14px}.dashboard-stat-card{min-height:172px}.dashboard-stat-illustration{width:min(50%,156px)}.dashboard-student-body{grid-template-columns:1fr}.dashboard-student-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){.dashboard-stat-card .stat-detail{gap:4px;left:12px;right:12px}.dashboard-stat-card .stat-detail span{padding-left:6px;padding-right:6px;font-size:.62rem}.dashboard-student-legend{grid-template-columns:1fr}.dashboard-empty-state{text-align:center;flex-direction:column;padding:22px 16px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
