:root{--bg:#f5f7fb;--panel:#fff;--ink:#20263b;--muted:#8990a5;--line:#edf0f6;--blue:#6476eb;--blue-soft:#eef1ff;--purple:#9677e8;--orange:#eea35e;--green:#5cbe9b;--shadow:0 8px 28px rgba(43,54,95,.045)}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);font-size:14px}button{font:inherit;border:0;cursor:pointer;color:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;background:#fff;border-right:1px solid #eef0f5;padding:26px 16px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 25px}.brand-mark{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#7c8bfa,#5869dc);color:#fff;display:grid;place-items:center;font-weight:700;font-size:18px;box-shadow:0 5px 12px #6476eb3b}.brand strong{display:block;font-size:15px;letter-spacing:.2px}.brand span,.class-copy span,.profile span{color:var(--muted);font-size:11px;display:block;margin-top:4px}.class-switcher{background:#f7f8fc;border:1px solid #eef0f5;border-radius:12px;padding:11px 9px;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;flex-shrink:0}.avatar-blue{background:#dfe4ff;color:#6071de}.avatar-orange{background:#f8e2cf;color:#d38d4e}.class-copy{flex:1}.class-copy strong,.profile strong{font-size:12px}.icon-button{background:none;color:#a5abbc;font-size:15px;padding:4px}.nav-list{padding-top:24px;flex:1}.nav-label{font-size:10px;color:#b1b6c5;letter-spacing:1px;padding:0 13px;margin:0 0 9px}.nav-label-spaced{margin-top:24px}.nav-item{display:flex;align-items:center;width:100%;height:42px;background:transparent;border-radius:9px;padding:0 13px;color:#71798e;text-align:left;margin:3px 0;gap:12px;font-size:13px}.nav-item:hover{background:#f7f8fc;color:var(--blue)}.nav-item.active{background:#eef1ff;color:#596be0;font-weight:600}.nav-icon{width:17px;text-align:center;font-size:17px;line-height:1;color:#9da5bb}.active .nav-icon{color:#6374e9}.nav-badge{margin-left:auto;color:#fff;background:#ef9a71;border-radius:10px;font-size:10px;min-width:18px;text-align:center;padding:2px 5px}.sidebar-footer{border-top:1px solid var(--line);padding-top:16px}.help-card{background:#faf8f4;border:1px solid #f2ede5;border-radius:11px;padding:12px 10px;display:flex;align-items:center;gap:9px}.help-icon{width:23px;height:23px;background:#f4e4d1;color:#d89b5d;border-radius:50%;display:grid;place-items:center;font-weight:700}.help-card strong{display:block;font-size:11px}.help-card span:not(.help-icon):not(.arrow){font-size:10px;color:#9b9caa;display:block;margin-top:4px}.arrow{margin-left:auto;color:#aaa}.profile{display:flex;gap:10px;align-items:center;margin-top:16px;padding:0 6px}.profile div:nth-child(2){flex:1}.main-content{flex:1;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #eff1f6;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{color:#9ca3b5;font-size:12px}.breadcrumb b{font-weight:400;color:#d5d8e1;margin:0 9px}.breadcrumb strong{color:#414860;font-weight:600}.top-actions{display:flex;align-items:center;gap:19px}.date-chip{color:#80879a;font-size:12px}.calendar-icon{color:#6678e6;margin-right:7px}.circle-button{width:31px;height:31px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#8990a7;position:relative}.notification-button i{position:absolute;width:5px;height:5px;background:#ef907a;border-radius:50%;right:6px;top:5px;border:1px solid #fff}.top-avatar{width:32px;height:32px}.main-content>#page-content{padding:30px 42px 45px;max-width:1600px;margin:auto}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:27px}.eyebrow{font-size:10px;color:#7988e7;letter-spacing:1.5px;font-weight:600;margin:0 0 9px}.welcome-row h1{font-size:24px;line-height:1.3;margin:0 0 8px;font-weight:700;letter-spacing:-.5px}.welcome-row h1 span{font-size:17px;color:#efaa69}.muted{margin:0;color:#9298aa;font-size:12px}.primary-button{height:39px;background:#6577eb;color:#fff;border-radius:8px;padding:0 17px;box-shadow:0 7px 15px #6476eb3b;font-size:12px}.primary-button span{font-size:17px;vertical-align:-1px;margin-right:4px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:19px}.stat-card,.panel{background:var(--panel);border:1px solid #eef0f5;box-shadow:var(--shadow);border-radius:13px}.stat-card{padding:18px 19px 15px;min-height:143px}.stat-heading{display:flex;align-items:center;justify-content:space-between;color:#83899c;font-size:12px}.stat-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:15px}.blue-icon{background:#edf0ff;color:#6879eb}.purple-icon{background:#f2eeff;color:#9a7ae8}.orange-icon{background:#fff3e7;color:#e8a260}.green-icon{background:#e9f8f1;color:#59b894}.stat-value{font-size:26px;font-weight:700;letter-spacing:-1px;margin-top:13px}.stat-value small{font-size:11px;font-weight:400;color:#9da2b2;letter-spacing:0}.stat-footer{display:flex;align-items:center;justify-content:space-between;margin-top:9px;color:#b0b4c1;font-size:10px}.trend{font-weight:600}.positive{color:#56b58e}.warning{color:#e19c63}.neutral{color:#8d96ab}.progress-track{height:4px;border-radius:5px;background:#f1f2f6;margin-top:14px}.progress-fill{display:block;height:100%;border-radius:5px}.blue-fill{background:#7384ef}.purple-fill{background:#a68ce8}.green-fill{background:#62c5a1}.mini-bars{height:14px;display:flex;align-items:flex-end;gap:4px;margin-top:11px}.mini-bars i{display:block;background:#d8ddfb;width:18%;height:45%;border-radius:2px}.mini-bars i:nth-child(2){height:65%}.mini-bars i:nth-child(3){height:54%}.mini-bars i:nth-child(4){height:76%}.mini-bars i:nth-child(5){height:69%}.mini-bars .current{height:100%;background:#8998f3}.content-grid{display:grid;grid-template-columns:minmax(0,1.44fr) minmax(300px,.9fr);gap:18px}.primary-column,.secondary-column{display:flex;flex-direction:column;gap:18px}.panel{padding:20px 21px}.panel-header{display:flex;justify-content:space-between;align-items:flex-start}.panel-header h2{font-size:15px;margin:0;font-weight:700}.panel-header p{font-size:11px;color:#a0a5b5;margin:6px 0 0}.text-button{background:none;color:#7080e6;font-size:11px;padding:3px}.text-button span{font-size:15px;margin-left:3px}.today-panel{min-height:240px}.today-list{margin-top:20px}.today-item{display:flex;align-items:center;border-top:1px solid #f1f2f6;min-height:57px;gap:12px}.item-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:15px}.soft-blue{background:#eef1ff;color:#7383eb}.soft-purple{background:#f4efff;color:#a07ce9}.soft-orange{background:#fff3e8;color:#e2a05d}.item-copy{flex:1;min-width:0}.item-copy strong{font-size:12px;display:block}.item-copy span{font-size:10px;color:#a3a8b8;display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-status{font-size:10px;padding:4px 7px;border-radius:5px;white-space:nowrap}.status-warn{color:#e19c63;background:#fff5eb}.status-purple{color:#9b7ae7;background:#f5f1ff}.status-done{color:#5eb797;background:#edf9f3}.small-button{background:#f1f3ff;color:#6b7bea;border-radius:5px;padding:6px 9px;font-size:10px;white-space:nowrap}.small-button.ghost{background:#fafafa;color:#9299aa}.chart-panel{min-height:260px}.select-button{background:#fafbfe;border:1px solid #edf0f5;border-radius:5px;color:#858c9e;font-size:11px;padding:7px 9px}.select-button span{margin-left:11px}.chart-wrap{display:flex;position:relative;height:188px;margin:24px 6px 0 0}.y-axis{width:28px;display:flex;flex-direction:column;justify-content:space-between;color:#b5bac8;font-size:9px;padding:0 0 29px}.chart-area{position:relative;flex:1;padding-bottom:30px}.chart-grid-line{position:absolute;width:100%;border-top:1px dashed #edf0f5}.line-1{top:0}.line-2{top:42px}.line-3{top:84px}.line-4{top:126px}.line-chart{height:155px;width:100%;position:absolute;top:0;left:0;overflow:visible}.x-axis{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:#b0b5c3;font-size:9px}.chart-tooltip{position:absolute;right:24px;top:-30px;background:#293450;color:#fff;padding:8px 10px;border-radius:5px;font-size:10px;box-shadow:0 5px 14px #2533512e}.chart-tooltip:after{content:"";position:absolute;bottom:-4px;left:50%;border-width:4px 4px 0;border-style:solid;border-color:#293450 transparent transparent}.chart-tooltip strong{font-size:12px;display:block}.chart-tooltip span{font-size:9px;color:#aeb8d5;display:block;margin-top:3px}.todo-panel{min-height:240px}.more-button{background:none;color:#abb1c0;font-size:15px}.todo-list{margin-top:13px}.todo-row{display:flex;align-items:center;gap:9px;min-height:43px;border-bottom:1px solid #f4f4f7;position:relative;cursor:pointer}.todo-row input{position:absolute;opacity:0}.custom-check{width:14px;height:14px;border:1px solid #d6d9e2;border-radius:4px;display:block;flex-shrink:0}.todo-row input:checked~.custom-check{background:#7081ee;border-color:#7081ee}.todo-row input:checked~.custom-check:after{content:"✓";color:#fff;font-size:10px;display:block;text-align:center;line-height:13px}.todo-text{flex:1;min-width:0}.todo-text strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.todo-text small{display:block;color:#a7acba;font-size:9px;margin-top:4px}.priority{font-size:9px;font-weight:400;border-radius:4px;padding:3px 5px;white-space:nowrap}.priority.high{color:#dc7d73;background:#fff0ee}.priority.medium{color:#de9d5d;background:#fff5ea}.priority.low{color:#8b91a5;background:#f4f5f8}.add-todo{background:none;color:#7180e8;font-size:11px;margin-top:13px;padding:0}.schedule-panel{min-height:298px}.schedule-list{margin-top:16px}.schedule-row{display:flex;align-items:center;min-height:57px;gap:12px;color:#81899c;position:relative}.schedule-row time{font-size:10px;line-height:1.5;text-align:right;width:39px;color:#9ca3b4}.schedule-row time small{font-size:9px;color:#b2b6c3}.schedule-line{height:39px;width:2px;background:#edf0f5;position:relative}.schedule-line:before{content:"";display:block;width:7px;height:7px;border-radius:50%;background:#e4e7ef;position:absolute;left:-3px;top:4px}.schedule-row.current .schedule-line{background:#b6c0ff}.schedule-row.current .schedule-line:before{background:#6d7dee;box-shadow:0 0 0 4px #e9ecff}.schedule-row>div:last-of-type{flex:1}.schedule-row strong{display:block;font-size:12px;color:#49526d;font-weight:600}.schedule-row span{display:block;color:#aeb3c1;font-size:9px;margin-top:5px}.schedule-row em{font-style:normal;color:#bbbfc9;font-size:9px}.schedule-row.current strong,.schedule-row.current em{color:#6677e6}.schedule-row.past{opacity:.7}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.attendance-panel,.notice-panel{min-height:205px}.legend{color:#9da3b2;font-size:10px}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7283eb;margin-right:5px}.attendance-chart{height:123px;display:flex;align-items:flex-end;justify-content:space-around;padding:26px 23px 0;border-bottom:1px solid #edf0f5;margin-top:10px}.attendance-day{height:100%;width:12%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}.attendance-day small{font-size:9px;color:#a8adbb;position:absolute;bottom:-20px}.bar-value{font-size:9px;color:#8690a5;margin-bottom:6px}.attendance-bar{width:21px;max-height:76px;background:#bcc7fa;border-radius:4px 4px 0 0}.current-bar{background:#6c7eee}.empty-bar{background:#f0f1f5}.notice-list{margin-top:20px}.notice-row{display:flex;align-items:center;gap:11px;min-height:54px;border-top:1px solid #f1f2f5}.notice-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.blue-dot{background:#7687ee}.orange-dot{background:#efae6d}.notice-row div{flex:1;min-width:0}.notice-row strong{font-size:11px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice-row small{display:block;font-size:9px;color:#abb0bd;margin-top:5px}.notice-tag{font-size:9px;color:#8b93a5;background:#f5f6f9;padding:4px 6px;border-radius:4px}.toast{position:fixed;right:30px;bottom:25px;background:#293450;color:#fff;padding:11px 16px;border-radius:7px;font-size:12px;opacity:0;transform:translateY(10px);transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1100px){.sidebar{width:215px}.topbar,.main-content>#page-content{padding-left:25px;padding-right:25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.secondary-column{display:grid;grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr}}@media(max-width:700px){.sidebar{width:63px;padding:20px 9px}.brand{padding:0 4px 20px}.brand>div:last-child,.class-copy,.class-switcher .icon-button,.nav-label,.nav-item:not(.active):not(:hover):after,.nav-item{font-size:0}.brand-mark{margin:auto}.class-switcher{padding:8px 5px;justify-content:center}.nav-item{justify-content:center;padding:0}.nav-icon{font-size:17px}.nav-badge{position:absolute;margin:0 0 25px 25px}.help-card,.profile div:nth-child(2),.profile .icon-button{display:none}.profile{justify-content:center}.topbar{height:60px;padding:0 16px}.date-chip{display:none}.main-content>#page-content{padding:23px 16px 35px}.welcome-row{align-items:flex-start;gap:15px}.welcome-row h1{font-size:20px}.welcome-row .muted{line-height:1.6}.primary-button{white-space:nowrap;padding:0 11px}.stats-grid{gap:10px}.stat-card{padding:14px 12px;min-height:133px}.stat-value{font-size:23px}.stat-footer{display:block;line-height:1.6}.stat-footer span:last-child{display:block}.secondary-column{display:flex}.panel{padding:17px 15px}.bottom-grid{display:block}.bottom-grid .panel+.panel{margin-top:15px}.item-status{display:none}.small-button{padding:6px 7px}.chart-tooltip{display:none}}@media(max-width:900px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.topbar{padding-left:20px;padding-right:20px}.main-content>#page-content{padding-left:20px;padding-right:20px}.content-grid{grid-template-columns:1fr}.secondary-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-grid{grid-template-columns:1fr}}@media(max-width:700px){.app-shell{min-width:0}.sidebar{width:56px;padding:15px 6px}.nav-list{padding-top:16px}.nav-item{height:40px}.main-content{min-width:0;overflow:hidden}.topbar{padding:0 12px}.breadcrumb{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.top-actions{gap:8px}.main-content>#page-content{padding:18px 10px 28px}.welcome-row{flex-wrap:wrap}.welcome-row>div{min-width:0}.welcome-row .primary-button{margin-left:auto}.stats-grid,.secondary-column{grid-template-columns:1fr}.stat-card{min-width:0}.panel-header{gap:10px;flex-wrap:wrap}.panel-header>div{min-width:0}.panel-header p{line-height:1.5}.panel{padding:15px 12px}.content-grid,.bottom-grid{display:block}.primary-column,.secondary-column{gap:12px}.primary-column>.panel+.panel,.secondary-column>.panel+.panel,.bottom-grid .panel+.panel{margin-top:12px}.today-item{gap:8px}.item-copy{min-width:0}.attendance-chart{padding-left:8px;padding-right:8px}.attendance-bar{width:14px}.toast{left:12px;right:12px;bottom:12px;text-align:center}.modal-backdrop{padding:12px}.student-detail{position:fixed;top:72px;left:12px;right:12px;width:auto;max-height:calc(100vh - 90px);overflow:auto}.top-avatar{width:29px;height:29px}}@media(max-width:420px){.sidebar{width:48px;padding-left:4px;padding-right:4px}.brand{padding-bottom:14px}.brand-mark{width:32px;height:32px;font-size:15px}.nav-item{height:38px}.main-content>#page-content{padding-left:8px;padding-right:8px}.welcome-row h1{font-size:18px}.primary-button{font-size:11px;padding:0 9px}.stat-card{padding:12px 10px}.stat-value{font-size:21px}.topbar{padding-left:8px;padding-right:8px}.breadcrumb b,.breadcrumb span{display:none}}.app-shell{height:100vh;min-height:0;overflow:hidden}.sidebar{height:100vh;max-height:100vh;overflow:hidden}.main-content{height:100vh;min-height:0;overflow-y:auto;overflow-x:hidden}.topbar{position:sticky;top:0;z-index:20}@media(max-width:700px){.nav-list{overflow:hidden}.nav-item{height:36px;margin:2px 0}.brand{padding-bottom:14px}.class-switcher{margin-bottom:0}.sidebar-footer{padding-top:10px}.main-content{height:100vh}}@media(max-width:420px){.nav-item{height:32px;margin:1px 0}.nav-list{padding-top:10px}.brand{padding-bottom:10px}.sidebar-footer{padding-top:7px}}@media(max-height:700px){.sidebar{padding-top:12px;padding-bottom:10px}.brand{padding-bottom:10px}.class-switcher{padding:7px}.nav-list{padding-top:10px}.nav-item{height:32px;margin:1px 0}.sidebar-footer{padding-top:8px}.help-card{padding:7px}.profile{margin-top:8px}}.mobile-menu-button,.mobile-nav-close,.mobile-nav-backdrop{display:none}@media(max-width:700px){.mobile-nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:39;background:#1f274357}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(286px,86vw);height:100dvh;max-height:none;padding:18px 14px calc(14px + env(safe-area-inset-bottom));transform:translate(-105%);transition:transform .22s ease;box-shadow:12px 0 32px #2b365f24;overflow-y:auto}.sidebar.mobile-open{transform:translate(0)}.sidebar .brand{padding:0 4px 20px}.sidebar .brand>div:last-of-type{display:block}.sidebar .brand-mark{margin:0}.mobile-nav-close{display:block;margin-left:auto;width:32px;height:32px;border-radius:8px;background:#f5f6fb;color:#7b8498;font-size:22px;line-height:1}.sidebar .class-switcher{padding:10px 9px;justify-content:flex-start}.sidebar .class-copy{display:block}.sidebar .class-switcher .icon-button{display:block;font-size:15px}.sidebar .nav-list{padding-top:20px;overflow:visible}.sidebar .nav-label{display:block;font-size:10px}.sidebar .nav-item{justify-content:flex-start;width:100%;height:44px;margin:3px 0;padding:0 13px;font-size:13px;gap:12px}.sidebar .nav-item .nav-icon{font-size:17px}.sidebar .nav-item:not(.active):not(:hover):after{display:none}.sidebar .sidebar-footer{padding-top:16px}.sidebar .help-card{display:flex;padding:12px 10px}.sidebar .profile{justify-content:flex-start;margin-top:16px;padding:0 6px}.sidebar .profile div:nth-child(2),.sidebar .profile .icon-button{display:block}.mobile-menu-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:7px;border:1px solid #e8ebf2;border-radius:8px;background:#fff;color:#6879e8;font-size:17px;flex-shrink:0}.topbar{height:58px;min-height:58px;padding:0 10px calc(0px + env(safe-area-inset-right));padding-left:calc(10px + env(safe-area-inset-left))}.breadcrumb{display:flex;align-items:center;min-width:0}.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{gap:6px}.top-actions .circle-button{width:32px;height:32px}.top-avatar{width:30px;height:30px}.main-content{padding-bottom:env(safe-area-inset-bottom)}.main-content-body{padding:16px 10px calc(28px + env(safe-area-inset-bottom))}.welcome-row{margin-bottom:18px}.welcome-row h1{line-height:1.4}.welcome-row .muted{max-width:100%;font-size:11px}.primary-button,.small-button,.text-button{min-height:38px}.text-button{padding:7px 8px}.panel-header{align-items:center}.modal-backdrop{padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom));align-items:end}.modal-backdrop>*{max-height:calc(100dvh - 20px)}.duty-student-modal,.class-creation-modal,.schedule-day-modal{border-radius:16px 16px 10px 10px;padding:16px;width:100%;max-width:100%}.schedule-day-modal{max-height:calc(100dvh - 20px)}.modal-actions{padding-bottom:env(safe-area-inset-bottom)}input,select,textarea{font-size:16px!important}}@media(max-width:420px){.topbar{height:54px;min-height:54px}.mobile-menu-button{width:30px;height:30px;margin-right:5px}.top-actions .circle-button{display:none}.main-content-body{padding-left:8px;padding-right:8px}.welcome-row .primary-button{width:100%;margin-left:0}.stats-grid{gap:8px}.stat-card{min-height:122px}}.main-content-body{padding:30px 42px 45px;max-width:1600px;margin:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:32px;background:#1f27436b;box-sizing:border-box;overflow:auto}.modal-backdrop>*{max-width:100%;max-height:calc(100vh - 64px)}.class-switcher-wrap{position:relative}.class-switcher{width:100%;display:flex;align-items:center;text-align:left;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}.class-menu{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:260px;padding:12px;border:1px solid #eef0f5;border-radius:9px;background:#fff;box-shadow:0 12px 28px #444e7124}.class-menu>strong{display:block;margin-bottom:8px;color:#596277;font-size:11px}.class-menu-item{display:flex;justify-content:space-between;width:100%;padding:9px;border:0;border-radius:6px;background:transparent;color:#596277;text-align:left;font:inherit;font-size:11px;cursor:pointer}.class-menu-item:hover,.class-menu-item.active{background:#f0f2ff;color:#6879e8}.class-menu-item span{color:#a3aaba;font-size:10px}.class-menu-edit{display:flex;gap:6px;margin-top:9px;padding-top:9px;border-top:1px solid #f0f1f5}.class-menu-edit input{min-width:0;flex:1;border:1px solid #e5e8f0;border-radius:6px;padding:7px;color:#596277;font:inherit;font-size:10px}.class-menu-new{display:block;width:100%;margin-top:8px;padding-top:9px;border-top:1px solid #f0f1f5;text-align:left}.class-rename-button{margin-top:8px}.class-creation-modal{width:min(100%,560px);min-height:300px;max-height:85vh;border-radius:16px;background:#fff;box-shadow:0 20px 60px #3e486f33;padding:30px;box-sizing:border-box}.class-creation-modal .student-search-input{width:100%;box-sizing:border-box;margin:28px 0 0}.auth-page{min-height:100vh;display:grid;place-items:center;background:#f6f7fb;padding:24px;box-sizing:border-box}.auth-card{width:min(100%,390px);padding:34px;border:1px solid #eef0f5;border-radius:16px;background:#fff;box-shadow:0 18px 50px #4754821a}.auth-brand{margin-bottom:30px}.auth-card h1{margin:0;color:#4e5770;font-size:25px}.auth-subtitle{margin:8px 0 24px;color:#9aa2b3;font-size:12px}.auth-card form{display:grid;gap:12px}.auth-card input{width:100%;box-sizing:border-box;border:1px solid #e5e8f0;border-radius:8px;padding:12px;color:#596277;font:inherit;font-size:12px;outline:none}.auth-card input:focus{border-color:#7182ed}.auth-submit{width:100%;margin-top:4px}.auth-error{margin:0;color:#dc7182;font-size:11px}.auth-switch{display:block;margin:20px auto 0}.empty-page{min-height:240px}.empty-page p{color:var(--muted);margin:12px 0 22px}.nav-section-spacer{display:none}.roster-page,.attendance-page{position:relative;min-height:500px}.roster-toolbar{display:flex;align-items:center;gap:9px;margin:24px 0 12px}.roster-toolbar input{width:245px;border:1px solid #e7eaf2;border-radius:7px;padding:9px 11px;color:var(--ink);outline:none}.roster-toolbar input:focus{border-color:#9aa7f3}.roster-hint{font-size:10px;color:#aeb3c1;margin-left:auto}.student-table{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.student-row{display:grid;grid-template-columns:1.4fr 1fr .7fr .7fr .9fr;align-items:center;min-height:55px;padding:0 16px;border-top:1px solid #f0f1f5;color:#7e879b;font-size:11px}.student-row:first-child{border-top:0}.student-head{min-height:40px;background:#fafbfe;color:#a1a7b6;font-size:10px}.student-row-clickable{cursor:pointer}.student-row-clickable:hover{background:#f8f9ff}.student-edit-form{display:grid;gap:9px;margin:18px 0;text-align:left}.student-edit-form input,.student-edit-form textarea{border:1px solid #e7eaf2;border-radius:7px;padding:9px 10px;font:inherit;font-size:11px}.student-edit-form textarea{min-height:60px;resize:vertical}.student-edit-form div{display:flex;align-items:center;gap:10px}.attendance-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:24px 0}.attendance-summary div{background:#f8f9fc;border-radius:9px;padding:14px 16px}.attendance-summary strong{display:block;font-size:22px;color:#4e5770}.attendance-summary span{display:block;color:#a5aab8;font-size:10px;margin-top:4px}.attendance-summary .present strong{color:#5ab894}.attendance-summary .late strong{color:#e2a05d}.attendance-summary .leave strong{color:#9a7ae6}.attendance-summary .absent strong{color:#db7c78}.attendance-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.attendance-row{display:flex;align-items:center;justify-content:space-between;min-height:61px;padding:0 16px;border-top:1px solid #f0f1f5}.attendance-row:first-child{border-top:0}.attendance-row .student-name small{font-size:9px;color:#aeb3c1;margin-left:4px}.attendance-options{display:flex;gap:6px}.attendance-options button{font-size:10px;border-radius:5px;padding:6px 10px;background:#f5f6f9;color:#979eae}.attendance-options button.selected.present{background:#eaf8f2;color:#52ae88}.attendance-options button.selected.late{background:#fff5e9;color:#dd9756}.attendance-options button.selected.leave{background:#f3efff;color:#9575e3}.attendance-options button.selected.absent{background:#fff0ee;color:#d77671}.leave-history{margin-top:24px}.leave-history h3{font-size:14px;margin:0}.leave-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.leave-row{display:grid;grid-template-columns:1.2fr 1fr 2fr;gap:10px;padding:11px 14px;border-bottom:1px solid #f2f3f7;font-size:11px}.leave-row:last-child{border-bottom:0}.leave-row span,.leave-row small{color:#9da4b3}.todos-page,.homework-page,.scores-page{min-height:500px}.todo-count{font-size:11px;color:#7281e4;background:#eef1ff;padding:7px 9px;border-radius:6px}.todo-create{display:flex;gap:10px;margin:24px 0 15px}.todo-create input,.todo-create select{border:1px solid #e7eaf2;border-radius:7px;padding:10px 12px;outline:none;background:#fff}.todo-create input:first-child{flex:1;min-width:160px}.todo-create select{min-width:92px;color:#50586b}.todo-create input[type=datetime-local]{min-width:190px;color:#50586b}.todo-board{display:grid;gap:8px}.todo-card{display:flex;align-items:center;gap:12px;padding:14px 13px;border:1px solid #eef0f5;border-radius:9px}.todo-card>div{flex:1}.todo-card strong{display:block;font-size:12px}.todo-card span{display:block;font-size:10px;color:#a5aab8;margin-top:5px}.todo-card.done strong{text-decoration:line-through;color:#aeb3bd}.todo-toggle{width:18px;height:18px;border:1px solid #d5d9e2;background:#fff;border-radius:5px;color:#fff;font-size:11px}.todo-toggle.checked{background:#7081ee;border-color:#7081ee}.priority{padding:4px 7px;border-radius:5px;font-size:10px;font-weight:600}.priority-normal{color:#687185;background:#f1f3f7}.priority-medium{color:#b27a15;background:#fff4dc}.priority-high{color:#c84d5b;background:#ffebee}.todo-due-field{display:flex;align-items:center;gap:7px;min-width:230px;border:1px solid #e7eaf2;border-radius:7px;padding:0 10px;background:#fff;cursor:pointer;color:#8a92a3}.todo-due-field:focus-within{border-color:#7182ed;box-shadow:0 0 0 3px #7182ed1a}.todo-due-field span{font-size:11px;white-space:nowrap}.todo-due-field input{min-width:0!important;border:0!important;padding:10px 0!important;cursor:pointer;color:#50586b}@media(max-width:700px){.todo-due-field{width:100%;min-width:0}.todo-due-field input{flex:1}}.homework-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.homework-kpis div{background:#f8f9fc;border-radius:9px;padding:14px}.homework-kpis strong{display:block;font-size:22px}.homework-kpis span{display:block;font-size:10px;color:#a4aab8;margin-top:5px}.homework-kpis .warn strong{color:#df965b}.homework-kpis .good strong{color:#55b48d}.homework-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.homework-row{display:grid;grid-template-columns:1.7fr 1fr 1.1fr .8fr;align-items:center;min-height:62px;padding:0 15px;border-top:1px solid #f0f1f5;color:#838b9d;font-size:10px}.homework-row:first-child{border-top:0}.homework-head{min-height:40px;background:#fafbfe;color:#a2a8b6}.homework-title{display:flex;align-items:center;gap:8px}.homework-title b{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;font-size:10px;background:#f1efff;color:#9578e5}.homework-title b.blue{background:#eef1ff;color:#6879eb}.homework-title b.orange{background:#fff4e8;color:#df9c5e}.homework-title strong{color:#4e5770;font-size:11px}.homework-progress{display:flex;align-items:center;gap:8px}.homework-progress i{width:65px;height:4px;border-radius:4px;background:#f0f1f5;display:block}.homework-progress em{display:block;height:100%;border-radius:4px;background:#967be4}.homework-progress em.blue{background:#7182ed}.homework-progress em.orange{background:#eca867}.submission-panel{margin-top:24px}.submission-panel h3{font-size:14px;margin:0}.submission-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.submission-row{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-bottom:1px solid #f2f3f7}.submission-row:last-child{border-bottom:0}.submission-row span{display:flex;flex-direction:column;gap:3px}.submission-row strong{font-size:11px;color:#4e5770}.submission-row small{font-size:9px;color:#a3a9b7}.submission-row button{border:1px solid #e7eaf2;background:#fff;color:#949baa;border-radius:5px;padding:5px 8px;font-size:10px;margin-left:5px}.submission-row button.selected{border-color:#7182ed;background:#eef1ff;color:#6474dd}.score-overview{display:flex;justify-content:space-between;background:#fafbfe;border-radius:11px;margin:24px 0;padding:22px 25px}.score-main span{font-size:10px;color:#9da4b3}.score-main strong{display:block;font-size:32px;margin:7px 0}.score-main strong small{font-size:11px;color:#9da3b3;font-weight:400}.score-main em{font-size:11px;color:#55b48d;font-style:normal}.score-main p{font-size:10px;color:#a5aab8}.score-bars{display:flex;align-items:flex-end;gap:8px;width:200px;height:92px}.score-bars span{display:block;flex:1;background:#cdd5fb;border-radius:4px 4px 0 0}.score-bars span:last-child{background:#7182ed}.score-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.action-card{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid #eef0f5;border-radius:9px;padding:17px;gap:5px}.action-card b{font-size:21px;color:#7182ed}.action-card strong{font-size:12px}.action-card span{font-size:10px;color:#a6abb9}.score-records-panel{margin:24px 0}.score-records-panel h3{font-size:14px;margin:0}.score-record-count{font-size:10px;color:#7182ed;background:#eef1ff;border-radius:6px;padding:7px 9px}.score-record-table{border:1px solid #eef0f5;border-radius:9px;overflow:auto}.score-record-row{display:grid;grid-template-columns:150px repeat(var(--score-exam-count, 1),minmax(150px,1fr));min-width:650px;border-top:1px solid #f0f1f5}.score-record-row:first-child{border-top:0}.score-record-row>span,.score-record-row>strong{min-height:58px;padding:10px 12px;box-sizing:border-box;border-right:1px solid #f0f1f5;font-size:11px}.score-record-head{background:#fafbfe;color:#a1a7b6;font-size:10px}.score-record-head>span{min-height:45px}.score-record-head small,.score-record-row>strong small{display:block;margin-top:4px;color:#a4aab8;font-size:9px;font-weight:400}.score-record-row>strong{display:flex;flex-direction:column;justify-content:center;color:#4e5770}.score-record-cell{display:flex;flex-direction:column;gap:4px}.score-record-cell b{color:#6879e8;font-size:13px}.score-record-cell small{color:#8f98aa;font-size:9px;line-height:1.5}.score-record-cell i{color:#b2b8c4;font-style:normal;font-size:10px}.score-analysis{margin:24px 0}.score-analysis .panel-header{margin-bottom:12px}.score-analysis h3{font-size:14px;margin:0}.score-analysis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.score-analysis-card{display:flex;flex-direction:column;gap:7px;border:1px solid #eef0f5;border-radius:9px;padding:14px}.score-analysis-card strong{font-size:12px}.score-analysis-card span{font-size:18px;color:#7182ed}.score-analysis-card small{font-size:10px;color:#9da4b3}.score-progress{margin:24px 0}.score-progress h3{font-size:14px;margin:0}.progress-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.progress-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;padding:11px 14px;border-bottom:1px solid #f2f3f7;font-size:11px}.progress-row:last-child{border-bottom:0}.progress-row span{color:#9da4b3}.progress-up{color:#55b48d}.progress-down{color:#e17d88}.notice-compose{display:grid;gap:9px;margin:24px 0}.notice-compose input,.notice-compose textarea{border:1px solid #e7eaf2;border-radius:7px;padding:10px 12px;outline:none;font:inherit;font-size:11px}.notice-compose textarea{min-height:72px;resize:vertical}.notice-board{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.notice-card{border:1px solid #eef0f5;border-radius:9px;padding:15px}.notice-card-top{display:flex;align-items:center;gap:7px;font-size:10px;color:#9ca4b4}.notice-card-top small{margin-left:auto}.notice-card h3{font-size:12px;margin:14px 0 7px}.notice-card p{font-size:10px;line-height:1.7;color:#9299aa;min-height:35px;margin:0}.notice-read{display:flex;align-items:center;gap:8px;margin-top:15px;color:#8e96a8;font-size:10px}.notice-read i{height:4px;width:70px;background:#f0f1f5;border-radius:4px;display:block}.notice-read em{display:block;height:100%;background:#7585ed;border-radius:4px}.tools-page{min-height:500px}.tool-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:35px}.tool-cards .action-card{min-height:125px}.tool-tip{margin-top:25px;background:#f8f9fc;color:#9ca4b3;padding:13px;border-radius:7px;font-size:10px}.duty-create{display:flex;gap:9px;margin:24px 0}.duty-create select,.duty-create input{border:1px solid #e7eaf2;border-radius:7px;padding:9px 10px;font:inherit;font-size:11px}.duty-create input{flex:1}.duty-list{border:1px solid #eef0f5;border-radius:9px;overflow:hidden}.duty-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center;padding:13px 15px;border-bottom:1px solid #f2f3f7;font-size:11px}.duty-row:last-child{border-bottom:0}.duty-row span{color:#9da4b3}.seating-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}.seating-card{display:grid;gap:7px;border:1px solid #eef0f5;border-radius:9px;padding:13px}.seating-card strong{font-size:12px}.seating-card span{font-size:10px;color:#9da4b3}.seating-card div{display:flex;gap:6px}.seating-card input{width:50%;border:1px solid #e7eaf2;border-radius:5px;padding:6px;font-size:10px}.schedule-settings{display:grid;grid-template-columns:1fr 1.6fr;gap:12px;margin-top:24px}.schedule-setting-block{border:1px solid #eef0f5;border-radius:9px;padding:14px}.schedule-setting-block>strong{font-size:12px;color:#4e5770}.schedule-setting-block p{font-size:10px;color:#9da4b3;margin:5px 0 10px}.schedule-setting-input{width:100%;box-sizing:border-box;border:1px solid #e7eaf2;border-radius:7px;padding:9px 10px;font:inherit;font-size:11px;outline:none}.schedule-setting-title{display:flex;justify-content:space-between;align-items:center}.schedule-setting-title span{font-size:10px;color:#7182ed}.schedule-period-settings{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.schedule-period-setting{display:flex;align-items:center;gap:5px;background:#fafbfe;border-radius:6px;padding:6px 7px;font-size:10px;color:#737c91}.schedule-period-setting input{border:1px solid #e7eaf2;border-radius:4px;padding:4px;font-size:10px;color:#596277}.schedule-setting-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px}.schedule-grid{display:grid;grid-template-columns:100px repeat(5,1fr);gap:1px;background:#eef0f5;border:1px solid #eef0f5;margin-top:24px;overflow:auto}.schedule-grid-head,.schedule-grid-period{background:#fafbfe;padding:12px 8px;text-align:center;font-size:11px;color:#737c91}.schedule-grid-period{display:flex;flex-direction:column;gap:4px}.schedule-grid-period small{font-size:9px;color:#a3a9b7}.schedule-grid-cell{min-height:68px;border:0;background:#fff;padding:9px;display:flex;flex-direction:column;gap:5px}.schedule-grid-cell:hover{background:#f1f3ff}.schedule-grid-cell strong{font-size:11px;color:#4e5770}.schedule-grid-cell small{font-size:9px;color:#a3a9b7}.dashboard-score-chart{height:190px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:20px 10px 8px;background:#fafbfe;border-radius:9px}.dashboard-score-bar{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.dashboard-score-bar span{width:65%;min-height:8px;background:#7182ed;border-radius:5px 5px 0 0}.dashboard-score-bar small{font-size:9px;color:#9da4b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70px}.dashboard-score-bar b{font-size:9px;color:#7182ed}.schedule-day-calendar{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:24px}.schedule-day-card{min-height:250px;border:1px solid #eef0f5;border-radius:10px;background:#fff;padding:14px;text-align:left;display:flex;flex-direction:column;gap:8px;cursor:pointer}.schedule-day-card:hover{background:#f8f9ff;border-color:#cfd5fb}.schedule-day-card>strong{font-size:14px;color:#4e5770;padding-bottom:5px;border-bottom:1px solid #f0f1f5}.schedule-day-lesson{display:flex;align-items:center;gap:7px;font-size:10px;color:#798297}.schedule-day-lesson b{width:38px;color:#a0a7b5;font-weight:500}.schedule-day-card em{margin-top:auto;font-size:10px;color:#7887e8;font-style:normal}.schedule-day-modal{width:min(680px,calc(100vw - 32px));max-height:86vh;overflow:auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 60px #25345a33}.schedule-modal-period{border:1px solid #eef0f5;border-radius:9px;padding:12px;margin-top:10px}.schedule-modal-period-title{display:flex;align-items:center;gap:10px}.schedule-modal-period-title strong{font-size:12px;color:#4e5770}.schedule-modal-period-title span{font-size:10px;color:#9da4b3}.schedule-subject-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.schedule-subject-options button{border:1px solid #e7eaf2;border-radius:6px;background:#fff;color:#7b8496;padding:7px 10px;font-size:10px;cursor:pointer}.schedule-subject-options button.selected{border-color:#7182ed;background:#eef1ff;color:#6172df}.schedule-subject-options button span{margin-right:4px}.schedule-subject-options .schedule-subject-empty{color:#a3a9b7}.schedule-room-input{width:150px;box-sizing:border-box;margin-top:10px;border:1px solid #e7eaf2;border-radius:6px;padding:7px 9px;font-size:10px;outline:none}.calendar-month-actions{display:flex;align-items:center;gap:12px}.schedule-calendar-toolbar{margin-top:24px;margin-bottom:0}.schedule-calendar-toolbar>div{display:flex;align-items:center;gap:10px}.schedule-calendar-toolbar span{font-size:10px;color:#9da4b3}.schedule-date-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#e9ecf3;border:1px solid #e9ecf3;margin-top:12px}.schedule-date-weekday{background:#f8f9fc;padding:10px;text-align:center;color:#8790a4;font-size:12px}.schedule-date-cell{min-height:112px;border:0;background:#fff;text-align:left;padding:8px;display:flex;flex-direction:column;gap:5px;cursor:pointer}.schedule-date-cell:hover{background:#f1f3ff}.schedule-date-cell.empty{background:#fafbfc;cursor:default}.schedule-date-cell strong{font-size:13px;color:#596277}.schedule-date-cell span{font-size:10px;color:#6678e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-date-cell em{margin-top:auto;font-size:9px;color:#9da4b3;font-style:normal}.schedule-day-modal{display:flex;flex-direction:column;max-height:min(720px,calc(100vh - 32px));overflow:hidden}.schedule-day-modal>.panel-header{flex:0 0 auto}.schedule-modal-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.schedule-day-modal>.modal-actions{position:sticky;bottom:0;z-index:2;flex:0 0 auto;background:#fff;border-top:1px solid #eef0f5;padding:14px 0 0;margin-top:14px}.duty-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#e9ecf3;border:1px solid #e9ecf3}.duty-calendar-weekday{background:#f8f9fc;padding:10px;text-align:center;color:#8790a4;font-size:12px}.duty-calendar-day{min-height:92px;border:0;background:#fff;text-align:left;padding:8px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.duty-calendar-day:hover,.duty-calendar-day.selected{background:#f1f3ff}.duty-calendar-day.empty{background:#fafbfc;cursor:default}.duty-calendar-day.weekend{background:#f3f6fb}.duty-calendar-day.holiday{background:#fff8f5}.duty-calendar-day.makeup{background:#f5f0ff}.duty-calendar-day strong{font-size:13px;color:#596277}.calendar-holiday{font-size:10px;color:#e58b6d;font-style:normal}.duty-calendar-day.makeup .calendar-holiday{color:#8666c8}.duty-calendar-day span{font-size:11px;color:#6678e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.duty-selected-date{margin-top:22px}.duty-student-modal{width:min(460px,calc(100vw - 32px));max-height:80vh;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 60px #25345a33}.student-search-input{width:100%;box-sizing:border-box;margin:0 0 12px;padding:11px 12px;border:1px solid #e2e6ef;border-radius:8px;outline:none}.duty-student-options{max-height:330px;overflow:auto;border:1px solid #edf0f5;border-radius:8px}.duty-student-option{display:flex;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #f0f2f6;cursor:pointer}.duty-student-option:last-child{border-bottom:0}.duty-student-option input{accent-color:#6879ed}.duty-student-option small{margin-left:auto;color:#9ba3b3}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.exam-form{display:grid;gap:12px;margin-top:6px}.exam-form label{display:grid;gap:7px;color:#737c91;font-size:11px}.exam-form input{width:100%;box-sizing:border-box;border:1px solid #e7eaf2;border-radius:7px;padding:10px 11px;color:#596277;font:inherit;outline:none}.exam-form input:focus{border-color:#7182ed}.student-add-modal{width:min(620px,calc(100vw - 32px));max-height:86vh;overflow:auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 60px #25345a33}.student-add-modal .student-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.student-add-modal .student-edit-form label{display:grid;gap:7px;padding:11px 12px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe;color:#737c91;font-size:11px}.student-add-modal .student-edit-form label>span{color:#596277;font-weight:600}.student-add-modal .student-edit-form input,.student-add-modal .student-edit-form textarea{width:100%;box-sizing:border-box;background:#fff}.student-add-modal .student-edit-form .student-edit-note{grid-column:1 / -1}@media(max-width:700px){.student-add-modal .student-edit-form{grid-template-columns:1fr;gap:9px}.student-add-modal .student-edit-form .student-edit-note{grid-column:auto}}.duty-task-select{max-width:118px;border:1px solid #e2e6ef;border-radius:6px;padding:5px;color:#596277;font-size:10px;background:#fff}.duty-task-custom-input{width:118px;box-sizing:border-box;border:1px solid #e2e6ef;border-radius:6px;padding:5px 7px;color:#596277;font:inherit;font-size:10px;outline:none}.duty-task-custom-input:focus{border-color:#7182ed}.duty-task-settings-input{min-height:110px;resize:vertical}.duty-task-settings-button{border:1px solid #6879ed;border-radius:8px;background:#6879ed;color:#fff;padding:8px 12px;font:inherit;font-size:11px;font-weight:600;cursor:pointer;box-shadow:0 4px 10px #6879ed33;transition:background .2s,border-color .2s,transform .2s}.duty-task-settings-button:hover{background:#596be0;border-color:#596be0;transform:translateY(-1px)}@media(max-width:700px){.duty-student-option{flex-wrap:wrap}.duty-task-select,.duty-task-custom-input{flex:1 1 105px;max-width:none;min-width:0}.duty-student-option small{margin-left:auto}}@media(max-width:1100px){.main-content-body{padding-left:25px;padding-right:25px}}@media(max-width:700px){.main-content-body{padding:23px 16px 35px}.roster-hint{display:none}.roster-toolbar input{width:100%}.student-row{grid-template-columns:1.2fr 1fr .6fr}.student-row>:nth-child(4),.student-row>:nth-child(5){display:none}.attendance-summary{gap:5px}.attendance-summary div{padding:10px 7px}.attendance-summary strong{font-size:18px}.attendance-options{gap:3px}.attendance-options button{padding:5px 6px;font-size:9px}.homework-kpis{grid-template-columns:repeat(2,1fr)}.homework-row{grid-template-columns:1.4fr 1fr}.homework-row>:nth-child(3),.homework-row>:nth-child(4){display:none}.score-overview{padding:17px}.score-bars{width:120px}.score-actions,.tool-cards,.notice-board,.schedule-settings{grid-template-columns:1fr}.schedule-period-settings{display:grid;grid-template-columns:1fr 1fr}.schedule-setting-actions{flex-wrap:wrap}.schedule-grid{min-width:650px}.schedule-day-calendar{grid-template-columns:1fr}.schedule-day-card{min-height:0}.schedule-day-modal{padding:17px}.schedule-room-input{width:100%}.schedule-date-calendar{grid-template-columns:repeat(7,minmax(42px,1fr));overflow:auto}.schedule-date-cell{min-height:78px}.schedule-calendar-toolbar span{display:none}}@media(max-width:900px){.attendance-summary{grid-template-columns:repeat(3,1fr)}.homework-kpis,.score-analysis-grid,.seating-grid,.tool-cards{grid-template-columns:repeat(2,1fr)}.notice-board,.schedule-settings{grid-template-columns:1fr}.leave-row{grid-template-columns:1fr 1fr 1.5fr}}@media(max-width:700px){.main-content-body{padding:18px 10px 28px}.roster-toolbar,.duty-create,.todo-create{flex-wrap:wrap}.roster-toolbar input,.todo-create input,.duty-create input{width:100%;min-width:0;flex:1 1 100%}.roster-toolbar .small-button{margin-left:auto}.roster-hint{display:none}.student-table,.attendance-list,.homework-list,.submission-list,.leave-list,.progress-list{overflow-x:auto}.student-row{min-width:520px;grid-template-columns:1.4fr 1fr .7fr .7fr .9fr}.attendance-row{min-width:480px}.attendance-summary{grid-template-columns:repeat(2,1fr);gap:8px}.attendance-summary div{padding:11px 10px}.attendance-summary strong{font-size:19px}.attendance-options{flex-wrap:wrap;justify-content:flex-end}.leave-row{min-width:480px}.homework-row{min-width:560px;grid-template-columns:1.4fr 1fr 1fr .7fr}.homework-kpis{grid-template-columns:repeat(2,1fr);gap:8px}.homework-kpis div{padding:11px}.homework-kpis strong{font-size:19px}.submission-row{min-width:480px}.score-overview{display:block;padding:16px}.score-main strong{font-size:28px}.score-bars{width:100%;margin-top:18px}.score-actions,.tool-cards,.notice-board,.schedule-settings,.score-analysis-grid{grid-template-columns:1fr}.score-analysis-card{padding:12px}.progress-row{min-width:420px}.score-progress,.score-analysis{overflow-x:auto}.notice-compose .primary-button{width:100%}.notice-card{min-width:0}.duty-row{grid-template-columns:1fr auto;min-width:360px}.duty-row span{grid-column:1}.seating-grid{grid-template-columns:1fr;gap:8px}.seating-card div{flex-wrap:wrap}.seating-card input{flex:1;min-width:80px}.schedule-settings{gap:8px}.schedule-period-settings{display:grid;grid-template-columns:1fr 1fr}.schedule-period-setting{min-width:0;flex-wrap:wrap}.schedule-period-setting input{width:100%;min-width:0}.schedule-setting-actions{justify-content:flex-start;flex-wrap:wrap}.schedule-date-calendar{overflow-x:auto}.schedule-date-calendar,.duty-calendar{min-width:560px}.schedule-day-modal{width:min(680px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:15px}.schedule-modal-scroll{padding-right:0}.schedule-subject-options{gap:5px}.schedule-subject-options button{padding:6px 8px}.schedule-room-input{width:100%}.modal-actions{flex-wrap:wrap}.modal-actions .primary-button,.modal-actions .text-button{min-height:34px}}@media(max-width:420px){.attendance-summary,.homework-kpis{grid-template-columns:1fr 1fr}.schedule-period-settings{grid-template-columns:1fr}.schedule-date-calendar,.duty-calendar{min-width:500px}.schedule-day-modal{padding:12px}.schedule-modal-period{padding:10px}.schedule-modal-period-title{justify-content:space-between}.schedule-modal-period-title span{font-size:9px}}@media(max-width:700px){.attendance-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:16px 0}.attendance-summary div{min-width:0;padding:9px 3px;text-align:center}.attendance-summary strong{font-size:18px}.attendance-summary span{font-size:9px;white-space:nowrap}}@media(max-width:420px){.attendance-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.attendance-summary div{padding:8px 2px}.attendance-summary strong{font-size:16px}.attendance-summary span{font-size:8px}}.attendance-page>.panel-header{position:relative}.attendance-date-input{height:38px;box-sizing:border-box;border:1px solid #dfe4f0;border-radius:9px;background:#fafbff;color:#596277;padding:0 10px;font:inherit;font-size:12px;outline:none;accent-color:#6879ed;box-shadow:0 2px 8px #414f910d}.attendance-date-input:focus{border-color:#7182ed;background:#fff;box-shadow:0 0 0 3px #7182ed1f}.attendance-date-input::-webkit-calendar-picker-indicator{width:16px;height:16px;margin-left:5px;cursor:pointer;opacity:.65}.date-input-clean:not(.has-value)::-webkit-datetime-edit,.date-input-clean:not(.has-value)::-webkit-datetime-edit-fields-wrapper,.date-input-clean:not(.has-value)::-webkit-datetime-edit-text,.date-input-clean:not(.has-value)::-webkit-datetime-edit-month-field,.date-input-clean:not(.has-value)::-webkit-datetime-edit-day-field,.date-input-clean:not(.has-value)::-webkit-datetime-edit-year-field,.date-input-clean:not(.has-value)::-webkit-datetime-edit-hour-field,.date-input-clean:not(.has-value)::-webkit-datetime-edit-minute-field{color:transparent}.date-input-clean{cursor:pointer}@media(max-width:700px){.attendance-page>.panel-header{min-height:58px;padding-right:0}.attendance-page>.panel-header>div:first-child{padding-right:150px}.attendance-page>.panel-header>div:first-child p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attendance-page>.panel-header>.panel-actions{position:absolute;top:0;right:0;display:flex;align-items:center;gap:4px;margin:0}.attendance-page>.panel-header>.panel-actions .attendance-date-input{width:130px;min-width:0;padding:0 5px;font-size:12px}.attendance-page>.panel-header>.panel-actions .primary-button{padding:9px 6px;font-size:10px}.attendance-list{overflow-x:hidden}.attendance-row{min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:12px 8px}.attendance-row .student-name{min-width:0;overflow:hidden}.attendance-row .student-name strong{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attendance-options{min-width:0;gap:3px;flex-wrap:nowrap}.attendance-options button{padding:5px 4px;font-size:8px;white-space:nowrap}}@media(max-width:420px){.attendance-page>.panel-header>div:first-child{padding-right:150px}.attendance-page>.panel-header>.panel-actions .attendance-date-input{width:120px;font-size:11px}.attendance-page>.panel-header>.panel-actions .primary-button{padding:9px 5px;font-size:9px}.attendance-options button{padding:5px 3px;font-size:7px}}.schedule-page-header{margin-bottom:16px}.schedule-page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.schedule-week-day{min-width:0;min-height:250px;padding:10px;border:1px solid #edf0f6;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}.schedule-week-day:hover{border-color:#cbd3ff;box-shadow:0 5px 16px #5b6cda1a;transform:translateY(-1px)}.schedule-week-day.today{border-color:#7182ed;background:#f8f9ff;box-shadow:0 5px 16px #5b6cda1a}.schedule-week-day-title{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid #eef0f5}.schedule-week-day-title strong{color:#5668df;font-size:12px}.schedule-week-day-title small{color:#a0a8b8;font-size:9px}.schedule-week-segment{margin-top:11px}.schedule-week-segment-title{display:flex;align-items:center;gap:6px;margin-bottom:5px;color:#68769c;font-size:11px;font-weight:800;letter-spacing:.04em}.schedule-week-segment-title:before{content:"";width:4px;height:15px;border-radius:3px;background:#7182ed}.schedule-week-segment-title.schedule-week-segment-morning{color:#4f63dc}.schedule-week-segment-title.schedule-week-segment-morning:before{background:#4f63dc}.schedule-week-segment-title.schedule-week-segment-afternoon{color:#d48735}.schedule-week-segment-title.schedule-week-segment-afternoon:before{background:#ed9b48}.schedule-week-segment-title.schedule-week-segment-evening{color:#7565c5}.schedule-week-segment-title.schedule-week-segment-evening:before{background:#7565c5}.schedule-week-lesson{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin-top:5px;padding:8px;border:0;border-radius:7px;background:#f1f3ff;color:#596be0;text-align:left;cursor:pointer}.schedule-week-lesson b{font-size:8px;color:#8994b3;font-weight:500}.schedule-week-lesson span{margin-top:2px;font-size:14px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.schedule-week-lesson small{margin-top:2px;color:#9ca5ba;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.schedule-week-empty{width:100%;margin-top:18px;padding:14px 4px;border:1px dashed #dfe4ef;border-radius:7px;background:#fff;color:#a2aaba;font-size:10px;line-height:1.6;cursor:pointer}.schedule-week-empty small{color:#7182ed}.schedule-calendar-modal{width:min(760px,calc(100vw - 32px));max-height:88vh;overflow:auto;padding:22px;border-radius:14px;background:#fff;box-shadow:0 18px 60px #25345a33}.schedule-calendar-modal>.schedule-calendar-toolbar{margin:12px 0 0}.schedule-calendar-modal-grid{margin-top:10px}@media(max-width:900px){.schedule-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:700px){.schedule-page-header{align-items:flex-start}.schedule-page-actions{gap:5px}.schedule-page-actions .primary-button,.schedule-page-actions .text-button{padding:8px 9px;font-size:10px}.schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.schedule-week-day{min-height:180px;padding:8px}.schedule-calendar-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:14px}.schedule-calendar-modal .schedule-date-calendar{grid-template-columns:repeat(7,minmax(0,1fr))}}@media(max-width:420px){.schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-week-day{min-height:160px}.schedule-config-highlight{padding:11px}.schedule-calendar-modal{padding:10px}}.schedule-date-calendar,.duty-calendar{gap:6px;background:transparent;border:0;margin-top:16px}.schedule-date-weekday,.duty-calendar-weekday{padding:9px 6px;border:0;border-radius:8px;background:#f3f5fb;color:#77829b;font-size:11px;font-weight:600}.schedule-date-cell,.duty-calendar-day{min-height:104px;border:1px solid #edf0f6;border-radius:10px;background:#fff;padding:9px;box-shadow:0 2px 8px #3f4e870a;transition:background .2s,border-color .2s,transform .2s}.schedule-date-cell:hover,.duty-calendar-day:hover{border-color:#cbd3ff;background:#f8f9ff;transform:translateY(-1px)}.schedule-date-cell.empty,.duty-calendar-day.empty{border-color:transparent;background:#f8f9fc;box-shadow:none}.schedule-date-cell strong,.duty-calendar-day strong{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#f1f3ff;color:#596be0;font-size:12px}.schedule-date-cell.selected,.duty-calendar-day.selected{border-color:#7182ed;background:#f4f5ff;box-shadow:0 4px 14px #5d6ee024}.schedule-date-cell.selected strong,.duty-calendar-day.selected strong{background:#6879ed;color:#fff}.schedule-date-cell.weekend,.duty-calendar-day.weekend{background:#f7f9fd}.schedule-date-cell.holiday,.duty-calendar-day.holiday{background:#fff9f5}.schedule-date-cell.makeup,.duty-calendar-day.makeup{background:#f8f4ff}.schedule-date-cell span,.duty-calendar-day span{display:block;padding:4px 6px;border-radius:5px;background:#f0f3ff;color:#6475db;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-date-cell em,.duty-calendar-day em{margin-top:auto}@media(max-width:700px){.schedule-date-calendar,.duty-calendar{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;width:100%;gap:3px;margin-top:12px}.schedule-date-weekday,.duty-calendar-weekday{padding:7px 2px;border-radius:6px;font-size:9px}.schedule-date-cell,.duty-calendar-day{min-height:78px;padding:5px;border-radius:7px;box-shadow:none;gap:3px}.schedule-date-cell strong,.duty-calendar-day strong{width:21px;height:21px;font-size:10px}.schedule-date-cell span,.duty-calendar-day span{padding:3px 2px;font-size:7px;line-height:1.2}.schedule-date-cell em,.duty-calendar-day em,.schedule-date-cell .calendar-holiday,.duty-calendar-day .calendar-holiday{font-size:7px}}@media(max-width:420px){.schedule-date-cell,.duty-calendar-day{min-height:68px;padding:4px}.schedule-date-cell strong,.duty-calendar-day strong{width:19px;height:19px;font-size:9px}}.schedule-date-cell.weekend{background:#f3f6fb}.schedule-date-cell.holiday{background:#fff8f5}.schedule-date-cell.makeup{background:#f5f0ff}.schedule-date-cell .calendar-holiday{margin-top:0;font-size:10px;color:#e58b6d}.schedule-date-cell.makeup .calendar-holiday{color:#8666c8}.seating-board-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;margin-top:24px}.seating-unassigned{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #eef0f5;border-radius:10px;background:#fafbfe}.seating-unassigned>strong{font-size:12px;color:#4e5770;margin-bottom:4px}.seating-student-chip{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #dfe4f2;border-radius:8px;background:#fff;padding:9px 10px;color:#4e5770;font:inherit;font-size:11px;cursor:grab;text-align:left}.seating-student-chip:active,.seating-occupant:active{cursor:grabbing}.seating-student-chip small{font-size:9px;color:#9da4b3}.seating-board{min-width:0;padding:14px;border:1px solid #eef0f5;border-radius:10px;background:#fafbfe}.seating-board-label{width:42%;margin:0 auto 18px;padding:7px;border-radius:5px;background:#e9edff;color:#6879e8;text-align:center;font-size:11px}.seating-cells{display:grid;grid-template-columns:repeat(6,minmax(70px,1fr));gap:10px}.seating-cell{min-height:78px;border:1px dashed #cfd6e5;border-radius:8px;background:#fff;padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.seating-cell:hover{border-color:#7182ed;background:#f5f6ff}.seating-position{font-size:9px;color:#b0b6c4}.seating-occupant{border:0;border-radius:6px;background:#eef1ff;color:#5f70df;padding:8px 7px;font:inherit;font-size:11px;cursor:grab}.seating-empty{font-size:9px;color:#b7bdc9}.seating-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.seating-layout-summary{margin-top:16px;padding:10px 12px;border-radius:7px;background:#fafbfe;color:#8d96a8;font-size:10px}.seating-settings-modal{max-height:80vh}.seating-layout-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:6px}.seating-layout-form label{display:grid;gap:7px;color:#737c91;font-size:11px}.seating-layout-form input{width:100%;box-sizing:border-box;border:1px solid #e7eaf2;border-radius:7px;padding:10px 11px;color:#596277;font:inherit;outline:none}.seating-layout-form input:focus{border-color:#7182ed}.seating-settings-tip{margin:16px 0 0}@media(max-width:900px){.seating-board-layout{grid-template-columns:1fr}.seating-unassigned{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.seating-unassigned>strong,.seating-unassigned>.tool-tip{grid-column:1/-1}.seating-cells{grid-template-columns:repeat(6,minmax(60px,1fr));overflow:auto}.seating-cell{min-width:60px}}@media(max-width:700px){.seating-unassigned{grid-template-columns:repeat(2,minmax(0,1fr))}.seating-board{overflow-x:visible;padding:8px}.seating-cells{min-width:0;gap:4px}.seating-cell{min-width:0;min-height:58px;padding:4px;gap:4px}.seating-position{font-size:7px}.seating-occupant{max-width:100%;overflow:hidden;font-size:9px;padding:5px 3px}.seating-occupant small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.seating-layout-form{grid-template-columns:1fr}}.seating-occupant{display:flex;flex-direction:column;align-items:center;gap:3px}.seating-occupant small{font-size:8px;color:#8290d8;white-space:nowrap}.history-reason-input{min-width:0;flex:1;border:1px solid #e7eaf2;border-radius:6px;padding:7px 9px;color:#596277;font:inherit;font-size:10px;outline:none}.history-reason-input:focus{border-color:#7182ed}.late-history{margin-top:18px}.roster-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px;color:#8992a6;font-size:12px}.roster-pagination label{display:flex;align-items:center;gap:5px}.roster-pagination select{border:1px solid #e3e7f0;border-radius:6px;padding:5px 8px;background:#fff;color:#596277}.score-record-cell{cursor:pointer}.score-record-cell:hover{background:#f5f6ff}.score-editor-modal{max-height:86vh}.score-editor-list{display:grid;gap:8px;max-height:360px;overflow-y:auto;margin-top:6px}.score-editor-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}.score-editor-row input{width:100%;box-sizing:border-box;border:1px solid #e7eaf2;border-radius:7px;padding:9px 10px;color:#596277;font:inherit;font-size:11px;outline:none}.score-editor-row input:focus{border-color:#7182ed}.score-editor-add{margin-top:12px}.score-preview{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;margin:24px 0}.score-total-preview,.score-subject-preview{border:1px solid #eef0f5;border-radius:9px;background:#fafbfe;padding:16px}.score-total-preview{display:flex;flex-direction:column;justify-content:center}.score-total-preview>span,.score-preview-title span{font-size:10px;color:#9da4b3}.score-total-preview strong{margin:9px 0 5px;color:#4e5770;font-size:28px}.score-total-preview strong small{font-size:11px;color:#9da4b3;font-weight:400}.score-total-preview em{font-size:10px;color:#7182ed;font-style:normal}.score-preview-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.score-preview-title strong{font-size:13px;color:#4e5770}.score-subject-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.score-subject-preview-card{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #eef0f5;border-radius:7px;background:#fff}.score-subject-preview-card strong{font-size:11px;color:#4e5770}.score-subject-preview-card b{font-size:18px;color:#7182ed}.score-subject-preview-card small{font-size:9px;color:#9da4b3}@media(max-width:900px){.score-preview{grid-template-columns:1fr}.score-subject-preview-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.score-subject-preview-grid{grid-template-columns:repeat(2,1fr)}}.score-record-total-row{background:#f8f9ff}.score-record-total-row>strong{color:#586be0}.score-record-total-row .score-record-cell b{color:#586be0}.schedule-settings-modal{height:min(760px,calc(100vh - 32px));max-height:calc(100vh - 32px);padding:0;box-sizing:border-box}.schedule-settings-modal>.panel-header{flex:0 0 auto;padding:22px 22px 14px}.schedule-settings-modal>.schedule-modal-scroll{padding:0 22px 4px}.schedule-settings-modal>.modal-actions{flex:0 0 auto;padding:14px 22px 18px;margin:0;border-top:1px solid #eef0f5;background:#fff}@media(max-width:700px){.schedule-settings-modal{height:calc(100vh - 24px);max-height:calc(100vh - 24px);border-radius:14px 14px 0 0}.schedule-settings-modal>.panel-header{padding:16px 15px 12px}.schedule-settings-modal>.schedule-modal-scroll{padding:0 15px 4px}.schedule-settings-modal>.modal-actions{padding:12px 15px calc(12px + env(safe-area-inset-bottom))}}@media(max-width:700px){.schedule-date-calendar{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;width:100%;overflow:visible}.schedule-date-weekday{padding:6px 2px;font-size:9px}.schedule-date-cell{min-width:0;min-height:74px;padding:4px;gap:3px}.schedule-date-cell strong{font-size:10px}.schedule-date-cell span{font-size:8px;white-space:normal;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.schedule-date-cell em,.schedule-date-cell .calendar-holiday{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:420px){.schedule-date-calendar{min-width:0}.schedule-date-cell{min-height:66px;padding:3px}.schedule-date-cell span{font-size:7px}.schedule-date-weekday{font-size:8px}}.score-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0;padding:12px;border:1px solid #eef0f5;border-radius:8px;background:#fafbfe}.score-filter-bar strong{margin-right:3px;font-size:11px;color:#596277}.score-filter-bar input,.score-filter-bar select{min-width:92px;border:1px solid #e5e8f0;border-radius:6px;padding:7px 8px;background:#fff;color:#596277;font:inherit;font-size:11px;outline:none}.score-filter-bar input:first-of-type{min-width:150px}.score-filter-bar input:focus,.score-filter-bar select:focus{border-color:#7182ed}@media(max-width:700px){.score-filter-bar{align-items:stretch}.score-filter-bar input,.score-filter-bar select{flex:1;min-width:120px}.score-filter-bar strong{width:100%}}.profile{position:relative}.profile-menu{position:absolute;right:0;bottom:42px;z-index:30;display:grid;min-width:145px;padding:8px;border:1px solid #eef0f5;border-radius:9px;background:#fff;box-shadow:0 12px 28px #444e7124}.profile-menu span{padding:6px 8px;color:#9aa2b3;font-size:10px}.profile-menu button{padding:8px;border-radius:6px;background:transparent;color:#596277;text-align:left;font-size:11px}.profile-menu button:hover{background:#f0f2ff;color:#6879e8}@media(max-width:700px){.profile .icon-button{display:block}.profile-menu{left:36px;right:auto;bottom:0}}.score-excel-table .score-record-cell{display:table-cell}.score-excel-table .score-highlighted-exam{background:#fff3d9;color:#9a6812}.score-excel-table tbody tr:nth-child(2n) .score-highlighted-exam{background:#ffefc7}.score-excel-table .score-highlighted-exam:hover{background:#ffe5a3}.score-import-modal{width:min(100%,520px)}.score-import-exam-list{display:grid;gap:8px;max-height:48vh;overflow:auto;padding:4px 0}.score-import-exam-option{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e8ebf3;border-radius:9px;background:#fff;cursor:pointer}.score-import-exam-option.selected{border-color:#6879e8;background:#f1f3ff}.score-import-exam-option input{accent-color:#6879e8}.score-import-exam-option span{display:flex;flex:1;justify-content:space-between;gap:12px}.score-import-exam-option small{color:#8992a6}.homework-create-modal{width:min(100%,520px)}.homework-create-modal textarea{min-height:88px;resize:vertical}.submission-panel{display:flex;flex-direction:column;max-height:min(62vh,560px);overflow:hidden;border:1px solid #eef0f5;border-radius:10px;background:#fff}.submission-panel>.panel-header{flex-shrink:0;margin:0;padding:14px 16px;border-bottom:1px solid #eef0f5;background:#fafbfe}.submission-panel>.submission-list{flex:1;min-height:0;max-height:none;overflow:auto;border:0;border-radius:0}.homework-list>.submission-panel{margin:0;border-left:0;border-right:0;border-radius:0}.homework-row-clickable{cursor:pointer}.homework-row-clickable:hover{background:#f8f9ff}.score-excel-table-wrap{overflow:auto;margin-top:16px;border:1px solid #e5e8f0;border-radius:9px}.score-excel-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;background:#fff;font-size:11px}.score-excel-table th,.score-excel-table td{min-width:82px;padding:10px 12px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5;text-align:center;white-space:nowrap}.score-excel-table thead th{background:#f7f8fc;color:#596277;font-weight:600}.score-excel-table thead tr:first-child th{background:#eef1ff;color:#586be0}.score-excel-table thead th:first-child,.score-excel-table tbody th{position:sticky;left:0;z-index:2;background:#fff}.score-excel-table thead th:first-child{background:#eef1ff;z-index:3}.score-excel-table thead small{display:block;margin-top:4px;color:#8992a6;font-size:9px;font-weight:400}.score-excel-table tbody th{text-align:left;color:#4e5770}.score-excel-table tbody tr:nth-child(2n) td,.score-excel-table tbody tr:nth-child(2n) th{background:#fbfcfe}.score-excel-table .score-record-cell{cursor:pointer;color:#586be0;font-weight:600}.score-excel-table .score-record-cell:hover{background:#eef1ff}.score-excel-table .score-total-cell{background:#f8f9ff;color:#586be0}.score-excel-table tr>*:last-child{border-right:0}.score-excel-table tbody tr:last-child>*{border-bottom:0}.score-table-mobile-hint{display:none}.homework-row{grid-template-columns:1.7fr 1fr 1.1fr}@media(max-width:700px){.score-excel-table-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x}.score-table-mobile-hint{display:block;margin:0;padding:8px 10px;border-bottom:1px solid #edf0f5;background:#fafbfe;color:#8992a6;font-size:10px;text-align:right;white-space:nowrap}.score-excel-table{min-width:max-content}.score-excel-table th,.score-excel-table td{min-width:76px;padding:10px 9px}.score-excel-table th:first-child,.score-excel-table tbody th{min-width:72px}.homework-page{overflow:visible}.homework-list{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.homework-row{grid-template-columns:1.4fr 1fr 1fr}.homework-row{touch-action:pan-x}.homework-row .text-button{min-width:92px}.submission-panel{min-width:560px}}.roster-page .student-detail{position:static;top:auto;right:auto;width:auto;max-width:none;margin:16px 0 0;padding:18px;background:#fff;border:1px solid #e9ebf3;border-radius:12px;box-shadow:none}.roster-page .student-detail-inline{display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:14px;row-gap:3px;align-items:center;position:relative}.student-detail-inline>.avatar{grid-column:1;grid-row:1 / span 2}.student-detail-inline>h3{grid-column:2;margin:0;font-size:15px;line-height:1.35}.student-detail-inline>p{grid-column:2;margin:0;color:#9ca3b1;font-size:10px}.student-detail-inline>.detail-fields{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0;padding-top:12px;border-top:1px solid #f0f1f5}.student-detail-inline>.detail-fields span{padding:9px 10px;border-radius:8px;background:#fafbfe}.student-detail-inline>.detail-fields strong{margin-top:5px}.student-detail-inline>button.primary-button{grid-column:3;grid-row:1 / span 2;white-space:nowrap}.student-detail-inline>.student-edit-form{grid-column:1 / -1;width:100%;margin:12px 0 0;padding-top:12px;border-top:1px solid #f0f1f5}@media(max-width:700px){.roster-page .student-detail-inline{grid-template-columns:40px minmax(0,1fr) auto;padding:14px}.student-detail-inline>.detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.student-detail-inline>button.primary-button{padding:0 10px;font-size:11px}}@media(max-width:420px){.roster-page .student-detail-inline{grid-template-columns:36px minmax(0,1fr);column-gap:10px}.student-detail-inline>button.primary-button{grid-column:1 / -1;grid-row:auto;width:100%;margin-top:8px}.student-detail-inline>.detail-fields{grid-column:1 / -1}}.roster-page .student-detail-inline{grid-template-columns:minmax(0,1fr) auto}.student-detail-inline>.avatar{display:none}.student-detail-inline>h3,.student-detail-inline>p{grid-column:1}.student-detail-inline>button.primary-button{grid-column:2}.student-detail-inline>.detail-fields span{color:#8d96a8;font-size:10px}.student-detail-inline>.detail-fields strong{display:inline;margin-left:3px;color:#4e5770;font-size:11px}.student-detail-inline>.detail-fields strong:before{content:": ";color:#b0b6c2}@media(max-width:700px){.roster-page .student-detail-inline{grid-template-columns:minmax(0,1fr) auto}}@media(max-width:420px){.roster-page .student-detail-inline{grid-template-columns:1fr}.student-detail-inline>button.primary-button{grid-column:1}}.student-row-clickable .student-name .avatar{display:none}.student-detail-inline>.detail-collapse{grid-column:2;grid-row:1;justify-self:end;align-self:start;padding:3px 0;min-height:0}.student-detail-inline>h3{grid-row:1}.student-detail-inline>p{grid-row:2}.student-detail-inline>.detail-fields{grid-row:3}.student-detail-inline>button.primary-button{grid-column:2;grid-row:4;justify-self:end;margin-top:10px}@media(max-width:420px){.student-detail-inline>.detail-collapse{grid-column:1;grid-row:1;justify-self:end}.student-detail-inline>h3{grid-row:2}.student-detail-inline>p{grid-row:3}.student-detail-inline>.detail-fields{grid-row:4}.student-detail-inline>button.primary-button{grid-column:1;grid-row:5;justify-self:stretch}}.student-detail-inline .student-edit-form label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:10px;color:#8d96a8;font-size:10px}.student-detail-inline .student-edit-form label>span{white-space:nowrap}.student-detail-inline .student-edit-form input,.student-detail-inline .student-edit-form textarea{min-width:0}.student-detail-inline .student-edit-form .student-edit-note{align-items:start}.student-detail-inline .student-edit-form .student-edit-note textarea{min-height:72px}@media(max-width:420px){.student-detail-inline .student-edit-form label{grid-template-columns:88px minmax(0,1fr);gap:7px}}.student-detail-inline>.detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.student-detail-inline>.detail-fields span{display:flex;flex-direction:column;gap:5px;padding:10px 11px;color:#8d96a8;background:#f8f9fc;font-size:10px}.student-detail-inline>.detail-fields strong{display:block;margin:0;color:#4e5770;font-size:12px;font-weight:600}.student-detail-inline>.detail-fields strong:before{content:none}.student-detail-inline .student-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.student-detail-inline .student-edit-form label{display:block;padding:10px 11px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe;color:#8d96a8;font-size:10px}.student-detail-inline .student-edit-form label>span{display:block;margin-bottom:7px;color:#8d96a8}.student-detail-inline .student-edit-form input,.student-detail-inline .student-edit-form textarea{width:100%;box-sizing:border-box;background:#fff}.student-detail-inline .student-edit-form .student-edit-note,.student-detail-inline .student-edit-form>div{grid-column:1 / -1}@media(max-width:700px){.student-detail-inline>.detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.student-detail-inline .student-edit-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.student-detail-inline .student-edit-form label{padding:8px}.student-detail-inline .student-edit-form label>span{margin-bottom:5px}.student-detail-inline .student-edit-form .student-edit-note,.student-detail-inline .student-edit-form>div{grid-column:1 / -1}}@media(max-width:420px){.student-detail-inline>.detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats-grid .stat-card{min-width:0;padding:12px 10px}.bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bottom-grid .panel+.panel{margin-top:0}.bottom-grid .panel{min-width:0;padding:14px 11px}}@media(max-width:420px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card .stat-footer{font-size:9px}}.attendance-row .student-name .avatar{display:none}.student-table,.attendance-list,.submission-list,.duty-student-options,.seating-unassigned,.score-excel-table-wrap,.leave-list{max-height:600px;overflow:auto;-webkit-overflow-scrolling:touch}.attendance-list{max-height:620px}.submission-list{max-height:520px}.duty-student-options{max-height:440px}.seating-unassigned{max-height:520px}.seating-unassigned{position:relative}.seating-unassigned>strong{position:sticky;top:0;z-index:3;display:block;min-height:22px;padding:2px 0 8px;background:#fff;box-sizing:border-box}.seating-unassigned>.student-search-input{position:sticky;top:30px;z-index:3;background:#fff;margin-top:0}.seating-unassigned-header{position:sticky;top:0;z-index:5;grid-column:1 / -1;display:flex;flex-direction:column;gap:6px;padding:2px 0 9px;background:#fafbfe}.seating-unassigned-header strong{min-height:20px;color:#4e5770;font-size:12px}.seating-unassigned-header .student-search-input{width:100%;box-sizing:border-box;margin:0}.seating-student-chip,.seating-occupant{touch-action:none}.seating-drag-source{opacity:.35;transform:scale(.96)}.seating-drag-preview{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%);min-width:86px;padding:9px 12px;border:1px solid #cdd5ff;border-radius:10px;background:#fff;box-shadow:0 12px 28px #36469633;color:#25304a}.seating-drag-preview strong,.seating-drag-preview small{display:block}.seating-drag-preview small{margin-top:3px;color:#8b94a8;font-size:10px}.score-excel-table-wrap{max-height:600px}.score-excel-table thead th{position:sticky;top:0;z-index:4}.score-excel-table thead th:first-child{z-index:5}.submission-panel>.submission-list{max-height:520px}.student-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:#7b879b}.student-pagination .small-button{padding:5px 9px}@media(max-width:700px){.student-table,.attendance-list,.submission-list,.leave-list{max-height:560px;overflow:auto}.seating-unassigned{max-height:480px;overflow:auto}.score-excel-table-wrap{max-height:560px;overflow:auto}.submission-panel>.submission-list{max-height:480px}}.seating-unassigned-panel{min-width:0;max-height:520px;display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #eef0f5;border-radius:10px;background:#fafbfe}.seating-unassigned-panel>.seating-unassigned{min-height:0;max-height:none;overflow:auto;padding:0;border:0;background:transparent}.seating-unassigned-panel>.seating-unassigned-header{position:static;flex:none;padding:0;background:transparent}@media(max-width:900px){.seating-unassigned-panel>.seating-unassigned{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.seating-unassigned-panel{max-height:480px;padding:10px}.seating-unassigned-panel>.seating-unassigned{max-height:none;overflow:auto;grid-template-columns:repeat(2,minmax(0,1fr))}}.schedule-week-segment-title.schedule-week-segment-morning{color:#2f9b68}.schedule-week-segment-title.schedule-week-segment-morning:before{background:#2f9b68}.dashboard-schedule-segment{margin-top:9px}.dashboard-schedule-segment:first-child{margin-top:0}.dashboard-schedule-segment-title{display:flex;align-items:center;gap:5px;margin-bottom:3px;font-size:10px;font-weight:800}.dashboard-schedule-segment-title:before{content:"";width:3px;height:12px;border-radius:3px;background:#7565c5}.dashboard-schedule-morning{color:#2f9b68}.dashboard-schedule-morning:before{background:#2f9b68}.dashboard-schedule-afternoon{color:#d48735}.dashboard-schedule-afternoon:before{background:#ed9b48}.dashboard-schedule-evening{color:#7565c5}.dashboard-duty-list{display:flex;flex-direction:column;gap:8px}.dashboard-duty-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #f0f1f5}.dashboard-duty-row:last-child{border-bottom:0}.dashboard-duty-row strong{font-size:12px;color:#4e5770}.dashboard-duty-row span{font-size:10px;color:#8993a8}.dashboard-duty-row b{padding:3px 6px;border-radius:5px;background:#fff4e5;color:#d48735;font-size:9px;font-weight:600}.dashboard-duty-row b.completed{background:#eaf8f0;color:#2f9b68}
