:root{--green:#7851cb;--dark:#34215d;--ink:#302641;--muted:#91869f;--line:#eae4f2;--bg:#f7f5fb;--orange:#b97c42}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}[hidden]{display:none!important}aside{width:228px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 38px;font-size:24px;font-weight:700}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:2px}.brand-mark{display:inline-flex;background:var(--green);color:#fff;border-radius:13px;width:44px;height:44px;align-items:center;justify-content:center;font:27px Georgia,serif}.nav-label{font-size:10px;letter-spacing:2px;color:#9ca79f;margin:0 15px 14px}nav a{display:flex;gap:13px;align-items:center;padding:12px 16px;border-radius:8px;color:#748179;margin:5px 0;font-size:13px}nav a:hover{background:#f7f2fc}nav a.active{background:#eee7fa;color:var(--green);font-weight:700}nav a svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.aside-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:22px;font-size:11px;color:#627c6b}.aside-foot small{display:block;color:#99a399;margin:8px 0;font-size:10px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a784db;margin-right:6px}main{margin-left:228px}header{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px}.breadcrumb{color:#99a398}.breadcrumb span{margin:0 15px}.breadcrumb b{color:#4d6257;font-weight:500}.header-right{display:flex;align-items:center;gap:8px;color:#738277}.text-button{background:none;color:var(--green);padding:5px 9px}.content{max-width:1550px;margin:auto;padding:32px 38px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:#95a197;margin-bottom:6px}h1{font-size:27px;letter-spacing:1px;margin:0;font-weight:600}p{color:var(--muted);margin:8px 0}.page-heading p{font-size:12px}.semester-switch{display:flex;align-items:center;gap:10px;font-size:11px}.semester-switch label{color:var(--muted)}select,input,textarea{padding:10px 12px;border:1px solid #e4dbef;border-radius:7px;background:#fff;color:var(--ink);min-width:0}select:focus,input:focus,textarea:focus{border-color:var(--green);outline:2px solid #eee5fc}.semester-switch select{max-width:220px;font-size:12px}.badge{display:inline-block;padding:3px 9px;border-radius:5px;background:#f0e8fb;color:#845ac3;font-size:10px;white-space:nowrap}.badge.warn{background:#fff4df;color:#b67e2c}.badge.gray{background:#eef0ed;color:#829080}.badge.red{background:#faece8;color:#b86950}.hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;background:var(--dark);border-radius:12px;color:#fff;padding:28px 32px;margin-bottom:22px;min-height:158px}.hero h2{font-size:23px;margin:8px 0;font-weight:500}.hero p{font-size:12px;color:#d8c8ed;max-width:650px}.hero small{font-size:10px;letter-spacing:2px;color:#c8ade8}.hero-actions{display:flex;gap:9px;z-index:1}.hero:after{content:'禾';position:absolute;right:220px;top:-70px;font:260px Georgia;color:#ffffff06;transform:rotate(-20deg)}.primary,.secondary,.danger{padding:10px 17px;border-radius:7px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary{background:var(--green);color:#fff}.primary:hover{background:#6540b6}.secondary{background:#fff;color:#566c5e;border:1px solid #dfe6de}.secondary:hover{background:#f1f6f0}.danger{background:#fff0eb;color:#ad5747}.hero .primary{background:#fff;color:#6741aa}.hero .secondary{background:transparent;color:#eee2ff;border-color:#ffffff35}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;position:relative}.metric-label{font-size:11px;color:#7a8b7d}.metric-number{font-size:29px;font-weight:600;letter-spacing:-.8px;margin:12px 0 8px}.metric-number small{font-size:12px;letter-spacing:0;margin-left:5px;font-weight:400;color:var(--muted)}.metric-foot{font-size:10px;color:#91a093;border-top:1px solid #f0f3ee;padding-top:11px}.metric-icon{position:absolute;right:18px;top:18px;background:#f1eafb;padding:3px 8px;border-radius:6px;color:#6c9c7c;font-size:15px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.grid-two .panel{margin-bottom:0}.panel-heading{padding:20px 23px;border-bottom:1px solid #eef1ec;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2{font-size:14px;font-weight:600;margin:0}.panel-heading p{font-size:10px;margin:3px 0 0}.panel-body{padding:22px}.bars{display:flex;gap:8px;align-items:flex-end;height:150px;border-bottom:1px solid var(--line);padding:0 12px}.bar-group{flex:1;height:100%;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;min-width:0}.bar-group .bar{width:55%;max-width:42px;min-height:2px;background:#9c79d7;border-radius:5px 5px 0 0}.bar-group:nth-child(2n) .bar{background:#d2baf0}.bar-group small{font-size:9px;color:#849080;padding:10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.bar-group em{font-size:9px;font-style:normal;color:#78907b;margin-bottom:4px}.finance-row{display:flex;justify-content:space-between;margin-bottom:14px;font-size:12px}.finance-row b{font-weight:500}.progress{background:#f0e9f8;height:9px;border-radius:6px;overflow:hidden;margin:17px 0 8px}.progress div{height:100%;background:var(--green);border-radius:6px}.legend{display:flex;gap:18px;color:#8a9689;font-size:10px;margin-top:12px}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-link{background:#fafbf8;border:1px solid var(--line);border-radius:7px;padding:16px;text-align:left;color:#345843}.quick-link span{display:block;font-size:10px;color:#92a08e;margin-top:5px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;margin-bottom:19px;align-items:center}.toolbar .group{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.search{min-width:230px;font-size:12px}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{background:#f8faf6;color:#889381;font-weight:500;font-size:10px;letter-spacing:.4px;text-align:left;padding:13px 19px}td{padding:15px 19px;border-top:1px solid #f0f2ed;color:#5c7062}td strong{color:#345340;font-weight:500}tr:hover td{background:#fcfdfb}.table-wrap{overflow:auto}.table-footer{padding:14px 20px;color:#9aa494;font-size:10px;border-top:1px solid #eef1eb}.empty{text-align:center;padding:58px 24px;color:#92a08c}.empty .empty-symbol{font-size:33px;color:#9ab59b;margin-bottom:10px}.empty h3{color:#55735b;font-size:15px;font-weight:500}.empty p{font-size:12px;margin-bottom:20px}.notice{padding:13px 18px;border-radius:7px;background:#fff5df;color:#9a762d;font-size:12px;margin-bottom:20px}.section-desc{font-size:12px;margin-bottom:22px}.muted{color:#9da894}.amount{font-family:"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}.positive{color:var(--green)}.negative{color:#be7e42}.action{border:none;background:none;color:var(--green);padding:3px 7px;font-size:11px}.action.red{color:#b16c58}footer{display:flex;justify-content:space-between;color:#a4ada0;font-size:10px;border-top:1px solid var(--line);padding:20px 0;margin-top:28px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.report-card{padding:26px;background:white;border:1px solid var(--line);border-radius:10px}.report-card h3{font-size:15px}.report-card p{font-size:12px;min-height:60px}.report-icon{font-size:26px;color:#83a58a}.import-box{border:1px dashed #c2a5e1;background:#fbf8ff;border-radius:10px;text-align:center;padding:38px 20px}.import-box input{max-width:100%;font-size:12px;margin:18px 0}.import-box h3{font-size:16px;font-weight:500}.import-box p{font-size:12px}.steps{display:flex;gap:12px;margin:0 0 22px}.step{flex:1;background:#f0e9fa;padding:13px 16px;border-radius:7px;color:#76916e;font-size:11px}.step b{margin-right:7px;color:#3b7350}.integration{padding:20px;border:1px solid var(--line);border-radius:8px;margin-bottom:14px}.integration h3{font-size:14px;margin:0 0 7px}.integration p{font-size:12px}code{font-size:11px;background:#f0f4ed;padding:3px 5px;word-break:break-all}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#71856e}label input,label select,label textarea{width:100%}textarea{min-height:80px;resize:vertical}dialog{width:min(650px,94vw);border:1px solid var(--line);border-radius:13px;box-shadow:0 24px 100px #34215d30;padding:25px;color:var(--ink);max-height:90vh}dialog::backdrop{background:#173a3555;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{font-size:19px;margin:0}.icon-button{background:#f1f5ef;color:#789073;font-size:22px;width:30px;height:30px;border-radius:6px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.error-text{color:#ad5c45;font-size:12px}.auth-wrap{display:flex;min-height:100vh;align-items:center;justify-content:center;background:radial-gradient(ellipse at 10% 20%,#e4d6f7,transparent 60%),var(--bg)}.auth-card{width:420px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:40px;box-shadow:0 20px 80px #254f3710}.auth-card>.brand-mark{margin-bottom:20px}.auth-card>small{display:block;font-size:9px;letter-spacing:1px;color:#98a68f}.auth-card h1{font-size:25px;margin-top:10px}.auth-card p{font-size:12px}.auth-card label{margin-top:20px}.auth-card button{width:100%;margin-top:25px}.auth-card>small:last-child{margin-top:24px;letter-spacing:0}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#503473;color:#fff;border-radius:8px;padding:12px 23px;font-size:12px;box-shadow:0 5px 20px #0002;z-index:999;display:none}.rules-courses{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rules-courses label{font-size:11px}.stat-strip{display:flex;gap:24px;padding:15px 20px;border-radius:8px;background:#f2eafa;margin-bottom:20px;font-size:12px;flex-wrap:wrap}.log-item{display:flex;gap:15px;border-bottom:1px solid #edf1e9;padding:13px 0;font-size:12px}.log-item time{font-size:10px;color:#9aa691;min-width:120px}.log-item small{display:block;color:#97a18e}.subnote{font-size:11px;color:#91a18a;margin-top:10px}.check-row{display:flex;flex-direction:row;align-items:center}.check-row input{width:auto}.spaced{margin-top:22px}
@media(min-width:1600px){.content{padding-top:40px}.metric{padding:26px}.hero{min-height:180px}.bars{height:185px}}@media(max-width:1100px){aside{width:190px;padding:25px 12px}main{margin-left:190px}.content{padding:25px 22px 0}header{padding:0 22px}.grid-two{grid-template-columns:1fr}.metric{padding:17px}.cards{gap:10px}.metric-number{font-size:24px}.hero-actions{flex-direction:column}.report-grid{grid-template-columns:1fr}.report-card p{min-height:0}.page-heading{align-items:flex-start}.semester-switch{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:720px){aside{position:static;width:100%;padding:12px;border-bottom:1px solid var(--line);border-right:0}.brand{padding:0 8px 12px;font-size:20px}.brand small{font-size:9px}.brand-mark{width:36px;height:36px;font-size:23px}.nav-label,.aside-foot{display:none}nav{display:flex;overflow:auto}nav a{flex-shrink:0;padding:8px 11px;font-size:11px;gap:6px}nav a svg{width:14px}main{margin-left:0}header{height:48px;padding:0 18px}.content{padding:23px 16px 0}.page-heading{flex-direction:column;gap:14px}h1{font-size:24px}.semester-switch{justify-content:flex-start}.hero{padding:23px;align-items:flex-start;gap:15px;flex-direction:column}.hero h2{font-size:20px}.hero-actions{flex-direction:row}.cards{grid-template-columns:1fr 1fr}.metric-number{font-size:24px}.quick-links{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.rules-courses{grid-template-columns:1fr 1fr}.steps{gap:5px}.step{padding:10px;font-size:10px}.auth-card{width:94vw;padding:30px}footer span{display:none}.search{min-width:180px}.grid-two{gap:15px}.panel-heading{padding:17px}.report-grid{gap:13px}}

/* Violet workspace theme */
body{background:radial-gradient(ellipse at 90% 0%,#f0e9fc88,transparent 45%),var(--bg)}
.brand-mark{background:linear-gradient(145deg,#a17ae3,#7043bb);box-shadow:0 5px 14px #8051c91f}
.hero{background:radial-gradient(ellipse at 90% 15%,#b68ae35c,transparent 50%),linear-gradient(115deg,#43256e,#6d43a5 70%,#8255b5);box-shadow:0 10px 28px #7350a51a;border:1px solid #ffffff20}
.hero:after{content:'✦';font-size:260px;right:210px;top:-105px;color:#ffffff08;transform:rotate(12deg)}
.hero:before{content:'';position:absolute;right:-85px;top:-150px;border:1px solid #ffffff15;width:420px;height:420px;border-radius:50%;box-shadow:0 0 0 50px #ffffff04,0 0 0 100px #ffffff03}
.hero h2{letter-spacing:1px}.hero .secondary{border-color:#dbc5f550}
.metric{box-shadow:0 3px 14px #54307603;transition:transform .2s,box-shadow .2s}
.metric:hover{transform:translateY(-3px);box-shadow:0 10px 25px #7245ac0b}
.metric-number{color:#3e2c54}.metric-label{color:#9586a3}.metric-foot{color:#a095aa;border-color:#f1ecf7}
.metric-icon{color:#9974cd;background:#f5effc}.metric:nth-child(2) .metric-icon{background:#f0ebff;color:#8e6fd5}.metric:nth-child(3) .metric-icon{background:#f8eefb;color:#b380c1}.metric:nth-child(4) .metric-icon{background:#f9f1e8;color:#bc9566}
nav a{color:#93859e}nav a.active{color:#8254c3;background:linear-gradient(90deg,#efe5fc,#f7f1fc);box-shadow:inset 3px 0 #9a70d4}
nav a:hover{color:#8254c3}.nav-label{color:#b1a4ba}.aside-foot{color:#9a86aa}.aside-foot small{color:#b8abc1}
h1{color:#38264d}.eyebrow{color:#b2a1c0}header .breadcrumb{color:#b5a8bf}.breadcrumb b{color:#887597}.header-right{color:#9d8da7}
th{background:#faf7fd;color:#aa9ab8}td{color:#84718f}td strong{color:#5a3f73}tr:hover td{background:#fcfaff}
.panel{box-shadow:0 3px 15px #4b256703}.panel-heading{border-color:#f2edf7}.panel-heading h2{color:#5d4373}.panel-heading p{color:#b1a1bc}
.quick-link{color:#806095;background:#fcfaff;border-color:#eee7f5;transition:background .2s,transform .2s}.quick-link:hover{background:#f4edfd;transform:translateY(-2px)}.quick-link span{color:#b19cbe}
.secondary{border-color:#e9dff1;color:#8b6ba1}.secondary:hover{background:#f5eefa}.primary{box-shadow:0 3px 8px #8b5ac218}.positive{color:#8b60c6}.finance-row{color:#9b88aa}.finance-row b{color:#725286}.legend{color:#ab99ba}.subnote{color:#ab9ab8}.muted{color:#b3a3bf}.empty{color:#ab98bb}.empty h3{color:#9678aa}.empty .empty-symbol{color:#bc9dd5}.empty p{color:#b8a7c4}
.progress{background:#f1ebf8}.progress div{background:linear-gradient(90deg,#a47cde,#7851cb)}
.badge{background:#f3ebfc;color:#a079c9}.badge.gray{background:#f2eff5;color:#aa9bb5}.semester-switch label{color:#b09cbe}.semester-switch select{color:#846295;border-color:#e9dff1}.bar-group small,.bar-group em{color:#aa92b9}.table-footer{color:#b5a5c0;border-color:#f1eaf7}.form-grid label,label{color:#9b82ad}input,select,textarea{color:#6b4c80;border-color:#e8dff0}.integration{border-color:#ece3f4}.integration h3{color:#78568e}.log-item{color:#997aaf;border-color:#f2ebf7}.log-item time,.log-item small{color:#b6a5c2}footer{color:#bdadc7}.auth-wrap{background:radial-gradient(ellipse at 10% 20%,#eadcfb,transparent 60%),#f8f5fc}.auth-card{box-shadow:0 25px 90px #8753b81a}.auth-card h1{color:#684183}.brand{color:#6d438b}.brand small{color:#b09abc}

/* Keep secondary text readable against pale surfaces. */
.metric-foot,.subnote,.legend,.empty p,.quick-link span,.table-footer,.muted{color:#95839f}th{color:#8e779e}.hero p{color:#e4d5f5}.metric-label{color:#8d789b}

.course-fee-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px}.course-fee-intro p{font-size:12px;max-width:690px}.course-fee-intro input{min-width:190px;width:220px}.course-fee-table .table-wrap{max-height:350px;overflow:auto}.course-fee-table th{position:sticky;top:0;z-index:1}.course-fee-table td{padding-top:11px;padding-bottom:11px}.course-fee-table .secondary{padding:6px 12px}.course-fee-note{padding:13px 22px;font-size:11px;color:#95839f;border-top:1px solid #f1eaf7;background:#fdfaff}.fee-change-preview{padding:12px 15px;background:#f4edfc;color:#8956bc;border-radius:7px;margin-top:16px;font-size:12px}@media(max-width:720px){.course-fee-intro{align-items:stretch;flex-direction:column;gap:8px}.course-fee-intro input{width:100%}.course-fee-table .table-wrap{max-height:310px}}

.brand-mark{font-size:20px;font-family:"Segoe UI",sans-serif;font-weight:650;letter-spacing:-1px}

.platform-upload{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.platform-upload label{padding:16px;border:1px dashed #d5c1ec;border-radius:8px;background:#fcf9ff}.platform-upload input{font-size:11px;max-width:100%;margin-top:7px}.platform-upload small{font-size:10px;color:#a38ab4;overflow-wrap:anywhere}.group{display:flex;gap:10px;flex-wrap:wrap}.error-window{margin-left:0}.error-window .content{max-width:1400px}.error-window td{white-space:normal}.error-window .table-wrap{max-height:480px;overflow:auto}.error-window th{position:sticky;top:0;z-index:1}@media(max-width:800px){.platform-upload{grid-template-columns:1fr}}

.error-window .group{min-width:155px}.error-window td:last-child .primary,.error-window td:last-child .secondary{padding:6px 9px;font-size:11px}.student-success{background:#f0e8fc;color:#77529c;border:1px solid #e4d4f7}.student-success p{color:#88719c}.error-window .table-wrap{max-height:550px}#studentEditor .check-row input{width:auto}#studentOutcome p{margin:5px 0}

.student-filter-label{display:inline-block;color:#8d789b;font-size:12px}#studentFundingFilter{min-width:130px;font-size:12px}
