:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7fb}button,input,textarea,select{font:inherit}button{cursor:pointer}.center{min-height:100vh;display:grid;place-items:center}.brand{height:82px;display:flex;align-items:center;gap:12px;padding:0 25px;font-size:23px;white-space:nowrap}.brand .star{display:grid;place-items:center;width:45px;height:45px;background:#2f6bff;color:#ffd52a;font-size:22px;clip-path:polygon(50% 0,62% 32%,98% 35%,70% 57%,79% 94%,50% 73%,21% 94%,30% 57%,2% 35%,38% 32%)}.brand.compact{height:auto;padding:0}.card{background:#fff;border:1px solid #e7ebf2;border-radius:15px;box-shadow:0 6px 18px #2f6bff0f}.loading-card,.mobile-loading{min-height:260px;display:grid;place-items:center}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.page-heading h1{margin:0;font-size:34px;letter-spacing:-1px}.page-heading p{margin:8px 0 0;color:#7a8597}.heading-actions{display:flex;gap:12px}.back{border:0;background:none;display:flex;gap:6px;align-items:center;color:#667085;margin-bottom:12px}.back svg{width:18px}.login-page{height:100vh;min-height:720px;display:grid;grid-template-columns:250px minmax(420px,1fr) minmax(470px,1fr);position:relative;overflow:hidden;background:radial-gradient(circle at 96% 8%,#e8f2ff 0,transparent 23%),linear-gradient(135deg,#fbfdff,#edf4ff)}.login-side{background:#fff;border-right:1px solid #e7ebf2;z-index:2}.side-active{margin:28px 20px;background:linear-gradient(135deg,#1265f8,#438efa);color:#fff;border-radius:11px;padding:17px 20px;font-size:19px}.login-hero{padding:190px 50px 60px;position:relative}.login-hero>.brand{display:none}.login-hero h1{font-size:46px;color:#0d2852;margin:20px 0 15px}.login-hero p{white-space:pre-line;color:#5e7392;font-size:23px;line-height:1.8;max-width:460px}.school-illustration{position:absolute;inset:auto 20px 60px;color:#b6d7ff;font-size:80px;text-align:center}.school-illustration span{display:block;font-size:210px;filter:opacity(.32)}.login-card{align-self:center;margin-right:11vw;max-width:540px;background:#fffffff0;border:1px solid #e5eaf2;border-radius:18px;padding:55px 52px;display:flex;flex-direction:column;gap:18px;box-shadow:0 18px 50px #224c8a1f;z-index:1}.login-card h2{text-align:center;font-size:32px;margin:0}.login-card>p{text-align:center;color:#7b8799;margin:-8px 0 20px}.login-card label{font-weight:600;margin-bottom:-8px}.login-card .ant-input-affix-wrapper{height:58px}.login-card .ant-btn{height:58px;font-size:20px;margin-top:4px}.login-card small{text-align:center;color:#8a97aa}.teacher-login{display:block;max-width:430px;min-height:100vh;height:auto;margin:auto;background:linear-gradient(180deg,#edf6ff,#f9fcff);overflow:auto}.teacher-login .login-hero{padding:65px 36px 185px;min-height:450px}.teacher-login .login-hero>.brand{display:flex;padding:0;justify-content:center}.teacher-login .login-hero h1{font-size:43px;margin:70px 0 10px}.teacher-login .login-hero p{font-size:21px}.teacher-login .school-illustration{right:10px;left:auto;bottom:10px}.teacher-login .school-illustration span{font-size:150px}.teacher-login .login-card{margin:-145px 20px 50px;padding:42px 24px;position:relative}.teacher-login .login-card h2,.teacher-login .login-card>p{display:none}.admin-shell{min-height:100vh;display:flex}.sidebar{width:240px;background:#fff;border-right:1px solid #e6eaf0;position:fixed;inset:0 auto 0 0;z-index:10}.sidebar nav{display:flex;flex-direction:column;gap:5px;padding:24px 15px}.sidebar nav a{display:flex;align-items:center;gap:14px;padding:15px 22px;border-radius:10px;color:#202632;text-decoration:none;font-size:17px}.sidebar nav a svg{color:#7b879b}.sidebar nav a.active{color:#fff;background:linear-gradient(135deg,#1265f8,#438efa);box-shadow:0 7px 14px #2f6bff38}.sidebar nav a.active svg{color:#fff}.sidebar-school{position:absolute;bottom:35px;left:0;right:0;text-align:center;color:#bcd8ff}.sidebar-school span{display:block;font-size:85px;filter:opacity(.38)}.admin-main{margin-left:240px;min-width:0;flex:1}.topbar{height:80px;background:#fff;border-bottom:1px solid #e6eaf0;display:flex;justify-content:space-between;align-items:center;padding:0 32px;position:sticky;top:0;z-index:9}.admin-user{display:flex;gap:13px;align-items:center}.admin-user i{height:22px;width:1px;background:#d9dee7}.admin-user button{border:0;background:none}.avatar{width:38px;height:38px;border-radius:50%;background:#e7f1ff;display:grid;place-items:center;flex:none}.avatar.big{width:50px;height:50px;font-size:30px}.admin-content{padding:28px;max-width:1600px;margin:auto}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.metrics-grid.five{grid-template-columns:repeat(5,1fr)}.metric{background:#fff;border:1px solid #e5eaf2;border-radius:14px;min-height:130px;padding:23px;display:flex;align-items:center;gap:18px;box-shadow:0 5px 18px #2342720f}.metric-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#1d6cf8,#378cf9);font-size:25px}.metric.green .metric-icon{background:linear-gradient(135deg,#1ca463,#49c785)}.metric.orange .metric-icon{background:linear-gradient(135deg,#ff7925,#ffad3e)}.metric.purple .metric-icon{background:linear-gradient(135deg,#7740dd,#a365ef)}.metric label{display:block;color:#364152}.metric strong{display:block;font-size:36px;color:#2f6bff;margin-top:3px}.metric.green strong{color:#22a06b}.metric.orange strong{color:#f57c22}.metric.purple strong{color:#8447e8}.metric small{font-size:15px;margin-left:5px;color:#263142}.dashboard-grid{display:grid;grid-template-columns:1.12fr 1fr .95fr;gap:18px}.dashboard-grid>.card{padding:20px;min-height:480px}.card h2{font-size:20px;margin:0 0 18px}.progress-row{display:grid;grid-template-columns:80px 60px 1fr 55px 65px;align-items:center;gap:10px;color:#182234;text-decoration:none;border-top:1px solid #edf0f5;padding:22px 5px}.progress-row em{color:#ff7c2d;font-style:normal}.project-row{display:grid;grid-template-columns:90px 1fr 55px;gap:10px;align-items:center;margin:26px 0}.todo-card p{margin:22px 0;font-size:16px}.todo-card p b{font-size:26px;color:#fa7625}.quick-grid{border-top:1px dashed #dce2eb;padding-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-grid a{border:1px solid #dfe5ee;padding:14px;text-align:center;border-radius:8px;text-decoration:none;color:#28364d}.filter-card{background:#fff;border:1px solid #e5eaf2;border-radius:13px;padding:18px;margin-bottom:20px;display:flex;gap:14px;align-items:center}.filter-card>*{min-width:170px}.filter-card .ant-input-affix-wrapper{max-width:320px}.table-card{padding:0;overflow:hidden}.ant-table-wrapper .ant-table{font-size:14px}.ant-table-cell small,.student-check-grid small{display:block;color:#8a93a2;margin-top:4px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions button,.category-groups button{border:0;background:none;color:#2f6bff;padding:0}.detail-summary{padding:28px;display:grid;grid-template-columns:repeat(5,1fr);gap:22px;margin-bottom:20px}.assignment{padding:26px}.assignment>p{color:#667085}.student-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;max-height:480px;overflow:auto}.student-check-grid .ant-checkbox-wrapper{padding:15px;background:#f8faff;border:1px solid #e4eaf3;border-radius:10px;align-items:flex-start}.student-check-grid .ant-checkbox+span{display:block}.daily-table-wrap{overflow:auto;max-height:calc(100vh - 320px)}.daily-table{border-collapse:separate;border-spacing:0;min-width:1500px;width:100%}.daily-table th,.daily-table td{border-right:1px solid #e9edf3;border-bottom:1px solid #e9edf3;padding:13px 10px;text-align:center;background:#fff}.daily-table thead th{position:sticky;top:0;background:#f9fbfe;z-index:2}.daily-table th:first-child{position:sticky;left:0;z-index:3}.daily-table th small{display:block;color:#8792a4}.blue-number{color:#2f6bff;font-size:19px}.score-selector{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.score{min-width:44px;height:38px;border:1px solid #cbd5e5;border-radius:7px;background:#fff;font-weight:700}.score-10,.score-100{border-color:#8bd9ad;color:#19975c}.score-8,.score-80{border-color:#9fc5ff;color:#2873df}.score-5,.score-60,.score-40{border-color:#ffc486;color:#ee7a12}.score-0{border-color:#ffb4b7;color:#e5484d}.not-participated{min-width:64px;color:#687386;background:#f1f3f6;border-color:#e1e5eb}.score.selected{color:#fff;background:#2f6bff;border-color:#2f6bff;box-shadow:0 2px 8px #2f6bff4d}.score-10.selected,.score-100.selected{background:#22a06b;border-color:#22a06b}.score-8.selected,.score-80.selected{background:#2f6bff}.score-5.selected,.score-60.selected,.score-40.selected{background:#ff8d2d;border-color:#ff8d2d}.score-0.selected{background:#e5484d;border-color:#e5484d}.not-participated.selected{background:#7b8493;border-color:#7b8493}.score-selector.compact{justify-content:center;min-width:245px}.score-selector.compact .score{min-width:32px;height:31px;font-size:12px}.score-selector.compact .not-participated{min-width:52px}.score-list{padding:20px}.student-score-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:16px}.student-score-row>div:first-child{width:180px}.student-score-row small{display:block;color:#8792a4}.fixed-scores{padding:13px;background:#f4f7fc;border-radius:8px;margin-bottom:20px}.ledger-filter{flex-wrap:wrap}.ledger-list{display:flex;flex-direction:column;gap:14px}.ledger-card{display:grid;grid-template-columns:90px 42px 110px 100px 80px 1fr 70px;gap:15px;align-items:center;background:#fff;border:1px solid #e5eaf2;border-radius:13px;padding:17px 22px;box-shadow:0 4px 12px #2342720d}.ledger-card time{white-space:pre-line}.ledger-card strong{font-size:25px;color:#22a06b}.ledger-card strong.zero{color:#e5484d}.ledger-card p{margin:0;color:#4b5667}.category-groups{display:flex;flex-direction:column;gap:18px}.category-groups .card{padding:20px}.category-groups h2 i{display:inline-block;width:11px;height:11px;border-radius:50%;background:#2f6bff}.category-groups table{border-collapse:collapse;width:100%}.category-groups th,.category-groups td{border:1px solid #e5eaf2;padding:13px;text-align:left}.category-groups th{background:#f8faff}.change-password{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(180deg,#edf5ff,#f8fbff)}.change-password .card{width:min(420px,100%);padding:30px;display:flex;flex-direction:column;gap:16px}.change-password h1{font-size:24px;margin:0}.change-password p{color:#667085}.mobile-shell{width:390px;max-width:100%;min-height:100vh;margin:auto;background:#f7f9fc;position:relative;box-shadow:0 0 35px #20385f1f}.mobile-content{padding-bottom:76px;min-height:100vh}.mobile-nav{position:fixed;bottom:0;width:390px;max-width:100%;height:68px;padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #e2e6ed;z-index:20}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:#657083;font-size:11px;gap:4px}.mobile-nav a svg{width:20px}.mobile-nav a.active{color:#2f6bff;font-weight:700}.mobile-header{height:55px;background:#fff;display:grid;grid-template-columns:50px 1fr 50px;align-items:center;border-bottom:1px solid #e4e8ef;position:sticky;top:0;z-index:10}.mobile-header h1{font-size:17px;text-align:center;margin:0}.mobile-header button{border:0;background:none;display:grid;place-items:center}.mobile-header>small{color:#22a06b}.home-hero{background:linear-gradient(135deg,#1f6bf6,#4b92ff);color:#fff;padding:20px 14px 0;border-radius:0 0 26px 26px;margin-bottom:55px}.home-hero>div:first-child{display:flex;align-items:center;gap:10px}.home-hero>div:first-child p{flex:1;margin:0}.home-hero>div:first-child p small{display:block;margin-top:5px}.home-summary{background:#fff;color:#1d2839;border-radius:10px;transform:translateY(42px);display:grid;grid-template-columns:repeat(3,1fr);padding:15px 10px 10px;box-shadow:0 7px 20px #1b489121}.home-summary>div{text-align:center;border-right:1px solid #edf0f4}.home-summary>div:nth-child(3){border:0}.home-summary small{display:block;color:#7c8798;font-size:11px}.home-summary b{font-size:19px}.home-summary a{grid-column:1/-1;background:#2f6bff;color:#fff;text-align:center;padding:10px;border-radius:6px;text-decoration:none;margin-top:12px}.green{color:#22a06b!important}.red{color:#e5484d!important}.mobile-card{background:#fff;border:1px solid #e5e9f0;border-radius:10px;margin:10px 12px;padding:13px}.mobile-card h2{font-size:15px;margin:0 0 10px}.mobile-card h2 a{float:right;font-size:11px;color:#8a94a4;text-decoration:none}.mini-progress{display:grid;grid-template-columns:1fr 55px 60px;align-items:center;font-size:12px;padding:6px 0}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;background:#fff;border:1px solid #e4e8ef;border-radius:10px;margin:10px 12px;padding:12px 7px}.feature-grid a{display:flex;flex-direction:column;align-items:center;gap:6px;color:#222e40;text-decoration:none;font-size:11px}.feature-grid svg{width:24px;color:#2f6bff}.pending a{display:flex;align-items:center;justify-content:space-between;color:#374151;text-decoration:none;font-size:12px;padding:8px 0;border-top:1px solid #f0f2f6}.pending svg{width:15px}.success-empty{color:#22a06b;text-align:center}.daily-mobile-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#fff}.daily-mobile-head .ant-input{width:145px;font-size:12px}.daily-mobile-head b{color:#2f6bff;font-size:12px}.category-tabs{display:flex;overflow:auto;background:#fff;padding:0 10px;border-bottom:1px solid #e9edf2}.category-tabs button{flex:none;border:0;background:none;padding:12px 10px;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.category-tabs button.active{color:#2f6bff;border-bottom-color:#2f6bff}.mobile-actions{display:flex;gap:8px;padding:10px 12px}.mobile-actions .ant-btn{font-size:12px}.score-cards{background:#fff}.student-score-card{display:grid;grid-template-columns:82px 1fr;align-items:center;border-bottom:1px solid #edf0f4;padding:11px 12px;position:relative;min-height:75px}.student-mini{display:flex;gap:7px;align-items:center}.student-mini .avatar{width:30px;height:30px}.student-mini p{margin:0}.student-mini b,.student-mini small{display:block;font-size:12px}.student-mini small{color:#8490a2;margin-top:3px}.student-score-card .score-selector{gap:5px;flex-wrap:nowrap}.student-score-card .score{min-width:32px;height:31px;font-size:11px}.student-score-card .not-participated{min-width:48px;padding:0 4px}.student-score-card>small{position:absolute;right:12px;bottom:1px;font-size:9px}.save-ok{color:#22a06b}.save-error{color:#e5484d}.bottom-progress{margin:14px 12px;background:#fff;border-radius:10px;padding:12px;position:relative;overflow:hidden}.bottom-progress span{font-size:11px;position:relative;z-index:1}.bottom-progress i{position:absolute;height:3px;bottom:0;left:0;background:#2f6bff}.mobile-form{background:#fff;padding:12px}.mobile-form h3{font-size:13px;margin:15px 0 9px}.mobile-form h3 i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#2f6bff;color:#fff;font-style:normal;font-size:11px}.mobile-form h3 em{float:right;color:#22a06b;font-style:normal;font-size:11px}.student-select-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.student-select-grid .ant-checkbox-wrapper{background:#f8faff;border:1px solid #e1e7f0;border-radius:7px;padding:8px;display:grid;grid-template-columns:16px 30px 1fr;align-items:center}.student-select-grid .ant-checkbox+span{display:contents}.student-select-grid .avatar{width:27px;height:27px;font-size:14px}.student-select-grid b,.student-select-grid small{font-size:11px}.student-select-grid small{color:#8490a2}.mobile-form .ant-segmented{font-size:11px;margin-bottom:8px}.standalone-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.mobile-form>.ant-btn{margin-top:18px}.recent-extra p,.recent-records p{display:grid;grid-template-columns:48px 1fr 1fr 45px;align-items:center;font-size:11px;margin:8px 0}.recent-extra b,.recent-records b{color:#22a06b}.exam-list a{display:grid;grid-template-columns:1fr auto 15px;gap:6px;padding:12px 2px;border-bottom:1px solid #edf0f4;text-decoration:none;color:#1d2839}.exam-list a small{grid-row:2;display:block;color:#8390a1}.exam-list svg{grid-row:1/3;grid-column:3;width:15px;align-self:center}.exam-banner{margin:10px 12px;padding:14px;background:linear-gradient(135deg,#f2f7ff,#fff);border:1px solid #dce8fb;border-radius:10px}.exam-banner b,.exam-banner small,.exam-banner span{display:block}.exam-banner small{color:#718095;margin:7px 0}.exam-banner span{font-size:11px;color:#2f6bff}.exam-scores .student-score-card{grid-template-columns:75px 1fr}.exam-scores .score{min-width:30px}.exam-scores .not-participated{min-width:45px}.student-list-head{background:#fff;padding:10px 12px}.student-list-head>b{display:block;font-size:16px}.student-list-head>b small{display:block;font-weight:400;font-size:11px;margin:4px 0}.student-list-head .ant-input-affix-wrapper{margin-bottom:8px}.mobile-student-list{padding:8px 12px}.mobile-student-list a{display:grid;grid-template-columns:38px 1fr 55px 62px 14px;align-items:center;gap:7px;background:#fff;border:1px solid #e5e9f0;border-radius:9px;padding:12px 9px;margin-bottom:8px;color:#1d2839;text-decoration:none}.mobile-student-list p{margin:0}.mobile-student-list p b,.mobile-student-list p small,.mobile-student-list div small,.mobile-student-list div b{display:block;font-size:11px}.mobile-student-list p small,.mobile-student-list div small{color:#8692a2}.mobile-student-list svg{width:14px}.student-title{text-align:center;background:#fff;padding:10px}.student-title b,.student-title small{display:block}.student-title small{color:#7d899a;font-size:11px}.student-total-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#fff;padding:8px 12px}.student-total-grid div{background:#f7f9fc;border-radius:8px;padding:9px 3px;text-align:center}.student-total-grid small,.student-total-grid b{display:block;font-size:10px}.student-total-grid b{color:#2f6bff;font-size:15px}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.source-grid h2{grid-column:1/-1}.source-grid div{text-align:center;border-right:1px solid #edf0f4}.source-grid span,.source-grid b{display:block;font-size:11px}.today-performance>div{display:grid;grid-template-columns:repeat(3,1fr)}.today-performance p{text-align:center;font-size:11px;border-right:1px solid #edf0f4}.today-performance span,.today-performance b{display:block}.student-detail-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 12px}.student-detail-actions .ant-btn{height:48px;font-size:11px}.profile-card{background:linear-gradient(180deg,#eef5ff,#fff);margin:12px;border:1px solid #dfe8f6;border-radius:12px;padding:15px}.profile-card>div{display:flex;align-items:center;gap:10px}.profile-card>div p{margin:0;flex:1}.profile-card p b,.profile-card p small{display:block}.profile-card p small{color:#748196;margin-top:4px}.profile-card dl{background:#fff;border-radius:9px;padding:10px;margin:12px 0 0}.profile-card dl div{display:flex;justify-content:space-between;font-size:12px;padding:5px}.settings-list{background:#fff;border:1px solid #e3e8ef;border-radius:10px;margin:12px;overflow:hidden}.settings-list a,.settings-list button{width:100%;display:grid;grid-template-columns:25px 1fr 18px;align-items:center;color:#263245;text-decoration:none;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:13px;text-align:left;font-size:13px}.settings-list svg{width:16px}.settings-list .logout{color:#e5484d}.permission-note{margin:12px;background:#fff7e9;border:1px solid #ffe1ae;border-radius:8px;padding:13px;color:#8d642a;font-size:11px;line-height:1.7}.operation-list p{display:grid;grid-template-columns:1fr 60px 90px;gap:8px;border-bottom:1px solid #edf0f4;padding:10px 0;font-size:11px}.operation-list time{color:#7c8797}.import-preview{max-height:340px;overflow:auto;margin:14px 0}.import-preview p{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f4;padding:9px 0;margin:0}.import-preview span{color:#667085;text-align:right}.mobile-actions{flex-wrap:wrap}.leave-hint{color:#667085;font-size:13px;line-height:1.6}.leave-select-all{display:flex;align-items:center;justify-content:space-between;margin:14px 0 4px}.leave-select-all>span{color:#22a06b;font-size:12px}.leave-student-grid{max-height:360px;overflow:auto}.leave-student-grid .ant-checkbox-wrapper{display:flex;grid-template-columns:none;align-items:center;min-width:0;padding:9px}.leave-student-grid .ant-checkbox+span{display:block;min-width:0;flex:1}.leave-student-main{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px;min-width:0}.leave-student-copy{display:block;min-width:0}.leave-student-copy b,.leave-student-copy small{display:block;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leave-student-copy b{font-size:12px}.leave-student-copy small{font-size:11px;color:#8490a2}.leave-empty{text-align:center;color:#98a2b3;padding:30px 0}@media(max-width:1180px){.dashboard-grid{grid-template-columns:1fr 1fr}.todo-card{grid-column:1/-1}.metrics-grid.five,.detail-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.admin-shell{min-width:1180px}.login-page:not(.teacher-login){grid-template-columns:190px 1fr}.login-page:not(.teacher-login) .login-card{position:absolute;width:470px;right:20px;margin:0}.login-hero{padding-left:30px}.mobile-shell,.mobile-nav{width:100%}}@media(max-width:480px){.leave-student-grid{grid-template-columns:1fr;max-height:350px}.leave-student-grid .ant-checkbox-wrapper{padding:8px 10px}.leave-student-copy b{font-size:13px}}@media(max-width:360px){.student-score-card{grid-template-columns:70px 1fr;padding-left:8px;padding-right:8px}.student-score-card .score-selector{gap:3px}.student-score-card .score{min-width:29px}.student-score-card .not-participated{min-width:43px}.feature-grid{margin-left:7px;margin-right:7px}.mobile-student-list a{grid-template-columns:35px 1fr 50px 55px 12px;padding-left:6px;padding-right:6px}}.source-grid,.student-detail-actions{grid-template-columns:repeat(2,1fr)}.negative{color:#e5484d!important}.admin-student-balance{display:flex;align-items:center;gap:16px}.admin-student-balance span{color:#667085}.admin-student-balance b{color:#2f6bff;font-size:20px}.redemption-balance{display:flex;align-items:center;justify-content:space-between;background:#fff7e9;border:1px solid #ffe1ae;border-radius:9px;padding:13px 15px;margin-bottom:16px}.redemption-balance span{color:#8d642a}.redemption-balance b{color:#e5484d;font-size:20px}.redemption-field{display:block;margin:14px 0}.redemption-field>span{display:block;font-weight:600;margin-bottom:7px}.redemption-field .ant-input-number{width:100%}.redemption-result{text-align:right;background:#f5f7fb;border-radius:8px;padding:10px;color:#667085}.redemption-result b{color:#2f6bff}.metrics-grid.six{grid-template-columns:repeat(6,1fr)}.admin-student-balance{flex-wrap:wrap;justify-content:flex-end}.initial-points-warning{background:#fff7e9;border:1px solid #ffe1ae;border-radius:8px;padding:12px;color:#8d642a;line-height:1.6;font-size:13px}@media(max-width:1380px){.metrics-grid.six{grid-template-columns:repeat(3,1fr)}}.metrics-grid.class-metrics{grid-template-columns:repeat(3,1fr)}.setup-warning{display:flex;align-items:center;justify-content:space-between;background:#fff7e9;border:1px solid #ffe1ae;border-radius:10px;padding:14px 18px;margin-bottom:18px;color:#8d642a}.setup-warning a{color:#2f6bff;font-weight:700;text-decoration:none}.not-applicable{display:inline-block;color:#a6adba;font-size:12px;white-space:nowrap}.metrics-grid.seven{grid-template-columns:repeat(7,1fr)}.pet-panel{padding:22px;margin-bottom:20px;overflow:hidden;background:linear-gradient(145deg,#fff,#f7f5ff)}.pet-loading{display:grid;place-items:center;min-height:180px}.pet-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pet-section-title h2{margin:0 0 5px}.pet-section-title p{margin:0;color:#747f91;font-size:13px}.pet-sprite{position:relative;background-image:url(/pets/pet-atlas-v1.png);background-repeat:no-repeat;background-size:200% 200%;border-radius:24px;flex:none;box-shadow:inset 0 0 0 1px #6153b417,0 9px 24px #4a389621}.pet-sprite.large{width:210px;height:210px}.pet-sprite.small{width:108px;height:108px;border-radius:18px}.pet-sprite.level-2{filter:saturate(1.05)}.pet-sprite.level-3{filter:saturate(1.1) drop-shadow(0 0 8px #ffd56a)}.pet-sprite.level-4,.pet-sprite.level-5{filter:saturate(1.15) drop-shadow(0 0 12px #a58bff)}.pet-outfit{position:absolute;right:4%;top:2%;font-size:44px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.18))}.pet-level-badge{position:absolute;left:8px;bottom:8px;background:linear-gradient(135deg,#6e5ff8,#8c73ff);color:#fff;padding:4px 9px;border-radius:999px;font-size:12px;box-shadow:0 4px 10px #5140c24d}.pet-hero{display:flex;align-items:center;gap:28px;margin:20px 0;padding:18px;background:linear-gradient(135deg,#fff3d8,#f0ecff);border-radius:20px}.pet-hero-copy{flex:1;min-width:0}.pet-hero-copy>span{font-size:12px;color:#7469d6}.pet-hero-copy h3{font-size:25px;margin:3px 0}.pet-hero-copy p,.pet-hero-copy small{color:#747f91}.pet-block{border-top:1px solid #e9e5f4;padding-top:17px;margin-top:18px}.pet-block>h3{font-size:16px;margin:0 0 12px}.pet-food-grid,.pet-outfit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pet-food-grid button,.pet-outfit-grid button{border:1px solid #e2dff0;background:#fff;border-radius:13px;padding:14px 10px;display:grid;gap:4px;text-align:left;cursor:pointer}.pet-food-grid button>span,.pet-outfit-grid button>span{font-size:25px}.pet-food-grid button small,.pet-outfit-grid button small{color:#7f8898}.pet-food-grid button:disabled,.pet-outfit-grid button:disabled{opacity:.5;cursor:not-allowed}.pet-outfit-grid{grid-template-columns:repeat(5,1fr)}.pet-outfit-grid button.selected{border-color:#7566f4;background:#f1efff;box-shadow:0 0 0 2px #7566f41f}.pet-max-note{color:#21a26a;background:#ebfbf3;border-radius:8px;padding:9px}.pet-atlas-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.pet-atlas-grid>button,.pet-atlas-grid>div{border:1px solid #e1deee;background:#fff;border-radius:16px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;color:#273146}.pet-atlas-grid>button{cursor:pointer}.pet-atlas-grid>button.selected,.pet-atlas-grid>div.owned{border-color:#7566f4;background:#f1efff;box-shadow:0 0 0 2px #7566f41f}.pet-atlas-grid small{color:#7d8796;font-size:11px;line-height:1.4}.pet-atlas-grid.compact{margin-bottom:0}.pet-adopt-row{display:flex;gap:10px}.pet-adopt-row .ant-input-affix-wrapper{flex:1}.pet-feed-confirm{display:flex;align-items:center;gap:12px}.pet-feed-confirm>span{font-size:42px}.pet-feed-confirm p{margin:0}.pet-feed-history p{display:grid;grid-template-columns:170px 1fr 90px 80px;gap:10px;align-items:center;border-bottom:1px solid #eeeaf5;padding:9px 0;margin:0;font-size:12px}.pet-feed-history em{font-style:normal;color:#e5484d}.pet-feed-history small{color:#7f8998}.mobile-shell .pet-panel{margin:10px 12px;padding:14px}.mobile-shell .pet-section-title p{font-size:11px}.mobile-shell .pet-hero{gap:12px;padding:10px;margin:12px 0}.mobile-shell .pet-sprite.large{width:128px;height:128px;border-radius:17px}.mobile-shell .pet-hero-copy h3{font-size:19px}.mobile-shell .pet-hero-copy p,.mobile-shell .pet-hero-copy small{font-size:10px}.mobile-shell .pet-outfit{font-size:30px}.mobile-shell .pet-food-grid{grid-template-columns:repeat(3,1fr);gap:5px}.mobile-shell .pet-food-grid button{padding:9px 5px;text-align:center}.mobile-shell .pet-food-grid button>span{font-size:21px}.mobile-shell .pet-food-grid b,.mobile-shell .pet-food-grid small{font-size:9px}.mobile-shell .pet-outfit-grid{grid-template-columns:repeat(3,1fr)}.mobile-shell .pet-outfit-grid button{padding:8px 5px;text-align:center}.mobile-shell .pet-atlas-grid{grid-template-columns:repeat(2,1fr)}.mobile-shell .pet-sprite.small{width:90px;height:90px}.mobile-shell .pet-feed-history p{grid-template-columns:1fr 65px 65px;font-size:10px}.mobile-shell .pet-feed-history p small{display:none}.mobile-shell .pet-adopt-row{flex-direction:column}@media(max-width:1380px){.metrics-grid.seven{grid-template-columns:repeat(4,1fr)}}.pet-game-panel{--pet-purple:#7666f7;--pet-ink:#293148;--pet-muted:#788297;border:1px solid #e9e5f6;border-radius:22px;background:linear-gradient(150deg,#fff,#fbfaff 58%,#f5f2ff);box-shadow:0 18px 45px #46379114}.pet-eyebrow,.pet-block-kicker{display:block;margin-bottom:4px;color:#7c69e8;font-size:11px;font-weight:800;letter-spacing:.12em}.pet-section-title h2{color:var(--pet-ink);font-size:21px}.pet-section-title>.ant-tag{margin:2px 0 0;padding:5px 11px;border:0;border-radius:999px;background:#eeefff;color:#6152da;font-weight:700}.pet-game-panel .pet-hero{position:relative;isolation:isolate;min-height:238px;margin:18px 0 14px;padding:16px 30px;overflow:hidden;border:1px solid rgba(255,255,255,.8);background:radial-gradient(circle at 18% 28%,rgba(255,231,155,.95),transparent 32%),radial-gradient(circle at 86% 15%,rgba(181,218,255,.85),transparent 31%),linear-gradient(135deg,#fff3d8,#ece9ff);box-shadow:inset 0 1px #fff,0 14px 30px #644bab1a}.pet-game-panel .pet-hero:after{content:"";position:absolute;inset:auto -7% -52% 40%;height:180px;border-radius:50%;background:#ffffff61;filter:blur(1px);z-index:-1}.pet-hero-orbit{position:absolute;left:20px;width:225px;height:225px;border:1px dashed rgba(116,94,222,.22);border-radius:50%;animation:pet-orbit 18s linear infinite}.pet-hero-orbit:before,.pet-hero-orbit:after{content:"✦";position:absolute;color:#fff3a8;text-shadow:0 0 9px #ffc95d}.pet-hero-orbit:before{top:18px;right:21px}.pet-hero-orbit:after{left:2px;bottom:48px;font-size:9px}@keyframes pet-orbit{to{transform:rotate(360deg)}}.pet-game-panel .pet-sprite.large{z-index:1;border:3px solid rgba(255,255,255,.72);box-shadow:0 18px 40px #4e399829}.pet-hero-labels{display:flex;align-items:center;gap:8px}.pet-hero-labels>span{font-size:12px;color:#6b5dd4;font-weight:800}.pet-hero-labels i{padding:3px 8px;border-radius:999px;background:#ffffffb8;color:#e26c85;font-size:10px;font-style:normal}.pet-game-panel .pet-hero-copy h3{margin:5px 0 2px;color:#262e42;font-size:28px}.pet-game-panel .pet-hero-copy p{margin:0 0 7px}.pet-hero-foot{display:flex;justify-content:space-between;gap:12px;margin-top:2px}.pet-hero-foot b{color:#6d5ce5;font-size:12px}.pet-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:6px;border-radius:16px;background:#f0eef8}.pet-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:45px;border:0;border-radius:12px;background:transparent;color:#727b8e;font-weight:700;cursor:pointer;transition:.2s}.pet-tabs button span{font-size:17px}.pet-tabs button.active{background:#fff;color:#5d50d8;box-shadow:0 5px 14px #4435891c}.pet-tabs button i{position:absolute;top:7px;right:23%;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#ff6f91}.pet-tab-content{padding-top:16px}.pet-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pet-status-item{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:12px;border:1px solid #ebe8f5;border-radius:15px;background:#ffffffd6}.pet-status-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;font-size:21px}.pet-status-icon.amber{background:#fff3d4}.pet-status-icon.rose{background:#ffe9ef}.pet-status-icon.blue{background:#e7f3ff}.pet-status-item p{display:flex;justify-content:space-between;margin:0;color:var(--pet-ink);font-size:12px}.pet-status-item em{color:#7a6ce8;font-style:normal;font-weight:800}.pet-care-card{display:grid;grid-template-columns:minmax(165px,.7fr) 1.7fr;align-items:center;gap:20px;margin-top:12px;padding:18px;border:1px solid #ebe6f6;border-radius:17px;background:linear-gradient(120deg,#fff9ed,#fff)}.pet-care-card h3,.pet-block-title h3,.pet-bond-card h3,.pet-collection-head h3,.pet-atlas-heading h3{margin:0;color:var(--pet-ink);font-size:16px}.pet-care-card>div:first-child p,.pet-bond-card>p,.pet-collection-head p,.pet-atlas-heading p{margin:5px 0 0;color:var(--pet-muted);font-size:11px}.pet-care-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pet-care-actions button{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-items:center;padding:10px;border:1px solid #e9e4f3;border-radius:13px;background:#fff;text-align:left;cursor:pointer}.pet-care-actions button>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f5f1ff;font-size:19px}.pet-care-actions b{font-size:12px}.pet-care-actions small{overflow:hidden;color:#848b9b;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.pet-care-actions button:disabled{border-style:dashed;background:#f7f7fa;opacity:.65;cursor:not-allowed}.pet-companion-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;margin-top:12px}.pet-bond-card,.pet-skills-card{padding:17px;border:1px solid #e9e5f3;border-radius:17px;background:#fff}.pet-bond-card{background:linear-gradient(145deg,#fff0f5,#fff)}.pet-bond-heading{display:flex;align-items:center;justify-content:space-between;margin:6px 0 4px}.pet-bond-heading b{color:#ec6e92;font-size:22px}.pet-skill-list{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}.pet-skill-list>div{display:flex;align-items:center;gap:7px;min-width:0;padding:8px;border-radius:11px;background:#f7f5ff}.pet-skill-list>div.locked{filter:grayscale(.7);opacity:.55}.pet-skill-list>div>span{font-size:19px}.pet-skill-list p{min-width:0;margin:0}.pet-skill-list b,.pet-skill-list small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pet-skill-list b{font-size:11px}.pet-skill-list small{color:#81899a;font-size:9px}.pet-block{border-top:1px solid #ece8f5}.pet-block-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}.pet-block-title>small{color:#8a91a0;font-size:10px}.pet-game-panel .pet-food-grid button,.pet-game-panel .pet-outfit-grid button{border-color:#e9e5f1;border-radius:15px;transition:.18s}.pet-game-panel .pet-food-grid button:hover:not(:disabled),.pet-game-panel .pet-outfit-grid button:hover:not(:disabled){transform:translateY(-2px);border-color:#b8aef5;box-shadow:0 9px 18px #5644a117}.pet-food-grid button em{color:#e2875f;font-size:10px;font-style:normal}.pet-max-note{font-size:11px}.pet-adventure-confirm,.pet-reward-modal{display:flex;align-items:center;gap:14px}.pet-adventure-confirm>span,.pet-reward-modal>span{display:grid;place-items:center;width:60px;height:60px;flex:none;border-radius:18px;background:linear-gradient(135deg,#fff1c8,#eee9ff);font-size:34px}.pet-adventure-confirm p,.pet-reward-modal p{margin:0;line-height:1.7}.pet-reward-modal b{font-size:16px}.pet-reward-modal small{color:#765de1}.pet-adventure-map{position:relative;min-height:260px;overflow:hidden;border-radius:19px;background-image:linear-gradient(90deg,#191949b8,#19194908 70%),url(/pets/adventure-world-v1.png);background-position:center;background-size:cover;box-shadow:0 16px 34px #3f307e29}.pet-adventure-map>div{position:absolute;left:24px;top:50%;width:39%;transform:translateY(-50%);color:#fff;text-shadow:0 2px 12px rgba(24,20,71,.36)}.pet-adventure-map span{font-size:11px;font-weight:800;letter-spacing:.14em}.pet-adventure-map h3{margin:5px 0;font-size:24px}.pet-adventure-map p{margin:0;font-size:12px;line-height:1.7}.pet-active-adventure{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:13px;margin-top:12px;padding:14px 16px;border:1px solid #dfdaf7;border-radius:17px;background:linear-gradient(120deg,#f2efff,#fff)}.pet-active-adventure.ready{border-color:#a4e1c4;background:linear-gradient(120deg,#ebfff5,#fff)}.pet-active-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#fff;font-size:28px;box-shadow:0 6px 14px #3d2d821a}.pet-active-adventure h3,.pet-active-adventure p{margin:1px 0}.pet-active-adventure h3{font-size:16px}.pet-active-adventure p{color:#707a8c;font-size:11px}.pet-zone-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.pet-zone{display:grid;grid-template-columns:58px 1fr;gap:11px;padding:15px;border:1px solid #e7e2f3;border-radius:16px;background:#fff;text-align:left;cursor:pointer;transition:.2s}.pet-zone:hover:not(:disabled){transform:translateY(-2px);border-color:#b4a9f2;box-shadow:0 10px 24px #46368f1a}.pet-zone:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.65}.pet-zone-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,#fff1ce,#ede9ff);font-size:29px}.pet-zone>div>span{color:#806fe5;font-size:9px;font-weight:700}.pet-zone h3{margin:2px 0;color:var(--pet-ink);font-size:15px}.pet-zone p{margin:0;color:#7a8293;font-size:10px}.pet-zone small{display:block;margin-top:7px;color:#e78262;font-size:9px}.pet-adventure-history p{display:grid;grid-template-columns:32px 1fr 1fr 80px;align-items:center;gap:8px;margin:0;padding:9px 0;border-bottom:1px solid #eeebf5}.pet-adventure-history p>span{font-size:20px}.pet-adventure-history small,.pet-adventure-history time{color:#7d8596;font-size:10px}.pet-adventure-history time{text-align:right}.pet-collection-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-radius:17px;background:linear-gradient(135deg,#fff7df,#f2edff)}.pet-collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.pet-collection-grid>div{position:relative;display:flex;min-height:188px;flex-direction:column;align-items:center;padding:16px 10px;border:1px solid #e9e5f2;border-radius:16px;background:#fff;text-align:center}.pet-collection-grid>div>span:first-child{display:grid;place-items:center;width:58px;height:58px;margin-bottom:7px;border-radius:18px;background:linear-gradient(145deg,#fff1c8,#eeeaff);font-size:32px;box-shadow:inset 0 0 0 1px #6d58d30d}.pet-collection-grid>div>.ant-tag{position:absolute;right:7px;top:7px;margin:0;font-size:8px}.pet-collection-grid b{font-size:12px}.pet-collection-grid p{margin:5px 0;color:#7c8495;font-size:9px;line-height:1.5}.pet-collection-grid small{margin-top:auto;color:#725fdc;font-size:9px}.pet-collection-grid>div.missing{background:#f8f8fb;filter:grayscale(.8);opacity:.63}.pet-title-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pet-title-grid>div{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e8e4f1;border-radius:13px;background:#fff}.pet-title-grid>div>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff1d3;font-size:21px}.pet-title-grid p{margin:0}.pet-title-grid b,.pet-title-grid small{display:block}.pet-title-grid b{font-size:11px}.pet-title-grid small{color:#808899;font-size:9px}.pet-title-grid>div.locked{background:#f8f8fa;filter:grayscale(.8);opacity:.65}.pet-atlas-heading{padding:4px 2px}.pet-game-panel .pet-atlas-grid.compact,.pet-adoption .pet-atlas-grid{grid-template-columns:repeat(4,1fr)}.mobile-shell .pet-game-panel{border-radius:16px}.mobile-shell .pet-section-title h2{font-size:17px}.mobile-shell .pet-section-title>.ant-tag{padding:3px 7px;font-size:9px}.mobile-shell .pet-game-panel .pet-hero{min-height:146px;padding:8px 9px}.mobile-shell .pet-hero-orbit{left:-2px;width:145px;height:145px}.mobile-shell .pet-game-panel .pet-hero-copy h3{font-size:18px}.mobile-shell .pet-hero-labels i{font-size:8px}.mobile-shell .pet-hero-foot{display:block}.mobile-shell .pet-hero-foot b{display:block;margin-top:2px;font-size:9px}.mobile-shell .pet-tabs{gap:3px;padding:4px}.mobile-shell .pet-tabs button{min-height:41px;gap:3px;font-size:10px}.mobile-shell .pet-tabs button span{font-size:15px}.mobile-shell .pet-tabs button i{right:12%}.mobile-shell .pet-tab-content{padding-top:10px}.mobile-shell .pet-status-grid{gap:5px}.mobile-shell .pet-status-item{grid-template-columns:28px 1fr;gap:5px;padding:7px 5px}.mobile-shell .pet-status-icon{width:28px;height:28px;border-radius:9px;font-size:15px}.mobile-shell .pet-status-item p{font-size:9px}.mobile-shell .pet-care-card{display:block;margin-top:8px;padding:11px}.mobile-shell .pet-care-card>div:first-child p{margin-bottom:8px}.mobile-shell .pet-care-actions{gap:5px}.mobile-shell .pet-care-actions button{display:flex;flex-direction:column;align-items:center;padding:7px 3px;text-align:center}.mobile-shell .pet-care-actions button>span{width:29px;height:29px;margin-bottom:3px}.mobile-shell .pet-care-actions b{font-size:10px}.mobile-shell .pet-care-actions small{width:100%;font-size:8px}.mobile-shell .pet-companion-grid{grid-template-columns:1fr;gap:8px;margin-top:8px}.mobile-shell .pet-bond-card,.mobile-shell .pet-skills-card{padding:11px}.mobile-shell .pet-skill-list{gap:4px}.mobile-shell .pet-skill-list>div{display:block;padding:7px 4px;text-align:center}.mobile-shell .pet-skill-list>div>span{font-size:17px}.mobile-shell .pet-skill-list small,.mobile-shell .pet-food-grid button em{font-size:8px}.mobile-shell .pet-block-title h3{font-size:14px}.mobile-shell .pet-adventure-map{min-height:180px;background-position:center}.mobile-shell .pet-adventure-map>div{left:14px;width:55%}.mobile-shell .pet-adventure-map h3{font-size:17px}.mobile-shell .pet-adventure-map p{font-size:9px}.mobile-shell .pet-active-adventure{grid-template-columns:41px 1fr;padding:10px;gap:8px}.mobile-shell .pet-active-adventure>.ant-btn{grid-column:1/-1}.mobile-shell .pet-active-icon{width:39px;height:39px;font-size:22px}.mobile-shell .pet-zone-grid{grid-template-columns:1fr;gap:6px}.mobile-shell .pet-zone{grid-template-columns:46px 1fr;padding:10px}.mobile-shell .pet-zone-icon{width:43px;height:43px;font-size:23px}.mobile-shell .pet-collection-head{padding:12px}.mobile-shell .pet-collection-grid{grid-template-columns:repeat(2,1fr);gap:6px}.mobile-shell .pet-collection-grid>div{min-height:165px;padding:12px 7px}.mobile-shell .pet-title-grid{grid-template-columns:1fr}.mobile-shell .pet-game-panel .pet-atlas-grid.compact,.mobile-shell .pet-adoption .pet-atlas-grid{grid-template-columns:repeat(2,1fr)}.mobile-shell .pet-adventure-history p{grid-template-columns:25px 1fr 1fr}.mobile-shell .pet-adventure-history time{display:none}
