.school-clock{color:#111827;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;width:370px;min-height:58px;display:block;position:absolute;top:50%;left:76px;overflow:hidden;transform:translateY(-50%)}.school-clock-main,.school-clock-period{flex-direction:column;justify-content:center;align-items:center;display:flex}.school-clock-main{background:#f8fafc;flex-direction:row;gap:9px;min-height:58px;padding:4px 8px}.school-clock-time{perspective:360px;border-left:1px solid #cbd5e1;align-items:center;padding-left:10px;display:flex}.school-clock-time strong{letter-spacing:.03em;white-space:nowrap;font-size:23px;line-height:1}.school-clock-date-flip{transform-origin:50%;transform-style:preserve-3d;align-items:center;animation:.52s cubic-bezier(.2,.75,.3,1) school-clock-flip-in;display:flex}.school-clock-flip{transform-origin:50%;transform-style:preserve-3d;justify-content:center;align-items:center;gap:3px;animation:.52s cubic-bezier(.2,.75,.3,1) school-clock-flip-in;display:flex}.school-clock-flip-unit{color:#f8fafc;letter-spacing:.04em;text-shadow:0 1px 1px #000;background:linear-gradient(#334155 0 49%,#1e293b 50% 100%);border:1px solid #0f172a;border-radius:5px;justify-content:center;align-items:center;width:37px;height:34px;font-size:24px;font-weight:900;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff1f,0 2px 3px #0f172a38}.school-clock-flip-unit:after{content:"";background:#020617cc;height:1px;position:absolute;top:50%;left:0;right:0;box-shadow:0 1px #ffffff14}.school-clock-date-unit{letter-spacing:0;white-space:nowrap;flex:0 0 150px;width:150px;padding:0 5px;font-size:24px}.school-clock-colon{color:#0f172a;font-size:24px;font-weight:900;animation:1s step-end infinite school-clock-colon-blink;display:inline-block}@keyframes school-clock-flip-in{0%{opacity:.2;transform:rotateX(-82deg)scaleY(.82)}55%{opacity:1;transform:rotateX(10deg)scaleY(1)}to{opacity:1;transform:rotateX(0)scaleY(1)}}@keyframes school-clock-colon-blink{0%,49%{opacity:1}50%,to{opacity:0}}.school-clock-staggered .school-clock-date-flip,.school-clock-staggered .school-clock-flip{animation:none}.school-clock-staggered .school-clock-character{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform, opacity;display:inline-block}.school-clock-staggering .school-clock-character{animation:.76s linear school-clock-stagger-step;animation-delay:calc(40ms + var(--school-clock-character-index) * .105s);transform-origin:50%;transform-style:preserve-3d;animation-fill-mode:both}.school-clock-staggering .school-clock-colon{animation:school-clock-colon-reveal 10ms calc(40ms + var(--school-clock-character-index) * .105s) both, school-clock-colon-blink 1s 3s step-end infinite}@keyframes school-clock-stagger-step{0%{opacity:0;filter:brightness(.72);transform:rotateX(-88deg)scaleY(.78)}16%{opacity:1;filter:brightness(1.12);transform:rotateX(0)scaleY(1)}18%{opacity:1;filter:brightness(.76);transform:rotateX(-88deg)scaleY(.8)}36%{opacity:1;filter:brightness(1.08);transform:rotateX(0)scaleY(1)}38%{opacity:1;filter:brightness(.8);transform:rotateX(-88deg)scaleY(.82)}57%{opacity:1;filter:brightness(1.06);transform:rotateX(0)scaleY(1)}59%{opacity:1;filter:brightness(.84);transform:rotateX(-88deg)scaleY(.84)}80%{opacity:1;filter:brightness(1.03);transform:rotateX(8deg)scaleY(1)}to{opacity:1;transform:rotateX(0)scaleY(1)}}@keyframes school-clock-colon-reveal{0%{opacity:0}to{opacity:1}}.school-clock-period{background:0 0;border-left:1px solid #cbd5e1;flex:auto;align-self:stretch;min-width:76px}.school-clock-period.weekend{background:0 0}.school-clock-period span{font-size:10px;font-weight:800}.school-clock-period .school-clock-current-chip{color:#be123c;background:#fff1f2;border:1px solid #fb7185;border-radius:999px;justify-content:center;align-items:center;min-width:30px;height:17px;padding:0 5px;font-size:11px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 1px 2px #be123c1f}.school-clock-period strong{margin-top:1px;font-size:22px;line-height:1.05}.school-clock-period strong.lunch,.school-clock-period strong.break{font-size:17px}.school-clock-period strong.night{white-space:nowrap;font-size:15px}.school-clock-period strong.moon{color:#334155;margin:0;font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1}.school-clock-period strong.after-hours-message{color:#475569;white-space:nowrap;margin:0;font-size:14px;font-weight:900;line-height:1.15}.school-clock-period .weekend-message{text-shadow:none;filter:none;flex-direction:column;gap:3px;margin:0;font-size:14px;line-height:1.05;display:flex}.school-clock-period .weekend-message span{color:#475569;font-size:inherit;text-shadow:none;font-weight:900}@media (max-width:1180px){.school-clock{display:none}}@media (prefers-reduced-motion:reduce){.school-clock-staggering:not(.school-clock-force-motion) .school-clock-character{animation-duration:.01ms;animation-delay:0s}}.help-screen{box-sizing:border-box;color:#111827;background:linear-gradient(145deg,#eff6ff 0%,#f8fafc 48%,#eef2ff 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:32px;display:flex}.help-shell{box-sizing:border-box;background:#fffffff5;border:2px solid #1e3a8a;border-radius:24px;width:min(1180px,100%);height:min(632px,100vh - 64px);padding:34px 38px 38px;overflow:hidden;box-shadow:0 24px 70px #1e3a8a29}.help-scroll{scrollbar-gutter:stable;height:100%;padding-right:8px;overflow-y:auto}.help-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:10px;display:flex}.help-kicker{color:#2563eb;letter-spacing:.1em;font-size:12px;font-weight:900}.help-header h1{color:#172554;flex-wrap:wrap;align-items:center;gap:10px;margin:5px 0;font-weight:900;display:flex}.help-brand{letter-spacing:1px;background:linear-gradient(135deg,#172554,#1e3a8a);border:2px solid #1e3a8a;border-radius:15px;padding:5px 15px 7px;font-size:42px;line-height:1;display:inline-flex;box-shadow:0 6px 14px #1e3a8a40}.help-brand>span{font-size:inherit}.help-brand>span:nth-child(-n+2){color:#fff}.help-brand>span:nth-child(n+3){color:#fde047}.help-title-text{font-size:35px;color:#172554!important}.help-header p{color:#64748b;margin:0;font-size:14px;font-weight:700}.help-home-button{cursor:pointer;background:#fef3c7;border:2px solid #1e3a8a;border-radius:999px;min-width:96px;padding:9px 15px;font-size:14px;font-weight:900;color:#172554!important;-webkit-text-fill-color:#172554!important}.help-start{background:#eff6ff;border:1px solid #93c5fd;border-radius:10px;grid-template-columns:110px 1fr;align-items:center;gap:14px;margin-bottom:8px;padding:9px 14px;display:grid}.help-start strong{color:#1e3a8a;font-size:16px}.help-start span{color:#475569;font-size:13px;font-weight:700}.help-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.help-section{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;min-height:238px;padding:14px;position:relative;overflow:hidden}.help-user{background:#fffdf2;border-top:5px solid #eab308}.help-admin{background:#f5f9ff;border-top:5px solid #2563eb}.help-attendance{background:#f4fbf6;border-top:5px solid #16a34a}.help-section-number{color:#cbd5e1;font-size:24px;font-weight:900;position:absolute;top:12px;right:15px}.help-eyebrow{color:#64748b;letter-spacing:.09em;font-size:10px;font-weight:900}.help-section h2{color:#172554;margin:4px 0 10px;font-size:21px}.help-section ul{margin:0;padding:0;list-style:none}.help-section li{color:#475569;border-top:1px solid #e2e8f0;padding:7px 0 7px 14px;font-size:13px;font-weight:700;line-height:1.45;position:relative}.help-section li:before{content:"";background:#2563eb;border-radius:50%;width:6px;height:6px;position:absolute;top:14px;left:1px}.help-footer{color:#fff;text-align:center;background:#172554;border-radius:10px;flex-wrap:wrap;justify-content:center;gap:5px 16px;margin-top:8px;padding:9px 14px;display:flex}.help-footer strong{color:#fde047}.help-footer span{font-size:13px;font-weight:700}@media (max-width:880px){.help-grid{grid-template-columns:1fr}.help-section{min-height:auto}}@media (max-width:560px){.help-screen{align-items:flex-start;padding:16px}.help-shell{height:calc(100vh - 32px);padding:24px 18px}.help-brand{font-size:35px}.help-title-text{font-size:28px}.help-start{grid-template-columns:1fr;gap:4px}}.version-history-screen{box-sizing:border-box;color:#111827;background:linear-gradient(145deg,#eff6ff 0%,#f8fafc 48%,#eef2ff 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:32px;display:flex}.version-history-shell{box-sizing:border-box;background:#fffffff5;border:2px solid #1e3a8a;border-radius:24px;width:min(1180px,100%);height:min(632px,100vh - 64px);padding:34px 38px 38px;position:relative;overflow:hidden;box-shadow:0 24px 70px #1e3a8a29}.version-history-scroll{scrollbar-gutter:stable;height:100%;padding-right:8px;overflow-y:auto}.version-history-header{text-align:left;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.version-history-header span{color:#2563eb;letter-spacing:.1em;font-size:12px;font-weight:900}.version-history-header h1{color:#172554;flex-wrap:wrap;align-items:center;gap:10px;margin:5px 0;font-size:47px;font-weight:900;display:flex}.version-history-header .version-history-brand{letter-spacing:1px;background:linear-gradient(135deg,#172554,#1e3a8a);border:2px solid #1e3a8a;border-radius:15px;padding:5px 15px 7px;font-size:42px;line-height:1;display:inline-flex;box-shadow:0 6px 14px #1e3a8a40}.version-history-header .version-history-brand>span{font-size:inherit}.version-history-brand>span:nth-child(-n+2){color:#fff}.version-history-brand>span:nth-child(n+3){color:#fde047}.version-history-header .version-history-title-text{font-size:35px;color:#172554!important}.version-history-header p{color:#64748b;margin:0;font-size:14px;font-weight:700}.version-history-home-button{z-index:2;cursor:pointer;background:#fef3c7;border:2px solid #1e3a8a;border-radius:999px;width:112px;height:29px;padding:4px 9px;font-size:15px;font-weight:900;line-height:1;position:absolute;top:16px;right:18px;color:#172554!important;-webkit-text-fill-color:#172554!important}.version-history-list{flex-direction:column;gap:6px;display:flex}.version-history-list:before,.version-history-marker{display:none}.version-history-list article{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;grid-template-columns:230px minmax(0,1fr);align-items:center;gap:18px;padding:6px 16px;display:grid}.version-history-list article.current{background:#eff6ff;border:2px solid #2563eb}.version-history-meta{border-right:1px solid #cbd5e1;justify-content:space-between;align-items:center;gap:10px;padding-right:18px;display:flex}.version-history-meta time{color:#64748b;white-space:nowrap;font-size:12px;font-weight:800}.version-history-meta strong{color:#1e3a8a;white-space:nowrap;font-size:20px;font-weight:900}.version-history-content h2{color:#172554;margin:0 0 2px;font-size:17px}.version-history-note{margin-left:7px;font-size:10px;font-weight:600;color:#c4c4cc!important;-webkit-text-fill-color:#c4c4cc!important}.version-history-content p{color:#475569;margin:0;font-size:13px;font-weight:700;line-height:1.5}.version-history-highlights{color:#334155;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;margin:6px 0 1px;padding-left:18px;font-size:12px;font-weight:750;line-height:1.45;display:grid}.version-history-highlights li::marker{color:#2563eb}.version-history-encouragement{color:#475569;text-align:left;margin:0;font-size:14px;font-weight:900}.version-history-encouragement button{-webkit-appearance:none;appearance:none;color:inherit;font:inherit;cursor:inherit;background:0 0;border:0;margin:0;padding:0}.version-history-encouragement button:hover,.version-history-encouragement button:focus,.version-history-encouragement button:active{color:inherit;box-shadow:none;background:0 0;border:0;outline:0;text-decoration:none}.version-encouragement-rain{z-index:10000;pointer-events:none;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.version-encouragement-rain>span{top:-50px;left:var(--encouragement-left);color:var(--encouragement-color);font-size:var(--encouragement-size);text-shadow:0 2px 3px #ffffffeb,0 4px 8px #1118272e;white-space:nowrap;will-change:transform, opacity;animation:version-encouragement-fall var(--encouragement-duration) linear var(--encouragement-delay) infinite;font-weight:900;line-height:1;position:absolute}@keyframes version-encouragement-fall{0%{opacity:0;transform:translateY(-8vh)rotate(0)scale(.75)}12%{opacity:1}to{transform:translate3d(var(--encouragement-drift), 112vh, 0) rotate(var(--encouragement-rotate)) scale(1.05);opacity:.94}}.version-history-shell footer{color:#fff;text-align:center;background:#172554;border-radius:10px;justify-content:center;gap:12px;margin-top:12px;padding:11px 16px;display:flex}.version-history-shell footer strong{color:#fde047;white-space:nowrap}.version-history-shell footer span{font-size:13px;font-weight:700}@media (max-width:700px){.version-history-screen{align-items:flex-start;padding:16px}.version-history-shell{height:calc(100vh - 32px);max-height:none;padding:24px 18px}.version-history-scroll{padding-right:6px}.version-history-header h1{font-size:37px}.version-history-header .version-history-brand{font-size:35px}.version-history-header .version-history-title-text{font-size:28px}.version-history-list article{grid-template-columns:1fr;gap:9px}.version-history-meta{border-bottom:1px solid #cbd5e1;border-right:0;padding:0 0 8px}.version-history-highlights{grid-template-columns:1fr}.version-history-shell footer{flex-direction:column;align-items:center;gap:4px}}@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-stage{flex-direction:column;align-items:center;width:min(920px,100%);display:flex}.web-home-clock{justify-content:center;align-items:center;width:592px;height:102px;display:flex;position:relative}.web-home-clock .school-clock{transform-origin:50%;flex:none;margin:0;display:block;position:relative;top:auto;left:auto;transform:scale(1.6)}.web-home-weather{z-index:3;filter:drop-shadow(0 2px 2px #0f172a2e);pointer-events:none;font-size:38px;line-height:1;position:absolute;top:0;left:calc(47% + 4px);transform:translate(-50%)}.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,.web-help-button{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}.web-version{right:20px}.web-help-button{place-items:center;width:34px;height:34px;padding:0;font-size:19px;display:grid;left:20px}.web-version:hover,.web-help-button: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(3,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;position:relative;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)}.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 b{margin-bottom:3px;font-size:32px;line-height:1}.web-login-entry span{font-size:23px;font-weight:950}.web-login-entry small{color:#475569;margin-top:7px;font-size:15px;font-weight:800}.web-login-entry[data-tooltip]:after,.staff-portal-grid button[data-tooltip]:after,.student-feature-grid button[data-tooltip]:after,.web-version[data-tooltip]:after,.web-help-button[data-tooltip]:after{z-index:30;color:#fff;content:attr(data-tooltip);text-align:center;white-space:normal;opacity:0;pointer-events:none;background:#111827;border-radius:8px;width:max-content;max-width:260px;padding:7px 10px;font-size:12px;font-weight:800;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,5px)}.web-version[data-tooltip]:after,.web-help-button[data-tooltip]:after{top:calc(100% + 8px);bottom:auto}.web-login-entry[data-tooltip]:hover:after,.staff-portal-grid button[data-tooltip]:hover:after,.student-feature-grid button[data-tooltip]:hover:after,.web-version[data-tooltip]:hover:after,.web-help-button[data-tooltip]:hover:after{opacity:1;transform:translate(-50%)}.web-login-entry[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.staff-portal-grid button[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.student-feature-grid button[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.web-version[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.web-help-button[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.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:58px 38px 38px;position:relative;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;position:relative;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}.portal-menu-emoji{font-size:31px;line-height:1}.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,#eef8ff,#fbfbff 48%,#fff3fa);min-height:100vh;padding:24px}.member-management-card{background:#fffffff5;border:3px solid #172554;border-radius:24px;width:min(960px,100%);margin:0 auto;padding:26px;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:15px}.member-create-panel{background:linear-gradient(135deg,#faf5ff,#f5f3ff);border-color:#c4b5fd}.member-create-panel summary{color:#4c1d95;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-size:18px;font-weight:950;list-style:none;display:flex}.member-create-panel summary::-webkit-details-marker{display:none}.member-create-panel summary:after{content:"+";color:#7c3aed;background:#fff;border:2px solid #7c3aed;border-radius:50%;place-items:center;width:30px;height:30px;margin-left:auto;font-size:22px;line-height:1;display:grid}.member-create-panel[open] summary:after{content:"−"}.member-create-panel summary small{color:#7c3aed;font-size:13px;font-weight:800}.member-create-panel[open] .member-create-form{border-top:1px solid #ddd6fe;margin-top:15px;padding-top:15px}.member-create-form{gap:12px;display:grid}.member-create-form-student{grid-template-columns:1.05fr 1.4fr 1.15fr .8fr .8fr .8fr}.member-create-form-teacher,.member-create-form-test{grid-template-columns:repeat(3,minmax(0,1fr))}.member-create-form label,.member-filter-bar label,.member-roster-box>label{color:#334155;gap:6px;font-weight:900;display:grid}.member-create-form label{min-width:0}.member-create-form input,.member-create-form select,.member-filter-bar input,.member-filter-bar select,.member-roster-box input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:2px solid #94a3b8;border-radius:10px;padding:0 12px;font-weight:800}.member-create-form input.member-auto-login-id{color:#4c1d95;cursor:default;background:#ede9fe;border-color:#a78bfa}.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-create-form .member-checkbox{grid-column:1/-1;align-items:center;gap:10px;display:flex}.member-create-form .member-checkbox input{accent-color:#7c3aed;flex:none;width:20px;height:20px;min-height:0;padding:0}.member-create-form-student .member-create-password{grid-column:1/3}.member-create-form-student .member-checkbox{grid-column:3/-1;align-self:end;min-height:44px}.member-create-form-teacher .member-create-password,.member-create-form-test .member-create-password{grid-column:1}.member-create-form-teacher .member-checkbox,.member-create-form-test .member-checkbox{grid-column:2/-1;align-self:end;min-height:44px}.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{background:linear-gradient(135deg,#f0f9ff,#ecfeff);border-color:#bae6fd;gap:10px;display:grid}.member-filter-row{grid-template-columns:70px 1fr;align-items:center;gap:12px;display:grid}.member-filter-category-row{grid-template-columns:70px 1fr auto}.member-filter-row>strong{color:#164e63;font-weight:950}.member-filter-buttons{flex-wrap:wrap;gap:8px;display:flex}.member-filter-buttons button{color:#334155;min-width:82px;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:2px solid #94a3b8;border-radius:11px;padding:0 15px;font-weight:900}.member-filter-buttons button:hover{background:#cffafe;border-color:#06b6d4;transform:translateY(-1px)}.member-filter-buttons button.active{color:#1e3a8a;background:#dbeafe;border-color:#2563eb;box-shadow:0 3px #2563eb29}.member-filter-buttons button:disabled{cursor:default;opacity:.42;transform:none}.member-filter-count{color:#92400e;min-width:72px;min-height:40px;font:inherit;white-space:nowrap;background:#fef3c7;border:2px solid #f59e0b;border-radius:999px;place-items:center;padding:0 14px;font-weight:950;display:inline-grid}.member-class-filter-content{align-items:center;gap:12px;min-width:0;display:flex}.member-class-filter-content>.member-filter-buttons{flex:none}.member-filter-search{flex:1;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:8px;min-width:0;display:grid}.member-filter-search span{color:#164e63;font-weight:950}.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 #64748b;padding:12px 14px;font-weight:800}.member-table th{color:#312e81;background:#ede9fe;font-weight:950;position:sticky;top:0}.member-table tbody tr.member-row-teacher>td{background:#ecfdf5}.member-table tbody tr.member-row-grade-1>td{background:#fffbeb}.member-table tbody tr.member-row-grade-2>td{background:#eff6ff}.member-table tbody tr.member-row-grade-3>td{background:#fff1f2}.member-table tbody tr.member-row-test>td{background:#faf5ff}.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-home-stage .student-test-page{padding-top:58px}.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;position:relative;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:0 10px 8px}.web-home-stage{width:100%;min-width:0;max-width:100%}.web-home-card{grid-template-rows:auto auto auto;grid-template-columns:1fr;gap:6px;width:100%;min-width:0;max-width:100%;min-height:0;padding:38px 12px 12px}.web-home-clock{width:100%;height:50px}.web-home-clock .school-clock{display:block;transform:scale(.7)}.web-home-weather{font-size:21px;top:1px;left:47%}.web-logo{justify-self:center;width:110px;height:110px}.web-title{min-width:0}.web-title p{white-space:normal;overflow-wrap:anywhere;margin-bottom:5px;font-size:16px}.web-title h1{border-radius:17px;padding:8px 18px 10px;font-size:44px}.web-login-entry-grid{grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}.web-login-entry{border-radius:14px;min-width:0;min-height:70px}.web-login-entry b{margin-bottom:1px;font-size:21px}.web-login-entry span{font-size:18px}.web-login-entry small{margin-top:1px;font-size:11px}.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-auth-shell{overflow-x:hidden}.student-test-page.personal-timetable-page{width:100%;max-width:100%;padding:22px 6px;overflow:hidden}.web-personal-timetable{width:100%;min-width:0;margin-top:18px}.web-personal-heading{flex-direction:column;align-items:flex-start;gap:9px;padding:11px 10px}.web-personal-heading strong{font-size:18px}.web-personal-heading button{align-self:stretch}.web-personal-selections{grid-template-columns:1fr;gap:8px;min-width:0;padding:10px}.web-personal-selections>div{min-width:0}.web-personal-selections span{white-space:normal;max-width:100%}.web-personal-table-scroll{border-radius:10px;width:100%;overflow:hidden}.web-personal-table{width:100%;min-width:0}.web-personal-table thead th{height:36px;padding:1px;font-size:11px}.web-personal-table thead th:first-child,.web-personal-table tbody th{width:30px}.web-personal-table tbody th{padding:1px;font-size:12px}.web-personal-table td{height:64px;padding:1px;overflow:hidden}.web-personal-lesson{gap:1px;min-width:0}.web-personal-lesson strong{overflow-wrap:anywhere;max-width:100%;font-size:clamp(8px,2.8vw,11px);line-height:1.15}.web-personal-lesson span{overflow-wrap:anywhere;max-width:100%;font-size:clamp(7px,2.35vw,9px)}.web-personal-lesson small{overflow-wrap:anywhere;max-width:100%;font-size:7px;line-height:1.15}.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}.member-management-shell{padding:8px}.member-management-card{padding:20px 14px}.member-management-card>header{align-items:flex-start}.member-management-card>header h1{font-size:27px}.member-management-card>header p,.member-create-panel summary small{display:none}.member-create-form{grid-template-columns:1fr}.member-create-form .member-create-password,.member-create-form .member-checkbox{grid-column:1}.member-filter-row{grid-template-columns:54px 1fr;gap:8px}.member-filter-category-row{grid-template-columns:54px 1fr auto}.member-filter-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.member-filter-buttons button{min-width:0;padding:0 6px}.member-filter-count{min-width:58px;padding:0 8px}.member-class-filter-content{flex-direction:column;align-items:stretch}.member-class-filter-content>.member-filter-buttons{grid-template-columns:repeat(5,minmax(0,1fr))}.member-filter-search{grid-template-columns:42px 1fr}}@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}}
