:root{--host-panel-width:600px;color:#0f172a;background:#f8fafc;font-family:Segoe UI,Inter,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{min-height:100vh;margin:0}a{color:#4f46e5}button,input,textarea,select{font:inherit}#root{min-height:100vh}.app-shell{max-width:1240px;margin:0 auto;padding:32px 20px 48px}.hero-shell{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.app-topbar{flex-wrap:nowrap;align-items:center}.landing-hero{text-align:center;justify-content:center}.app-topbar>div:first-child{min-width:0}.app-topbar h1{white-space:nowrap;font-size:clamp(1.7rem,3vw,2.7rem)}.app-topbar .hero-actions{scrollbar-width:none;flex:none;max-width:70%;margin:-4px;padding:4px;overflow-x:auto}.app-topbar .hero-actions::-webkit-scrollbar{display:none}.hero-shell h1{margin:0;font-size:clamp(2rem,4vw,3.6rem)}.app-topbar h1{font-size:clamp(1.7rem,3vw,2.7rem)}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:#6366f1;margin-bottom:8px;font-size:.75rem}.hero-copy,.panel-copy{color:#475569}.host-nav,.hero-actions,.button-row,.dialog-actions,.panel-actions{flex-wrap:wrap;gap:12px;display:flex}.host-nav{flex-wrap:nowrap}.host-nav .button{white-space:nowrap}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.topbar-icon-label{display:contents}.topbar-icon-button svg{stroke-width:2.2px;width:26px;height:26px;font-size:1.65rem;display:block}.topbar-icon-button{border-radius:999px;justify-content:center;align-items:center;width:58px;min-width:58px;min-height:46px;padding:10px 16px;display:inline-flex}.logout-icon-label{color:#e11d48}.live-exit-help-active .host-nav .button{pointer-events:none}.host-nav .button:has(.live-exit-focus){z-index:45;pointer-events:none;filter:brightness(1.03);animation:1.4s ease-in-out infinite sessions-pill-pulse;position:relative;box-shadow:0 0 0 2px #6366f138,0 0 18px #6366f16b,0 10px 24px #0000001f}.sessions-nav-label{justify-content:center;align-items:center;gap:7px;display:inline-flex}.live-nav-dot{background:#0000001f;border:1px solid #00000014;border-radius:50%;flex:0 0 9px;width:9px;height:9px;transition:background-color .18s,border-color .18s,transform .18s;transform:scale(.9);box-shadow:0 0 #16a34a00}.live-nav-dot.visible{background:#16a34a;border-color:#16a34a80;animation:1.35s ease-out infinite live-dot-pulse;transform:scale(1)}.live-session-actions,.question-nav-actions{justify-content:center}.app-content,.stack{flex-direction:column;gap:16px;display:flex}.grid-layout{gap:20px;display:grid}.setup-stage{place-items:start center;display:grid}.teacher-access-panel,.app-message-panel{text-align:center;background:#fff;border-color:#e2e8f0;width:min(100%,430px);margin:0 auto;padding:28px;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter;box-shadow:0 4px 24px #00000014,0 1px 4px #0000000a}.teacher-access-panel .panel-header,.app-message-panel .panel-header{justify-content:center}.teacher-access-panel .panel-header h2,.app-message-panel .panel-header h2{font-size:1.5rem}.app-message-panel{flex-direction:column;align-items:center;gap:14px;display:flex}.app-message-panel h1{margin:0;font-size:1.7rem;line-height:1.15}.app-message-panel p{color:#475569;max-width:34ch;margin-bottom:2px}.app-message-panel .button{justify-content:center;min-height:44px}.teacher-access-content{align-items:center;gap:18px}.teacher-access-content p{color:#475569;max-width:34ch;margin-bottom:2px}.teacher-access-content .button{color:#0f172a;background:#fff;border:1px solid #e2e8f0;min-height:48px;padding:10px 18px;box-shadow:0 1px 3px #0000001a}.google-signin-label{justify-content:center;align-items:center;gap:10px;display:inline-flex}.google-logo{flex:none;width:22px;height:22px}.setup-panel{width:min(100%, var(--host-panel-width));background:#fff;border-color:#e2e8f0;padding:32px 32px 30px;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter;box-shadow:0 4px 24px #00000014,0 1px 4px #0000000a}.setup-panel .panel-header{margin-bottom:10px}.setup-panel h2{letter-spacing:-.03em;font-size:clamp(1.8rem,2.2vw,2.3rem)}.setup-panel .panel-copy{max-width:46ch;margin-bottom:0;font-size:1.02rem;line-height:1.65}.setup-panel-body{gap:18px;margin-top:24px}.setup-panel .field{gap:10px}.setup-panel .field>span{color:#334155;font-size:.92rem;font-weight:600}.setup-panel .custom-select-trigger{border-radius:16px;min-height:56px;font-size:1rem}.setup-panel .button{align-items:center;width:100%;display:inline-flex}.setup-panel .button-row .button{letter-spacing:.01em;flex:1;justify-content:center;min-height:56px;font-size:1rem}.setup-panel .empty-state{gap:14px}.student-intro-panel{width:min(100%,390px);margin:0 auto}.student-intro-panel .button{width:100%}.archives-stage{flex-direction:column;gap:18px;width:min(100%,1120px);margin:0 auto;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter;display:flex}.archives-header{justify-content:space-between;align-items:flex-end;gap:18px;padding:0 2px;display:flex}.archives-header p{margin:0}.archives-kicker{color:#334155;letter-spacing:.01em;font-weight:800}.archives-copy{color:#64748b;max-width:54ch;margin-top:4px}.archives-header .button{white-space:nowrap;flex:none;min-height:42px}.archives-body{flex-direction:column;gap:16px;min-height:0;display:flex}.management-panel{gap:16px}.management-header{justify-content:space-between;align-items:center;gap:12px;margin:2px 0 4px;display:flex}.management-header>span{color:#475569;font-weight:700}.management-header .button{white-space:nowrap;min-height:40px}.archives-content{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.archives-list{max-height:min(68vh,820px)}.scroll-list{scrollbar-width:thin;scrollbar-color:#6366f14d #0000000a;flex-direction:column;flex:1;gap:10px;min-height:0;padding:6px 6px 8px 0;display:flex;overflow:auto;-webkit-mask-image:linear-gradient(#0000,#000 12px calc(100% - 12px),#0000);mask-image:linear-gradient(#0000,#000 12px calc(100% - 12px),#0000)}.scroll-list::-webkit-scrollbar{width:8px}.scroll-list::-webkit-scrollbar-track{background:#0000000a;border-radius:999px}.scroll-list::-webkit-scrollbar-thumb{background:#6366f140;border-radius:999px}.management-item{background:#fff;border:1px solid #e2e8f0;border-radius:24px;gap:10px;padding:14px 16px;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s;position:relative;box-shadow:0 1px 3px #0f172a0a}.management-item:hover,.management-item:focus-visible{background:#f8fafc;border-color:#6366f147;outline:none;transform:translateY(-1px);box-shadow:0 6px 18px #0f172a14}.management-item.active{background:#eef2ff;border-color:#4f46e580;box-shadow:inset 0 0 0 1px #4f46e529,0 8px 22px #4f46e524}.management-item-main{flex-direction:column;gap:5px;min-width:0;display:flex}.management-item-main strong,.archive-session-main strong{color:#0f172a}.management-item-main span,.management-item-meta,.archive-session-meta{color:#64748b;font-size:.9rem}.template-row{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.template-row .management-item-main span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.management-item-meta{white-space:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.management-item-meta>span:first-child{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;min-height:24px;padding:4px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.draft-pill{color:#92400e;background:#fef3c7;border:1px solid #b4530940;border-radius:999px;align-items:center;min-height:24px;padding:4px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.session-group{gap:10px;display:grid}.session-group-heading{z-index:1;background:#fff;border:1px solid #e2e8f0;border-radius:999px;justify-content:flex-start;align-items:center;gap:10px;width:fit-content;max-width:100%;margin-bottom:2px;padding:7px 9px;display:inline-flex;position:sticky;top:-6px;box-shadow:0 1px 4px #0000000f}.session-group-heading h3{color:#0f172a;letter-spacing:.02em;text-transform:none;margin:0;font-size:.78rem;line-height:1}.session-group-heading span{color:#4f46e5;white-space:nowrap;background:#6366f112;border:1px solid #6366f126;border-radius:999px;flex:none;justify-content:center;align-items:center;min-height:24px;padding:4px 8px;font-size:.74rem;font-weight:700;line-height:1;display:inline-flex}.session-group-list{gap:10px;display:grid}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.live-layout{justify-content:center;align-items:stretch;gap:24px;width:min(100%,1180px);margin:0 auto;display:flex}.live-layout.results-open{justify-content:stretch}.live-layout.results-closed{align-items:flex-start}.live-column{min-width:0;display:flex}.live-column-main{width:min(100%, var(--host-panel-width));flex:0 1 var(--host-panel-width);transition:flex-basis .46s cubic-bezier(.22,1,.36,1),width .46s cubic-bezier(.22,1,.36,1),transform .46s cubic-bezier(.22,1,.36,1),filter .46s cubic-bezier(.22,1,.36,1)}.live-layout.results-open .live-column-main{filter:saturate(.96);flex-basis:400px;width:auto;transform:translate(-4px)}.live-column-results{flex:0 700px;min-width:0;transition:flex-basis .46s cubic-bezier(.22,1,.36,1),max-width .46s cubic-bezier(.22,1,.36,1),opacity .32s,transform .46s cubic-bezier(.22,1,.36,1);overflow:hidden}.live-column-results.open{opacity:1;pointer-events:auto;max-width:700px;transform:translate(0)}.live-column-results.closed{opacity:0;pointer-events:none;flex-basis:0;max-width:0;transform:translate(28px)}.live-session-panel,.live-results-panel{width:100%;min-height:min(72vh,860px)}.live-layout.results-closed .live-session-panel{height:auto;min-height:0}.live-session-panel{background:#fff;border:1px solid #e2e8f0;flex-direction:column;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter;display:flex}.live-session-panel>.stack{flex:1;justify-content:space-between;min-height:0}.live-layout.results-closed .live-session-panel>.stack{flex:none;justify-content:flex-start}.live-status-pill{align-items:center;gap:7px;display:inline-flex}.live-results-panel{background:#fff;border-color:#c7d2fe;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter;box-shadow:0 4px 24px #00000014,0 1px 4px #0000000a}.settings-layout{justify-content:center;align-items:stretch;gap:24px;width:min(100%,1180px);margin:0 auto;display:flex}.settings-layout.editor-open{justify-content:stretch}.settings-column{min-width:0}.settings-column-list{width:min(100%, var(--host-panel-width));flex:0 1 var(--host-panel-width);transition:flex-basis .46s cubic-bezier(.22,1,.36,1),width .46s cubic-bezier(.22,1,.36,1),transform .46s cubic-bezier(.22,1,.36,1),filter .46s cubic-bezier(.22,1,.36,1)}.settings-layout.editor-open .settings-column-list{filter:saturate(.94);flex-basis:400px;width:auto;transform:translate(-4px)}.settings-column-editor{flex:0 700px;min-width:0;transition:flex-basis .46s cubic-bezier(.22,1,.36,1),max-width .46s cubic-bezier(.22,1,.36,1),opacity .32s,transform .46s cubic-bezier(.22,1,.36,1);overflow:hidden}.settings-column-editor.open{opacity:1;pointer-events:auto;max-width:700px;transform:translate(0)}.settings-column-editor.closed{opacity:0;pointer-events:none;flex-basis:0;max-width:0;transform:translate(28px)}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:24px;transition:border-color .22s,box-shadow .22s,background-color .22s,transform .22s;box-shadow:0 1px 3px #00000012,0 4px 12px #0000000d}.settings-panel{flex-direction:column;min-height:0;display:flex}.settings-panel-content{flex:1;min-height:0}.settings-panel-content>*{flex-shrink:0}.settings-panel-list,.settings-panel-editor{height:min(72vh,860px);max-height:min(72vh,860px)}.settings-panel-list{background:#fff;border:1px solid #e2e8f0;animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter}.settings-panel-editor{background:#fff;border-color:#c7d2fe;padding:28px;box-shadow:0 4px 24px #00000014,0 1px 4px #0000000a}.settings-panel-list .settings-panel-content,.settings-panel-editor .settings-panel-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6366f14d #0000000a;padding-right:4px;overflow:hidden auto}.settings-panel-editor .settings-panel-content{padding-right:8px}.settings-panel-editor .settings-panel-content::-webkit-scrollbar{width:8px}.settings-panel-editor .settings-panel-content::-webkit-scrollbar-track{background:#0000000a;border-radius:999px}.settings-panel-editor .settings-panel-content::-webkit-scrollbar-thumb{background:#6366f140;border-radius:999px}.settings-panel-editor{animation:.46s cubic-bezier(.22,1,.36,1) both settings-panel-enter}.nested-panel{background:#f1f5f9;border-color:#e2e8f0}.question-editor-panel{border-radius:24px;flex:none;padding:0;overflow:hidden}.question-toggle{width:100%;color:inherit;text-align:left;cursor:pointer;background:#f8fafc;border:0;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;transition:background-color .18s,transform .18s;display:flex}.question-toggle:hover,.question-toggle:focus-visible{background-color:#6366f10f;outline:none}.question-toggle-main{flex-direction:column;gap:3px;min-width:0;display:flex}.question-toggle-main strong{color:#0f172a}.question-toggle-main span{color:#64748b;font-size:.9rem}.question-toggle-icon{border-bottom:2px solid #94a3b8;border-right:2px solid #94a3b8;flex:none;width:10px;height:10px;transition:transform .22s cubic-bezier(.22,1,.36,1),border-color .18s;transform:rotate(45deg)translateY(-2px)}.question-editor-panel.expanded .question-toggle-icon{border-color:#4f46e5;transform:rotate(-135deg)translateY(-1px)}.question-editor-body{border-top:1px solid #e2e8f0;padding:14px 16px 16px}.editor-option-list{gap:10px}.settings-panel-editor .field input,.editor-option-list .field input{border-radius:999px}.settings-panel-editor .field textarea{border-radius:24px}.question-editor-actions,.template-editor-actions{justify-content:flex-end}.template-editor-actions{justify-content:center}.template-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;display:flex}.template-header-actions .button{white-space:nowrap;min-height:36px;padding:8px 12px;font-size:.9rem}.template-action-toolbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:14px;width:100%;padding-top:2px;display:flex}.template-action-set{align-items:center;gap:8px;display:inline-flex}.template-action-set-db{justify-content:flex-end}.template-action-toolbar .button{white-space:nowrap;min-height:34px;padding:7px 10px;font-size:.84rem}.draft-save-note{color:#4f46e5;margin:-4px 0 0;font-size:.9rem;font-weight:700}.panel-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-panel-editor .panel-header{align-items:center;margin-bottom:18px;padding-bottom:6px}.panel-header h2{margin-bottom:0}.panel h2,.panel h3,.panel p{margin-top:0}.field{flex-direction:column;gap:8px;display:flex}.field input,.field textarea,.field select{color:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;transition:border-color .18s,box-shadow .18s,background-color .18s}.custom-select{position:relative}.custom-select-trigger{width:100%;color:inherit;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px 12px 16px;transition:border-color .18s,box-shadow .18s,background-color .18s,transform .22s;display:inline-flex}.custom-select-trigger:focus-visible,.custom-select.open .custom-select-trigger{background:#fff;border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f126}.custom-select-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-chevron{border-bottom:2px solid #94a3b8;border-right:2px solid #94a3b8;flex:none;width:10px;height:10px;transition:transform .24s cubic-bezier(.22,1,.36,1),border-color .18s;transform:rotate(45deg)translateY(-2px)}.custom-select.open .custom-select-chevron{border-color:#4f46e5;transform:rotate(-135deg)translateY(-1px)}.custom-select-menu{z-index:20;opacity:0;transform-origin:top;pointer-events:none;background:#fff;border:1px solid #e2e8f0;border-radius:20px;gap:6px;padding:10px;transition:opacity .18s,transform .24s cubic-bezier(.22,1,.36,1);display:grid;position:absolute;top:calc(100% + 10px);left:0;right:0;transform:translateY(-8px)scale(.98);box-shadow:0 8px 24px #0000001a,0 2px 6px #0000000f}.custom-select.open .custom-select-menu{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.custom-select-option{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;transition:background-color .18s,border-color .18s,transform .18s,color .18s;display:flex}.custom-select-option:hover,.custom-select-option:focus-visible{background:#6366f10f;border-color:#6366f133;outline:none;transform:translateY(-1px)}.custom-select-option.selected{background:#6366f114;border-color:#6366f14d}.custom-select-check{letter-spacing:.08em;text-transform:uppercase;color:#4f46e5;font-size:.75rem;font-weight:700}.field input:focus,.field textarea:focus,.field select:focus{background:#fff;border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f126}.button{cursor:pointer;border:none;border-radius:999px;padding:12px 18px;transition:transform .18s,opacity .16s,box-shadow .18s,filter .18s}.button:hover:enabled{filter:brightness(1.03);transform:translateY(-1px)}.button:focus-visible{outline:none;box-shadow:0 0 0 3px #4f46e533}.button:disabled{cursor:not-allowed;opacity:.55}.button.primary{color:#fff;background:#4f46e5;font-weight:700}.button.secondary{color:#4338ca;background:#e0e7ff;border:1px solid #c7d2fe;font-weight:700}.button.ghost{color:#475569;background:0 0;border:1px solid #e2e8f0}.button.danger{color:#fff;background:#dc2626;font-weight:700}.button.draft{color:#92400e;background:#fef3c7;border:1px solid #fde68a;font-weight:700}.button.draftDanger{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;font-weight:700}.icon-button{width:40px;height:40px;color:inherit;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;place-items:center;font-size:1.3rem;line-height:1;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s;display:inline-grid}.icon-button:hover,.icon-button:focus-visible{background:#6366f112;border-color:#6366f159;outline:none;transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.empty-state,.loading-state{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.spinner{border:3px solid #00000014;border-top-color:#4f46e5;border-radius:50%;width:28px;height:28px;animation:1s linear infinite spin}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.kpi-card{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;gap:8px;padding:18px;display:flex}.kpi-card strong{font-size:2rem}.results-summary{gap:14px}.results-session-meta,.results-section-heading,.insight-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.results-session-meta{flex-wrap:wrap}.session-code{color:#4338ca;background:#e0e7ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;min-height:32px;padding:6px 10px;font-weight:700;display:inline-flex}.results-kpi-grid .kpi-card{gap:5px;min-height:90px;padding:14px}.results-kpi-grid .kpi-card strong{font-size:1.65rem}.results-kpi-grid .kpi-card span{color:#475569}.results-performance,.results-insights{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:13px}.results-section-heading{color:#334155;font-weight:700}.results-section-heading strong{color:#4f46e5}.summary-progress-track{background:#e2e8f0;border-radius:999px;width:100%;height:12px;margin:10px 0 8px;overflow:hidden}.summary-progress-fill{border-radius:inherit;background:linear-gradient(135deg,#6366f1,#4f46e5);height:100%;transition:width .26s}.results-performance p{color:#475569;margin-bottom:0;font-size:.92rem}.insight-list{gap:8px;margin-top:10px;display:grid}.insight-row{background:#f1f5f9;border-radius:12px;min-height:38px;padding:8px 10px}.insight-row span{color:#475569;font-size:.92rem}.insight-row strong{text-align:right;font-size:.92rem}.results-actions{justify-content:flex-start}.results-stage{gap:14px;animation:.32s cubic-bezier(.22,1,.36,1) both results-stage-enter;display:grid}.results-stage-bar{justify-content:flex-start;padding:0 2px;display:flex}.results-stage-bar .button{color:#4338ca;background:#e0e7ff;border:1px solid #c7d2fe;align-items:center;gap:8px;min-height:40px;padding:9px 14px 9px 11px;display:inline-flex;box-shadow:0 1px 4px #0000000f}.results-stage-bar .button:hover:enabled{border-color:#a5b4fc;box-shadow:0 2px 8px #00000014}.back-to-sessions-label{color:#4f46e5;background:#e0e7ff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.back-to-sessions-label:before{content:"";border-bottom:2px solid;border-left:2px solid;width:7px;height:7px;transform:rotate(45deg)translate(1px,-1px)}.results-question-panel{flex-direction:column;display:flex}.results-question-panel .panel-header{align-items:center;margin-bottom:4px}.correct-answer-visibility-toggle{color:#334155;white-space:nowrap;cursor:pointer;align-items:center;gap:10px;min-height:34px;font-size:.86rem;font-weight:800;display:inline-flex;position:relative}.correct-answer-visibility-toggle input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.toggle-track{background:#cbd5e1;border-radius:999px;flex:0 0 44px;width:44px;height:24px;transition:background-color .18s,box-shadow .18s;position:relative;box-shadow:inset 0 0 0 1px #0f172a14}.toggle-thumb{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s cubic-bezier(.22,1,.36,1);position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a47}.correct-answer-visibility-toggle input:checked+.toggle-track{background:#16a34a;box-shadow:inset 0 0 0 1px #15803d33}.correct-answer-visibility-toggle input:checked+.toggle-track .toggle-thumb{transform:translate(20px)}.correct-answer-visibility-toggle input:focus-visible+.toggle-track{outline-offset:2px;outline:3px solid #16a34a33}.correct-answer-toggle{gap:0;min-height:44px}.correct-answer-toggle .toggle-track{background:#dc2626;box-shadow:inset 0 0 0 1px #991b1b2e}.correct-answer-toggle input:checked+.toggle-track{background:#16a34a;box-shadow:inset 0 0 0 1px #15803d33}.results-question-content{flex:1;min-height:0}.results-chart-area{flex-direction:column;flex:1;justify-content:center;min-height:0;display:flex}.results-chart-area .chart-stack{gap:clamp(10px,2vh,18px)}.results-chart-area .chart-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px}.results-chart-area .chart-bar{height:12px}.status-pill{text-transform:capitalize;border-radius:999px;width:fit-content;padding:8px 12px;font-weight:700;display:inline-flex}.status-pill.open{color:#15803d;background:#dcfce7}.status-pill.closed{color:#b91c1c;background:#fee2e2}.status-pill.info{color:#4338ca;background:#e0e7ff}.qr-panel{text-align:center;flex-flow:column wrap;justify-content:center;align-items:center;gap:18px;display:flex}.qr-card{background:#fff;border-radius:18px;padding:16px}.qr-copy{opacity:0;pointer-events:none;flex-direction:column;align-items:center;gap:10px;max-width:100%;max-height:0;transition:max-height .26s,opacity .18s,transform .26s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden;transform:translateY(-8px)}.qr-panel.link-visible .qr-copy{opacity:1;pointer-events:auto;max-height:140px;transform:translateY(0)}.qr-copy a{overflow-wrap:anywhere}.qr-link-row{justify-content:center;align-items:center;gap:8px;max-width:100%;display:inline-flex}.qr-copy-button{color:#4f46e5;cursor:pointer;background:#e0e7ff;border:1px solid #c7d2fe;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;font-size:1.05rem;line-height:1;transition:transform .18s,background-color .18s,border-color .18s;display:inline-grid}.qr-copy-button:hover,.qr-copy-button:focus-visible{background:#6366f126;border-color:#a5b4fc;outline:none;transform:translateY(-1px)}.list-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;gap:6px;padding:14px 16px;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s;display:flex}.list-item:hover,.list-item:focus-visible{background:#6366f10d;border-color:#6366f159;outline:none;transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.list-item.active{background:#6366f114;border-color:#6366f18c;box-shadow:0 4px 12px #00000014,inset 0 0 0 1px #6366f11a}.management-item{border-radius:24px;gap:10px;padding:14px}.template-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.archive-row{cursor:default;transform-origin:50%;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px;animation:.26s cubic-bezier(.22,1,.36,1) both archive-row-enter;display:grid}.live-session-card{background:linear-gradient(#f0fdf4,#fff);border:1px solid #bbf7d0;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px;transition:border-color .18s,background-color .18s,box-shadow .18s,transform .22s cubic-bezier(.22,1,.36,1),opacity .18s;animation:.26s cubic-bezier(.22,1,.36,1) both archive-row-enter;display:grid;box-shadow:0 2px 8px #0000000f}.live-session-card.entering{opacity:.92;background:linear-gradient(#dcfce7,#f0fdf4);border-color:#6ee7b7;transform:translateY(-2px)scale(1.012);box-shadow:0 4px 16px #00000014,inset 0 0 0 1px #16a34a1a}.live-session-card.entering .button{filter:brightness(1.08)}.live-session-title-row{align-items:center;gap:10px;min-width:0;display:flex}.live-session-title-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.archive-row.opening{background:#6366f10d;border-color:#6366f173;transform:translateY(-1px)scale(1.01)}.archive-row.deleting{pointer-events:none;animation:.18s ease-in forwards archive-row-delete}.archive-session-main{flex-direction:column;gap:8px;min-width:0;display:flex}.archive-session-main strong{color:#0f172a;font-size:1rem}.archive-session-meta{color:#475569;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:.94rem;display:flex}.archive-session-code{color:#4338ca;letter-spacing:.04em;background:#e0e7ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;min-height:30px;padding:0 12px;font-weight:700;display:inline-flex}.archive-actions{flex-wrap:nowrap;align-items:center;gap:10px;display:inline-flex}.archive-actions .button{white-space:nowrap;min-height:44px}.checkbox{align-items:center;gap:8px;display:flex}.option-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:12px;display:grid}.validation-list{color:#64748b;margin:0;padding-left:20px}.error-text{color:#b91c1c}.dialog-backdrop{background:#0006;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border:1px solid #e2e8f0;border-radius:24px;width:min(100%,480px);padding:24px;box-shadow:0 8px 32px #0000001f}.live-exit-help-backdrop{z-index:35;background:#0006;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.live-exit-help-dialog{z-index:50;background:#fff;border:1px solid #e2e8f0;border-radius:24px;width:min(100%,480px);padding:24px;position:relative;box-shadow:0 8px 32px #0000001f}.live-exit-help-dialog h3{color:#0f172a;margin:0 0 10px;font-size:1.35rem}.live-exit-help-dialog p{color:#475569;margin:0 0 18px}.live-exit-help-check{color:#334155;align-items:center;gap:10px;font-weight:600;display:flex}.live-exit-help-check input{accent-color:#4f46e5;width:18px;height:18px}.live-exit-help-actions{justify-content:flex-end;margin-top:20px}.chart-stack,.legend,.option-list{flex-direction:column;gap:12px;display:flex}.chart-row{flex-direction:column;gap:8px;display:flex}.chart-row.correct{color:#15803d}.results-chart-area .chart-row.correct{background:#f0fdf4;border-color:#22c55e}.results-chart-area .chart-row.incorrect{background:#fef2f2;border-color:#f87171}.results-chart-area .chart-row.correct .chart-fill{background:linear-gradient(135deg,#16a34a,#22c55e)}.results-chart-area .chart-row.incorrect .chart-fill{background:linear-gradient(135deg,#ef4444,#dc2626)}.chart-meta,.legend-row,.progress-rail{justify-content:space-between;gap:12px;display:flex}.chart-meta strong{color:inherit;font-size:1rem}.chart-count{color:#64748b;font-size:.86rem}.chart-bar,.progress-track{background:#e2e8f0;border-radius:999px;width:100%;height:14px;overflow:hidden}.progress-track{background:#e2e8f0;height:16px;position:relative}.progress-track:after{content:"";background:linear-gradient(90deg,#0000,#0000000d,#0000);animation:2.4s ease-in-out infinite progress-sheen;position:absolute;inset:0;transform:translate(-100%)}.chart-fill,.progress-fill{border-radius:999px;height:100%;transition:width .42s cubic-bezier(.22,1,.36,1)}.chart-fill{background:linear-gradient(135deg,#6366f1,#4f46e5)}.progress-fill{z-index:1;background:linear-gradient(135deg,#6366f1,#4f46e5);position:relative;box-shadow:0 0 12px #6366f140,inset 0 0 0 1px #ffffff4d}.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:10px;max-width:330px;display:grid}.avatar-choice,.option-card{color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s}.avatar-choice{aspect-ratio:1;background:radial-gradient(circle at 50% 22%,#6366f10f,#0000 44%),#fff;place-items:center;padding:8px;display:grid}.avatar-choice.active,.option-card.active{background:#6366f114;border-color:#6366f180}.option-card:hover,.option-card:focus-visible{background:#6366f10f;border-color:#6366f14d;outline:none;transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.option-card.active{transform:translateY(-1px);box-shadow:0 4px 12px #00000014,inset 0 0 0 1px #6366f11a}.avatar-dot{object-fit:cover;border-radius:50%;width:42px;height:42px}.avatar-image{object-fit:cover;border-radius:14px;width:78px;height:78px}.participant-badge{align-items:center;gap:10px;display:inline-flex}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress-sheen{0%{opacity:0;transform:translate(-100%)}25%{opacity:1}70%{opacity:1}to{opacity:0;transform:translate(100%)}}@keyframes live-dot-pulse{0%{box-shadow:0 0 #16a34a66}70%{box-shadow:0 0 0 8px #16a34a00}to{box-shadow:0 0 #16a34a00}}@keyframes sessions-pill-pulse{0%,to{box-shadow:0 0 0 2px #6366f133,0 0 16px #6366f147,0 10px 24px #0000001a}50%{box-shadow:0 0 0 3px #6366f147,0 0 24px #6366f173,0 12px 28px #0000001f}}@keyframes settings-editor-enter{0%{opacity:0;transform:translate(36px)}to{opacity:1;transform:translate(0)}}@keyframes settings-panel-enter{0%{opacity:0;transform:translate(20px)scale(.985)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes archive-row-enter{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes archive-row-delete{to{opacity:0;max-height:0;margin:0;padding-top:0;padding-bottom:0;transform:translate(18px)scale(.98)}}@keyframes results-stage-enter{0%{opacity:0;transform:translateY(12px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=900px){.hero-shell,.option-row{flex-direction:column;align-items:stretch}.app-topbar{flex-direction:row;align-items:center}.app-topbar .hero-actions{max-width:64%}.two-columns{grid-template-columns:1fr}.settings-layout,.live-layout{justify-content:stretch;gap:20px;width:100%;display:grid}.live-column-main,.live-layout.results-open .live-column-main{filter:none;flex-basis:auto;width:100%;transform:none}.live-column-results{opacity:1;flex-basis:auto;max-width:none;overflow:visible;transform:none}.live-column-results.closed{display:none}.live-session-panel,.live-results-panel{height:auto;max-height:none}.live-session-panel>.stack{justify-content:flex-start}.settings-column-list,.settings-layout.editor-open .settings-column-list{filter:none;flex-basis:auto;width:100%;transform:none}.settings-column-editor{opacity:1;flex-basis:auto;max-width:none;overflow:visible;transform:none}.settings-panel-list,.settings-panel-editor{height:auto;max-height:none}.settings-panel-list .settings-panel-content,.settings-panel-editor .settings-panel-content{padding-right:0;overflow:visible}.archives-stage{gap:16px;width:100%}.archives-header{flex-direction:column;align-items:stretch}.archives-header .button{justify-content:center;width:100%}.archives-list{max-height:none}.scroll-list{max-height:none;padding-right:0;overflow:visible;-webkit-mask-image:none;mask-image:none}.management-header{flex-direction:column;align-items:stretch}.management-header .button{justify-content:center;width:100%}.template-row{grid-template-columns:1fr}.management-item-meta{justify-content:flex-start}.archive-row,.live-session-card{grid-template-columns:1fr;align-items:stretch}.archive-actions{justify-content:flex-start}.option-row{grid-template-columns:1fr;align-items:stretch}.question-editor-actions,.template-editor-actions{justify-content:stretch}.template-header-actions{justify-content:stretch;width:100%}.template-action-toolbar{flex-wrap:wrap}.template-action-set{flex-wrap:wrap;flex:100%}.template-action-set-db{justify-content:stretch}.question-editor-actions .button,.template-editor-actions .button,.template-header-actions .button,.template-action-toolbar .button{flex:1;justify-content:center}.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
