@import"https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css";:root{--layer-session-menu: 60;--layer-modal: 80;--layer-toast: 100;color:#111827;background:#f8fafc;font-family:Pretendard,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;background:#f8fafc}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh;background:#f8fafc}.app-frame{position:relative;min-height:100vh;background:#f8fafc}.session-user-menu{position:sticky;top:20px;z-index:var(--layer-session-menu);height:0;display:flex;justify-content:flex-end;padding-right:32px;pointer-events:none}.session-user-trigger{height:44px;display:inline-flex;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:999px;background:#fffffff0;color:#374151;padding:4px 12px 4px 6px;font:inherit;font-weight:900;box-shadow:0 8px 24px #0f172a14;cursor:pointer;pointer-events:auto}.session-user-copy{display:grid;gap:1px;min-width:0;text-align:left}.session-user-copy strong{max-width:112px;overflow:hidden;color:#111827;font-size:.875rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.session-user-copy small{color:#9ca3af;font-size:.6875rem;line-height:1}.session-user-dropdown{position:absolute;top:52px;right:32px;min-width:156px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:8px;box-shadow:0 16px 40px #0f172a29;pointer-events:auto}.session-user-dropdown button{width:100%;min-height:40px;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;border:0;border-radius:12px;background:transparent;color:#dc2626;padding:0 12px;font-weight:900;cursor:pointer}.session-user-dropdown button:hover{background:#fef2f2}.toast-viewport{position:fixed;bottom:clamp(128px,24vh,240px);left:50%;z-index:var(--layer-toast);width:min(420px,calc(100vw - 32px));display:grid;justify-items:center;pointer-events:none;transform:translate(-50%)}.toast-message[role=status]{min-height:0;display:inline-flex;align-items:center;gap:10px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4f5;color:#166534;padding:12px 18px;font-size:.875rem;font-weight:900;line-height:1.3;box-shadow:0 16px 40px #0f172a29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.toast-message.error[role=status]{border-color:#fecaca;background:#fef2f2f5;color:#991b1b}.topbar,.nav-tabs,.eyebrow{display:none}h1,h2,h3,p{margin-top:0}.landing-shell{min-height:100vh;background:#f8fafc}.landing-hero{position:relative;min-height:min(680px,88vh);overflow:hidden;display:grid;align-items:center;padding:32px;color:#fff;background:linear-gradient(90deg,#111827d6,#2563ebb8),url(https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=80) center / cover}.landing-topbar{position:absolute;top:0;left:0;right:0;min-height:85px;display:flex;align-items:center;justify-content:flex-start;padding:20px 32px;border-bottom:1px solid rgb(255 255 255 / .16);background:#ffffff14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.landing-brand{color:#fff;font-size:1.25rem;font-weight:900}.landing-hero-content{width:min(100%,1120px);min-width:0;display:grid;gap:32px;margin:72px auto 0}.landing-hero-copy{min-width:0;max-width:760px}.landing-hero-copy h1{margin:0 0 18px;color:#fff;font-size:clamp(3rem,8vw,5.75rem);font-weight:900;line-height:.98}.landing-hero-copy p{max-width:640px;margin:0;color:#dbeafe;font-size:clamp(1.125rem,2vw,1.375rem);font-weight:800;line-height:1.6}.landing-login-grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.landing-login-card{min-width:0;min-height:168px;display:grid;align-content:space-between;gap:18px;border:1px solid rgb(255 255 255 / .24);border-radius:24px;background:#fffffff0;color:#111827;padding:24px;text-decoration:none;box-shadow:0 16px 40px #0f172a29}.landing-login-card:hover{filter:brightness(.98)}.landing-entry-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.landing-entry-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#2563eb;color:#fff;font-size:1.5rem;box-shadow:0 1px 2px #2563eb29}.landing-entry-arrow{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f9fafb;color:#2563eb}.landing-login-card h2{margin:0 0 8px;color:#111827;font-size:1.5rem;font-weight:900;line-height:1.2}.landing-login-card p{margin:0;color:#6b7280;font-size:.875rem;font-weight:800;line-height:1.55}.landing-overview-band{display:grid;gap:24px;padding:48px 32px 64px;background:#f8fafc}.landing-overview{width:min(100%,1120px);display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin:0 auto}.landing-info-card,.landing-role-card,.landing-workflow-card,.landing-result-card{border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:24px;box-shadow:0 1px 2px #0f172a0d}.landing-info-card{padding:28px}.landing-section-heading{width:min(100%,1120px);display:grid;gap:10px;margin:24px auto 0}.landing-section-heading h2,.landing-info-card h2{margin:0;color:#111827;font-weight:900;line-height:1.25}.landing-section-heading h2{font-size:1.875rem}.landing-info-card h2{margin-bottom:12px;font-size:1.5rem}.landing-section-heading p,.landing-info-card p,.landing-role-card p,.landing-workflow-card p,.landing-result-card p{margin:0;color:#6b7280;font-weight:700;line-height:1.7}.landing-section-heading p{max-width:720px}.landing-info-card p,.landing-role-card p,.landing-workflow-card p,.landing-result-card p{font-size:.9375rem}.landing-feature-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}.landing-feature-list li{display:flex;align-items:center;gap:12px;color:#374151;font-weight:900}.landing-feature-list i,.landing-result-card>i{display:grid;place-items:center;background:#eff6ff;color:#2563eb}.landing-feature-list i{width:32px;height:32px;border-radius:10px}.landing-role-grid,.landing-workflow-grid,.landing-result-grid{width:min(100%,1120px);display:grid;gap:16px;margin:0 auto}.landing-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-role-card{display:grid;gap:18px}.landing-role-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#2563eb;color:#fff;font-size:1.4rem}.landing-role-card h3,.landing-workflow-card h3,.landing-result-card h3{margin:0 0 8px;color:#111827;font-size:1.25rem;font-weight:900;line-height:1.25}.landing-workflow-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.landing-workflow-card{display:grid;align-content:start;gap:16px}.landing-workflow-step{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eff6ff;color:#2563eb;font-size:.875rem;font-weight:900}.landing-result-grid{grid-template-columns:1fr 1fr}.landing-result-card{display:flex;align-items:flex-start;gap:16px}.landing-result-card>i{width:44px;height:44px;flex:0 0 44px;border-radius:14px}.login-panel{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:#f9fafb}.login-card{width:min(100%,448px);display:grid;gap:0;padding:48px;border:1px solid #e5e7eb;border-radius:24px;background:#fff;box-shadow:0 1px 2px #0f172a0d;text-align:center}.login-mark{width:96px;height:96px;display:grid;place-items:center;margin:0 auto 24px;border-radius:24px;background:#2563eb;color:#fff;font-size:3rem;font-weight:900;box-shadow:0 1px 2px #2563eb29}.login-panel h2{margin:0 0 8px;color:#111827;font-size:1.875rem;font-weight:900;line-height:1.2}.login-panel p{margin:0 0 32px;color:#6b7280;font-size:.875rem;line-height:1.6;white-space:pre-line}.login-form{display:grid;gap:12px}.code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.login-panel .code-row{grid-template-columns:1fr}.code-row input{width:100%;min-height:62px;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb;color:#111827;padding:0 16px;font-size:1.5rem;font-weight:900;letter-spacing:0;text-align:center;text-transform:uppercase;outline:none}.code-row input:focus,.teacher-form input:focus,.teacher-form textarea:focus,.question-form input:focus,.question-form textarea:focus,.answer-form textarea:focus,.answer-card textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #2563eb1f}.code-row input[aria-invalid=true]{border-color:#ef4444;background:#fff7f7}.code-row input[aria-invalid=true]:focus{border-color:#dc2626;box-shadow:0 0 0 4px #dc262624}.code-row button{min-height:56px;border:0;border-radius:16px;background:#2563eb;color:#fff;padding:0 22px;font-size:1rem;font-weight:900;cursor:pointer;box-shadow:0 4px 8px #2563eb29}.code-row button:disabled,.teacher-form button:disabled,.question-form button:disabled,.answer-form button:disabled,.answer-card button:disabled,.candidate-row button:disabled{cursor:wait;opacity:.68}.login-help{margin-top:20px;color:#9ca3af;font-size:.75rem;font-weight:900}.page-panel{min-height:100vh;display:grid;align-content:start;gap:24px;padding:32px;background:#f8fafc}.page-toolbar{position:sticky;top:0;z-index:10;min-height:85px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-32px -32px 8px;padding:20px 232px 20px 32px;border-bottom:1px solid #e5e7eb;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.page-toolbar p{margin:4px 0 0;color:#9ca3af;font-size:.75rem;font-weight:900}.page-toolbar h2{min-width:0;margin:0;color:#111827;font-size:1.5rem;font-weight:900;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-screen .page-toolbar,.page-toolbar.title-with-back{justify-content:flex-start}.page-toolbar.title-with-back h2{min-width:0}.form-back-action{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:transparent;color:#9ca3af;font-size:1.25rem;text-decoration:none}.form-centered{width:100%;min-width:0;max-width:768px;display:grid;gap:16px;justify-self:center;padding-top:16px}.form-centered.wide{max-width:920px}.form-centered.class-student-detail-stack{max-width:1024px;gap:24px}.icon-only{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.action-row{display:flex;justify-content:flex-end;gap:12px;margin-bottom:8px}.primary-action,.secondary-action,.danger-action,.teacher-form button,.question-form button,.answer-form button,.answer-card button,.issued-code button,.readonly-code button,.candidate-row button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:0 18px;font-size:.875rem;font-weight:900;text-decoration:none;cursor:pointer;gap:8px}.primary-action,.teacher-form button,.question-form button,.answer-form button,.answer-card button,.candidate-row button{border:0;background:#2563eb;color:#fff;box-shadow:0 1px 2px #2563eb29}.secondary-action,.issued-code button,.readonly-code button{border:1px solid #e5e7eb;background:#fff;color:#4b5563}.danger-action{width:fit-content;border:1px solid #fecaca;background:#fff;color:#dc2626}.text-link{color:#2563eb;font-weight:900;text-decoration:none}.text-link:hover,.primary-action:hover,.secondary-action:hover,.danger-action:hover{filter:brightness(.98)}[role=status],[role=alert],.empty-state{margin:0;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:20px;color:#6b7280;font-weight:800}[role=alert]{border-color:#fecaca;color:#dc2626}.error-screen{min-height:100vh;place-items:center;align-content:center}.error-card{width:min(100%,520px);display:grid;justify-items:center;gap:20px;border:1px solid #e5e7eb;border-radius:28px;background:#fff;padding:40px;text-align:center;box-shadow:0 12px 32px #0f172a14}.error-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#eff6ff;color:#2563eb;font-size:1.5rem}.error-card h2,.error-card p{margin:0}.error-card h2{color:#111827;font-size:1.5rem;font-weight:900}.error-card p{color:#6b7280;font-weight:800;line-height:1.6}.error-message-line{display:block}.class-table{display:grid;overflow:hidden;border:1px solid #e5e7eb;border-radius:24px;background:#fff;box-shadow:0 1px 2px #0f172a0d}.student-card{display:flex;align-items:center;gap:12px}.student-card strong{display:block;color:#111827;font-size:1rem;font-weight:900}.student-card small{display:block;margin-top:3px;color:#9ca3af;font-size:.75rem;font-weight:800}.class-table-header,.class-table-row{display:grid;align-items:center;gap:16px;padding:18px 24px}.class-table-header,.class-table-row{grid-template-columns:minmax(180px,1.4fr) minmax(90px,.5fr) minmax(130px,.8fr)}.class-table-header{border-bottom:1px solid #e5e7eb;background:#f9fafb;color:#9ca3af;font-size:.75rem;font-weight:900;text-transform:uppercase}.class-table-row{min-height:76px;border-top:1px solid #f3f4f6}.class-table-header+.class-table-row{border-top:0}.code-text{color:#111827;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-weight:900;letter-spacing:0}.code-text{display:flex;align-items:center;gap:8px}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;color:#6b7280;cursor:pointer}.avatar,.round-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-weight:900}.avatar{width:48px;height:48px;border-radius:16px;font-size:1.125rem}.round-icon{width:32px;height:32px;border-radius:999px}.teacher-identity{display:inline-flex;align-items:center;gap:10px;color:#374151;font-size:.875rem;font-weight:800}.mode-pill{display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:8px;background:#f3f4f6;color:#4b5563;padding:6px 12px;font-size:.875rem;font-weight:900}.screen-title{margin:0 0 8px;color:#111827;font-size:1.875rem;font-weight:900;line-height:1.25}.screen-title span{color:#2563eb}.class-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.class-card-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.class-card{display:grid;gap:0;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:24px;box-shadow:0 1px 2px #0f172a0d}.class-card h3{margin:0 0 8px;color:#111827;font-size:1.25rem;font-weight:900;line-height:1.25}.class-card p{margin:0 0 24px;color:#6b7280;font-size:.875rem;font-weight:700}.class-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:16px;border-radius:16px;font-size:1.25rem}.class-icon.tone-1{background:#eff6ff;color:#2563eb}.class-icon.tone-2{background:#ecfdf5;color:#059669}.class-icon.tone-3{background:#eef2ff;color:#4f46e5}.card-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;background:#f9fafb;color:#4b5563;font-size:.875rem;font-weight:900;text-decoration:none;box-shadow:0 1px 2px #2563eb29}.card-entry.primary{background:#2563eb;color:#fff}.subsection{display:grid;gap:16px}.subsection>h3,.section-heading h3{margin:0;color:#111827;font-size:1.125rem;font-weight:900}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading span{border-radius:8px;background:#e5e7eb;color:#4b5563;padding:4px 8px;font-size:.75rem;font-weight:900}.empty-hero{min-height:300px;display:grid;place-items:center;justify-items:center;gap:14px;border:1px dashed #cbd5e1;border-radius:24px;background:#fff;padding:40px 24px;text-align:center}.empty-hero-icon,.success-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#eff6ff;color:#2563eb;font-size:1.75rem}.success-icon{background:#dcfce7;color:#16a34a}.loader{width:48px;height:48px;border:4px solid #eff6ff;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-hero h3{margin:0;color:#111827;font-size:1.5rem;font-weight:900}.empty-hero p{max-width:420px;margin:0;color:#6b7280;line-height:1.55;font-weight:700}.question-action-row{display:flex;justify-content:flex-end}.student-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.student-card{justify-content:space-between;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:20px;box-shadow:0 1px 2px #0f172a0d}.student-card>span:not(.avatar){flex:1;min-width:0}.exam-card-row{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}.exam-card-row::-webkit-scrollbar{display:none}.exam-feature-card,.student-result-card{min-width:320px;display:grid;gap:12px;border:1px solid #e5e7eb;border-radius:24px;background:#fff;color:#111827;padding:24px;text-decoration:none;box-shadow:0 1px 2px #0f172a0d}.exam-feature-card.primary{background:#2563eb;color:#fff}.exam-feature-card.primary i{font-size:1.25rem}.exam-feature-card strong,.student-result-card strong{font-size:1.25rem;font-weight:900}.exam-feature-card span,.student-result-card span{color:inherit;font-size:.875rem;font-weight:700;opacity:.78}.student-result-card em{color:#111827;font-style:normal;font-size:3rem;font-weight:900}.class-exam-row{align-items:stretch}.class-exam-card{position:relative;min-width:320px;min-height:168px;align-content:space-between;gap:28px;overflow:hidden;border-radius:24px;padding:24px}.class-exam-card.primary:after{content:"";position:absolute;top:-28px;right:-28px;width:128px;height:128px;border-radius:999px;background:#ffffff1a}.class-exam-card strong{position:relative;z-index:1;min-height:56px;display:block;color:inherit;font-size:1.25rem;line-height:1.35}.class-exam-card-foot{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.class-exam-main-stat{display:flex;align-items:baseline;gap:6px}.class-exam-main-stat span,.class-exam-main-stat em{color:inherit;font-style:normal;font-size:.875rem;font-weight:700;opacity:.78}.class-exam-main-stat b{color:inherit;font-size:3rem;font-weight:900;line-height:1}.class-exam-submit-badge{border:1px solid #f3f4f6;border-radius:10px;background:#f9fafb;color:#6b7280;padding:6px 10px;font-size:.875rem;font-weight:900;white-space:nowrap}.class-exam-card.primary .class-exam-submit-badge{border-color:transparent;background:#0000001a;color:#fff}.exam-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.exam-mini-stats span{border-radius:12px;background:#f9fafb;padding:10px;color:#6b7280;font-size:.75rem;font-weight:900;opacity:1;text-align:center}.exam-mini-stats b{color:#111827}.exam-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.exam-card-actions .primary-action,.exam-card-actions .secondary-action{min-height:40px;padding:0 12px}.tutor-cta{position:relative;overflow:hidden;width:100%;justify-self:center;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:24px;background:#2563eb;color:#fff;padding:40px;box-shadow:0 4px 8px #2563eb2e}.tutor-cta:after{content:"";position:absolute;right:-40px;top:-40px;width:192px;height:192px;border-radius:999px;background:#ffffff1a}.tutor-cta h3{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:1.875rem;font-weight:900}.tutor-cta p{position:relative;z-index:1;margin:0;color:#dbeafe;font-weight:700}.robot-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#fff3}.tutor-cta-button{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;border-radius:16px;background:#fff;color:#2563eb;padding:16px 32px;font-weight:900;text-decoration:none}.exam-detail-card{width:min(100%,720px);display:grid;gap:18px;justify-self:center;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:28px;box-shadow:0 1px 2px #0f172a0d}.exam-title-block span{display:block;margin-bottom:8px;color:#9ca3af;font-size:.875rem;font-weight:900}.exam-title-block h3{margin:0;color:#111827;font-size:1.75rem;font-weight:900;line-height:1.25}.exam-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:1px solid #e5e7eb;border-radius:18px;background:#f9fafb;padding:18px}.exam-stat-grid span{display:block;margin-bottom:4px;color:#6b7280;font-size:.875rem;font-weight:800}.exam-stat-grid strong{color:#111827;font-size:1.5rem;font-weight:900}.exam-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exam-danger-row{display:flex;justify-content:flex-end;border-top:1px solid #f3f4f6;padding-top:16px}.exam-danger-row .danger-action{min-width:148px;border:1px solid #fecaca;background:#fff;color:#dc2626;box-shadow:none}.outline-feature-action,.solid-feature-action{min-height:72px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;border-radius:16px;font-size:.9375rem;font-weight:900;text-decoration:none}.outline-feature-action{border:1px solid #bfdbfe;background:#fff;color:#2563eb}.solid-feature-action{border:1px solid #2563eb;background:#2563eb;color:#fff;box-shadow:0 4px 8px #2563eb29}.student-exam-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;border-bottom:1px solid #e5e7eb;padding-bottom:24px}.student-exam-head span{display:block;margin-bottom:8px;color:#9ca3af;font-size:.875rem;font-weight:900}.student-exam-head h3{margin:0;color:#111827;font-size:1.875rem;font-weight:900}.student-exam-head strong{color:#111827;font-size:3rem;font-weight:900}.student-exam-head small{color:#9ca3af;font-size:1.25rem}.result-card{position:relative;overflow:hidden}.result-card:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:#10b981}.result-card.wrong{border-color:#fecaca}.result-card.wrong:before{background:#f87171}.question-body{border:1px solid #f3f4f6;border-radius:16px;background:#f9fafb;padding:20px;color:#1f2937;font-weight:700}.answer-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.answer-compare>div{display:grid;justify-items:center;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb;padding:20px}.answer-compare .wrong{border-color:#fecaca;background:#fef2f2;color:#dc2626}.answer-compare span,.explanation-box span{color:#6b7280;font-size:.75rem;font-weight:900}.answer-compare strong{color:inherit;font-size:1.5rem;font-weight:900}.answer-compare .wrong strong{text-decoration:line-through}.explanation-box{border:1px solid #bfdbfe;border-radius:16px;background:#eff6ff;padding:20px}.explanation-box span{display:block;margin-bottom:8px;color:#2563eb}.explanation-box p{margin:0;color:#374151;font-weight:700}.chat-screen{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;overscroll-behavior:none}.chat-screen .page-toolbar{flex-shrink:0;margin:0}.chat-toolbar{box-shadow:0 1px 2px #0f172a0d}.student-chat-toolbar{justify-content:space-between}.chat-title{min-width:0;display:flex;align-items:center;gap:12px}.chat-title-avatar{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:999px;background:#f3f4f6;color:#4b5563}.chat-title h2,.chat-title p{margin:0}.chat-title p{margin-top:2px;color:#10b981;font-size:.6875rem;font-weight:900}.chat-panel{width:100%;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;background:#f8fafc}.summary-strip{display:flex;flex-wrap:wrap;gap:10px}.summary-strip span{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:10px 14px;color:#4b5563;font-size:.875rem;font-weight:900}.reference-text{margin:0;color:#6b7280;font-size:.875rem;font-weight:900}.student-exam-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.student-exam-summary strong{font-size:1rem}.question-result-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.question-result-heading h3{margin:0}.status-pill{border:1px solid #e5e7eb;border-radius:999px;background:#f9fafb;color:#4b5563;padding:5px 10px;font-size:.75rem;font-weight:900}.status-pill.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.status-pill.danger{border-color:#fecaca;background:#fef2f2;color:#991b1b}.result-detail-list{display:grid;gap:10px;margin:0}.result-detail-list div{display:grid;gap:4px}.result-detail-list dt{color:#9ca3af;font-size:.75rem;font-weight:900}.result-detail-list dd{margin:0;color:#111827;line-height:1.5}.teacher-form,.question-form,.answer-form{display:grid;gap:12px}.teacher-form{width:min(100%,560px);min-width:0;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:28px;box-shadow:0 1px 2px #0f172a0d}.form-centered>.teacher-form,.form-centered>.issued-code,.form-centered>.readonly-code,.form-centered>[role=status],.form-centered>[role=alert],.form-centered>.danger-action{width:100%;min-width:0;max-width:560px;justify-self:center}.form-centered>.management-form{max-width:768px}.teacher-form h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#111827;font-size:1rem;font-weight:900}.teacher-form>button[type=submit]{width:100%}.teacher-form h3 i{color:#6b7280}.form-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:4px}.form-card-head h3{margin:0}.form-card-head button{min-height:40px;padding:0 20px;border-radius:12px;font-size:.875rem}.input-box{display:grid;gap:4px;min-width:0;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb;padding:8px}.teacher-form label,.question-form label,.answer-form label,.answer-card label{color:#9ca3af;font-size:.75rem;font-weight:900}.teacher-form .input-box label{padding:0 6px;text-transform:uppercase}.teacher-form input,.teacher-form textarea,.question-form input,.question-form textarea,.answer-form textarea,.answer-card textarea{width:100%;min-height:48px;border:1px solid #e5e7eb;border-radius:14px;background:#f9fafb;color:#111827;padding:0 14px;font-size:1rem;font-weight:800;outline:none}.teacher-form .input-box input,.teacher-form .input-box textarea{min-height:44px;border:0;border-radius:10px;background:transparent;padding:0 6px;font-size:1rem}.teacher-form .input-box textarea{padding:8px 6px}.teacher-form textarea,.question-form textarea,.answer-form textarea,.answer-card textarea{min-height:132px;padding:12px 14px;resize:vertical;line-height:1.5}.question-form,.answer-card{margin:0;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:20px;box-shadow:0 1px 2px #0f172a0d}.question-form.highlighted{border-color:#bfdbfe;box-shadow:0 8px 20px #2563eb14}.question-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.question-card-head>div{display:flex;align-items:center;gap:12px}.question-number-pill{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#f3f4f6;color:#374151;font-size:1.125rem;font-weight:900}.question-form.highlighted .question-number-pill{background:#eff6ff;color:#2563eb}.question-form h3,.answer-card h3{margin:0;color:#111827;font-size:1rem;font-weight:900}.answer-card{display:grid;gap:12px}.answer-card legend{padding:0 8px;color:#111827;font-weight:900}.answer-card p{margin:0;line-height:1.55}.message-list{position:relative;min-height:0;flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:24px;overflow-y:auto;background:#f8fafc;padding:32px 32px 40px}.chat-empty-message{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#9ca3af;padding:24px;font-size:.9375rem;font-weight:900;text-align:center;pointer-events:none}.message-row{width:100%;display:flex;align-items:flex-end;gap:12px}.message-row.user{justify-content:flex-end}.message-row.assistant,.message-row.system{justify-content:flex-start}.chat-avatar{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#4b5563;font-size:.875rem}.message-bubble{width:fit-content;max-width:min(70%,672px);border-radius:24px;padding:16px 20px;box-shadow:0 1px 2px #0f172a0d}.message-row.user .message-bubble{border-bottom-right-radius:6px;background:#2563eb;color:#fff}.message-row.assistant .message-bubble,.message-row.system .message-bubble{border:1px solid #e5e7eb;border-bottom-left-radius:6px;background:#fff;color:#1f2937}.message-bubble p{margin:0;font-size:.9375rem;font-weight:600;line-height:1.6}.chat-compose{width:min(100% - 64px,1024px);min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:24px auto;border:1px solid #d1d5db;border-radius:999px;background:#f8fafc;padding:8px 12px 8px 20px}.chat-compose label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.chat-compose textarea{height:36px;min-height:36px;max-height:36px;border:0;border-radius:0;background:transparent;padding:8px 0;resize:none;overflow:hidden;outline:none;color:#111827;font:inherit;font-size:1rem;font-weight:600}.chat-compose button{width:48px;min-width:48px;height:48px;min-height:48px;border:0;border-radius:999px;background:#2563eb;color:#fff;padding:0;font-weight:900;cursor:pointer;box-shadow:0 1px 2px #2563eb29}.chat-compose button:disabled{cursor:not-allowed;opacity:.55}.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.report-hero,.report-side,.report-diagnostics{border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:28px;box-shadow:0 1px 2px #0f172a0d}.report-hero h3{margin:16px 0 8px;color:#111827;font-size:1.875rem;font-weight:900}.report-hero-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.report-hero>p,.report-side p{margin:0;color:#6b7280;font-weight:800}.report-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.report-summary-grid div{border:1px solid #f3f4f6;border-radius:16px;background:#f9fafb;padding:16px}.report-summary-grid span{display:block;margin-bottom:8px;color:#9ca3af;font-size:.75rem;font-weight:900}.report-summary-grid strong{color:#111827;font-size:.875rem;line-height:1.5}.report-side h3,.report-diagnostics h3{margin:0 0 16px;color:#111827;font-weight:900}.review-direction-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}.review-direction-list li{display:flex;gap:8px;color:#374151;font-size:.875rem;font-weight:800;line-height:1.55}.review-direction-list i{margin-top:3px;color:#2563eb}.report-diagnostics{grid-column:1 / -1}.diagnostic-list{display:grid;gap:12px}.diagnostic-list article{display:flex;gap:16px;border:1px solid #e5e7eb;border-radius:16px;padding:20px}.diagnostic-list article.danger{border-color:#fecaca;background:#fef2f2}.diagnostic-list article>span{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#ecfdf5;color:#059669;font-weight:900}.diagnostic-list article.danger>span{background:#fee2e2;color:#dc2626}.diagnostic-list strong{display:block;color:#111827;font-weight:900}.diagnostic-list p{margin:6px 0 0;color:#4b5563;font-size:.875rem;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.checkbox-row{display:inline-flex;align-items:center;gap:8px}.checkbox-row input{width:18px;height:18px}.answer-entry-list{gap:16px}.answer-row-card legend{display:flex;align-items:center;gap:10px;padding:0 8px}.answer-row-card legend strong{color:#111827;font-weight:900}.answer-row-card legend small{color:#9ca3af;font-weight:800}.answer-question-body{border-radius:16px;background:#f9fafb;padding:16px;color:#111827;line-height:1.55;font-weight:800}.answer-entry-grid{display:grid;grid-template-columns:minmax(140px,.4fr) minmax(0,1fr) auto auto;align-items:center;gap:12px}.readonly-answer{display:grid;gap:6px;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb;padding:12px}.readonly-answer span{color:#9ca3af;font-size:.75rem;font-weight:900}.readonly-answer strong{color:#111827;font-size:1.125rem;font-weight:900}.correct-toggle{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #fecaca;border-radius:14px;background:#fff;color:#dc2626;padding:0 16px;font-weight:900;cursor:pointer}.correct-toggle.checked{border-color:#bfdbfe;color:#2563eb}.correct-toggle input{width:16px;height:16px}.issued-code,.readonly-code,.readonly-info{display:grid;align-items:center;gap:12px;border:1px solid #e5e7eb;border-radius:20px;background:#f9fafb;padding:18px}.issued-code{grid-template-columns:minmax(0,1fr) auto auto;border-color:#bbf7d0;background:#f0fdf4}.readonly-code{grid-template-columns:minmax(0,1fr) auto}.readonly-info{grid-template-columns:minmax(0,1fr)}.issued-code span,.readonly-code span,.readonly-info span{color:#6b7280;font-size:.75rem;font-weight:900}.readonly-code span,.readonly-info span{grid-column:1 / -1}.issued-code strong,.readonly-code strong,.readonly-info strong{color:#111827;font-size:1rem;font-weight:900}.issued-code strong,.readonly-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.issued-code button,.readonly-code button{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:12px;background:#fff;color:#4b5563}.issued-code .secondary-action{min-height:40px}.teacher-form .danger-action{width:100%;border:1px solid #fecaca;background:#fff;color:#dc2626;box-shadow:none}.modal-backdrop{position:fixed;inset:0;z-index:var(--layer-modal);display:grid;place-items:center;background:#0f172a59;padding:24px}.confirm-dialog{width:min(100%,460px);display:grid;gap:14px;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:24px;box-shadow:0 24px 60px #0f172a2e}.confirm-dialog h3,.confirm-dialog p{margin:0}.confirm-dialog h3{color:#111827;font-size:1.25rem;font-weight:900}.confirm-dialog p{color:#6b7280;font-weight:700;line-height:1.5}.danger-confirm{width:min(100%,420px);justify-items:center;gap:18px;padding:32px;text-align:center}.confirm-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:999px;font-size:1.625rem}.confirm-icon.danger{background:#fef2f2;color:#dc2626}.danger-confirm h3{font-size:1.5rem}.danger-confirm p{max-width:320px}.danger-confirm .dialog-actions{width:100%;justify-content:center}.danger-confirm .secondary-action,.danger-confirm .danger-action{min-width:132px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-head h3,.modal-head p{margin:0}.modal-head p{margin-top:4px;color:#6b7280;font-size:.875rem;font-weight:700}.method-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.method-card{min-height:160px;display:grid;align-content:center;justify-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:#111827;padding:20px;text-align:center;cursor:pointer}.method-card i{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#eff6ff;color:#2563eb;font-size:1.5rem}.method-card strong{font-size:1.125rem;font-weight:900}.method-card span{color:#6b7280;font-size:.875rem;line-height:1.45}.method-card:disabled{cursor:wait;opacity:.72}.upload-zone{min-height:180px;display:grid;place-items:center;gap:8px;border:2px dashed #bfdbfe;border-radius:22px;background:#eff6ff;color:#2563eb;padding:24px;text-align:center;cursor:pointer}.upload-zone i{font-size:2rem}.upload-zone strong{color:#111827;font-size:1.125rem;font-weight:900}.upload-zone span{color:#6b7280;font-size:.875rem;font-weight:800}.modal-backdrop.passive{pointer-events:none}.modal-backdrop.passive .confirm-dialog{pointer-events:auto}.processing-dialog{justify-items:center;text-align:center}.processing-dialog h3{font-size:1.5rem}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.candidate-list{display:grid;gap:12px}.candidate-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:16px;box-shadow:0 1px 2px #0f172a0d}.candidate-row div{display:grid;gap:4px;min-width:0;margin-right:auto}.candidate-row strong{color:#111827;font-weight:900}.include-student-stack{gap:18px}.include-target-card,.include-search-box{width:100%;border:1px solid #e5e7eb;background:#fff;box-shadow:0 1px 2px #0f172a0d}.include-target-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:24px;padding:24px}.include-target-card div{display:grid;gap:8px}.include-target-card span{color:#9ca3af;font-size:.75rem;font-weight:900;text-transform:uppercase}.include-target-card strong{color:#111827;font-size:1.25rem;font-weight:900}.include-search-box{display:flex;align-items:center;gap:12px;border-radius:20px;padding:12px 16px;color:#9ca3af}.include-search-box input{width:100%;min-width:0;min-height:36px;border:0;background:transparent;color:#111827;font-size:.875rem;font-weight:800;outline:none}.include-candidate-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.include-candidate-card{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:inherit;padding:18px;text-align:left;cursor:pointer;box-shadow:0 1px 2px #0f172a0d}.include-candidate-card.selected{border:2px solid #bfdbfe;background:#eff6ff;padding:17px}.include-candidate-card.included{background:#f9fafb;cursor:default;opacity:.68}.include-candidate-card>span:not(.avatar):not(.include-check){display:grid;gap:4px;min-width:0;margin-right:auto}.include-candidate-card strong{color:#111827;font-size:1rem;font-weight:900}.include-candidate-card small{color:#6b7280;font-size:.75rem;font-weight:900}.include-check{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;color:#2563eb;font-size:1.5rem}.empty-check{width:24px;height:24px;border:2px solid #e5e7eb;border-radius:999px}.included-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280;padding:6px 10px;font-size:.75rem;font-weight:900}.include-bottom-action{display:none}.profile-card{width:100%;max-width:768px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;justify-self:center;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:24px;box-shadow:0 1px 2px #0f172a0d}.profile-avatar{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#eff6ff;color:#2563eb;font-size:1.5rem;font-weight:900}.profile-card h3,.profile-card p{margin:0}.profile-card h3{color:#111827;font-size:1.5rem;font-weight:900}.profile-card p{margin-top:4px;color:#6b7280;font-weight:800}.class-student-summary-card,.class-student-memo-card{width:100%;justify-self:center;border:1px solid #e5e7eb;border-radius:28px;background:#fff;padding:24px;box-shadow:0 1px 2px #0f172a0d}.class-student-summary-card{display:flex;align-items:center;justify-content:space-between;gap:24px}.class-student-summary-person{min-width:0;display:flex;align-items:center;gap:16px}.class-student-summary-person>div:last-child{min-width:0}.class-student-summary-person h3,.class-student-summary-person p{margin:0}.class-student-summary-person h3{color:#111827;font-size:1.5rem;font-weight:900;line-height:1.2}.class-student-summary-person p{margin-top:6px;color:#9ca3af;font-size:.8125rem;font-weight:900}.class-student-summary-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.class-student-summary-actions .primary-action,.class-student-summary-actions .danger-action{min-height:44px}.class-student-summary-actions .danger-action{border:1px solid #fecaca;background:#fff;color:#dc2626}.class-student-memo-card{min-height:420px;display:flex;flex-direction:column;gap:16px}.class-student-memo-card .form-card-head{align-items:flex-start;margin-bottom:0}.class-student-memo-card .form-card-head h3,.class-student-memo-card .form-card-head p{margin:0}.class-student-memo-card .form-card-head h3{display:flex;align-items:center;gap:8px;color:#111827;font-size:1.125rem;font-weight:900}.class-student-memo-card .form-card-head p{margin-top:6px;color:#9ca3af;font-size:.75rem;font-weight:900}.class-student-memo-card textarea{width:100%;min-height:300px;flex:1;border:1px solid #e5e7eb;border-radius:20px;background:#f9fafb;padding:16px;color:#111827;font:inherit;font-size:.875rem;font-weight:700;line-height:1.6;resize:vertical;outline:none}.class-student-memo-card textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #93c5fd3d}.class-student-remove-action{min-height:52px;justify-self:start}.answer-count{justify-self:end}.answer-target-list{display:grid;gap:12px}.answer-target-list.compact{gap:10px}.answer-target-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:16px;box-shadow:0 1px 2px #0f172a0d}.answer-target-card strong,.answer-target-card small{display:block}.answer-target-card strong{color:#111827;font-weight:900}.answer-target-card small{margin-top:4px;color:#6b7280;font-size:.75rem;font-weight:800}.score-badge{min-width:64px;border-radius:12px;background:#f3f4f6;color:#6b7280;padding:8px 10px;font-size:.875rem;font-weight:900;text-align:center}.score-badge.complete{background:#eff6ff;color:#2563eb}@media(max-width:700px){.toast-viewport{bottom:max(clamp(96px,20vh,160px),calc(env(safe-area-inset-bottom) + 72px));width:min(360px,calc(100vw - 32px))}.login-panel{display:grid;align-items:center;justify-content:stretch;padding:0 24px;background:#fff}.login-card{width:min(100%,327px);max-width:327px;align-content:center;border:0;border-radius:0;padding:32px 0;box-shadow:none;text-align:left}.login-panel .login-form,.login-panel .code-row{width:100%;max-width:327px}.login-panel .code-row input,.login-panel .code-row button{max-width:327px}.login-panel .code-row input{font-size:2.25rem}.login-mark{width:96px;height:96px;margin:0 0 24px;border-radius:24px;font-size:3rem}.login-panel h2{font-size:1.875rem}.login-panel p{margin-bottom:40px}.landing-hero{min-height:auto;align-items:start;padding:0 24px 28px;background:linear-gradient(180deg,#111827db,#2563ebbd),url(https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=900&q=80) center / cover}.landing-topbar{position:relative;min-height:72px;margin:0 -24px;padding:14px 24px;background:#ffffff14}.landing-brand{font-size:1rem}.landing-hero-content{width:100%;max-width:342px;justify-self:start;gap:24px;margin:44px 0 0}.landing-hero-copy h1{margin-bottom:14px;font-size:3rem;line-height:1.04}.landing-hero-copy p{max-width:100%;font-size:1rem;overflow-wrap:anywhere}.landing-login-grid{width:100%;grid-template-columns:1fr;gap:12px}.landing-login-card{min-height:124px;border-radius:20px;padding:18px}.landing-entry-icon{width:48px;height:48px;border-radius:16px;font-size:1.25rem}.landing-login-card h2{font-size:1.25rem}.landing-overview-band{padding:28px 20px 44px}.landing-overview,.landing-role-grid,.landing-workflow-grid,.landing-result-grid{grid-template-columns:1fr}.landing-section-heading{margin-top:12px}.landing-section-heading h2{font-size:1.5rem}.landing-info-card,.landing-role-card,.landing-workflow-card,.landing-result-card{border-radius:20px;padding:22px}.landing-result-card{gap:14px}.page-panel{gap:18px;padding:20px}.chat-screen{padding:0;gap:0}.page-toolbar{align-items:center;min-height:77px;margin:-20px -20px 2px;padding:16px 104px 16px 20px;background:#ffffffe6}.session-user-menu{top:16px;padding-right:20px}.session-user-trigger{width:44px;min-width:44px;height:44px;justify-content:center;gap:0;padding:0}.session-user-dropdown{right:20px}.session-user-copy,.session-user-trigger>.fa-chevron-down{display:none}.page-toolbar p,.teacher-identity span:not(.round-icon){display:none}.page-toolbar h2{font-size:1.375rem}.action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.toolbar-actions{gap:8px}.toolbar-actions .secondary-action,.toolbar-actions .primary-action,.page-toolbar>.secondary-action,.page-toolbar>.primary-action{min-width:44px;padding:0 12px;font-size:.8125rem}.screen-title{font-size:1.5rem;margin-bottom:6px}.class-card-grid,.class-card-grid.two-columns,.student-card-grid,.report-layout,.report-summary-grid,.exam-stat-grid,.exam-action-grid,.answer-compare{grid-template-columns:1fr}.class-card,.student-card,.exam-detail-card,.report-hero,.report-side,.report-diagnostics{border-radius:20px;padding:20px}.class-card h3{font-size:1.125rem}.student-card{display:flex;padding:16px}.student-card .secondary-action{min-height:36px;padding:0 12px;font-size:.75rem}.avatar{width:40px;height:40px;border-radius:12px;font-size:1rem}.exam-feature-card,.student-result-card{min-width:260px;padding:20px}.class-exam-card{min-width:260px;min-height:156px;gap:20px;padding:24px}.class-exam-card strong{min-height:48px;font-size:1.125rem}.class-exam-card-foot{gap:10px}.class-exam-main-stat b{font-size:2.5rem}.class-exam-submit-badge{padding:5px 8px;font-size:.75rem}.tutor-cta{width:100%;max-width:100%;margin-inline:0;justify-self:center;display:grid;align-content:center;justify-content:center;place-items:center;justify-items:center;text-align:center;padding:24px}.tutor-cta>div{width:min(100%,360px);justify-self:center;display:grid;justify-items:center;text-align:center}.tutor-cta h3{width:auto;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;margin:0 0 8px;font-size:1.25rem}.tutor-cta p{width:auto;max-width:100%;margin-bottom:24px;text-align:center}.robot-icon{width:56px;height:56px;border-radius:16px;font-size:1.75rem;margin:0 auto}.tutor-cta-button{width:min(100%,360px);justify-self:center;justify-content:center;text-align:center;padding:14px}.exam-title-block h3,.student-exam-head h3,.report-hero h3{font-size:1.5rem}.student-exam-head{display:grid;gap:16px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:20px}.student-exam-head strong{font-size:2.25rem}.outline-feature-action,.solid-feature-action{min-height:52px;flex-direction:row;font-size:.8125rem}.chat-title{gap:8px}.chat-title-avatar{width:32px;height:32px;font-size:.75rem}.chat-title p{display:block;font-size:.5625rem}.message-list{gap:20px;padding:16px 16px 32px}.chat-avatar{width:32px;height:32px;font-size:.75rem}.message-row{gap:8px}.message-bubble{max-width:80%;border-radius:18px;padding:12px 16px}.message-bubble p{font-size:.8125rem;line-height:1.55}.chat-compose{width:calc(100% - 24px);min-height:44px;margin:12px auto max(12px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;border-radius:999px;padding:4px 8px 4px 16px}.chat-compose textarea{height:32px;min-height:32px;max-height:32px;padding:6px 0;font-size:.875rem}.chat-compose button{width:32px;min-width:32px;height:32px;min-height:32px}.class-table{border:0;border-radius:0;background:transparent;box-shadow:none;gap:12px}.class-table-header{display:none}.class-table-row{min-height:auto;grid-template-columns:1fr;gap:10px;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:16px;box-shadow:0 1px 2px #0f172a0d}.teacher-form,.question-form,.answer-card,.message-list{width:100%;max-width:calc(100vw - 40px);border-radius:20px;padding:16px}.form-centered,.form-centered>.teacher-form,.form-centered>.issued-code,.form-centered>.readonly-code,.form-centered>.readonly-info,.form-centered>[role=status],.form-centered>[role=alert],.form-centered>.danger-action{width:100%;max-width:calc(100vw - 40px)}.issued-code,.readonly-code,.readonly-info{grid-template-columns:1fr}.readonly-code{grid-template-columns:minmax(0,1fr) auto}.readonly-code span{grid-column:1 / -1}.candidate-row,.dialog-actions{display:grid}.include-target-card{display:grid;gap:0;border:0;background:transparent;padding:0;box-shadow:none}.include-target-card span{font-size:.625rem}.include-target-card strong{font-size:1rem}.include-submit-top{display:none}.include-search-box{border-radius:18px;padding:10px 14px}.include-candidate-grid{grid-template-columns:1fr;gap:12px}.include-candidate-card{min-height:74px;border-radius:18px;padding:14px}.include-candidate-card.selected{padding:13px}.include-candidate-card .avatar{width:40px;height:40px;border-radius:14px}.include-candidate-card strong{font-size:.875rem}.include-candidate-card small{font-size:.6875rem}.include-check{font-size:1.25rem}.empty-check{width:20px;height:20px}.included-badge{padding:5px 8px;font-size:.6875rem}.include-bottom-action{position:sticky;bottom:0;display:grid;border-top:1px solid #f3f4f6;background:#fff;padding:12px 0 max(12px,env(safe-area-inset-bottom))}.include-bottom-action .primary-action{width:100%;min-height:56px;border-radius:18px}.modal-backdrop{align-items:center;padding:20px}.confirm-dialog{width:100%;max-width:calc(100vw - 40px);border-radius:24px;padding:22px}.danger-confirm{gap:16px;padding:28px 22px}.danger-confirm h3{font-size:1.25rem}.danger-confirm .dialog-actions{width:100%;grid-template-columns:1fr}.danger-confirm .secondary-action,.danger-confirm .danger-action{width:100%}.danger-confirm .danger-action{order:-1}.method-card-grid,.answer-entry-grid,.answer-target-card,.profile-card{grid-template-columns:1fr}.profile-card,.answer-target-card{justify-items:start}.profile-card .primary-action,.answer-target-card .primary-action,.answer-target-card .secondary-action{width:100%}.form-centered.class-student-detail-stack{max-width:calc(100vw - 40px);gap:16px;padding-bottom:88px}.class-student-summary-card,.class-student-memo-card{max-width:calc(100vw - 40px);border-radius:24px;padding:20px}.class-student-summary-card{display:grid;justify-content:stretch;gap:0}.class-student-summary-person{gap:12px}.class-student-summary-person .profile-avatar{width:48px;height:48px;border-radius:16px;font-size:1.125rem}.class-student-summary-person h3{font-size:1.125rem}.class-student-summary-person p{font-size:.75rem}.class-student-summary-actions{display:grid;margin-top:16px}.class-student-summary-actions .primary-action{width:100%;justify-content:center}.class-student-memo-card{min-height:auto}.class-student-memo-card .form-card-head{display:flex;align-items:flex-start;gap:12px}.class-student-memo-card .form-card-head button{min-height:40px;padding:0 14px}.class-student-memo-card textarea{min-height:224px;border-radius:18px;padding:12px;font-size:.8125rem}.class-student-remove-action{width:100%;min-height:52px;justify-content:center}.question-action-row{justify-content:stretch}.question-action-row .primary-action,.empty-hero .primary-action,.answer-target-card .score-badge,.answer-entry-grid .score-badge{width:100%}.message-bubble{max-width:100%}input:not([type=checkbox]),textarea,select{font-size:16px!important}}
