:root{--font-sans: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;--font-display: "Aptos Display", "Trebuchet MS", "Segoe UI", sans-serif;--font-mono: "Cascadia Code", "Consolas", monospace;--text-strong: #14213d;--text-primary: #24324a;--text-secondary: #596579;--text-muted: #6f7b8f;--text-inverse: #f8fafc;--surface-page: #f4f7fb;--surface-panel: #ffffff;--surface-panel-alt: #eef3f9;--surface-quiet: #f8fafc;--surface-accent: #eaf3ff;--border-subtle: #d9e2ec;--border-default: #c7d3e0;--border-strong: #9cb0c5;--accent-50: #eef6ff;--accent-100: #dbeafe;--accent-500: #2563eb;--accent-600: #1d4ed8;--accent-700: #1e40af;--success-50: #ecfdf5;--success-500: #16a34a;--success-700: #166534;--warning-50: #fff7ed;--warning-500: #ea580c;--warning-700: #9a3412;--danger-50: #fef2f2;--danger-500: #dc2626;--danger-700: #991b1b;--shadow-soft: 0 8px 24px rgba(20, 33, 61, .06);--shadow-medium: 0 14px 40px rgba(20, 33, 61, .1);--radius-sm: 10px;--radius-md: 16px;--radius-lg: 24px;--radius-pill: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 32px;--space-8: 40px;--space-9: 48px;--text-xs: 12px;--text-sm: 14px;--text-md: 16px;--text-lg: 18px;--text-xl: 22px;--text-2xl: 30px;--text-3xl: 42px;--z-dropdown: 10;--z-header: 15;--z-drawer: 25;--z-modal: 80;--z-toast: 200}html{color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 24%),radial-gradient(circle at top right,rgba(22,163,74,.08),transparent 18%),var(--surface-page);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-md);line-height:1.65}a{color:var(--accent-600);text-decoration:none}a:hover{color:var(--accent-700)}button,input,select,textarea{font:inherit}button{transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease,border-color .12s ease}button:hover:not(:disabled){transform:translateY(-1px)}summary:focus-visible,[tabindex]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}input,select,textarea{border:1px solid var(--border-default);border-radius:var(--radius-sm);background:var(--surface-panel);color:var(--text-primary)}input::placeholder,textarea::placeholder{color:var(--text-muted)}h1,h2,h3,h4{margin:0;color:var(--text-strong);line-height:1.15}h1{font-family:var(--font-display);font-size:clamp(2.25rem,4vw,3.6rem);letter-spacing:-.03em}h2{font-size:clamp(1.65rem,2.5vw,2.4rem);letter-spacing:-.02em}h3{font-size:1.2rem}p{margin:0}#root{min-height:100vh}.ui-page-shell{width:100%;margin:0 auto}.ui-card{border-radius:var(--radius-md);box-shadow:var(--shadow-soft)}.ui-button{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:.75rem 1rem;border:1px solid transparent;font-weight:700;cursor:pointer;max-width:100%;white-space:normal;text-align:center;line-height:1.25;word-break:break-word}.ui-button:disabled{cursor:not-allowed;transform:none;opacity:.7}.ui-button--sm{padding:.55rem .85rem;font-size:var(--text-sm)}.ui-button--md{font-size:var(--text-md)}.ui-button--lg{padding:.9rem 1.2rem;font-size:var(--text-lg)}.ui-button--primary{background:linear-gradient(135deg,var(--accent-500),var(--accent-700));color:var(--text-inverse);box-shadow:0 10px 24px #2563eb38}.ui-button--secondary{background:var(--surface-panel);border-color:var(--border-default);color:var(--text-primary)}.ui-button--ghost{background:transparent;border-color:var(--border-subtle);color:var(--text-primary)}.ui-button--danger{background:var(--danger-50);border-color:#fecaca;color:var(--danger-700)}.ui-field{display:grid;align-content:start;gap:var(--space-2);min-width:0;width:100%}.ui-field__label{font-size:var(--text-sm);font-weight:700;color:var(--text-primary);min-height:1.25em;line-height:1.25}.ui-field__hint{color:var(--text-muted);font-size:var(--text-sm)}.ui-field__error{color:var(--danger-700);font-size:var(--text-sm);font-weight:600}.ui-inline-alert{padding:var(--space-3) var(--space-4);border-radius:12px;border:1px solid var(--border-subtle);font-size:var(--text-sm)}.ui-inline-alert--info{background:var(--surface-accent);color:var(--text-primary);border-color:#cfe0ff}.ui-inline-alert--success{background:var(--success-50);color:var(--success-700);border-color:#bbf7d0}.ui-inline-alert--warning{background:var(--warning-50);color:var(--warning-700);border-color:#fed7aa}.ui-inline-alert--danger{background:var(--danger-50);color:var(--danger-700);border-color:#fecaca}.report-filter-panel{display:grid;gap:var(--space-4);padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-quiet)}.report-filter-panel__heading{display:flex;align-items:end;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}.report-filter-panel__eyebrow,.report-filter-panel__secondary-label{color:var(--accent-700);font-size:var(--text-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase}.report-filter-panel__title{color:var(--text-strong);font-size:var(--text-lg);font-weight:800}.report-filter-panel__hint{max-width:34rem;color:var(--text-secondary);font-size:var(--text-sm)}.report-filter-panel__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-4);align-items:end;min-width:0}.report-filter-panel__secondary{display:grid;grid-template-columns:minmax(9rem,.45fr) 1fr;gap:var(--space-4);align-items:end;padding-top:var(--space-4);border-top:1px solid var(--border-subtle)}.quiz-builder-back-links{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-4)}.ui-back-link{display:inline-flex;align-items:center;gap:.4rem;min-height:36px;padding:.45rem .7rem;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--accent-600);font-size:var(--text-sm);font-weight:800;cursor:pointer}.ui-back-link:hover:not(:disabled){background:var(--accent-50);border-color:var(--accent-100);color:var(--accent-700)}.recent-details-header{display:grid;gap:var(--space-3);margin-bottom:var(--space-4)}.recent-details-header__top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.recent-details-header__title{color:var(--text-strong);font-size:var(--text-lg);font-weight:800}.recent-details-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.recent-details-tab{min-height:42px;padding:.55rem .7rem;border-radius:var(--radius-sm);font-size:var(--text-sm);font-weight:800;line-height:1.2;text-align:center;cursor:pointer}.recent-details-tab.is-active{box-shadow:inset 0 0 0 1px #2563eb14}.ai-builder-card.quiz-builder-page{border-radius:var(--radius-md)!important;border-color:var(--border-subtle)!important;box-shadow:var(--shadow-soft);padding:var(--space-6)!important}.ai-builder-card.quiz-builder-page h3{font-size:var(--text-xl)!important;line-height:1.25}.ai-builder-card .ai-builder-section-header{min-height:48px;padding:12px 14px!important;border-radius:var(--radius-sm)!important;font-size:var(--text-md)!important}.ai-builder-card input:not([type=checkbox]):not([type=radio]),.ai-builder-card select,.ai-builder-card textarea{min-height:44px;font-size:var(--text-md)!important}.ai-builder-card textarea{min-height:132px;line-height:1.5}.ai-builder-card label{line-height:1.35}@media(max-width:576px){.report-filter-panel,.report-filter-panel__secondary{padding:var(--space-4);grid-template-columns:1fr}}.ui-status-pill{display:inline-flex;align-items:center;padding:.3rem .65rem;border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:800;letter-spacing:.02em}.ui-status-pill--neutral{background:var(--surface-panel-alt);color:var(--text-secondary)}.ui-status-pill--accent{background:var(--accent-100);color:var(--accent-700)}.ui-status-pill--success{background:var(--success-50);color:var(--success-700)}.ui-status-pill--warning{background:var(--warning-50);color:var(--warning-700)}.ui-status-pill--danger{background:var(--danger-50);color:var(--danger-700)}@keyframes ui-icon-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-icon-spin{display:inline-flex;animation:ui-icon-spin 1.1s linear infinite}.ui-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-6)}.ui-section-header>:first-child{min-width:0;flex:1 1 320px}.ui-section-header__icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:999px;background:var(--accent-100, #dbeafe);color:var(--accent-700, #1d4ed8)}.ui-section-header__eyebrow{margin-bottom:var(--space-2);color:var(--accent-700);font-size:var(--text-xs);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ui-section-header__title{margin-bottom:var(--space-2)}.ui-section-header__description{color:var(--text-secondary);max-width:70ch}.ui-section-header__actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;justify-content:flex-end;max-width:100%}.ui-section-header--compact{align-items:center;margin-bottom:var(--space-4)}.ui-section-header--compact>:first-child>div:last-child{display:flex;align-items:center;gap:var(--space-3);min-width:0}.ui-section-header--compact .ui-section-header__eyebrow,.ui-section-header--compact .ui-section-header__title{margin:0;white-space:nowrap}.ui-section-header--compact .ui-section-header__description{max-width:none;min-width:0}.dashboard-overview-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.dashboard-overview-breadcrumb__trail,.dashboard-overview-breadcrumb__workspace,.dashboard-overview-breadcrumb__title,.dashboard-overview-breadcrumb__detail,.dashboard-overview-breadcrumb__overview{display:inline-flex;align-items:center}.dashboard-overview-breadcrumb__trail{min-width:0;gap:22px}.dashboard-overview-breadcrumb__workspace,.dashboard-overview-breadcrumb__detail{gap:12px;padding:13px 20px;border-radius:18px;background:linear-gradient(135deg,#eef4ff,#f8fbff);color:#1646c5;font-size:16px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}.dashboard-overview-breadcrumb__workspace:after{width:1px;height:28px;margin-left:10px;background:#2458d7;content:""}.dashboard-overview-breadcrumb__title{gap:14px;color:#102a54;font-size:34px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.dashboard-overview-breadcrumb__detail{border:0;cursor:pointer;font-size:17px;letter-spacing:0;text-transform:none}.dashboard-overview-breadcrumb__overview{gap:13px;min-width:0;color:#34496b;font-size:18px;white-space:nowrap}.dashboard-overview-breadcrumb__chevron{flex:0 0 auto;color:#536782}.dashboard-overview-breadcrumb__actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}@media(max-width:1180px){.dashboard-overview-breadcrumb__trail{gap:14px}.dashboard-overview-breadcrumb__workspace{padding:11px 14px;font-size:13px}.dashboard-overview-breadcrumb__title{gap:8px;font-size:27px}.dashboard-overview-breadcrumb__detail{padding:11px 14px;font-size:15px}.dashboard-overview-breadcrumb__overview{font-size:16px}}.class-workspace-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.class-workspace-tab{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-weight:800;font-size:14px}.class-workspace-tab.is-active,.class-workspace-tab[aria-current=page]{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}@media(max-width:720px){body{font-size:15px}.ui-section-header{flex-direction:column;align-items:start}.ui-section-header>:first-child{flex-basis:auto}.ui-section-header--compact>:first-child>div:last-child{display:block}.ui-section-header--compact .ui-section-header__eyebrow,.ui-section-header--compact .ui-section-header__title{margin-bottom:var(--space-2)}.dashboard-overview-breadcrumb{align-items:flex-start;flex-direction:column}.dashboard-overview-breadcrumb__trail{flex-wrap:wrap;gap:10px}.dashboard-overview-breadcrumb__overview{white-space:normal}.ui-button--lg{padding:.75rem 1rem;font-size:var(--text-md)}}.teacher-dashboard-with-rail{display:flex;align-items:flex-start;gap:16px}@media(min-width:721px){.teacher-dashboard-with-rail--rail{margin-left:-96px}}.teacher-dashboard-main{flex:1;min-width:0}.teacher-quick-action-rail{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 0 68px;width:68px;padding:10px 8px;border-radius:18px;background:#fff;border:1px solid #dbe4f3;box-shadow:0 10px 24px #0f172a0f;position:sticky;top:0}.teacher-quick-action-rail-btn{position:relative;width:52px;height:52px;padding:0;border:none;background:transparent;cursor:pointer;border-radius:16px}.teacher-quick-action-rail-btn:disabled{cursor:not-allowed;opacity:.55}.teacher-quick-action-rail-btn:hover:not(:disabled){transform:translateY(-1px)}.teacher-quick-action-rail-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;font-size:11px;font-weight:800;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff}.dash-list-item:hover{border-color:#c7d7f4!important;background:#f5f8ff!important;box-shadow:0 2px 8px #2563eb12;transform:translateY(-1px);transition:box-shadow .15s ease,transform .15s ease,background .15s ease,border-color .15s ease}.sidebar-quiz-row:hover{background:#e8edf6!important;border-radius:12px}.study-tool-card:hover{border-color:#c7d7f4!important;box-shadow:0 2px 10px #2563eb12;transition:box-shadow .15s ease,border-color .15s ease}.assigned-quiz-card:hover:not(:disabled){border-color:#bfdbfe!important;box-shadow:0 2px 10px #2563eb14;transform:translateY(-1px);transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease}@keyframes toast-in{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes skeleton-shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:800px 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite;border-radius:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-to-content{position:absolute;top:-100%;left:16px;z-index:9999;padding:8px 14px;background:#2563eb;color:#fff;border-radius:0 0 8px 8px;font-weight:700;font-size:14px;text-decoration:none;transition:top .12s ease}.skip-to-content:focus{top:0}@media(max-width:1700px){.app-main-content{padding:22px 24px!important}.app-content-shell{max-width:1180px!important}.app-ad-rail{display:none!important}.ai-builder-card{max-width:1040px!important}.app-content-shell:has(.admin-pricing-page){max-width:1760px!important}}@media(max-width:1024px){main{padding:18px 20px!important}}@media(max-width:900px){.quiz-solve-page{max-width:100%!important;padding:0 0 96px!important}.quiz-question-grid{display:block!important;grid-template-columns:1fr!important}.quiz-assist-panel{min-height:auto!important;margin-top:12px}.quiz-match-grid{grid-template-columns:1fr!important}}@media(max-width:720px){.quiz-solve-header-card{padding:10px 12px!important;margin-bottom:8px!important}.quiz-solve-export-title-row{align-items:flex-start!important;flex-direction:column;gap:4px!important;font-size:14px!important}.quiz-solve-title{font-size:22px!important;text-align:left!important;margin-bottom:8px!important}.quiz-solve-timer-card{position:sticky;top:6px;z-index:35;margin-bottom:8px!important;padding:8px 10px!important}.quiz-solve-progress-card{position:sticky;top:58px;z-index:34;margin-bottom:8px!important;background:#f8fafcf5!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.quiz-solve-progress-grid{grid-template-columns:1fr!important;gap:10px!important}.quiz-solve-progress-grid>div:nth-child(2){justify-content:stretch!important}.quiz-solve-progress-grid button{flex:1 1 0;min-width:0!important}.quiz-question-card{border-radius:12px!important;padding:12px!important;margin-bottom:12px!important}.quiz-question-title{font-size:18px!important;line-height:1.42!important;overflow-wrap:anywhere}.quiz-option-list{gap:10px!important}.quiz-option-row{align-items:flex-start!important;min-height:52px;padding:13px 12px!important;font-size:16px!important;line-height:1.38;touch-action:manipulation}.quiz-option-input{flex:0 0 auto;width:20px;height:20px;margin-top:1px}.quiz-option-text{min-width:0;overflow-wrap:anywhere}.quiz-match-card{padding:10px!important}.quiz-match-grid select,.quiz-question-card input[type=number],.quiz-question-card input[type=text],.quiz-question-card textarea{min-height:48px;font-size:16px!important}.quiz-action-panel{left:8px;right:8px;bottom:8px!important;padding:10px!important;border-radius:16px!important;box-shadow:0 16px 34px #0f172a29!important}.quiz-action-panel__buttons{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.quiz-action-panel__buttons button{width:100%;min-height:46px;padding:10px 12px!important;white-space:normal}.quiz-result-panel{padding:12px!important}.quiz-result-panel button{width:100%;margin-left:0!important;margin-right:0!important}.dashboard-overview-breadcrumb{align-items:stretch;gap:12px;margin-bottom:16px}.dashboard-overview-breadcrumb__trail{display:grid;grid-template-columns:1fr;gap:8px;width:100%}.dashboard-overview-breadcrumb__chevron{display:none}.dashboard-overview-breadcrumb__workspace,.dashboard-overview-breadcrumb__detail{width:fit-content;max-width:100%;padding:10px 12px;font-size:13px}.dashboard-overview-breadcrumb__workspace:after{display:none}.dashboard-overview-breadcrumb__title{gap:10px;font-size:25px}.dashboard-overview-breadcrumb__overview{font-size:15px}.dashboard-overview-breadcrumb__actions{align-self:flex-end}.dashboard-quick-start-header,.dashboard-quick-start-controls{align-items:stretch!important;flex-direction:column;width:100%}.dashboard-quick-start-summary,.dashboard-quick-start-class,.dashboard-quick-start-search,.dashboard-quick-start-actions{width:100%!important;min-width:0!important}.dashboard-quick-start-class select,.dashboard-quick-start-search input,.dashboard-quick-start-actions .ui-button{min-height:44px;width:100%!important}.dashboard-quick-start-actions{display:grid!important;grid-template-columns:1fr}}@media(max-width:720px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}main{padding:10px!important;width:100%;box-sizing:border-box;overflow-x:hidden}.ui-page-shell,.app-main-content,.app-content-shell,.ai-builder-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}.ui-page-shell{padding:12px 10px 22px!important}.app-content-shell{display:block!important}.ai-builder-card{padding:14px!important;margin:0 0 16px!important;border-radius:14px!important}.ai-builder-card h1,.ai-builder-card h2,.ai-builder-card h3,.ui-page-shell h1,.ui-page-shell h2,main h1{overflow-wrap:anywhere}input,select,textarea,button{max-width:100%;box-sizing:border-box}input,select,textarea{font-size:16px!important}input[type=file]{width:100%}table,pre,code{max-width:100%}.quiz-builder-page{max-width:100%!important;padding:14px 12px 18px!important;margin-left:0!important;margin-right:0!important;border-radius:14px!important}.quiz-builder-page h2,.quiz-builder-page h3{font-size:22px!important;line-height:1.25!important;overflow-wrap:anywhere}.quiz-builder-switcher{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin-bottom:12px!important}.quiz-builder-switcher button{width:100%;min-height:40px;padding:10px 12px!important;font-size:13px!important;white-space:normal!important;text-align:center}.ai-builder-header-row{flex-direction:column!important;align-items:stretch!important}.ai-builder-header-actions{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;width:100%}.ai-builder-section-header{min-height:44px}.quiz-builder-stack{grid-template-columns:1fr!important}.quiz-builder-actions{display:grid!important;grid-template-columns:1fr;gap:10px!important}.quiz-builder-actions button{width:100%;min-height:44px}.quiz-builder-back-links button{min-height:36px}.builder-question-mix,.builder-question-mix table{min-width:0!important;width:100%!important}.builder-question-mix{overflow:visible}.builder-question-mix__cards{display:grid;gap:10px}.builder-question-mix__card{display:grid;gap:8px;padding:12px;border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc}.builder-question-mix__card-title{font-size:14px;font-weight:800;color:#173b75}.builder-question-mix__card-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.builder-question-mix__card-fields label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#475569}.admin-page{max-width:100%!important;min-width:0!important;width:100%!important;box-sizing:border-box}.admin-page h1{font-size:24px!important;line-height:1.25!important;overflow-wrap:anywhere}.admin-page h2,.admin-page h3,.admin-modal h3{overflow-wrap:anywhere}.admin-page [style*=grid-template-columns],.admin-modal [style*=grid-template-columns]{grid-template-columns:1fr!important}.admin-page input,.admin-page select,.admin-page textarea,.admin-modal input,.admin-modal select,.admin-modal textarea{min-width:0!important;max-width:100%;width:100%;box-sizing:border-box}.admin-page input[type=checkbox],.admin-page input[type=radio],.admin-modal input[type=checkbox],.admin-modal input[type=radio]{width:auto}.admin-page button,.admin-modal button{width:100%;min-height:42px}.admin-page div:has(>table){max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-modal{padding:10px!important;place-items:start center!important}.admin-modal>div{width:min(960px,100%)!important;max-height:calc(100vh - 20px)!important;padding:14px!important;box-sizing:border-box}.student-page{max-width:100%!important;min-width:0!important;width:100%!important;box-sizing:border-box}.student-page h1{font-size:26px!important;line-height:1.2!important;overflow-wrap:anywhere}.student-page h2{font-size:22px!important;line-height:1.25!important;overflow-wrap:anywhere}.student-page [style*=grid-template-columns]{grid-template-columns:1fr!important}.student-page input:not([type=checkbox]):not([type=radio]),.student-page select,.student-page textarea{min-width:0!important;max-width:100%;box-sizing:border-box}.student-page-cards{grid-template-columns:1fr!important}.student-page-toolbar{flex-direction:column!important;align-items:stretch!important;width:100%}.student-page-toolbar>div,.student-page-toolbar button,.student-page-toolbar select{width:100%}.student-page-toolbar>div:last-child{display:grid!important;grid-template-columns:1fr;gap:8px}.student-page-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;align-items:stretch!important}.student-page-actions>div,.student-page-actions button{width:100%;min-height:42px}.student-page-chips{gap:8px!important}.student-page-chips button{min-height:40px}.student-page form>button[type=submit]{width:100%;min-height:42px}.mobile-stack,.mobile-stack>*{min-width:0!important}.mobile-full-width-actions button,.mobile-full-width-actions a{width:100%}.mobile-hide-on-phone{display:none!important}.app-mobile-header{align-items:flex-start!important;gap:8px!important;padding:8px 10px!important}.app-mobile-brand{min-width:0!important;flex:1 1 auto!important}.app-mobile-header-info{order:3;flex:1 1 100%!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.app-mobile-header-info>div{min-width:0!important;padding:8px 9px!important;border-radius:14px!important}.app-mobile-header-info>div:nth-child(3){grid-column:1 / -1}.app-mobile-session-actions{flex:0 0 auto!important;margin-left:0!important;gap:6px!important}.app-mobile-session-actions button{padding:7px 10px!important;font-size:12px!important}.auth-screen-grid,.signup-screen-grid{grid-template-columns:1fr!important;min-height:auto!important;border-radius:18px!important;overflow:visible!important}.auth-screen-grid>div,.signup-screen-grid>div{padding:20px 16px!important;min-height:auto!important}.auth-screen-grid>div:first-child{padding-bottom:10px!important}.auth-screen-grid>div:first-child h1{font-size:24px!important}.auth-screen-grid>div:first-child>div>div:last-child{display:none!important}.auth-screen-grid>div:last-child{border-left:none!important;border-top:1px solid var(--border-subtle)!important}.signup-screen-grid>div:first-child{display:none!important}.my-results-desktop-table{display:none!important}.my-results-mobile-list{display:grid!important}.assigned-quiz-card,.assigned-quiz-card--disabled{min-width:0!important}.assigned-quiz-card>div:first-child,.assigned-quiz-card--disabled>div:first-child{display:grid!important;grid-template-columns:1fr!important}.assigned-quiz-card span,.assigned-quiz-card--disabled span{white-space:normal!important}.teacher-screen{max-width:100%!important;min-width:0!important;width:100%;box-sizing:border-box}.teacher-screen h1,.teacher-screen h2{overflow-wrap:anywhere}.teacher-screen h1{font-size:22px!important;line-height:1.2!important}.teacher-screen [style*=grid-template-columns]{grid-template-columns:1fr!important}.teacher-screen .teacher-data-table [style*=grid-template-columns]{grid-template-columns:90px 180px 200px 220px 120px 170px!important}.teacher-screen input:not([type=checkbox]):not([type=radio]):not([type=file]),.teacher-screen select,.teacher-screen textarea{min-width:0!important;max-width:100%;width:100%;box-sizing:border-box}.teacher-screen form button[type=submit]{width:100%;min-height:44px}.teacher-screen label[style*="white-space: nowrap"]{white-space:normal!important}.teacher-screen .date-range-picker{flex-wrap:wrap!important;width:100%}.teacher-screen .date-range-picker>label{min-width:0!important;flex:1 1 100%!important}.teacher-screen .teacher-toolbar{flex-direction:column!important;align-items:stretch!important}.teacher-screen .teacher-toolbar>*{max-width:100%!important;width:100%;flex:1 1 auto!important}.teacher-screen .teacher-toolbar-stats{padding-right:0!important;justify-content:flex-start!important}.teacher-screen .teacher-toolbar-stats>div[style*="flex-wrap: nowrap"]{flex-wrap:wrap!important;justify-content:flex-start!important}.teacher-screen .teacher-stat-row>*{flex:1 1 100%!important;min-width:0!important}.teacher-screen .teacher-action-row{flex-wrap:wrap!important;overflow-x:visible!important}.teacher-screen .teacher-action-row>div[style*="width: 1px"]{display:none}.teacher-screen .teacher-action-row button,.teacher-screen .teacher-action-row .ui-button{flex:1 1 calc(50% - 8px);min-width:0;min-height:42px;justify-content:center}.teacher-screen div:has(>table){max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.teacher-screen table{font-size:13px}.teacher-screen .ui-section-header__actions,.teacher-screen .ui-section-header__actions>div{width:100%}.teacher-screen .ui-section-header__actions button,.teacher-screen .ui-section-header__actions .ui-button{width:100%;min-height:42px}.teacher-screen .student-page-actions>div{width:100%;box-sizing:border-box}.teacher-screen .student-page-actions>div button{min-height:42px}.teacher-screen section{padding:14px!important;border-radius:16px!important}.teacher-screen .ui-card{min-width:0}.teacher-dashboard-with-rail{flex-direction:column;gap:10px}.teacher-quick-action-rail{flex-direction:row;justify-content:space-around;width:100%;flex:0 0 auto;position:static;padding:8px 6px;gap:4px}.teacher-quick-action-rail-btn{width:48px;height:48px}.teacher-screen .teacher-quick-actions-heading,.teacher-screen .teacher-details-heading{font-size:22px!important;margin-bottom:12px!important}.teacher-screen .teacher-quick-action-cards{gap:10px!important;margin-bottom:16px!important}.teacher-screen .teacher-quick-action-cards .ui-card{min-height:0!important}.teacher-screen .teacher-quick-action-cards .ui-button{min-height:0!important;gap:8px!important}.teacher-screen .dash-list-item{align-items:flex-start!important;gap:8px!important}.teacher-screen #workspace-class-details{max-width:100%!important;padding:14px!important}.teacher-screen form[style*="flex-wrap: wrap"]{width:100%}.teacher-screen form[style*="flex-wrap: wrap"] .ui-button{min-height:42px}.ai-builder-wizard-steps{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.ai-builder-wizard-steps li{width:100%;min-width:0}.ai-builder-wizard-steps li>span[aria-hidden]{display:none}.ai-builder-wizard-steps button{width:100%;justify-content:flex-start;min-height:42px}.teacher-screen .class-workspace-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.teacher-screen .class-workspace-tab{justify-content:center;min-height:42px}}@media(min-width:721px){.my-results-mobile-list{display:none!important}}@media(max-width:420px){.quiz-action-panel__buttons{grid-template-columns:1fr}.quiz-solve-title{font-size:20px!important}.quiz-question-title{font-size:17px!important}}@media(max-width:720px){.cookie-consent-banner{padding:10px 14px!important;gap:8px!important}.cookie-consent-banner>div:first-child{font-size:12px!important}}@media(max-width:720px){.ui-button--md,.ui-button--lg{min-height:44px}.ui-button--sm{min-height:40px}}@media(max-width:640px){.pdf-export-field-row{grid-template-columns:1fr!important}.pdf-export-field-row>label:first-child{grid-column:1 / -1}.pdf-export-field-row-header{display:none!important}}@media(max-width:720px){.mobile-scroll-table table th:first-child,.mobile-scroll-table table td:first-child{position:sticky;left:0;z-index:1;background:inherit;box-shadow:1px 0 #e5e7eb}}.quiz-arcade-stars span{position:absolute;width:3px;height:3px;border-radius:999px;background:#f8fafc;opacity:.5;box-shadow:0 0 6px #f8fafccc;animation:quiz-arcade-twinkle 2.6s ease-in-out infinite}.quiz-arcade-stars span:nth-child(2n){animation-delay:.7s}.quiz-arcade-stars span:nth-child(3n){animation-delay:1.4s}.quiz-arcade-hud{position:absolute;top:10px;left:12px;right:12px;z-index:4;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.quiz-arcade-hud__lives,.quiz-arcade-hud__stat{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#0f172a6b;color:#e2e8f0;font-size:12px;font-weight:800;letter-spacing:.04em}.quiz-arcade-heart{color:#f8fafc47;font-size:13px;line-height:1}.quiz-arcade-heart.is-on{color:#fb7185;text-shadow:0 0 8px rgba(251,113,133,.65)}.quiz-arcade-countdown{position:absolute;inset:0;z-index:5;display:grid;place-content:center;justify-items:center;gap:10px;pointer-events:none;background:radial-gradient(circle at 50% 42%,rgba(15,23,42,.22),transparent 48%)}.quiz-arcade-countdown__num{color:#f8fafc;font-size:72px;font-weight:900;line-height:1;text-shadow:0 8px 24px rgba(15,23,42,.45)}.quiz-arcade-countdown__skip{pointer-events:auto;min-height:36px;padding:0 14px;border:1px solid rgba(191,219,254,.7);border-radius:999px;background:#0f172a8c;color:#dbeafe;font-size:12px;font-weight:800;cursor:pointer}.quiz-arcade-danger-line{position:absolute;left:16px;right:16px;bottom:86px;height:2px;background:linear-gradient(90deg,transparent,rgba(248,113,113,.88),transparent);box-shadow:0 0 14px #f8717173;pointer-events:none}.quiz-arcade-fx{position:absolute;z-index:6;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:999px;pointer-events:none;display:grid;place-items:center;color:#fef9c3;font-size:11px;font-weight:900;animation:quiz-arcade-burst .48s ease-out forwards}.quiz-arcade-fx--hit{background:radial-gradient(circle,#fde68a 0%,rgba(249,115,22,.85) 46%,transparent 72%)}.quiz-arcade-fx--fail,.quiz-arcade-fx--slip{background:radial-gradient(circle,#fecaca 0%,rgba(220,38,38,.85) 48%,transparent 74%)}.quiz-arcade-fx--clear{width:36px;height:36px;margin:-18px 0 0 -18px;background:radial-gradient(circle,#bbf7d0 0%,rgba(22,163,74,.75) 48%,transparent 74%)}.quiz-arcade-field--shake{animation:quiz-arcade-shake .42s ease-in-out}.quiz-arcade-field--flash{animation:quiz-arcade-flash .55s ease-out}@keyframes quiz-arcade-twinkle{0%,to{opacity:.25;transform:scale(.8)}50%{opacity:.85;transform:scale(1.2)}}@keyframes quiz-arcade-burst{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(2.2)}}@keyframes quiz-arcade-shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}@keyframes quiz-arcade-flash{0%{box-shadow:inset 0 0 #4ade8000}35%{box-shadow:inset 0 0 48px #4ade8047}to{box-shadow:inset 0 1px #ffffff14}}@media(max-width:760px){.quiz-arcade-page{width:100%;min-width:0}.quiz-arcade-toolbar{gap:8px!important}.quiz-arcade-toolbar h1{font-size:18px!important}.quiz-arcade-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.quiz-arcade-play-wrap,.quiz-arcade-side{min-width:0;width:100%}.quiz-arcade-play-wrap .ui-card{padding:12px!important}.quiz-arcade-field{width:100%!important;min-height:620px;touch-action:manipulation}.quiz-arcade-side{display:grid;grid-template-columns:1fr;gap:10px}.quiz-arcade-side .ui-card{margin-bottom:0!important}.quiz-arcade-keyboard-hint{display:none!important}.quiz-arcade-touch-hint{display:block!important}.quiz-arcade-move-bar{left:50%!important;transform:translate(-50%);width:calc(100% - 16px);max-width:340px}.quiz-arcade-move-buttons{width:100%;justify-content:space-between}.quiz-arcade-move-buttons button{min-width:72px;min-height:44px}.quiz-arcade-hud{top:8px;left:8px;right:8px}.quiz-arcade-hud__stat,.quiz-arcade-hud__lives{font-size:11px;padding:3px 7px}.quiz-arcade-countdown__num{font-size:56px}.quiz-arcade-countdown__skip{min-height:44px;min-width:128px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.builder-page{max-width:1100px;width:100%;margin:0 auto 24px;padding:24px;background:var(--surface-panel);border:1px solid var(--border-subtle);border-radius:14px;box-sizing:border-box}.builder-page h3{margin:var(--space-4) 0 var(--space-3);color:var(--text-strong)}.builder-form{display:grid;gap:18px}.builder-field{display:grid;gap:6px;min-width:0}.builder-field-label{font-size:13px;font-weight:700;color:var(--text-primary)}.builder-help{font-size:var(--text-xs);color:var(--text-secondary);line-height:1.4}.builder-input,.builder-select{width:100%;min-height:42px;padding:10px 12px;border-radius:10px;border:1px solid var(--border-default);background:var(--surface-panel);color:var(--text-primary);font:inherit;font-size:15px;box-sizing:border-box}.builder-input:focus,.builder-select:focus{outline:2px solid var(--accent-100);border-color:var(--accent-500)}.builder-input[aria-invalid=true]{border-color:var(--danger-500);background:var(--danger-50)}.builder-field-error{color:var(--danger-700);font-size:13px;font-weight:600}.builder-section{border:1px solid var(--border-subtle);border-radius:12px;padding:14px 16px}.builder-section-title{font-weight:800;font-size:15px;color:var(--text-strong)}.builder-question-mix__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-2)}.builder-total{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:var(--radius-pill);font-size:13px;font-weight:800;background:var(--accent-50);color:var(--accent-700);border:1px solid var(--accent-100);margin-left:auto}.builder-total--full,.builder-total--empty{background:var(--warning-50);color:var(--warning-700);border-color:#fed7aa}.builder-total--over{background:var(--danger-50);color:var(--danger-700);border-color:#fecaca}.builder-total__note{font-weight:700;padding-left:8px;border-left:1px solid currentColor}.builder-mix-table{width:100%;border-collapse:separate;border-spacing:0 6px}.builder-mix-table thead th{text-align:left;font-size:var(--text-xs);font-weight:800;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;padding:0 10px}.builder-mix-table tbody th,.builder-mix-table td{padding:6px 10px;background:var(--surface-quiet);vertical-align:middle}.builder-mix-table tbody th{text-align:left;font-weight:800;color:var(--text-strong);border-radius:10px 0 0 10px;width:30%}.builder-mix-table td:last-child{border-radius:0 10px 10px 0}.builder-stepper{display:inline-flex;align-items:center;gap:6px}.builder-stepper__button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;border:1px solid var(--border-default);background:var(--surface-panel);color:var(--text-primary);cursor:pointer}.builder-stepper__button:hover:not(:disabled){border-color:var(--accent-500);color:var(--accent-700)}.builder-stepper__button:disabled{opacity:.45;cursor:not-allowed}.builder-stepper__input{width:64px;min-height:36px;padding:6px;text-align:center;border-radius:9px;border:1px solid var(--border-default);font:inherit;font-size:15px;font-weight:700;box-sizing:border-box}.builder-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-3);align-items:start}.builder-toggle{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--border-default);border-radius:10px;background:var(--surface-quiet);font-size:var(--text-sm);font-weight:700;color:var(--text-primary);box-sizing:border-box}.builder-disclaimer{display:grid;gap:8px;border:1px solid var(--border-subtle);border-radius:12px;padding:14px 16px;background:var(--surface-quiet)}.builder-disclaimer--invalid{border-color:var(--danger-500);background:var(--danger-50)}.builder-disclaimer__text{margin:0;color:var(--text-secondary);font-size:var(--text-sm);line-height:1.5}.builder-disclaimer__accept{display:flex;align-items:flex-start;gap:8px;font-size:var(--text-sm);font-weight:700;color:var(--text-primary)}.builder-disclaimer__accept input{margin-top:3px}.builder-disclaimer__accepted{display:inline-flex;align-items:center;gap:4px;color:var(--success-700);font-size:13px;font-weight:700}.builder-choice{display:inline-flex;flex-wrap:wrap;gap:0;border:1px solid var(--border-default);border-radius:10px;overflow:hidden;padding:0;margin:0}.builder-choice legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.builder-choice label{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;font-size:var(--text-sm);font-weight:700;color:var(--text-secondary);cursor:pointer}.builder-choice label:has(input:checked){background:var(--accent-50);color:var(--accent-700)}.builder-actions{display:flex;gap:var(--space-2);justify-content:flex-end;flex-wrap:wrap;padding-top:4px}.builder-error-summary{color:var(--danger-700);font-size:var(--text-sm);font-weight:600}.builder-success{color:var(--success-700);font-size:var(--text-sm)}@media(max-width:720px){.builder-page{padding:16px}.builder-actions{flex-direction:column-reverse}.builder-actions .ui-button{width:100%}.builder-total{margin-left:0}}.document-library-modal{display:flex;flex-direction:column;min-height:0;color:#142345;font-size:14px}.document-library-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 12px}.document-library-header h2{margin:0 0 6px;font-size:24px}.document-library-header p{margin:0;color:#536687}.document-library-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 24px 20px}.document-library-filters{display:grid;grid-template-columns:2fr repeat(4,minmax(0,1fr));gap:10px}.document-library-filters label{display:grid;gap:5px;min-width:0;font-size:12px}.document-library-filters input,.document-library-filters select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:8px;color:inherit;background:#fff;font:inherit}.document-library-table-wrap{border:1px solid #dbe4f3;border-radius:10px;overflow-x:auto}.document-library-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.document-library-table th{padding:12px 8px;background:#f1f5f9;color:#536687}.document-library-table td{padding:10px 8px;border-top:1px solid #e2e8f0;overflow-wrap:anywhere}.document-library-table td:first-child{text-align:center}.document-library-table input[type=checkbox]{width:18px;height:18px;accent-color:#2454ed;cursor:pointer}.document-library-select{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}.document-library-table tr.is-selected{background:#eff6ff}.document-library-filename{display:flex;align-items:center;gap:8px;min-width:130px}.document-library-type{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;min-width:34px;min-height:40px;border-radius:5px;background:#475569;color:#fff;font-size:10px;font-weight:800}.document-library-type-pdf{background:#ed3347}.document-library-type-docx{background:#2563eb}.document-library-type-pptx{background:#ea580c}.document-library-type-txt{background:#475569}.document-library-status{display:inline-block;border-radius:12px;background:#f1f5f9;padding:5px 8px}.document-library-status.is-ready{background:#d1fae5;color:#047857}.document-library-pagination,.document-library-pdf-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:14px}.document-library-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid #dbe4f3;background:#fff}.document-library-footer small{display:block;margin-top:5px;color:#536687}.document-library-footer [role=alert]{color:#b91c1c;max-width:420px}.document-library-buttons{display:flex;gap:8px;flex-wrap:wrap}.document-library-preview{padding-top:14px;min-width:0}.document-library-preview-meta{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}.document-library-preview h3{overflow-wrap:anywhere;margin:0}.document-library-preview p{color:#536687}.document-library-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7;border:1px solid #dbe4f3;border-radius:8px;padding:16px;background:#f8fafc}.document-library-canvas{overflow:auto;max-height:60dvh;margin-top:12px;background:#e2e8f0;padding:8px;box-sizing:border-box}.document-library-canvas canvas{display:block;margin:auto;background:#fff}.document-library-modal button{min-height:44px}.document-library-modal :focus-visible{outline:3px solid #5272ff;outline-offset:2px}.create-class-page .create-class-document-choices{display:flex;gap:10px;flex-wrap:wrap}.create-class-page .create-class-document-choices button,.create-class-page .create-class-selected-documents button{min-height:44px}.create-class-page .create-class-selected-documents{display:grid;gap:8px;list-style:none;padding:0;margin:0}.create-class-page .create-class-selected-documents li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border:1px solid #dbe4f3;border-radius:8px}.create-class-page .create-class-selected-documents li>div{min-width:0;overflow-wrap:anywhere}.create-class-page .create-class-selected-documents small{display:block;margin-top:4px;color:#536687}@media(max-width:720px){.document-library-header,.document-library-scroll,.document-library-footer{padding:12px}.document-library-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.document-library-filters>label:first-child{grid-column:1 / -1}.document-library-filters input,.document-library-filters select{font-size:16px}.document-library-footer{flex-direction:column;align-items:stretch;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.document-library-buttons>button{flex:1;min-width:0;white-space:normal}.document-library-table{min-width:700px}}.qe-page{max-width:1100px;margin:0 auto;width:100%;box-sizing:border-box;padding-bottom:24px}.qe-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.qe-page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;margin-bottom:var(--space-3)}.qe-eyebrow{font-size:var(--text-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.qe-page-title{margin:2px 0 4px;font-size:26px;line-height:1.15;color:var(--text-strong);display:flex;align-items:center;gap:10px;flex-wrap:wrap}.qe-page-meta{color:var(--text-secondary);font-size:var(--text-sm)}.qe-page-header__tools{display:flex;gap:var(--space-2);flex-wrap:wrap;align-items:center}.qe-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border-radius:9px;border:1px solid var(--border-subtle);background:var(--surface-panel);color:var(--text-secondary);cursor:pointer}.qe-icon-button:hover:not(:disabled),.qe-icon-button:focus-visible{border-color:var(--accent-500);color:var(--accent-700)}.qe-icon-button--danger:hover:not(:disabled),.qe-icon-button--danger:focus-visible{border-color:var(--danger-500);color:var(--danger-700);background:var(--danger-50)}.qe-icon-button:disabled{opacity:.45;cursor:not-allowed}.qe-link-button{border:0;background:transparent;padding:4px 2px;color:var(--accent-700);font-weight:700;font-size:var(--text-sm);cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:2px}.qe-disclosure{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--text-secondary);font-weight:700;font-size:var(--text-sm);padding:6px 0;cursor:pointer}.qe-disclosure:hover,.qe-disclosure:focus-visible{color:var(--accent-700)}.qe-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:var(--radius-pill);background:var(--accent-50);border:1px solid var(--accent-100);color:var(--accent-700);font-size:var(--text-xs);font-weight:800;white-space:nowrap}.qe-badge--muted{background:var(--surface-quiet);border-color:var(--border-subtle);color:var(--text-secondary)}.qe-status{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:800}.qe-status--ok{background:var(--success-50);color:var(--success-700);border:1px solid #bbf7d0}.qe-status--warn{background:var(--warning-50);color:var(--warning-700);border:1px solid #fed7aa}.qe-card{background:var(--surface-panel);border:1px solid var(--border-subtle);border-left:4px solid var(--success-500);border-radius:14px;padding:var(--space-4);margin-bottom:var(--space-3);box-shadow:var(--shadow-soft);scroll-margin-top:90px}.qe-card--incomplete{border-left-color:var(--warning-500)}.qe-card:focus{outline:2px solid var(--accent-500);outline-offset:2px}.qe-card__header{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.qe-card__title{margin:0;font-size:var(--text-lg);color:var(--text-strong)}.qe-card__header-actions{margin-left:auto;display:flex;gap:var(--space-2);align-items:center}.qe-card__summary{margin:var(--space-2) 0 0;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qe-card__body{display:grid;gap:var(--space-3);margin-top:var(--space-3)}.qe-row{display:flex;gap:var(--space-3);flex-wrap:wrap;align-items:flex-start}.qe-field{display:grid;gap:4px;min-width:0}.qe-field--type{width:200px}.qe-field--marks{width:110px}.qe-field--mode{width:210px}.qe-field--grow{flex:1 1 260px}.qe-label{font-size:13px;font-weight:700;color:var(--text-primary);padding:0}.qe-help{font-size:var(--text-xs);color:var(--text-secondary);line-height:1.4}.qe-card select,.qe-card input[type=number],.qe-input,.qe-panel select,.qe-panel input[type=datetime-local]{width:100%;min-height:40px;padding:8px 10px;border-radius:9px;border:1px solid var(--border-default);background:var(--surface-panel);color:var(--text-primary);font:inherit;font-size:15px;box-sizing:border-box}.qe-input--question{font-size:var(--text-md);font-weight:600;line-height:1.45}.qe-input--code{font-family:var(--font-mono);font-size:13px}.qe-card select:focus,.qe-card input:focus,.qe-input:focus,.qe-panel select:focus,.qe-panel input:focus{outline:2px solid var(--accent-100);border-color:var(--accent-500)}.qe-card :disabled{background:var(--surface-quiet);color:var(--text-secondary)}.qe-check{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--surface-quiet);color:var(--text-primary);font-size:var(--text-sm);font-weight:600;align-self:flex-end}.qe-check--on{border-color:#86efac;background:var(--success-50)}.qe-answers{border:0;margin:0;padding:0;display:grid;gap:var(--space-2);min-width:0}.qe-row--answer-settings{align-items:flex-end}.qe-option{display:grid;grid-template-columns:190px 32px minmax(0,1fr);align-items:center;gap:var(--space-2);padding:6px;border:1px solid transparent;border-radius:10px}.qe-option--correct{background:var(--success-50);border-color:#bbf7d0}.qe-option__mark{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 8px;border-radius:8px;color:var(--text-secondary);font-size:13px;font-weight:700;cursor:pointer}.qe-option--correct .qe-option__mark{color:var(--success-700)}.qe-option__mark-text{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.qe-option__letter{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--surface-panel-alt);color:var(--text-strong);font-weight:800}.qe-option--correct .qe-option__letter{background:var(--success-500);color:#fff}.qe-pairs{display:grid;gap:var(--space-2)}.qe-pairs__head,.qe-pairs__row{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 36px;gap:var(--space-2);align-items:center}.qe-pairs__head{font-size:var(--text-xs);font-weight:800;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em}.qe-pairs__arrow{display:inline-flex;justify-content:center;color:var(--text-muted)}.qe-more{border-top:1px solid var(--border-subtle);padding-top:var(--space-2)}.qe-more summary{cursor:pointer;font-weight:700;font-size:var(--text-sm);color:var(--text-secondary);padding:4px 0}.qe-more__body{margin-top:var(--space-2);align-items:flex-end}.qe-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;margin:var(--space-2) 0 var(--space-3)}.qe-toolbar__actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.qe-toolbar__jump select{min-height:36px;max-width:280px;padding:6px 10px;border-radius:9px;border:1px solid var(--border-default);background:var(--surface-panel);font:inherit;font-size:var(--text-sm)}.qe-errors__message{display:flex;gap:var(--space-3);align-items:baseline;flex-wrap:wrap}.qe-errors__list{margin:6px 0 0;padding-left:18px}.qe-errors__list .qe-link-button,.qe-errors__message .qe-link-button{color:var(--danger-700)}.qe-diagram__preview{padding:8px;background:var(--surface-quiet);border:1px solid var(--border-subtle);border-radius:10px;overflow-x:auto}.qe-diagram__error{color:var(--danger-700);font-size:var(--text-xs);margin-bottom:6px}.qe-diagram__code{margin:0;padding:10px;background:var(--surface-panel);border:1px solid var(--border-subtle);border-radius:10px;overflow-x:auto}.qe-add-row{display:flex;gap:var(--space-2);flex-wrap:wrap;margin:var(--space-1) 0 var(--space-4)}.qe-panel{background:var(--surface-panel);border:1px solid var(--border-subtle);border-radius:14px;padding:var(--space-3) var(--space-4);margin:var(--space-3) 0}.qe-panel__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.qe-panel__title{margin:0;font-size:var(--text-md);color:var(--text-strong)}.qe-panel__body{display:grid;gap:var(--space-3);margin-top:var(--space-3)}.qe-schedule{display:flex;gap:var(--space-3);flex-wrap:wrap;align-items:flex-end}.qe-schedule .qe-field{width:230px}.qe-actionbar{position:sticky;bottom:0;z-index:var(--z-dropdown);display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-3);padding:10px 12px;background:var(--surface-panel);border:1px solid var(--border-subtle);border-radius:14px;box-shadow:0 -8px 22px #14213d1f}.qe-actionbar__secondary{display:flex;gap:var(--space-2);flex-wrap:wrap;align-items:center}.qe-actionbar__main{margin-left:auto;display:flex;gap:var(--space-2);align-items:center;flex-wrap:wrap;justify-content:flex-end}.qe-actionbar__note{width:100%;color:var(--warning-700);font-size:13px;font-weight:700}.qe-actionbar__more{display:none}@media(max-width:720px){.qe-page-title{font-size:22px}.qe-card{padding:var(--space-3)}.qe-field--type,.qe-field--marks,.qe-field--mode,.qe-schedule .qe-field{width:100%}.qe-card .qe-row--meta .qe-field--marks{width:96px}.qe-card .qe-row--meta .qe-field--type{flex:1 1 150px;width:auto}.qe-option{grid-template-columns:minmax(0,1fr) 30px}.qe-option__mark{grid-column:1;grid-row:1;padding:0;min-height:28px}.qe-option__letter{grid-column:2;grid-row:1}.qe-option .qe-input{grid-column:1 / -1;grid-row:2}.qe-pairs__head{display:none}.qe-pairs__row{grid-template-columns:minmax(0,1fr) 36px}.qe-pairs__arrow{display:none}.qe-pairs__row .qe-input:nth-of-type(2){grid-column:1}.qe-pairs__row>:last-child{grid-column:2;grid-row:1 / span 2;align-self:center}.qe-toolbar__jump select{max-width:100%}.qe-toolbar__actions{width:100%}.qe-actionbar{border-radius:14px 14px 0 0;margin-left:-6px;margin-right:-6px;padding:8px}.qe-actionbar__more{display:inline-flex}.qe-actionbar__secondary{display:none}.qe-actionbar[data-more-open=true] .qe-actionbar__secondary{display:grid;grid-template-columns:1fr 1fr;width:100%;order:5}.qe-actionbar__secondary .ui-button{width:100%}.qe-actionbar__main,.qe-actionbar__main .ui-button{flex:1 1 auto}}.qe-page .ui-button,.builder-page .ui-button{gap:6px}.qe-answers>.qe-label{margin-bottom:2px}.study-materials-page{min-width:0;container-type:inline-size;color:#17243c;overflow-wrap:anywhere}.study-materials-page *,.study-materials-page *:before,.study-materials-page *:after{box-sizing:border-box}.study-materials-page .study-materials-header{flex-wrap:wrap;padding:12px 0 22px;align-items:flex-start!important}.study-materials-page .study-materials-header>div{min-width:0}.study-materials-page .study-materials-header h2{font-size:clamp(21px,2.4vw,28px);line-height:1.3;letter-spacing:-.025em;max-width:42ch}.study-materials-page button,.study-materials-page summary,.study-materials-page select{font:inherit}.study-materials-page button:focus-visible,.study-materials-page a:focus-visible,.study-materials-page summary:focus-visible,.study-materials-page select:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.study-materials-page button:disabled{opacity:.55;cursor:wait!important}.study-materials-page .study-materials-download{background:#2563eb!important;border-color:#2563eb!important;color:#fff;font-weight:700}.study-materials-page .study-materials-menu{max-width:100%;background:#fff;font-size:13px;border:1px solid #dce3ef;border-radius:8px;padding:8px}.study-materials-page .study-materials-menu-content{padding-top:12px}.study-materials-page .study-materials-tabs{border-bottom:1px solid #dce3ef;padding-bottom:12px;gap:6px!important}.study-materials-page .study-materials-tabs button{border-radius:9px!important;padding:10px 20px!important;border-color:transparent!important;color:#526079!important;background:transparent!important}.study-materials-page .study-materials-tabs button[aria-pressed=true]{color:#fff!important;background:#2563eb!important;box-shadow:0 3px 8px #2563eb25}.study-materials-page .study-materials-panel{padding:20px!important;border-color:#dce3ef!important}.study-notes-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.study-notes-toc{position:sticky;top:16px;border:1px solid #e1e7f0;border-radius:12px;padding:16px 10px;min-width:0}.study-notes-toc-title{padding:0 6px 14px;font-weight:750}.study-notes-toc-title span{display:block;font-size:12px;font-weight:400;color:#6b7890;margin-top:4px}.study-notes-toc-links{max-height:65vh;overflow-y:auto}.study-notes-toc-links a{display:block;padding:9px 10px;border-left:3px solid transparent;border-radius:5px;text-decoration:none;color:#526079;font-size:13px;line-height:1.5}.study-notes-toc-links a:hover,.study-notes-toc-links a[aria-current]{color:#1d4ed8;background:#eff4ff;border-left-color:#2563eb}.study-notes-mobile-toc{display:none}.study-notes-reading{min-width:0;max-width:80ch;width:100%;margin-inline:auto}.study-notes-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px;font-size:12px}.study-notes-controls>span{margin-right:auto;color:#6b7890}.study-notes-controls button{padding:7px 10px;border:1px solid #dce3ef;border-radius:7px;background:#fff;color:#334155;cursor:pointer}.study-notes-section{border:1px solid #dce3ef;border-radius:12px;margin-bottom:18px;scroll-margin-top:24px;overflow:hidden}.study-notes-section>:is(h2,h3,h4,h5,h6){margin:0;font-size:18px}.study-notes-section>:is(h2,h3,h4,h5,h6) button{display:flex;gap:12px;justify-content:space-between;align-items:center;width:100%;text-align:left;border:0;padding:15px 20px;background:#f0f5ff;color:#142c54;font-weight:700;cursor:pointer}.study-notes-prose{padding:4px 22px 12px;font-size:15px;line-height:1.8;color:#334155;white-space:normal}.study-notes-prose p{margin:14px 0;white-space:pre-line}.study-notes-prose :is(ul,ol){padding-left:24px;margin:14px 0}.study-notes-prose li{padding-left:3px;margin:7px 0}.study-notes-prose strong{color:#17243c;font-weight:700}.study-notes-prose pre{max-width:100%;overflow-x:auto;background:#f5f7fb;padding:12px;border-radius:6px}.study-notes-prose code{background:#f0f4f9;font-size:.9em}@container (max-width: 800px){.study-notes-layout{grid-template-columns:minmax(0,1fr);gap:16px}.study-notes-toc{position:static;padding:12px}.study-notes-toc-title{padding:0 0 8px}.study-notes-toc-title span,.study-notes-toc-links{display:none}.study-notes-mobile-toc{display:grid;gap:6px;font-size:12px;color:#526079}.study-notes-mobile-toc select{max-width:100%;width:100%;padding:10px;border:1px solid #dce3ef;border-radius:7px;background:#fff;color:#17243c}.study-materials-page .study-materials-panel{padding:12px!important}.study-notes-prose{padding-inline:16px}}.create-class-page{width:100%;min-width:0;container-type:inline-size}.create-class-page .create-class-card{width:100%;min-width:0;box-sizing:border-box}.create-class-page .create-class-info{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}.create-class-page .create-class-info>label{display:grid;gap:6px;align-content:start;min-width:0;font-size:13px;color:#334155}.create-class-page .create-class-info>label>span{font-weight:700}.create-class-page .create-class-source-options{display:grid;gap:12px}.create-class-page .create-class-source-option{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #dbe4f3;border-radius:9px;font-size:13px;cursor:pointer}.create-class-page .create-class-source-option:has(input:checked){border-color:#5272ff;background:#eff6ff}.create-class-page .create-class-source-option input{flex:0 0 auto;margin-top:3px}.create-class-page .create-class-source-option small{display:block;margin-top:4px;color:#64748b;font-size:12px}.create-class-page .create-curriculum-editor{display:grid;gap:12px;min-width:0}.create-class-page .create-curriculum-view-setting{display:flex;flex:0 0 auto;align-items:center;gap:8px;min-height:44px;font-size:13px;white-space:nowrap;cursor:pointer}.create-class-page .create-curriculum-editor .create-curriculum-view-setting input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;padding:0;margin:0}.create-class-page .create-curriculum-selector{display:grid;gap:6px;margin-bottom:10px;min-width:0;font-size:13px}.create-class-page .create-curriculum-selector select{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit}.create-class-page .create-curriculum-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.create-class-page .create-curriculum-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1 1 420px;margin:0}.create-class-page .create-curriculum-toolbar>.create-curriculum-actions{flex:0 0 auto}.create-class-page .create-curriculum-counts>div{display:flex;flex-direction:column-reverse;gap:4px;border:1px solid #dbe4f3;border-radius:8px;padding:12px;background:#eff6ff}.create-class-page .create-curriculum-counts>div:nth-child(2){background:#f0fdf4}.create-class-page .create-curriculum-counts>div:nth-child(3){background:#faf5ff}.create-class-page .create-curriculum-counts>div:nth-child(4){background:#fffbeb}.create-class-page .create-curriculum-counts dt{font-size:12px;color:#475569;overflow-wrap:anywhere}.create-class-page .create-curriculum-counts dd{margin:0;font-size:19px;font-weight:800}.create-class-page .create-curriculum-topic{border:1px solid #dbe4f3;border-radius:10px;overflow:hidden;min-width:0}.create-class-page .create-curriculum-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;background:#eff6ff}.create-class-page .create-curriculum-toggle{border:0;background:transparent;color:#1e3a8a;font-size:20px;padding:8px;cursor:pointer}.create-class-page .create-curriculum-name{display:grid;gap:4px;flex:1 1 220px;min-width:0}.create-class-page .create-curriculum-name>span,.create-class-page .create-curriculum-name small{font-size:12px;color:#475569}.create-class-page .create-curriculum-name input{font-weight:700}.create-class-page .create-curriculum-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.create-class-page .create-curriculum-topic-body{padding:12px}.create-class-page .create-curriculum-subtopic{border:1px solid #e2e8f0;border-left:3px solid #5272ff;border-radius:8px;margin-bottom:10px;min-width:0}.create-class-page .create-curriculum-subtopic>header{background:#f8fafc}.create-class-page .create-curriculum-subtopic-body{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.create-class-page .create-curriculum-objectives,.create-class-page .create-curriculum-keywords,.create-class-page .create-curriculum-tag-field{display:grid;align-content:start;gap:8px;min-width:0;font-size:13px}.create-class-page .create-curriculum-keywords{gap:16px}.create-class-page .create-curriculum-editor input,.create-class-page .create-curriculum-editor textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:7px;padding:9px 10px;font:inherit;background:#fff}.create-class-page .create-curriculum-editor textarea{resize:vertical;line-height:1.6;overflow-wrap:anywhere}.create-class-page .create-curriculum-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.create-class-page .create-curriculum-tag{display:inline-flex;max-width:100%;align-items:flex-start;border-radius:14px;background:#dbeafe;color:#1e40af}.create-class-page .create-curriculum-tag button{border:0;background:transparent;color:inherit;padding:5px 8px;font:inherit;font-size:12px;cursor:pointer;text-align:left;overflow-wrap:anywhere;min-width:0}.create-class-page .create-curriculum-tag button:last-child{flex-shrink:0}.create-class-page .create-curriculum-empty{color:#64748b;font-size:13px}.create-class-page [hidden]{display:none!important}.create-class-page .create-class-action-anchor{height:80px;margin-top:16px;width:100%}.create-class-page .create-class-floating-actions{position:fixed;bottom:12px;z-index:25;box-sizing:border-box;padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 4px 20px #173b7526;gap:8px!important}.create-class-page .create-class-floating-actions>button{flex:0 0 auto;white-space:nowrap}.create-class-page .create-class-settings-menu{flex:1 1 auto;min-width:0}.create-class-page .create-class-settings-menu>summary{cursor:pointer;font-size:13px;font-weight:700;color:#334155;padding:10px 8px;list-style-position:inside;white-space:nowrap}.create-class-page .create-class-settings-short{display:inline}.create-class-page .create-class-settings-full{display:none}.create-class-page .create-class-settings-panel{position:absolute;bottom:calc(100% + 8px);left:0;right:0;max-height:min(60vh,420px);overflow-y:auto;padding:16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 4px 20px #173b7526}@container (min-width: 650px){.create-class-page .create-class-settings-short{display:none}.create-class-page .create-class-settings-full{display:inline}}@container (max-width: 450px){.create-class-page .create-class-floating-actions{padding:6px;gap:4px!important;bottom:8px}.create-class-page .create-class-floating-actions>button{padding:8px 6px;font-size:11px}.create-class-page .create-class-settings-menu>summary{padding:8px 2px;font-size:11px}}@container (min-width: 900px){.create-class-page .create-class-info,.create-class-page .create-class-source-options{grid-template-columns:repeat(3,minmax(0,1fr))}.create-class-page .create-curriculum-subtopic-body{grid-template-columns:repeat(2,minmax(0,1fr))}.create-class-page .create-curriculum-counts{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.create-class-page .create-class-info,.create-class-page .create-class-source-options,.create-class-page .create-curriculum-subtopic-body{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.create-class-page .create-class-floating-actions>button{width:auto!important}}@media(max-width:600px){.create-class-page .create-class-card input:not([type=checkbox]):not([type=radio]),.create-class-page .create-class-card select,.create-class-page .create-class-card textarea{font-size:16px!important;min-height:44px;max-width:100%;box-sizing:border-box;scroll-margin-block:96px}.create-class-page .create-class-card input[type=file]::file-selector-button{min-height:44px}.create-class-page .create-class-card li{overflow-wrap:anywhere}.create-class-page .create-class-source-option{font-size:14px;padding:12px}.create-class-page .create-class-source-option small{font-size:13px}.create-class-page label[for=dashboard-curriculum-rights-confirmation]{min-height:44px;align-items:center!important}.create-class-page .create-curriculum-heading{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;padding:8px}.create-class-page .create-curriculum-one-card .create-curriculum-heading>.create-curriculum-name{grid-column:1 / -1}.create-class-page .create-curriculum-heading>.create-curriculum-actions{grid-column:1 / -1;gap:6px}.create-class-page .create-curriculum-heading>.create-curriculum-actions>button{flex:1 1 0;min-width:0;min-height:44px;padding:8px 6px;font-size:12px;white-space:normal}.create-class-page .create-curriculum-toggle{min-height:44px;padding:4px}.create-class-page .create-curriculum-topic-body{padding:6px}.create-class-page .create-curriculum-subtopic-body{padding:8px}.create-class-page .create-curriculum-toolbar>.create-curriculum-actions{width:100%}.create-class-page .create-curriculum-toolbar>.create-curriculum-actions>button{flex:1;min-height:44px}.create-class-page .create-curriculum-counts dt{font-size:13px}.create-class-page .create-curriculum-tag button{min-height:44px;font-size:13px}.create-class-page .create-curriculum-tag button:last-child{min-width:44px}.create-class-page .create-class-action-anchor{height:calc(88px + env(safe-area-inset-bottom,0px))}.create-class-page .create-class-floating-actions{bottom:calc(8px + env(safe-area-inset-bottom,0px) + var(--create-class-keyboard-offset, 0px))}.create-class-page .create-class-floating-actions>button{min-height:44px;font-size:12px;padding:8px 6px!important}.create-class-page .create-class-settings-menu>summary{min-height:44px;display:flex;align-items:center;font-size:12px;box-sizing:border-box}.create-class-page .create-class-settings-panel{max-height:min(60dvh,420px);padding:12px;overflow-wrap:anywhere}.create-class-page .create-class-settings-panel>div:first-child{grid-template-columns:minmax(0,1fr)!important}.create-class-page .create-class-settings-panel label{min-height:44px}}
