@font-face{font-family:Pretendard;src:url(/assets/Pretendard-Regular.subset-BZqc2FCe.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Pretendard;src:url(/assets/Pretendard-Medium.subset-D07TkZcI.woff2)format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Pretendard;src:url(/assets/Pretendard-SemiBold.subset-DdMYyxPR.woff2)format("woff2");font-weight:600;font-display:swap}@font-face{font-family:Pretendard;src:url(/assets/Pretendard-Bold.subset-NvQkMce4.woff2)format("woff2");font-weight:700;font-display:swap}:root{--primary:#355d55;--primary-hover:#284a43;--primary-strong:#1d3a34;--primary-tint:#355d550f;--primary-tint-2:#355d551a;--primary-line-soft:#355d552e;--primary-line:#355d5559;--primary-soft-bg:#e6f1ee;--background:#f1f7f5;--surface:#fff;--surface-hover:#f7faf9;--surface-alt:#edf4f2;--text-on-primary:#fff;--text-primary:#152b29;--text-body:#38544f;--text-secondary:#4a6761;--border:#cdded8;--border-strong:#a9c4bb;--success-text:#047857;--success-tint:#10b9811f;--warning-bg:#fffbeb;--warning-soft:#fef3c7;--warning-border-strong:#f59e0b;--warning-strong:#78350f;--error-text:#9b2424;--error-strong:#7f1d1d;--error-tint:#dc262614;--error-border:#fca5a5;--error-soft:#fee2e2;--font-family:"Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;--text-xs:.8rem;--text-sm:.9rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:2rem;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-pill:999px;--shadow-md:0 4px 6px -1px #00000014, 0 2px 4px -1px #0000000a;--shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -2px #0000000a;--shadow-card:0 2px 8px #0f172a0d;--focus-ring:3px solid var(--primary);--focus-offset:2px;--focus-glow:0 0 0 3px #355d5533}:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset)}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;font-family:var(--font-family);color:var(--text-primary);background-color:var(--background);word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;line-height:1.5}#root{max-width:1200px;padding:clamp(var(--space-4), 3vw, var(--space-6));margin:0 auto}h1,h2,h3{font-weight:700;line-height:1.25}h1{margin-bottom:var(--space-3);font-size:clamp(var(--text-2xl), 5vw, var(--text-3xl))}h2{margin-bottom:var(--space-3);font-size:var(--text-xl)}h3{margin-bottom:var(--space-2);font-size:var(--text-lg)}p{line-height:1.7}a{color:var(--primary);font-weight:600}[role=status]{color:var(--text-secondary)}.hint,.muted{color:var(--text-secondary);font-size:var(--text-sm)}.error{margin:var(--space-2) 0;color:var(--error-text);font-weight:600}.ok{color:var(--success-text);font-size:var(--text-sm);font-weight:600}.notice{padding:var(--space-4);border:1px solid var(--primary-line-soft);border-radius:var(--radius-md);background:var(--primary-soft-bg)}.warning{margin:var(--space-3) 0;padding:var(--space-3) var(--space-4);border:1px solid var(--warning-border-strong);border-radius:var(--radius-md);background:var(--warning-bg);color:var(--warning-strong)!important}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.page{min-width:0;max-width:1000px;padding:var(--space-5) 0 var(--space-7);margin:0 auto}.page-narrow{max-width:760px}.card{min-width:0;margin:var(--space-5) 0;padding:clamp(var(--space-4), 4vw, var(--space-5));border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card)}button{font-family:inherit}.btn,a.btn{justify-content:center;align-items:center;gap:var(--space-2);min-width:44px;min-height:44px;padding:var(--space-2) var(--space-4);border:1.5px solid var(--primary);border-radius:var(--radius-md);font-size:var(--text-base);cursor:pointer;font-weight:600;text-decoration:none;display:inline-flex}.btn-primary,a.btn-primary{color:var(--text-on-primary);background:var(--primary)}.btn-primary:hover:not(:disabled){border-color:var(--primary-hover);background:var(--primary-hover)}.btn-outline,a.btn-outline{color:var(--primary);background:var(--surface)}.btn-outline:hover:not(:disabled){background:var(--primary-tint)}.btn-danger{border-color:var(--error-border);color:var(--error-text);background:var(--surface)}.btn-danger:hover:not(:disabled){background:var(--error-tint)}.btn:disabled{opacity:.6;cursor:not-allowed}.actions{align-items:center;gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.form{gap:var(--space-4);display:grid}.form .actions{margin-top:0}.field{gap:var(--space-2);min-width:0;color:var(--text-secondary);font-size:var(--text-sm);font-weight:600;display:grid}.field input,.field select{width:100%;min-width:0;min-height:44px;padding:var(--space-2) var(--space-3);border:1.5px solid var(--border-strong);border-radius:var(--radius-md);color:var(--text-primary);background:var(--surface);font:inherit;font-size:var(--text-base);font-weight:400}.field input:focus,.field select:focus{border-color:var(--primary);outline:var(--focus-ring);outline-offset:0}.badge{padding:2px var(--space-2);border-radius:var(--radius-pill);color:var(--text-secondary);background:var(--surface-alt);font-size:var(--text-xs);white-space:nowrap;font-weight:600;display:inline-block}.badge-open,.badge-approved{color:var(--success-text);background:var(--success-tint)}.badge-pending{color:var(--warning-strong);background:var(--warning-soft)}.badge-suspended{color:var(--error-strong);background:var(--error-soft)}.list{gap:var(--space-3);margin-top:var(--space-3);list-style:none;display:grid}.list-item{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);min-width:0;padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);flex-wrap:wrap;display:flex}.list-item>.actions{margin-top:0}.grow{flex:220px;min-width:0}.confirm-box{gap:var(--space-3);margin:var(--space-3) 0 0;padding:var(--space-3) var(--space-4);border:1px solid var(--error-border);border-radius:var(--radius-md);background:var(--error-tint);flex-basis:100%;display:grid}.confirm-box .actions{margin-top:0}.dialog{width:min(32rem, calc(100vw - var(--space-5)));max-height:calc(100dvh - var(--space-6));border:1px solid var(--border);border-radius:var(--radius-xl);color:var(--text-primary);background:var(--surface);box-shadow:var(--shadow-lg);margin:auto}.dialog::backdrop{background:#0f172a73}.dialog-body{gap:var(--space-3);padding:var(--space-5);display:grid}.app-topbar{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);max-width:1000px;padding:var(--space-2) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);flex-wrap:wrap;margin:0 auto;display:flex}.app-topbar-brand{align-items:center;gap:var(--space-2);min-height:44px;color:var(--text-primary);font-weight:700;text-decoration:none;display:inline-flex}.app-topbar-nav{gap:0 var(--space-4);flex-wrap:wrap;display:flex}.app-topbar-nav a{min-width:44px;min-height:44px;color:var(--text-secondary);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.app-topbar-nav a:hover,.app-topbar-nav a[aria-current=page]{color:var(--primary)}.app-topbar-nav a[aria-current=page]{text-underline-offset:6px;text-decoration:underline;text-decoration-thickness:2px}.user-menu{align-items:center;gap:var(--space-3);min-width:0;margin-left:auto;display:flex}.user-menu-name{max-width:16rem;color:var(--text-secondary);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-menu .btn{font-size:var(--text-sm);white-space:nowrap}@media (width<=600px){.user-menu{justify-content:space-between;width:100%}}.auth-page{place-items:center;min-height:calc(100vh - 4rem);display:grid}.auth-card{align-items:center;gap:var(--space-4);text-align:center;flex-direction:column;width:min(100%,440px);margin:0;padding:2.25rem 1.75rem;display:flex}.auth-card h1{margin-bottom:0}.auth-card p{color:var(--text-secondary)}.auth-card p.error{color:var(--error-text)}.auth-brand{width:72px;height:72px}.auth-buttons{gap:var(--space-3);flex-direction:column;width:100%;display:flex}.auth-button{border-radius:var(--radius-md);cursor:pointer;justify-content:center;align-items:center;width:100%;min-height:44px;padding:0 12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-size:14px;font-weight:500;line-height:20px;display:inline-flex}.auth-button:disabled{cursor:wait}.auth-button-logo{flex:none;display:block}.auth-button-google{color:#1f1f1f;background:#fff;border:1px solid #747775;gap:10px}.auth-button-kakao{color:#000000d9;background:#fee500;border:none;gap:8px}.auth-links{justify-content:center;gap:var(--space-4);font-size:var(--text-sm);display:flex}.auth-links a{min-height:44px;color:var(--text-secondary);text-underline-offset:3px;align-items:center;display:inline-flex}.pending-card{text-align:center;max-width:640px;margin-left:auto;margin-right:auto}.pending-card p{margin-bottom:var(--space-2);color:var(--text-secondary)}.invite{text-align:center}.invite a{word-break:break-all;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.invite .actions{justify-content:center}.join-code{font-size:clamp(var(--text-3xl), 9vw, 4rem);font-variant-numeric:tabular-nums;letter-spacing:.06em;font-weight:700;line-height:1.3}.join-qr{width:min(100%,280px);height:auto;margin:var(--space-4) auto;display:block}.toolbar{gap:var(--space-3);margin:var(--space-4) 0 var(--space-3);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);display:grid}.filter-tabs{gap:var(--space-2);flex-wrap:wrap;display:flex}.filter-tab{align-items:center;gap:var(--space-2);min-height:44px;padding:var(--space-2) var(--space-3);border:1.5px solid var(--border);border-radius:var(--radius-md);color:var(--text-primary);background:var(--surface);font-size:var(--text-sm);white-space:nowrap;cursor:pointer;font-weight:600;display:inline-flex}.filter-tab:hover{border-color:var(--primary-line);background:var(--primary-tint)}.filter-tab[aria-pressed=true]{border-color:var(--primary);color:var(--text-on-primary);background:var(--primary)}.filter-count{min-width:1.5rem;padding:0 var(--space-2);border-radius:var(--radius-pill);color:var(--text-secondary);background:var(--surface-alt);font-size:var(--text-xs);font-variant-numeric:tabular-nums;font-weight:700}.filter-tab[aria-pressed=true] .filter-count{color:var(--text-on-primary);background:var(--primary-hover)}.toolbar-controls{align-items:end;gap:var(--space-3);flex-wrap:wrap;display:flex}.search-group{flex:240px}.sort-group{flex:0 210px}.search-box{gap:var(--space-2);min-width:0;display:flex}.search-box .btn{flex-shrink:0}.summary-row{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);margin:var(--space-2) 0 var(--space-3);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.empty-box{padding:var(--space-5);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.table-wrap{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden}.teacher-table{border-collapse:separate;border-spacing:0;width:100%;font-size:var(--text-sm);text-align:left}.teacher-table thead th{padding:var(--space-3);border-bottom:1px solid var(--border);color:var(--text-secondary);background:var(--surface-hover);white-space:nowrap;font-weight:600}.teacher-table tbody th,.teacher-table tbody td{padding:var(--space-3);border-bottom:1px solid var(--border)}.teacher-table tbody tr:last-child th,.teacher-table tbody tr:last-child td{border-bottom:0}.teacher-email{color:var(--text-secondary);font-weight:400}.row-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}@media (width<=760px){.table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.teacher-table,.teacher-table tbody,.teacher-table tr,.teacher-table tbody th,.teacher-table tbody td{width:100%;display:block}.teacher-table thead{display:none}.teacher-table tbody tr{margin-bottom:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden}.teacher-table tbody th{padding:var(--space-4);background:var(--surface-hover)}.teacher-table tbody td:before{margin-bottom:var(--space-1);color:var(--text-secondary);content:attr(data-label);font-size:var(--text-xs);font-weight:600;display:block}}@media (width<=480px){.form .actions>.btn{width:100%}}.debate,.debate-in-app{--debate-touch:44px;overflow-wrap:anywhere;word-break:keep-all;min-inline-size:0}.debate{--debate-mic-size:64px;gap:var(--space-4);margin-block:var(--space-5);display:grid}.debate :is(h3,h4,h5,p,dl,dd){margin:0}.debate-panel,.debate details{min-inline-size:0;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.debate-panel>*+*,.debate details[open]>*+*,.debate-in-app>*+*{margin-block-start:var(--space-2)}.debate-fieldset{border:0;min-inline-size:0;margin:0;padding:0}.debate-fieldset legend{margin-block-end:var(--space-2);font-weight:600}.debate .field :is(select,textarea){max-inline-size:100%}.debate textarea{width:100%;min-height:var(--debate-touch);padding:var(--space-2) var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--text-primary);font:inherit;font-size:var(--text-base);resize:vertical}.debate-choice,.debate-source,.debate summary{min-height:var(--debate-touch)}.debate-choice,.debate-source{align-items:center;gap:var(--space-2);display:inline-flex}.debate-source{color:var(--primary);text-decoration:underline}.debate summary{cursor:pointer;align-content:center;display:list-item}.debate summary[aria-disabled=true]{cursor:not-allowed}.debate-list{margin-block:var(--space-2);padding-inline-start:var(--space-5)}.debate-list li+li{margin-block-start:var(--space-2)}.debate-data,.debate-feedback{gap:var(--space-2);display:grid}.debate-data{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.debate-feedback dt{font-weight:700}.debate-turn :is(p,dd){white-space:pre-wrap}.debate-urgent{font-size:var(--text-xl);font-weight:700}.debate-mic{z-index:1;padding-block:var(--space-2) max(var(--space-2), env(safe-area-inset-bottom));background:var(--surface);position:sticky;bottom:0}.debate-mic-button{min-height:var(--debate-mic-size)}.teacher-debates{overflow-wrap:anywhere}.teacher-debate-counts{gap:var(--space-2);flex-wrap:wrap;display:flex}.teacher-debate-list{margin-block:var(--space-3)}.teacher-debate-row,.teacher-debate-detail,.teacher-debate-turn{gap:var(--space-2);grid-template-columns:minmax(0,1fr);display:grid}.teacher-debate-detail,.teacher-debate-turn{padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-alt)}.teacher-debate-turn{background:var(--surface)}.teacher-debate-turn dt{font-weight:700}.teacher-debate-turn dd{margin-block-end:var(--space-2);margin-inline-start:0}.teacher-debate-content,.teacher-debate-turn dd{white-space:pre-wrap}.teacher-debates .btn{white-space:normal;max-inline-size:100%}
