:root{--bg:#f4f6fb;--surface:#fff;--surface-subtle:#f8fafc;--border:#e2e8f0;--border-strong:#cbd5e1;--text:#0f172a;--text-muted:#64748b;--primary:#2563eb;--primary-hover:#1d4ed8;--primary-soft:#eff6ff;--success:#16a34a;--success-soft:#f0fdf4;--danger:#dc2626;--danger-soft:#fef2f2;--warn:#d97706;--warn-soft:#fffbeb;--choice-1:#2563eb;--choice-2:#059669;--choice-3:#d97706;--choice-4:#7c3aed;--radius:12px;--radius-sm:8px;--shadow:0 2px 10px #0f172a0f;--shadow-lg:0 12px 32px #0f172a24;--font-sans:system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Consolas, monospace}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0;padding:0;line-height:1.6}h1,h2,h3,h4,p{margin-top:0}code{font-family:var(--font-mono);background:#f1f5f9;border-radius:5px;padding:.12em .4em;font-size:.9em}.stack{flex-direction:column;gap:1rem;display:flex}.stack-sm{flex-direction:column;gap:.65rem;display:flex}.muted{color:var(--text-muted)}.small{font-size:.86rem}.center-note{text-align:center;padding:1.25rem 0}.error-text{color:var(--danger);white-space:pre-line;margin:0;font-size:.9rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem}.card-header-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.85rem;margin-bottom:.85rem;display:flex}.section-title{margin:0 0 .35rem;font-size:1.05rem;font-weight:700}.btn-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.btn{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.35rem;min-height:40px;padding:.55rem 1rem;font-family:inherit;font-size:.94rem;font-weight:600;text-decoration:none;transition:background .14s,border-color .14s,transform 80ms;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-block{width:100%}.btn-lg{min-height:46px;padding:.75rem 1.35rem;font-size:1rem}.btn-sm{min-height:34px;padding:.38rem .78rem;font-size:.85rem}.btn-xs{min-height:28px;padding:.22rem .55rem;font-size:.78rem}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-success{background:var(--success);color:#fff}.btn-success:hover:not(:disabled){background:#15803d}.btn-outline{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.btn-outline:hover:not(:disabled){background:var(--surface-subtle);border-color:#94a3b8}.btn-ghost{color:var(--text-muted);background:0 0}.btn-ghost:hover:not(:disabled){color:var(--text);background:#eef2f7}.btn-danger-ghost{color:var(--danger);background:0 0}.btn-danger-ghost:hover:not(:disabled){background:var(--danger-soft)}.field{flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600;display:flex}input[type=text],input[type=password],input[type=file],textarea,select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--text);padding:.6rem .75rem;font-family:inherit;font-size:.95rem}input:focus,textarea:focus,select:focus{border-color:var(--primary);outline:2px solid #2563eb40}textarea{resize:vertical}.radio-row{flex-wrap:wrap;gap:1.25rem;display:flex}.radio-label{cursor:pointer;align-items:center;gap:.4rem;font-size:.9rem;font-weight:600;display:inline-flex}.brand-badge{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#2563eb,#1e40af);border-radius:8px;align-items:center;padding:.28rem .72rem;font-size:.95rem;font-weight:800;display:inline-flex}.brand-sm{padding:.2rem .55rem;font-size:.82rem}.badge{border-radius:999px;align-items:center;padding:.15rem .55rem;font-size:.76rem;font-weight:700;display:inline-flex}.badge-success{background:var(--success-soft);color:#15803d;border:1px solid #bbf7d0}.badge-muted{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1}.badge-info{background:var(--primary-soft);color:var(--primary);border:1px solid #bfdbfe}.type-pill{border-radius:6px;align-items:center;padding:.16rem .58rem;font-size:.75rem;font-weight:700;display:inline-flex}.type-content{color:#0369a1;background:#e0f2fe}.type-opinion{color:#b45309;background:#fef3c7}.type-quiz{color:#6d28d9;background:#ede9fe}.choice-num-badge{color:#fff;background:#475569;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 .45rem;font-size:.84rem;font-weight:800;display:inline-flex}.choice-num-badge.correct{background:var(--success)}.choice-color-1{background:var(--choice-1)}.choice-color-2{background:var(--choice-2)}.choice-color-3{background:var(--choice-3)}.choice-color-4{background:var(--choice-4)}.center-screen{justify-content:center;align-items:center;min-height:100dvh;padding:1.25rem;display:flex}.student-landing-bg{background:radial-gradient(circle at top right, #dbeafe, transparent 50%), var(--bg)}.login-card,.landing-card{width:100%;max-width:440px;padding:1.75rem}.login-header,.landing-head{flex-direction:column;align-items:flex-start;gap:.55rem;margin-bottom:1.25rem;display:flex}.login-header h1,.landing-head h1{margin:0;font-size:1.45rem}.login-footer,.landing-footer{border-top:1px solid var(--border);text-align:center;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.35rem;padding-top:1rem;display:flex}.key-input-lg{font-family:var(--font-mono);letter-spacing:.22em;text-align:center;text-transform:uppercase;font-weight:800;padding:.75rem!important;font-size:1.55rem!important}.admin-layout{flex-direction:column;min-height:100dvh;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1.25rem;display:flex;position:sticky;top:0}.topbar-left,.topbar-right{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.topbar-subtitle{color:var(--text-muted);font-size:.92rem;font-weight:700}.tab-nav{background:#f1f5f9;border-radius:10px;gap:.35rem;padding:.25rem;display:flex}.tab-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.45rem .95rem;font-size:.9rem;font-weight:700}.tab-btn.active{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px #00000014}.user-pill{border:1px solid var(--border);background:#f8fafc;border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .6rem;font-size:.84rem;display:inline-flex}.role-chip{color:#1e40af;background:#dbeafe;border-radius:5px;padding:.08rem .4rem;font-size:.7rem;font-weight:800}.admin-main{flex:1;width:100%;max-width:1380px;margin:0 auto;padding:1.25rem}.split-layout{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.sidebar-panel{flex-direction:column;gap:1rem;min-width:0;display:flex}.content-panel,.card{min-width:0}.item-list{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.item-row{border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;padding:.7rem .8rem;transition:background .12s,border-color .12s}.item-row:hover{background:var(--surface-subtle)}.item-row.selected{border-color:var(--primary);background:var(--primary-soft)}.item-title{margin-bottom:.2rem;font-size:.95rem;font-weight:700}.item-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.key-chip{color:var(--primary);background:#dbeafe;font-weight:700}.class-hero-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.hero-badges{align-items:center;gap:.6rem;margin-bottom:.35rem;display:flex}.key-inline{font-family:var(--font-mono);letter-spacing:.08em;color:var(--primary);font-size:1.05rem}.class-detail-title{margin:0 0 .25rem;font-size:1.4rem}.join-share-bar{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding-top:1rem;display:flex}.join-share-info{flex-direction:column;flex:1;gap:.5rem;min-width:240px;display:flex}.join-url-box{word-break:break-all}.qr-mini-box{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;padding:6px;line-height:0;transition:transform .15s}.qr-mini-box:hover{transform:scale(1.04)}.import-set-bar{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:1rem;padding:.65rem .85rem;display:flex}.import-set-bar select{flex:1;width:auto;min-width:220px}.slide-deck-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.slide-deck-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);flex-wrap:wrap;align-items:center;gap:.85rem;padding:.75rem .9rem;display:flex}.slide-index{color:#334155;background:#e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:.85rem;font-weight:800;display:flex}.slide-deck-body{flex:1;min-width:0}.slide-deck-meta{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.slide-deck-preview{text-overflow:ellipsis;white-space:nowrap;margin-top:.2rem;overflow:hidden}.slide-deck-actions{flex-shrink:0;gap:.3rem;display:flex}.csv-help-details{margin-top:.75rem}.code-block-sm{margin-top:.35rem;padding:.55rem;font-size:.78rem;display:block;overflow-x:auto}.question-card h3{margin:0;font-size:1rem}.choices-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.choice-admin-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);padding:.6rem .75rem}.choice-admin-item.is-correct{background:var(--success-soft);border-color:#86efac}.choice-admin-head{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.choice-exp-preview{margin:.35rem 0 0}.summary-preview{border-top:1px dashed var(--border);margin:.75rem 0 0;padding-top:.6rem}.modal-backdrop{z-index:100;background:#0f172a8c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-card{background:var(--surface);width:100%;max-width:580px;max-height:92dvh;box-shadow:var(--shadow-lg);border-radius:14px;padding:1.35rem;overflow-y:auto}.modal-lg{max-width:820px}.modal-qr{max-width:460px}.modal-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.modal-header h2{margin:0;font-size:1.15rem}.modal-footer{justify-content:flex-end;gap:.6rem;margin-top:.5rem;display:flex}.md-editor-grid{grid-template-columns:1fr 1fr;gap:.9rem;display:grid}.md-preview-box{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);min-height:210px;max-height:300px;padding:.75rem;overflow-y:auto}.quiz-choices-editor{flex-direction:column;gap:.7rem;display:flex}.choice-edit-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);flex-direction:column;gap:.45rem;padding:.65rem;display:flex}.qr-large-container{text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:.75rem 0 1.25rem;display:flex}.qr-key-display{font-family:var(--font-mono);letter-spacing:.22em;color:var(--primary);font-size:2.2rem;font-weight:900}.live-layout{flex-direction:column;min-height:100dvh;display:flex}.live-topbar{color:#f8fafc;z-index:25;background:#0f172a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;padding:.65rem 1.15rem;display:flex;position:sticky;top:0}.live-topbar .btn-ghost{color:#cbd5e1}.live-topbar .btn-ghost:hover{color:#fff;background:#ffffff1f}.live-topbar .btn-outline{color:#f8fafc;background:#ffffff14;border-color:#ffffff3d}.live-topbar .btn-outline:hover:not(:disabled){background:#ffffff29}.live-class-title{font-size:1rem}.key-pill-btn{color:#eff6ff;cursor:pointer;background:#3b82f638;border:1px solid #93c5fd80;border-radius:999px;padding:.28rem .75rem;font-size:.84rem}.key-pill-btn:hover{background:#3b82f659}.live-nav-center{align-items:center;gap:.6rem;display:flex}.slide-counter{font-weight:800;font-family:var(--font-mono);text-align:center;min-width:64px}.live-status-pill{border-radius:999px;align-items:center;gap:.4rem;padding:.26rem .7rem;font-size:.82rem;font-weight:700;display:inline-flex}.live-status-pill.online{color:#16a34a;background:#16a34a29}.live-topbar .live-status-pill.online{color:#86efac;background:#22c55e33}.live-status-pill.offline{color:#d97706;background:#d977062e}.status-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.live-body{flex:1;grid-template-columns:270px minmax(0,1fr);display:grid}.projector-mode .live-body{grid-template-columns:1fr}.live-sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;max-height:calc(100dvh - 58px);display:flex;position:sticky;top:58px;overflow-y:auto}.sidebar-head{color:var(--text-muted);border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.05em;padding:.75rem 1rem;font-size:.82rem;font-weight:800}.live-slide-nav{flex-direction:column;gap:.35rem;margin:0;padding:.5rem;list-style:none;display:flex}.live-slide-nav-item{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;align-items:center;gap:.5rem;padding:.6rem .65rem;font-size:.88rem;display:flex}.live-slide-nav-item:hover{background:var(--surface-subtle)}.live-slide-nav-item.active{background:var(--primary-soft);border-color:#93c5fd;font-weight:700}.nav-idx{font-family:var(--font-mono);color:var(--text-muted);text-align:right;flex-shrink:0;width:20px}.nav-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.live-stage{width:100%;max-width:1120px;margin:0 auto;padding:1.5rem}.projector-mode .live-stage{max-width:1280px}.stage-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:1.75rem 2rem}.slide-content-card{min-height:60dvh}.slide-header-meta{flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:.6rem;display:flex}.stage-title{margin:0 0 1rem;font-size:clamp(1.4rem,2.5vw,2.05rem);line-height:1.3}.stage-markdown{font-size:1.15rem;line-height:1.75}.live-control-group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.status-strip{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.85rem;margin-bottom:.85rem;padding:.6rem .85rem;font-size:.9rem;display:flex}.opinion-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.85rem;display:grid}.opinion-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;justify-content:space-between;gap:.65rem;padding:1rem;display:flex}.opinion-card.highlighted{background:#fffbeb;border:2px solid #f59e0b;box-shadow:0 4px 16px #f59e0b2e}.opinion-card.is-mine{border-color:#93c5fd}.opinion-card.is-hidden-card{opacity:.45;border-style:dashed}.opinion-text{white-space:pre-wrap;word-break:break-word;margin:0;font-size:.98rem}.opinion-card-foot,.discussion-card-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.quiz-phase-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:1rem;display:flex}.phase-steps{flex-wrap:wrap;gap:.35rem;display:flex}.phase-step-btn{border:1px solid var(--border-strong);background:var(--surface-subtle);color:var(--text-muted);cursor:pointer;border-radius:999px;padding:.38rem .85rem;font-size:.84rem;font-weight:700}.phase-step-btn.active{color:#fff;background:#1e293b;border-color:#1e293b}.quiz-results-list{flex-direction:column;gap:.8rem;margin-top:1rem;display:flex}.quiz-results-list.compact{gap:.55rem}.quiz-result-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);padding:.8rem .95rem}.quiz-result-row.is-correct{border:2px solid var(--success);background:var(--success-soft)}.quiz-result-row.is-my-wrong{background:#fff5f5;border:2px solid #fca5a5}.quiz-result-top{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.45rem;display:flex}.quiz-choice-label{flex-wrap:wrap;align-items:center;gap:.6rem;font-weight:600;display:flex}.choice-text{font-size:1rem}.quiz-stat-num{white-space:nowrap;color:var(--text-muted);font-size:.9rem}.bar-track{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.bar-fill{border-radius:999px;height:100%;transition:width .25s}.choice-bar-1{background:var(--choice-1)}.choice-bar-2{background:var(--choice-2)}.choice-bar-3{background:var(--choice-3)}.choice-bar-4{background:var(--choice-4)}.bar-fill.bar-correct{background:var(--success)}.choice-explanation-box{border-radius:8px;margin-top:.65rem;padding:.6rem .8rem;font-size:.92rem;line-height:1.55}.choice-explanation-box.exp-correct{color:#14532d;background:#dcfce7}.choice-explanation-box.exp-wrong{color:#334155;background:#f1f5f9}.summary-explanation-box{border-radius:var(--radius-sm);background:#eff6ff;border:1px solid #bfdbfe;margin-top:1.15rem;padding:1rem 1.15rem}.summary-explanation-box p{margin:.35rem 0 0}.summary-exp-label{color:#1d4ed8;font-size:.82rem;font-weight:800}.filter-pills{flex-wrap:wrap;gap:.35rem;display:flex}.filter-pill{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;color:var(--text-muted);border-radius:999px;padding:.25rem .7rem;font-size:.8rem;font-weight:700}.filter-pill.active{background:var(--primary);border-color:var(--primary);color:#fff}.student-layout{flex-direction:column;min-height:100dvh;display:flex}.student-topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem 1rem;display:flex;position:sticky;top:0}.student-top-left,.student-top-right{align-items:center;gap:.5rem;min-width:0;display:flex}.student-class-title{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.slide-counter-sm{font-family:var(--font-mono);color:var(--text-muted);font-size:.84rem;font-weight:700}.student-main{flex:1;width:100%;max-width:780px;margin:0 auto;padding:1rem}.student-slide-card{padding:1.35rem}.student-slide-title{margin:.5rem 0 .9rem;font-size:clamp(1.2rem,4.2vw,1.65rem);line-height:1.35}.student-markdown{font-size:1.02rem}.phase-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.phase-badge{border-radius:999px;padding:.22rem .68rem;font-size:.8rem;font-weight:800}.phase-answering{color:#1e40af;background:#dbeafe}.phase-discussion{color:#92400e;background:#fef3c7}.phase-reveal{color:#166534;background:#dcfce7}.answer-status-banner{background:var(--primary-soft);color:#1e40af;border-radius:var(--radius-sm);border:1px solid #bfdbfe;margin-bottom:.85rem;padding:.65rem .85rem;font-size:.9rem}.student-choice-list{flex-direction:column;gap:.7rem;margin-top:.85rem;display:flex}.choice-tap-btn{text-align:left;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);width:100%;min-height:58px;color:var(--text);cursor:pointer;align-items:center;gap:.8rem;padding:.9rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .14s,background .14s,transform 80ms;display:flex}.choice-tap-btn:hover{background:#f8fbff;border-color:#93c5fd}.choice-tap-btn:active{transform:scale(.99)}.choice-tap-btn.selected{border-color:var(--primary);background:var(--primary-soft);font-weight:700}.choice-tap-text{flex:1;line-height:1.4}.choice-check{color:var(--primary);white-space:nowrap;font-size:.8rem;font-weight:800}.response-form{flex-direction:column;gap:.65rem;margin-top:1rem;display:flex}.form-foot-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.discussion-prompt-box{border-top:1px solid var(--border);margin-top:1.1rem;padding-top:1rem}.my-choice-summary{flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.9rem;font-weight:600;display:flex}.late-choice-picker{background:var(--warn-soft);border-radius:var(--radius-sm);border:1px solid #fde68a;padding:.75rem}.reveal-banner{border-radius:var(--radius-sm);margin-bottom:.9rem;padding:.9rem 1rem}.reveal-banner-main{margin-bottom:.2rem;font-size:1.15rem}.reveal-banner.correct{color:#14532d;background:#dcfce7;border:1px solid #86efac}.reveal-banner.wrong{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.reveal-banner.neutral{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{margin:.8em 0 .4em;line-height:1.3}.markdown-body p{margin:0 0 .75em}.markdown-body ul,.markdown-body ol{margin:0 0 .85em;padding-left:1.4em}.markdown-body li{margin-bottom:.3em}.markdown-body blockquote{border-left:4px solid var(--primary);background:var(--surface-subtle);color:#334155;margin:.75em 0;padding:.5rem .9rem}.markdown-body .md-pre{color:#e2e8f0;border-radius:var(--radius-sm);background:#0f172a;margin:.75em 0;padding:.85rem 1rem;overflow-x:auto}.markdown-body .md-pre code{color:inherit;background:0 0;padding:0}.markdown-body .md-img{border-radius:var(--radius-sm);max-width:100%;height:auto;margin:.5rem 0}.markdown-body hr{border:none;border-top:1px solid var(--border);margin:1rem 0}.empty-panel,.empty-inline{text-align:center;padding:2rem 1rem}.toast-container{z-index:200;flex-direction:column;gap:.5rem;max-width:min(360px,100vw - 2rem);display:flex;position:fixed;bottom:1rem;right:1rem}.toast{color:#f8fafc;box-shadow:var(--shadow-lg);background:#0f172a;border-radius:10px;padding:.65rem 1rem;font-size:.88rem;font-weight:600;transition:opacity .22s,transform .22s}.toast-success{background:#15803d}.toast-error{background:#b91c1c}.toast-hide{opacity:0;transform:translateY(6px)}@media (max-width:960px){.split-layout,.live-body{grid-template-columns:1fr}.live-sidebar{border-right:none;border-bottom:1px solid var(--border);max-height:220px;position:static}.md-editor-grid,.choices-admin-grid{grid-template-columns:1fr}}@media (max-width:600px){.student-main{padding:.7rem}.student-slide-card,.card{padding:1rem}.stage-card{padding:1.15rem}.live-stage{padding:.85rem}.student-topbar{padding:.5rem .7rem}.student-opinion-grid{grid-template-columns:1fr}}
