:root{--ink:#182b46;--muted:#586981;--line:#cfdbe9;--success:#087f78;--blue:#205ec4}
body{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px;line-height:1.55;background:#f3f6fb;color:var(--ink)}
.sidebar{background:linear-gradient(165deg,#142d53,#173d65 60%,#19566b);padding:24px 16px}.brand{padding:2px 8px 24px;align-items:center}.brand-mark{flex-shrink:0;background:#dff2ef;color:#145d63;border-radius:12px}.brand strong{font-size:15px}.brand small{color:#c1d3e5}.nav a{font-size:14px;font-weight:600;color:#d7e5f4;border-left:0;border-radius:9px;padding:12px 14px}.nav a.active{background:#e7f0fc;color:#163c69;box-shadow:0 4px 16px #00122626}.nav a:hover{background:#ffffff20;color:white}.sidebar-foot .btn{color:#1e4667}
.topbar{height:64px;background:#fffffff5;padding:0 30px}.content{padding:24px 30px 40px}.page-head{align-items:center;gap:18px;margin-bottom:20px}.page-head h1{font-size:26px;line-height:1.3;margin:4px 0}.page-head p{font-size:13px;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:750;color:#59718c}.card,.stat{border-color:#dce5ef;box-shadow:0 4px 18px #203c5c08;border-radius:14px}.card{padding:22px}.card h2{font-size:17px;color:#173858}.card h3{font-size:14px}.card-title{margin-bottom:14px}.muted,.cell-sub,.stat small{color:#5f6f83}.table th{font-weight:750;color:#425873;background:#edf2f8}.table td{color:#253b54;padding:12px}.table tr:last-child td{border-bottom:0}.table tbody tr:nth-child(even){background:#fbfcfe}.table tbody tr:hover{background:#edf5ff}
.btn{border:1px solid #b9cce3;background:#edf3fc;color:#234c7b;border-radius:8px;min-height:40px;font-size:13px;font-weight:750;padding:9px 16px;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn:hover{background:#dce9fb;box-shadow:0 3px 10px #305b8620}.btn.primary{background:#205ec4;border-color:#205ec4;color:white}.btn.primary:hover{background:#184eaa}.btn.success{background:#087f78;border-color:#087f78;color:white}.btn.success:hover{background:#076962}.btn.danger{border-color:#e9bfc2;color:#a52e43;background:#fff3f4}.btn.small{min-height:32px;padding:5px 10px}.btn:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #eba640;outline-offset:3px}.btn:disabled{opacity:.55;cursor:wait}.badge{font-weight:650}.badge.warn{background:#fff2d8;color:#805313}.badge.success{background:#e0f2ec;color:#08694e}.badge.danger{background:#ffebee;color:#a72b41}.required-mark{color:#ba3750}
.field label{font-size:13px;color:#243b55}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{border:1.5px solid #91a7c1!important;padding:10px 12px;background:#fff!important;color:#172b44!important;min-height:42px}.field input:disabled,.field textarea:disabled{background:#f0f3f7!important;color:#51647b!important}.field textarea{resize:vertical}.field input[type=checkbox],.field input[type=radio],input[type=checkbox]{width:17px;height:17px;min-height:0;padding:0!important;accent-color:#205ec4;vertical-align:middle}.field label.inline-check{display:flex;align-items:center;gap:8px;font-weight:500}.class-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.check-card{font-weight:600!important;border:1px solid #bfcee0;background:#f9fbfe;align-items:center}.check-card small{display:block;font-weight:400;color:#60758e}.rubric-uploader{background:#f2f8f6;border:1px solid #bcd9ce;border-radius:12px;padding:18px}.rubric-uploader p,.rubric-uploader small{color:#345b50;font-weight:400}.rubric-uploader input[type=file]{background:white!important;border-color:#92b9a8!important}.reference-item{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.reference-item label{display:flex;align-items:center;gap:8px;font-weight:400}.text-link,.reference-item a{color:#185ebc;text-decoration:underline;text-underline-offset:3px}
summary{cursor:pointer;font-weight:750;color:#213f60;list-style-position:inside}.assignment-create>summary{font-size:17px}.assignment-create[open]>summary{margin-bottom:22px}.detail-body{padding-top:16px}.detail-body p{line-height:1.8;overflow-wrap:anywhere}.flash.warn{background:#fff5df;color:#795112}.flash{border:1px solid transparent;font-size:13px}.flash.error{border-color:#efc5ce}.assessment-page .page-head{margin-bottom:12px}.assessment-status{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:12px;color:#5a6f87;margin-bottom:12px}#ai-feedback:empty{display:none}#ai-feedback{font-size:13px;margin:8px 0;color:#1856a8}
.result-overview{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;padding:18px 22px;background:#fff}.result-chart{background:#eef5fc;border:1px solid #d4e1f0;border-radius:12px;text-align:center;padding:12px 6px;color:#456078;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-chart small{font-size:11px}.radar{width:215px;height:195px}.radar svg{width:100%;height:100%;overflow:visible}.result-score{font-size:40px;line-height:1.2;font-weight:800;color:#2056aa;font-variant-numeric:tabular-nums}.result-score small{font-size:14px;font-weight:500;color:#67809a;margin-left:8px}.result-summary .card-title{margin-bottom:12px}.dimension-pills{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.dimension-pills>div{border-left:3px solid #3c79cd;background:#f2f6fd;border-radius:5px;padding:7px 10px}.dimension-pills>div:nth-child(2){border-left-color:#138b82;background:#f0f8f5}.dimension-pills>div:nth-child(3){border-left-color:#8062b5;background:#f6f3fc}.dimension-pills>div:nth-child(4){border-left-color:#d79932;background:#fff8ea}.dimension-pills span{font-size:12px;display:block;color:#4a6079}.dimension-pills strong{font-size:20px}.dimension-pills small{font-size:11px;font-weight:400;color:#698099}.result-summary h2{margin:0 0 6px;font-size:15px}.assessment-comment{line-height:1.85;color:#2c435e;font-size:14px;margin:6px 0 0}
.review-compact{margin-top:14px;padding:16px 22px}.review-compact .card-title{margin-bottom:10px}.review-scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.review-scores .field label{margin-bottom:4px}.review-bottom{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end;margin-top:10px}.review-bottom .field textarea{min-height:58px;padding:7px 10px}.review-bottom button{margin-bottom:4px}.assessment-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;align-items:start}.assessment-details .card{padding:12px 18px}.request-id{font-size:11px;overflow-wrap:anywhere}.assessment-details .file-item{margin-top:8px;gap:10px;white-space:normal}
.submission-intro{display:grid;grid-template-columns:1fr 240px;gap:20px;margin-top:16px}.submission-intro p{margin:6px 0 12px}.submission-state{border-left:1px solid var(--line);padding-left:20px;align-self:center}.requirement-tags{display:flex;gap:8px;flex-wrap:wrap}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.upload-panel{border:1px solid #d9e3ee;border-radius:12px;padding:16px;min-width:0;background:#fbfcfe}.upload-panel h3{margin:0 0 14px}.file-box{padding:14px;border:1.5px dashed #93aecb;background:white}.file-box input{width:100%;font-size:12px;color:#3e5972}input[type=file]::file-selector-button{border:1px solid #9eb9d5;border-radius:6px;padding:7px 10px;background:#edf4fc;color:#204f81;font-weight:650;cursor:pointer;margin-right:10px}.file-item a{overflow-wrap:anywhere;min-width:0}.selected-files{font-size:12px;overflow-wrap:anywhere}.student-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fffffff2;backdrop-filter:blur(12px);border:1px solid #c9d9e9;padding:14px 20px;margin-top:18px;border-radius:12px;position:sticky;bottom:14px;box-shadow:0 4px 20px #24436316}.student-submit-bar>div{display:flex;gap:10px}.student-submit-bar>span{font-size:13px;color:#536b85}.login-panel .field input{border-color:#96abc3}.role-switch label:has(input:checked){background:#205ec4}
.mobile-close,.nav-shade{display:none}
@media(max-width:900px){.mobile-close{display:flex;margin:0 0 14px auto;padding:7px 12px}.nav-shade.open{display:block;position:fixed;inset:0;border:0;background:#10284666;z-index:19}.sidebar{overflow-y:auto}.sidebar-foot{position:static;margin-top:32px}}
@media(min-width:1200px) and (max-height:820px){.assessment-page .result-overview{padding:12px 18px}.assessment-page .radar{width:188px;height:170px}.assessment-page .review-compact{padding:12px 18px}.assessment-page .result-score{font-size:34px}.assessment-page .page-head h1{font-size:23px}.assessment-page .dimension-pills{margin-bottom:9px}.assessment-page .result-overview{grid-template-columns:210px 1fr}.assessment-page .review-bottom textarea{min-height:48px;height:48px}.assessment-page .assessment-details{margin-top:10px}}
@media(max-width:1100px){.result-overview{grid-template-columns:210px 1fr}.dimension-pills{grid-template-columns:repeat(2,1fr)}.result-score{font-size:34px}.head-actions{flex-wrap:wrap}.assessment-page .radar{width:190px}}
@media(max-width:700px){.content{padding:18px 14px 32px}.page-head{flex-wrap:wrap;align-items:flex-start}.topbar{padding:0 14px}.result-overview,.submission-intro,.upload-grid,.assessment-details{grid-template-columns:1fr}.result-chart{padding:10px}.result-chart .radar{width:210px;height:180px}.review-scores{grid-template-columns:repeat(2,1fr)}.review-bottom{grid-template-columns:1fr}.review-bottom button{width:100%}.card{padding:18px}.submission-state{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.student-submit-bar{flex-direction:column;align-items:stretch;padding:12px;bottom:8px}.student-submit-bar>div>*{flex:1}.student-submit-bar>span{text-align:center;font-size:12px}.reference-item{flex-direction:column;align-items:flex-start}.assessment-status{gap:8px}.class-picker{grid-template-columns:1fr}.result-overview{gap:16px}.head-actions{width:100%;justify-content:space-between}}
