@font-face{font-family:Pretendard;src:local(Pretendard Variable),local(Pretendard);font-display:swap}:root{color:#111827;font-synthesis:none;background:#eef4ff;font-family:Pretendard,Malgun Gothic,Apple SD Gothic Neo,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}button,select{font:inherit}button{color:inherit;cursor:pointer}.web-home{background:linear-gradient(145deg,#eff6ff 0%,#f8fafc 50%,#eef2ff 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.web-home-card{background:#fffffff7;border:2px solid #1e3a8a;border-radius:26px;grid-template-rows:1fr auto auto;grid-template-columns:250px minmax(0,1fr);align-items:center;gap:24px 34px;width:min(920px,100%);min-height:560px;padding:56px 64px 40px;display:grid;position:relative;box-shadow:0 28px 80px #1e3a8a2b}.web-version{color:#1e3a8a;cursor:pointer;background:#eff6ff;border:2px solid #1e3a8a;border-radius:999px;padding:5px 11px;font-size:14px;font-weight:900;position:absolute;top:18px;right:20px}.web-version:hover{background:#dbeafe}.web-logo{object-fit:contain;width:250px;height:250px}.web-title{text-align:center}.web-title p{color:#172554;white-space:nowrap;margin:0 0 14px;font-size:clamp(20px,3vw,34px);font-weight:900}.web-title h1{background:linear-gradient(135deg,#172554,#1e3a8a);border:3px solid #1e3a8a;border-radius:22px;margin:0;padding:12px 25px 16px;font-size:clamp(52px,8vw,82px);font-style:normal;line-height:1;display:inline-flex;box-shadow:0 10px 25px #1e3a8a47}.web-title h1 span{color:#fff}.web-title h1 em{color:#fde047;font-style:normal}.web-login-entry-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.web-login-entry{border:2px solid #111827;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;min-height:126px;transition:transform .13s,background .13s,box-shadow .13s;display:flex;box-shadow:0 8px 22px #2563eb21}.web-login-entry.student{background:linear-gradient(135deg,#eff6ff,#dbeafe,#ecfeff)}.web-login-entry.staff{background:linear-gradient(135deg,#f0fdf4,#dcfce7,#ecfdf5)}.web-login-entry.viewer{background:linear-gradient(135deg,#eff6ff,#e0e7ff,#f5f3ff);grid-column:1/-1}.web-login-entry.student:hover{background:linear-gradient(135deg,#dbeafe,#bfdbfe,#cffafe)}.web-login-entry.staff:hover{background:linear-gradient(135deg,#dcfce7,#bbf7d0,#d1fae5)}.web-login-entry.viewer:hover{background:linear-gradient(135deg,#dbeafe,#c7d2fe,#ede9fe)}.web-login-entry:hover{transform:translateY(-2px);box-shadow:0 12px 28px #2563eb38}.web-login-entry span{font-size:29px;font-weight:950}.web-login-entry small{color:#475569;margin-top:7px;font-size:15px;font-weight:800}.viewer-shell{background:#eef4ff;min-height:100vh;padding:18px}.viewer-header{background:#fff;border:2px solid #1e3a8a;border-radius:16px;align-items:center;gap:14px;max-width:1800px;margin:0 auto 12px;padding:10px 14px;display:flex;position:relative;box-shadow:0 7px 20px #1e3a8a1a}.brand-button{text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.brand-button img{object-fit:contain;width:58px;height:58px}.brand-button span{flex-direction:column;display:flex}.brand-button strong{color:#172554;font-size:26px;font-weight:950}.brand-button small{color:#64748b;font-size:13px;font-weight:800}.print-brand{display:none}.header-actions{gap:7px;margin-left:auto;display:flex}.header-actions button,.view-tabs button,.selector-bar button,.load-state button{background:#fff;border:2px solid #111827;border-radius:9px;font-weight:900;transition:transform .11s,background .11s,box-shadow .11s}.header-actions button:hover,.view-tabs button:hover,.selector-bar button:hover,.load-state button:hover{background:#dbeafe;transform:translateY(-1px);box-shadow:0 4px 10px #1e40af29}.header-actions button{padding:9px 13px}.view-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:1800px;margin:0 auto 10px;display:grid}.view-tabs button{padding:12px;font-size:17px}.view-tabs button.active{color:#172554;background:#bfdbfe}.view-tabs small{color:#64748b}.selector-bar{background:#fff;border:1px solid #94a3b8;border-radius:12px;align-items:center;gap:7px;max-width:1800px;margin:0 auto 10px;padding:9px;display:flex}.selector-bar button{background:var(--selector-color,#fff);min-width:90px;padding:8px 12px}.selector-bar button.active{outline-offset:-3px;outline:3px solid #2563eb}.teacher-selector label{font-weight:900}.teacher-selector select{background:#fff;border:2px solid #111827;border-radius:9px;min-width:210px;padding:9px 12px;font-weight:900}.class-selector{grid-template-columns:1fr;display:grid}.class-selector-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.class-selector button{width:100%;min-width:0;padding-top:7px;padding-bottom:7px}.whole-timetable-card,.single-timetable-card{background:#fff;border:2px solid #111827;border-radius:14px;max-width:1800px;margin:0 auto;padding:12px;box-shadow:0 8px 24px #0f172a14}.section-title-row{justify-content:center;align-items:center;gap:12px;margin-bottom:10px;display:flex}.section-title-row h2{margin:0;font-size:24px}.section-title-row span{color:#475569;background:#e2e8f0;border-radius:999px;padding:4px 9px;font-size:13px;font-weight:900}.middle-school-hours{color:#16a34a;margin-left:5px;font-style:normal;font-weight:950}.table-scroll{overscroll-behavior-x:contain;overscroll-behavior-y:auto;border:2px solid #111827;border-radius:10px;overflow:auto}.viewer-shell table{border-collapse:collapse;border-spacing:0;table-layout:fixed;width:100%}.viewer-shell th,.viewer-shell td{text-align:center;border-bottom:1px solid #111827;border-right:1px solid #111827;padding:0}.viewer-shell tr:last-child>*{border-bottom:0}.viewer-shell tr>:last-child{border-right:0}.viewer-shell thead th{z-index:3;background:var(--grade-color,#e2e8f0);height:42px;font-size:15px;font-weight:950;position:sticky;top:0}.viewer-shell thead tr>th{border-bottom:2px solid #111827!important}.viewer-shell tbody th{background:#f8fafc;font-size:16px;font-weight:950}.period-heading{border-right:2px solid #111827!important}.whole-timetable{min-width:0}.whole-timetable thead th:first-child{width:clamp(20px,3.2vw,48px)}.whole-timetable thead th:nth-child(2){width:clamp(22px,3.4vw,50px)}.whole-timetable thead th:nth-child(2),.single-timetable thead th:first-child{border-right:2px solid #111827!important}.whole-timetable tbody tr{height:66px}.whole-timetable tbody th:first-child{border-right-width:2px}.whole-timetable thead th,.whole-timetable tbody th{font-size:clamp(7px,1vw,15px)}.whole-timetable .lesson{padding:clamp(0px,.25vw,4px)}.whole-timetable .lesson strong{font-size:clamp(7px,1.05vw,15px)}.whole-timetable .lesson span{font-size:clamp(6px,.85vw,12px)}.single-timetable-card{width:100%}.single-timetable-card .table-scroll{overflow-x:auto}.single-timetable{min-width:0}.single-timetable thead th{font-size:clamp(11px,1.25vw,15px)}.single-timetable thead th:first-child{width:clamp(42px,7vw,72px)}.single-timetable tbody tr{height:86px}.class-timetable-card .single-timetable tbody tr{height:65px}.teacher-timetable-card .single-timetable tbody tr{height:61px}.lesson{background:var(--lesson-color);flex-direction:column;justify-content:center;align-items:center;gap:2px;height:100%;min-height:64px;padding:4px;display:flex}.single-timetable .lesson{min-height:84px;padding:clamp(1px,.4vw,4px)}.class-timetable-card .single-timetable .lesson{min-height:63px}.teacher-timetable-card .single-timetable .lesson{min-height:59px}.middle-school-cell{background:#dcfce7}.teacher-timetable-card .single-timetable .middle-school-lesson{color:#166534;background:#dcfce7}.lesson strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:16px;font-weight:950;overflow:hidden}.lesson span{color:#475569;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;font-weight:800;overflow:hidden}.single-timetable .lesson strong{font-size:clamp(11px,1.45vw,16px)}.single-timetable .lesson span{font-size:clamp(9px,1.1vw,13px)}.free-period{background:#e5e7eb}.empty-cell{background:#fff;min-height:62px;display:block}.single-timetable .empty-cell{min-height:84px}.class-timetable-card .single-timetable .empty-cell{min-height:63px}.teacher-timetable-card .single-timetable .empty-cell{min-height:59px}.viewer-shell footer{color:#64748b;text-align:center;max-width:1800px;margin:9px auto 0;font-size:12px;font-weight:700}.load-state{text-align:center;place-content:center;gap:10px;min-height:100vh;padding:30px;display:grid}.load-state button{justify-self:center;padding:9px 14px}.error-state h1{margin:0}.student-auth-shell{background:linear-gradient(145deg,#eff6ff 0%,#f8fafc 50%,#eef2ff 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.student-auth-card,.student-test-page{background:#fffffffa;border:2px solid #1e3a8a;border-radius:24px;width:min(520px,100%);padding:38px;position:relative;box-shadow:0 24px 70px #1e3a8a29}.student-auth-home{background:#fff;border:2px solid #111827;border-radius:10px;padding:7px 12px;font-weight:900;position:absolute;top:18px;right:18px}.student-auth-logo{object-fit:contain;width:112px;height:112px;margin:0 auto 8px;display:block}.student-auth-title{text-align:center}.student-auth-title>span,.student-test-header span{color:#2563eb;font-size:14px;font-weight:950}.student-auth-title h1{color:#172554;margin:5px 0 8px;font-size:37px;font-weight:950}.student-auth-title p{color:#64748b;margin:0;font-size:14px;font-weight:750}.student-login-form{gap:8px;margin-top:26px;display:grid}.student-login-form label{margin-top:5px;font-size:15px;font-weight:900}.student-login-form input{color:#111827;width:100%;font:inherit;background:#fff;border:2px solid #94a3b8;border-radius:11px;padding:13px 14px;font-size:17px;font-weight:750}.student-login-form input:focus{border-color:#2563eb;outline:3px solid #2563eb29}.student-login-error{color:#dc2626;margin:3px 0 0;font-size:14px;font-weight:900}.student-login-submit{color:#172554;background:#dbeafe;border:2px solid #111827;border-radius:12px;margin-top:10px;padding:13px;font-size:18px;font-weight:950}.student-login-submit:disabled{cursor:wait;opacity:.68;transform:none}.student-auth-home:hover,.student-login-submit:hover,.student-test-actions button:hover{background:#bfdbfe;transform:translateY(-1px);box-shadow:0 5px 13px #1e40af2e}.staff-portal-shell,.screen-loading{background:linear-gradient(145deg,#eff6ff 0%,#f8fafc 50%,#eef2ff 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.screen-loading{color:#172554;font-size:20px;font-weight:950}.staff-portal-card{background:#fffffffa;border:2px solid #1e3a8a;border-radius:24px;width:min(760px,100%);padding:38px;box-shadow:0 24px 70px #1e3a8a29}.staff-portal-card>header{border-bottom:2px solid #dbeafe;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding-bottom:24px;display:grid}.staff-portal-card>header img{object-fit:contain;width:92px;height:92px}.staff-portal-card>header span{color:#2563eb;font-size:14px;font-weight:950}.staff-portal-card>header h1{color:#172554;margin:4px 0 6px;font-size:32px;font-weight:950}.staff-portal-card>header p{color:#64748b;margin:0;font-size:14px;font-weight:800}.staff-portal-actions{gap:8px;display:flex}.staff-portal-card>header button{background:#fff;border:2px solid #111827;border-radius:10px;min-width:92px;padding:10px 14px;font-weight:900}.staff-portal-card>header button:hover{background:#dbeafe;transform:translateY(-1px)}.staff-portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;display:grid}.staff-portal-grid button{color:#172554;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 55%,#ecfeff 100%);border:2px solid #111827;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:142px;padding:14px 10px;transition:border-color .14s,background .14s,box-shadow .14s;display:flex;box-shadow:0 6px 16px #2563eb14}.staff-portal-grid button:nth-child(2){background:linear-gradient(135deg,#faf5ff 0%,#f3e8ff 55%,#fdf2f8 100%)}.staff-portal-grid button:nth-child(3){background:linear-gradient(135deg,#fff1f2 0%,#ffe4e6 55%,#fdf2f8 100%)}.staff-portal-grid button:hover{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 55%,#cffafe 100%);border:3px solid #1d4ed8;box-shadow:0 10px 24px #2563eb24}.staff-portal-grid button:focus-visible{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 55%,#cffafe 100%);border:3px solid #1d4ed8;box-shadow:0 10px 24px #2563eb24}.staff-portal-grid button:nth-child(2):hover{background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 55%,#fce7f3 100%)}.staff-portal-grid button:nth-child(2):focus-visible{background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 55%,#fce7f3 100%)}.staff-portal-grid button:nth-child(3):hover{background:linear-gradient(135deg,#ffe4e6 0%,#fecdd3 55%,#fce7f3 100%)}.staff-portal-grid button:nth-child(3):focus-visible{background:linear-gradient(135deg,#ffe4e6 0%,#fecdd3 55%,#fce7f3 100%)}.staff-portal-grid strong{font-size:20px;font-weight:950}.staff-portal-grid small{color:#475569;text-align:center;font-size:12px;font-weight:750;line-height:1.35}.web-staff-app-shell{--staff-theme:#2563eb;--staff-soft:#dbeafe;--staff-hover:#93c5fd;--staff-gradient-a:#eff6ff;--staff-gradient-b:#dbeafe;--staff-gradient-c:#eef2ff;background:#f3f4f6;width:100%;min-width:0;height:100vh;min-height:0;overflow:hidden}.web-staff-app-shell.theme-attendance{--staff-theme:#7c3aed;--staff-soft:#f3e8ff;--staff-hover:#d8b4fe;--staff-gradient-a:#faf5ff;--staff-gradient-b:#f3e8ff;--staff-gradient-c:#fdf2f8}.web-staff-app-shell.theme-evaluation{--staff-theme:#e11d48;--staff-soft:#ffe4e6;--staff-hover:#fda4af;--staff-gradient-a:#fff1f2;--staff-gradient-b:#ffe4e6;--staff-gradient-c:#fdf2f8}.web-staff-app-shell>.app,.web-staff-app-shell>.attendance-app{width:100%;height:100%}.web-staff-app-shell .app-header,.web-staff-app-shell .attendance-header{box-shadow:0 5px 14px #0f172a14;border-color:#111827!important;border-radius:12px!important}.web-staff-app-shell .app-header h1,.web-staff-app-shell .attendance-header-title h1{box-sizing:border-box;min-height:46px;box-shadow:0 4px 10px color-mix(in srgb, var(--staff-theme) 14%, transparent);justify-content:center;align-items:center;background:linear-gradient(135deg, var(--staff-gradient-a), var(--staff-gradient-b) 55%, var(--staff-gradient-c))!important;color:#111827!important;-webkit-text-fill-color:#111827!important;border:2px solid #111827!important;border-radius:13px!important;margin:0!important;padding:4px 18px!important;font-size:30px!important;font-weight:950!important;line-height:1.05!important;display:inline-flex!important}.web-staff-app-shell .timetable-header-action,.web-staff-app-shell .attendance-header-actions button,.web-staff-app-shell .attendance-header-toggle-row button{color:#111827!important;-webkit-text-fill-color:#111827!important;background:#fff!important;border:2px solid #111827!important;border-radius:999px!important;min-height:30px!important;padding:4px 11px!important;font-size:12px!important;font-weight:950!important;line-height:1!important}.web-staff-app-shell .timetable-header-action.action-home,.web-staff-app-shell .attendance-header-actions button.home{background:#fef3c7!important}.web-staff-app-shell .timetable-header-action.action-user.active,.web-staff-app-shell .attendance-header-actions button.active.user{background:#dcfce7!important}.web-staff-app-shell .timetable-header-action.action-admin.active,.web-staff-app-shell .attendance-header-actions button.active.admin{background:#fee2e2!important}.web-staff-app-shell .timetable-header-action.action-hide,.web-staff-app-shell .attendance-header-actions button:last-child{background:#f3e8ff!important}.web-staff-app-shell .timetable-header-action.action-pdf,.web-staff-app-shell .attendance-header-actions button.pdf{background:#dbeafe!important}.web-staff-app-shell .timetable-header-action.action-excel,.web-staff-app-shell .attendance-header-actions button.excel{background:#dcfce7!important}.web-staff-app-shell .timetable-header-action:not(:disabled):hover,.web-staff-app-shell .attendance-header-actions button:not(:disabled):hover,.web-staff-app-shell .attendance-header-toggle-row button:not(:disabled):hover{filter:brightness(1.01)saturate(1.35);box-shadow:0 4px 10px color-mix(in srgb, var(--staff-theme) 24%, transparent);transform:translateY(-1px)}.web-staff-app-shell .panel,.web-staff-app-shell .attendance-panel,.web-staff-app-shell .evaluation-subnav,.web-staff-app-shell .evaluation-page{border:2px solid #111827;border-radius:11px;box-shadow:0 3px 8px #0f172a0d}.web-staff-app-shell .panel h2,.web-staff-app-shell .attendance-panel h2{color:#111827;font-size:18px;font-weight:950}.web-staff-app-shell .right-sidebar-menu-button,.web-staff-app-shell .panel button:not(.color-button),.web-staff-app-shell .attendance-panel button,.web-staff-app-shell .evaluation-subnav button{color:#111827;-webkit-text-fill-color:#111827;border:2px solid #111827;border-radius:9px;min-height:38px;font-size:14px;font-weight:900;line-height:1.2}.web-staff-app-shell .right-sidebar-menu-button:not(.grade-1):not(.grade-2):not(.grade-3):not(.teacher-view-button):not(.class-view-button),.web-staff-app-shell .attendance-panel button:not(.grade-1):not(.grade-2):not(.grade-3):not(.primary):not(.danger),.web-staff-app-shell .evaluation-subnav button{background:var(--staff-soft)}.web-staff-app-shell .right-sidebar-menu-button:not(.grade-1):not(.grade-2):not(.grade-3):not(.teacher-view-button):not(.class-view-button):not(:disabled):hover,.web-staff-app-shell .panel button:not(.color-button):not(.primary-button):not(.secondary-button):not(.danger-button):not(.delete-button):not(.placement-evaluation-button):not(:disabled):hover,.web-staff-app-shell .attendance-panel button:not(.grade-1):not(.grade-2):not(.grade-3):not(.primary):not(.danger):not(:disabled):hover,.web-staff-app-shell .evaluation-subnav button:not(:disabled):hover{border-color:var(--staff-theme);background:var(--staff-hover);filter:brightness(1.02)saturate(1.18);box-shadow:0 4px 10px color-mix(in srgb, var(--staff-theme) 22%, transparent);transform:translateY(-1px)}.web-staff-app-shell .right-sidebar-menu-button.is-active,.web-staff-app-shell .attendance-panel button.active,.web-staff-app-shell .evaluation-subnav button.active{box-shadow:inset 0 0 0 1px var(--staff-theme);border-color:var(--staff-theme)!important}.admin-mode-login-backdrop{z-index:10000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.admin-mode-login-card{background:#fff;border:3px solid #111827;border-radius:22px;width:min(420px,100%);padding:28px;box-shadow:0 24px 70px #0f172a4d}.admin-mode-login-card h2{color:#172554;margin:0;font-size:27px;font-weight:950}.admin-mode-login-card>p{color:#64748b;margin:7px 0 20px;font-weight:800}.admin-mode-login-card form{gap:8px;display:grid}.admin-mode-login-card label{color:#334155;margin-top:5px;font-weight:900}.admin-mode-login-card input{width:100%;min-height:48px;font:inherit;background:#fff;border:2px solid #94a3b8;border-radius:11px;padding:9px 12px;font-weight:800}.admin-mode-login-card input:focus{border-color:#2563eb;outline:3px solid #2563eb2b}.admin-mode-login-actions{grid-template-columns:1fr 1.35fr;gap:10px;margin-top:14px;display:grid}.admin-mode-login-actions button{color:#172554;min-height:48px;font:inherit;cursor:pointer;background:#e2e8f0;border:2px solid #111827;border-radius:11px;font-weight:950}.admin-mode-login-actions button[type=submit]{background:#dbeafe}.admin-mode-login-actions button:hover{filter:saturate(1.2);background:#bfdbfe;transform:translateY(-1px)}.password-change-card{max-width:560px}.password-change-logout{color:#334155;min-height:44px;font:inherit;cursor:pointer;background:#f1f5f9;border:2px solid #111827;border-radius:11px;font-weight:900}.member-management-shell{background:linear-gradient(145deg,#eff6ff,#f8fafc 48%,#faf5ff);min-height:100vh;padding:24px}.member-management-card{background:#fff;border:3px solid #172554;border-radius:24px;width:min(1120px,100%);margin:0 auto;padding:28px;box-shadow:0 20px 50px #1e40af1f}.member-management-card>header{justify-content:space-between;align-items:center;gap:18px;display:flex}.member-management-card>header span{color:#7c3aed;font-weight:950}.member-management-card>header h1{color:#172554;margin:3px 0;font-size:32px}.member-management-card>header p{color:#64748b;margin:0;font-weight:800}.member-management-card>header button{min-height:46px;font:inherit;cursor:pointer;background:#e0e7ff;border:2px solid #111827;border-radius:11px;padding:0 18px;font-weight:950}.member-create-panel,.member-filter-bar{background:#f8fafc;border:2px solid #cbd5e1;border-radius:18px;margin-top:18px;padding:16px}.member-create-panel h2{color:#172554;margin:0 0 12px;font-size:20px}.member-create-form,.member-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.member-create-form label,.member-filter-bar label,.member-roster-box>label{color:#334155;gap:6px;font-weight:900;display:grid}.member-create-form input,.member-create-form select,.member-filter-bar input,.member-filter-bar select,.member-roster-box input{min-height:44px;font:inherit;background:#fff;border:2px solid #94a3b8;border-radius:10px;padding:0 12px;font-weight:800}.member-create-form button{color:#1e3a8a;min-height:46px;font:inherit;cursor:pointer;background:#dbeafe;border:2px solid #111827;border-radius:12px;grid-column:1/-1;font-weight:950}.member-checkbox{grid-column:1/-1;align-items:center;gap:10px;display:flex}.member-roster-box{gap:10px;margin-top:14px;display:grid}.member-roster-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;max-height:220px;padding-right:4px;display:grid;overflow:auto}.member-roster-list button{text-align:left;font:inherit;cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:12px;gap:2px;padding:12px 14px;font-weight:900;display:grid}.member-roster-list button.active{background:#eff6ff;border-color:#2563eb}.member-roster-list strong{color:#172554;font-size:17px}.member-roster-list span,.member-roster-list small{color:#475569}.member-filter-bar{grid-template-columns:repeat(5,minmax(0,1fr))}.member-filter-bar label{min-width:0}.member-actions{justify-content:center;gap:8px;display:flex}.member-actions button.danger{color:#b91c1c;background:#fee2e2}.member-actions button.danger.confirm{color:#fff;background:#dc2626}.member-management-card>header p{max-width:58ch}.member-management-message{color:#92400e;background:#fef3c7;border-radius:11px;margin:18px 0 0;padding:12px 15px;font-weight:900}.member-table-wrap{border:2px solid #111827;border-radius:14px;margin-top:20px;overflow:auto}.member-table{border-collapse:collapse;width:100%;font-size:16px}.member-table th,.member-table td{text-align:center;border:1px solid #94a3b8;padding:12px 14px;font-weight:800}.member-table th{color:#312e81;background:#ede9fe;font-weight:950;position:sticky;top:0}.member-table td:first-child,.member-table td:nth-child(2){text-align:left}.member-status-cell strong,.member-status-cell span{display:block}.member-status-cell span{color:#64748b;white-space:nowrap;margin-top:3px;font-size:13px}.member-table button{color:#1e3a8a;min-height:38px;font:inherit;cursor:pointer;background:#dbeafe;border:2px solid #111827;border-radius:9px;padding:0 12px;font-weight:900}.member-table button.confirm{color:#b91c1c;background:#fee2e2}.student-test-account{color:#475569;text-align:center;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;gap:3px;margin-top:20px;padding:13px 15px;font-size:13px;display:grid}.student-test-account strong{color:#172554;font-size:14px}.student-test-page{width:min(760px,100%)}.student-test-header{border-bottom:2px solid #dbeafe;justify-content:space-between;align-items:center;gap:20px;padding-bottom:22px;display:flex}.student-test-header h1{color:#172554;margin:6px 0 4px;font-size:30px}.student-test-header p{color:#64748b;margin:0;font-weight:850}.student-test-header img{object-fit:contain;width:96px;height:96px}.student-test-content{min-height:230px;padding:28px 4px}.student-test-content h2{margin:0 0 10px;font-size:24px}.student-test-content>p{color:#475569;font-weight:750;line-height:1.6}.student-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;display:grid}.student-feature-grid button{color:#172554;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 55%,#ecfeff 100%);border:2px solid #111827;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:142px;padding:14px 10px;transition:border-color .14s,background .14s,box-shadow .14s;display:flex;box-shadow:0 6px 16px #2563eb14}.student-feature-grid button.subject-enrollment{background:linear-gradient(135deg,#faf5ff 0%,#f3e8ff 55%,#fdf2f8 100%)}.student-feature-grid button.supplementary-class{background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 55%,#ecfdf5 100%)}.student-feature-grid button:hover{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 55%,#cffafe 100%);border:3px solid #1d4ed8;box-shadow:0 10px 24px #2563eb24}.student-feature-grid button:focus-visible{background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 55%,#cffafe 100%);border:3px solid #1d4ed8;box-shadow:0 10px 24px #2563eb24}.student-feature-grid button.subject-enrollment:hover{background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 55%,#fce7f3 100%)}.student-feature-grid button.subject-enrollment:focus-visible{background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 55%,#fce7f3 100%)}.student-feature-grid button.supplementary-class:hover{background:linear-gradient(135deg,#dcfce7 0%,#bbf7d0 55%,#d1fae5 100%)}.student-feature-grid button.supplementary-class:focus-visible{background:linear-gradient(135deg,#dcfce7 0%,#bbf7d0 55%,#d1fae5 100%)}.student-feature-grid button.unavailable{cursor:not-allowed;filter:grayscale(.3);opacity:.64}.student-feature-grid button.unavailable:hover{background:linear-gradient(135deg,#faf5ff 0%,#f3e8ff 55%,#fdf2f8 100%);border:2px solid #111827;box-shadow:0 6px 16px #2563eb14}.student-feature-grid button.unavailable:focus-visible{background:linear-gradient(135deg,#faf5ff 0%,#f3e8ff 55%,#fdf2f8 100%);border:2px solid #111827;box-shadow:0 6px 16px #2563eb14}.student-feature-grid strong{font-size:20px;font-weight:950}.student-feature-grid small{color:#475569;font-size:12px;font-weight:750;line-height:1.35}.student-test-notice{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:12px;margin-top:24px;padding:15px;font-size:14px;font-weight:850}.student-test-actions{justify-content:flex-end;gap:9px;display:flex}.student-test-actions button{background:#fff;border:2px solid #111827;border-radius:10px;padding:10px 15px;font-weight:900}.student-test-actions .student-logout-button{background:#dbeafe}.student-feature-page{text-align:center}.student-feature-label{color:#2563eb;font-size:14px;font-weight:950}.student-feature-page h1{color:#172554;margin:8px 0 10px;font-size:30px}.student-feature-page>p{color:#475569;margin:0;font-weight:750}.student-feature-placeholder{color:#475569;background:#eff6ff;border:2px dashed #93c5fd;border-radius:16px;place-items:center;min-height:230px;margin:26px 0;padding:24px;font-weight:850;display:grid}.student-feature-back{background:#dbeafe;border:2px solid #111827;border-radius:11px;padding:11px 17px;font-weight:950}.student-feature-back:hover{background:#bfdbfe}.student-test-page.personal-timetable-page{width:min(980px,100%)}.web-personal-timetable{text-align:left;margin-top:24px}.web-personal-heading{background:#eff6ff;border:2px solid #1e3a8a;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.web-personal-heading>div{gap:3px;display:grid}.web-personal-heading strong{color:#172554;font-size:22px;font-weight:950}.web-personal-heading span{color:#475569;font-size:14px;font-weight:850}.web-personal-heading button{background:#dbeafe;border:2px solid #111827;border-radius:10px;padding:9px 13px;font-weight:950}.web-personal-heading button:hover{background:#bfdbfe}.web-personal-selections{background:#f8fafc;border:1px solid #94a3b8;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:14px;margin:12px 0;padding:12px 14px;display:grid}.web-personal-selections>strong{white-space:nowrap;color:#172554;font-weight:950}.web-personal-selections>div{flex-wrap:wrap;gap:7px;display:flex}.web-personal-selections span{color:#14532d;background:#dcfce7;border:1px solid #16a34a;border-radius:999px;align-items:center;gap:6px;padding:7px 11px;font-size:14px;font-weight:950;display:inline-flex}.web-personal-selections span small{color:#475569;font-size:11px;font-weight:800}.web-personal-selections em{color:#64748b;font-size:14px;font-style:normal;font-weight:800}.student-personal-warning{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:10px;margin:10px 0;padding:11px 13px;font-size:14px;font-weight:900}.web-personal-table-scroll{border:2px solid #111827;border-radius:14px;overflow:auto}.web-personal-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:700px}.web-personal-table th,.web-personal-table td{text-align:center;border:1px solid #111827}.web-personal-table thead th{background:#e2e8f0;height:46px;font-size:15px;font-weight:950}.web-personal-table thead th:first-child,.web-personal-table tbody th{width:66px}.web-personal-table tbody th{background:#f1f5f9;font-size:16px;font-weight:950}.web-personal-table td{height:82px;padding:3px}.web-personal-table td.has-conflict{background:#fee2e2!important}.web-personal-lesson{place-items:center;gap:2px;display:grid}.web-personal-lesson+.web-personal-lesson{border-top:1px dashed #dc2626;margin-top:4px;padding-top:4px}.web-personal-lesson strong{font-size:17px;font-weight:950}.web-personal-lesson span{color:#475569;font-size:13px;font-weight:850}.web-personal-lesson small{color:#166534;font-size:10px;font-weight:900}.student-test-page.course-survey-page{width:min(920px,100%)}.student-course-survey{text-align:left;margin-top:24px}.student-survey-heading{background:#f5f3ff;border:2px solid #6d28d9;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.student-survey-heading>div{gap:3px;display:grid}.student-survey-heading strong{color:#4c1d95;font-size:22px;font-weight:950}.student-survey-heading span{color:#64748b;font-size:14px;font-weight:850}.student-survey-heading button,.student-survey-submit-row button{color:#2e1065;background:#ede9fe;border:2px solid #111827;border-radius:10px;padding:9px 13px;font-weight:950}.student-survey-heading button:hover,.student-survey-submit-row button:hover{background:#ddd6fe}.student-survey-notice,.student-survey-error{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:10px;margin:12px 0;padding:11px 13px;font-size:14px;font-weight:850}.student-survey-error{color:#b91c1c;background:#fef2f2;border-color:#ef4444}.student-survey-form{gap:12px;display:grid}.student-survey-target{background:#faf5ff;border:1px solid #c4b5fd;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;display:flex}.student-survey-target strong{color:#4c1d95;font-size:17px}.student-survey-target span{color:#64748b;font-size:13px;font-weight:800}.student-survey-form fieldset{background:#fff;border:1px solid #a78bfa;border-radius:12px;margin:0;padding:12px 14px 14px}.student-survey-form legend{color:#4c1d95;align-items:center;gap:7px;padding:0 6px;font-size:16px;font-weight:950;display:flex}.student-survey-form legend span{color:#fff;background:#7c3aed;border-radius:999px;place-items:center;width:25px;height:25px;font-size:13px;display:grid}.student-survey-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.student-survey-options label{cursor:pointer}.student-survey-options input{opacity:0;pointer-events:none;position:absolute}.student-survey-options label span{color:#334155;text-align:center;background:#f8fafc;border:2px solid #cbd5e1;border-radius:10px;place-items:center;min-height:46px;padding:8px;font-weight:900;display:grid}.student-survey-options input:checked+span{color:#4c1d95;background:#ede9fe;border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed1f}.student-survey-options input:focus-visible+span{outline:3px solid #2563eb40}.student-survey-submit-row{justify-content:space-between;align-items:center;gap:14px;padding-top:4px;display:flex}.student-survey-submit-row>span{color:#64748b;font-size:13px;font-weight:800}.student-survey-submit-row button{background:#ddd6fe;min-width:145px;padding:11px 16px;font-size:16px}.student-survey-submit-row button:disabled{cursor:wait;opacity:.65}@media (max-width:760px){.web-home{place-items:start center;padding:3px 10px 10px}.web-home-card{grid-template-rows:auto auto auto auto;grid-template-columns:1fr;min-height:0;padding:48px 20px 22px}.web-logo{justify-self:center;width:160px;height:160px}.web-title p{white-space:normal;font-size:19px}.web-title h1{font-size:56px}.web-login-entry-grid{grid-template-columns:1fr}.web-login-entry{min-height:104px}.web-login-entry span{font-size:24px}.viewer-shell{padding:8px}.viewer-header{flex-wrap:wrap}.header-actions{width:100%}.header-actions button{flex:1}.view-tabs button{padding:9px 4px;font-size:14px}.grade-selector{grid-template-columns:repeat(2,1fr);display:grid}.selector-bar button{min-width:0}.single-timetable-card{padding:6px}.whole-timetable tbody tr,.single-timetable tbody tr{height:auto}.whole-timetable .lesson,.single-timetable .lesson{gap:0;min-height:0;padding:2px 0;line-height:1.2}.whole-timetable .empty-cell,.single-timetable .empty-cell{min-height:1.8em}.whole-timetable .lesson strong{font-size:clamp(5px,1.9vw,8px)}.whole-timetable .lesson span{font-size:clamp(5px,1.55vw,7px)}.single-timetable .lesson strong{font-size:clamp(11px,4vw,16px)}.single-timetable .lesson span{font-size:clamp(9px,3.2vw,13px)}.single-timetable tbody th{font-size:13px}.single-timetable tr>:not(:last-child){border-right:2px solid #111827}.student-auth-shell{padding:10px}.student-auth-card,.student-test-page{padding:30px 22px 24px}.student-auth-logo{width:92px;height:92px}.student-test-header h1{font-size:25px}.student-test-header img{width:72px;height:72px}.student-feature-grid{grid-template-columns:1fr}.student-feature-grid button{min-height:112px}.student-test-page.personal-timetable-page{padding:24px 12px}.web-personal-heading{align-items:flex-start}.web-personal-heading strong{font-size:18px}.web-personal-selections{grid-template-columns:1fr}.web-personal-table{min-width:620px}.student-test-page.course-survey-page{padding:24px 12px}.student-survey-heading{align-items:flex-start}.student-survey-heading strong{font-size:18px}.student-survey-target,.student-survey-submit-row{flex-direction:column;align-items:stretch}.student-survey-options{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-portal-shell{padding:10px}.staff-portal-card{padding:26px 18px}.staff-portal-card>header{grid-template-columns:auto 1fr}.staff-portal-card>header img{width:68px;height:68px}.staff-portal-card>header h1{font-size:25px}.staff-portal-actions{grid-column:1/-1}.staff-portal-actions button{flex:1}.staff-portal-grid{grid-template-columns:1fr}.staff-portal-grid button{min-height:128px}}@media print{@page{size:A4 portrait;margin:8mm}:root,body,#root,.viewer-shell{background:#fff}.viewer-shell{padding:0}.viewer-header,.header-actions,.view-tabs,.selector-bar,.viewer-shell footer{display:none!important}.section-title-row{justify-content:flex-start;gap:8px;margin-bottom:3mm}.print-brand{border-right:1px solid #64748b;align-items:center;gap:5px;padding-right:8px;display:inline-flex}.print-brand img{object-fit:contain;width:28px;height:28px}.print-brand strong{color:#172554;font-size:17px;font-weight:950}.whole-timetable-card,.single-timetable-card{max-width:none;box-shadow:none;break-inside:avoid;page-break-inside:avoid;border:0;padding:0}.table-scroll{overflow:visible}.whole-timetable,.single-timetable{min-width:0}.viewer-shell thead th{position:static}.whole-timetable thead th{height:34px}.whole-timetable tbody tr{height:29px}.single-timetable tbody tr{height:27mm!important}.lesson,.single-timetable .lesson{padding:1px;min-height:0!important}.lesson,thead th{-webkit-print-color-adjust:exact!important;-moz-print-color-adjust:exact!important;print-color-adjust:exact!important}.empty-cell,.single-timetable .empty-cell{min-height:0!important}.lesson strong{font-size:9px}.lesson span{font-size:8px}.single-timetable .lesson strong{font-size:15px}.single-timetable .lesson span{font-size:12px}}
