@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--bg:#f7f6f2;--paper:#fff;--ink:#242725;--muted:#85867e;--line:#e8e7df;--purple:#6b5bc1;--yellow:#f4d96f;--soft:#f0edf9;--green:#34785c}*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{border:0}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a191e8;outline-offset:3px}input,textarea,select{border:1px solid #dcdcd4;background:#fff;border-radius:8px;padding:11px 13px;color:var(--ink);max-width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #6b5bc112}textarea{resize:vertical;min-height:110px}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px}h2{font-size:20px}h3{font-size:16px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2.2px;font-weight:700}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:grid;gap:18px}.btn{border-radius:8px;padding:11px 18px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--purple);color:white;white-space:nowrap}.btn:hover{filter:brightness(.95)}.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.yellow{background:var(--yellow);color:var(--ink)}.btn.green{background:var(--green)}.btn.smallbtn{padding:8px 12px;font-size:12px}.btn.danger{background:#f9eded;color:#ac5353}.icon{width:19px;height:19px;flex-shrink:0;stroke-width:1.7}.logo{width:42px;height:42px;background:var(--yellow);border-radius:50%;display:grid;place-items:center;font-size:23px;box-shadow:inset 0 0 0 1px #15151508}.brand{font-weight:800;font-size:19px;letter-spacing:-.4px}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:#8a8261;margin-top:3px}.demo{background:#ece9f4;color:#73658e;text-align:center;padding:8px 16px;font-size:11px;line-height:1.8}.login{min-height:calc(100vh - 35px);display:grid;grid-template-columns:1.08fr 1fr}.login-visual{background:#efe4b9;padding:52px 58px;position:relative;overflow:hidden;display:flex;flex-direction:column}.login-visual h1{font-size:46px;line-height:1.4;margin:75px 0 18px;letter-spacing:-2px;position:relative;z-index:1}.login-visual h1 em{font-style:normal;color:#6b5bc1}.login-visual>p{color:#6e6c5c;line-height:2;max-width:380px}.login-art{height:270px;margin:40px -58px -52px;background:#232323;overflow:hidden;margin-top:auto;position:relative}.login-art img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:.92}.art-label{position:absolute;bottom:18px;left:28px;font-size:11px;letter-spacing:2px;color:white;background:#26262685;padding:6px 9px}.login-form{display:flex;align-items:center;justify-content:center;padding:50px}.login-box{width:390px}.login-box h2{font-size:30px;margin:14px 0}.login-box>p{color:var(--muted);line-height:1.9;margin-bottom:30px}.seg{display:flex;padding:4px;background:#ecece6;border-radius:10px;gap:3px}.seg button{flex:1;background:none;padding:11px 8px;border-radius:7px;color:#777b72;font-weight:600}.seg button.active{background:white;color:var(--ink);box-shadow:0 2px 6px #00000008}.login-box label,.field{display:grid;gap:9px;font-weight:500}.login-box form{display:grid;gap:23px;margin-top:25px}.login-box .btn{width:100%;padding:14px}.login-note{background:#f0efe9;padding:15px;border-radius:8px;font-size:12px;line-height:1.9;color:#7c7c70;margin-top:22px}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:26px 20px;position:fixed;top:0;bottom:0;width:224px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{font-size:17px}.sidebar .logo{width:35px;height:35px;font-size:20px}.role-label{font-size:11px;background:var(--yellow);padding:5px 8px;border-radius:5px;margin:26px 0 16px;display:inline-flex;align-self:flex-start;font-weight:600}.navbtn{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;text-align:left;margin:5px 0;border-radius:8px;background:none;color:#797d75;font-weight:500}.navbtn.active{background:var(--soft);color:var(--purple)}.navbtn:hover{background:#f6f5f9}.navbtn .count{margin-left:auto;background:#e7e1f5;border-radius:5px;padding:1px 6px;font-size:11px}.sidebar-foot{margin-top:auto}.person{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:19px}.avatar{width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;background:#eee9da;color:#73673e;border-radius:50%;font-size:13px;font-weight:700}.avatar.purple{background:#ebe5f6;color:var(--purple)}.sidebar-foot .navbtn{font-size:12px;padding:10px 0}.main{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.crumb{color:#8e9189;font-size:12px}.crumb b{color:#444c43;font-weight:500}.demo-label{font-size:11px;color:#8d835e;display:flex;align-items:center;gap:7px}.dot{height:6px;width:6px;border-radius:50%;background:#c4a543}.content{max-width:1440px;padding:35px 40px 55px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.heading p{font-size:13px;color:#8c8e85;margin-top:9px;line-height:1.8}.tag{font-size:11px;padding:5px 9px;border-radius:5px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:500;background:#f0eee7;color:#8a826c}.tag.pending{background:#faf1d8;color:#ab8224}.tag.modify{background:#faece5;color:#b97851}.tag.lead{background:#eee9fa;color:#7c64b8}.tag.pass{background:#e6f1e9;color:#508268}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:29px}.stat{background:white;padding:19px 23px;border:1px solid var(--line);border-radius:10px}.stat .label{font-size:12px;color:#8d9186}.stat .number{font-size:29px;font-weight:700;margin-top:10px;letter-spacing:-1px}.stat .number span{font-size:12px;font-weight:400;color:#a4a69d;margin-left:8px}.stat.accent{background:#f6efd6;border-color:#ede2b9}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;flex-wrap:wrap}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{background:none;border-radius:7px;padding:9px 13px;color:#8c8e83;font-size:12px}.tabs button.active{background:#272e2a;color:white}.search{position:relative;display:flex;align-items:center;gap:8px}.search .icon{position:absolute;left:12px;color:#999c92;width:16px}.search input{padding-left:37px;max-width:245px;font-size:12px;background:white}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;transition:.2s;cursor:pointer}.project:hover{transform:translateY(-3px);box-shadow:0 9px 23px #3033230b}.cover{aspect-ratio:1.65;background:#e9e6de;position:relative;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.cover .tag{position:absolute;right:12px;top:12px;box-shadow:0 2px 5px #0000000a}.cover.emptycover{display:grid;place-items:center;background:#ede9df;color:#b4ac97}.project-body{padding:19px}.project h3{font-size:16px;margin-bottom:7px}.project p{font-size:11px;color:#96998e}.project-meta{border-top:1px solid #f1f0eb;margin-top:17px;padding-top:13px;font-size:11px;color:#7e857b;display:flex;justify-content:space-between}.progress{display:flex;gap:4px;margin:18px 0 9px}.progress i{height:3px;flex:1;border-radius:2px;background:#eeeee7}.progress i.done{background:#a5b99f}.progress i.now{background:#9d8dc9}.project-create{min-height:330px;border:1px dashed #d4d1c5;border-radius:11px;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#a6a596}.project-create strong{color:#656e60;font-size:14px;font-weight:500}.project-create .plus{background:#eeece3;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-size:25px}.list{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.listhead,.assignment{display:grid;grid-template-columns:2.1fr 1fr 1.2fr .85fr 80px;align-items:center;gap:15px;padding:16px 22px}.listhead{background:#fafaf7;color:#9a9e93;font-size:11px}.assignment{border-top:1px solid #eeeee7;font-size:12px;cursor:pointer;transition:.15s}.assignment:hover{background:#fcfbf8}.workmini{display:flex;gap:12px;align-items:center}.workmini img{width:60px;height:49px;object-fit:cover;border-radius:6px;background:#ece8dd}.workmini strong{display:block;font-size:13px;margin-bottom:6px}.workmini small{color:#9a9d93;font-size:10px}.linkbtn{background:none;color:var(--purple);padding:6px 0;font-size:12px;font-weight:600}.studentgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.studentcard{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;cursor:pointer;transition:.2s}.studentcard:hover{border-color:#c5bcdf;box-shadow:0 5px 16px #00000004}.studentcard .avatar{width:43px;height:43px;font-size:16px}.studentcard .numbers{display:grid;grid-template-columns:repeat(3,1fr);margin-top:23px;padding-top:18px;border-top:1px solid var(--line);font-size:11px;color:#9a9d93}.studentcard .numbers b{display:block;color:#4f594f;font-size:19px;margin-top:6px}.back{margin-bottom:24px;display:inline-flex;gap:7px;align-items:center;color:#8c9286;background:none;padding:0;font-size:12px}.projecthero{display:flex;gap:24px;margin-bottom:28px;align-items:center}.projecthero img{width:145px;height:105px;object-fit:cover;border-radius:8px}.projecthero p{margin:9px 0 12px;color:#90978b;font-size:12px}.steps{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);background:white;border-radius:9px;padding:20px 8px;margin:24px 0 30px}.step{text-align:center;color:#b3b5aa;border-right:1px solid var(--line);font-size:12px}.step:last-child{border:0}.step b{display:block;font-size:11px;margin-bottom:7px;font-weight:500}.step.done{color:#70896f}.step.active{color:var(--purple);font-weight:600}.detailcols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:25px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:25px}.panel h3{margin-bottom:20px}.timeline{position:relative;padding-left:25px}.timeline:before{content:'';position:absolute;left:4px;top:10px;bottom:10px;width:1px;background:#e6e5dd}.entry{position:relative;padding-bottom:30px}.entry:last-child{padding-bottom:0}.entry:before{content:'';width:9px;height:9px;border-radius:50%;background:#d7cfeb;position:absolute;left:-25px;top:6px;box-shadow:0 0 0 4px white}.entry h4{font-size:13px;margin:0 0 8px}.entry p{font-size:12px;line-height:1.9;color:#858b7f;margin:10px 0;white-space:pre-wrap}.filechip{padding:11px 13px;border:1px solid var(--line);border-radius:6px;display:flex;gap:9px;align-items:center;color:#6e7769;font-size:11px;margin:10px 0;background:#fbfbf9;overflow-wrap:anywhere}.feedback{background:#f7f5fc;border-left:2px solid #c6bade;padding:15px;margin:13px 0;border-radius:0 6px 6px 0}.feedback p{color:#706480;margin:8px 0}.videoempty{background:#efedf4;border-radius:6px;padding:14px 12px;color:#9b91ac;font-size:11px;display:flex;gap:9px;align-items:center;margin-top:12px;line-height:1.8}video{width:100%;max-height:300px;background:#202322;border-radius:6px;margin-top:12px}.reviewbox label{display:block;font-size:12px;color:#737b6d;margin:22px 0 9px}.reviewbox textarea{width:100%}.radioactions{display:grid;gap:9px;margin:18px 0}.radioaction{padding:12px;border:1px solid var(--line);border-radius:7px;font-size:12px;display:flex;gap:8px;align-items:center}.radioaction:has(input:checked){border-color:#b7a6dc;background:#faf8ff}.radioaction input{accent-color:var(--purple);box-shadow:none}.sectionlabel{font-size:11px;letter-spacing:1px;color:#94988c;font-weight:600;margin-bottom:13px}.welcome{background:#f0e8ca;border:1px solid #e8ddb7;border-radius:10px;padding:24px 27px;margin-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.welcome h2{font-size:19px;margin-bottom:9px}.welcome p{font-size:12px;color:#918565;line-height:1.8}.welcome .bigicon{color:#b4a36c}.empty{padding:65px 25px;text-align:center;color:#9a9f92;line-height:2}.empty h3{color:#687460;margin:13px 0 6px}.notice{padding:13px 16px;border-radius:7px;background:#f5f2e8;color:#95865b;font-size:11px;line-height:1.9}.divider{height:1px;background:var(--line);margin:24px 0}.modalback{position:fixed;inset:0;background:#1e241c65;z-index:40;display:grid;place-items:center;padding:25px;backdrop-filter:blur(3px)}.modal{width:540px;max-width:100%;max-height:90vh;overflow:auto;background:var(--bg);border-radius:15px;padding:30px;box-shadow:0 20px 80px #0002}.modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.close{background:#eae9e1;border-radius:50%;width:29px;height:29px;color:#73796c;font-size:20px}.modal form{display:grid;gap:20px}.modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.uploadbox{border:1px dashed #c9c4d4;border-radius:8px;padding:20px;text-align:center;background:#f8f6fc;position:relative;font-size:12px;color:#8d819e;line-height:2}.uploadbox input{width:100%;font-size:11px;padding:10px 0 0;border:0;background:none}.filechosen{font-size:11px;color:#7e846e;margin-top:8px}.policy{max-width:740px;line-height:2.1}.policy h3{margin:25px 0 8px}.policy p{color:#858d7e;font-size:13px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#2d362b;color:#fff;padding:13px 22px;border-radius:9px;box-shadow:0 8px 30px #0002;opacity:0;pointer-events:none;z-index:100;transition:.2s;max-width:90vw;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}.mobilebrand{display:none}footer.pagefoot{margin-top:35px;font-size:10px;color:#b0b3a7;display:flex;justify-content:space-between}.teachercontext{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a8e82}.reviewhint{font-size:12px;line-height:1.9;color:#8c9384;margin:15px 0}.badge-new{font-size:10px;background:#f1ead7;padding:3px 7px;color:#aa9157;border-radius:4px}.formhint{font-size:11px;color:#919789;line-height:1.8;font-weight:400}.filterselect{font-size:12px;padding:9px 10px;max-width:180px}.previewimg{max-width:100%;max-height:220px;border-radius:6px;margin:10px 0}.countline{font-size:11px;color:#9ea395;margin-bottom:18px}
@media(min-width:1500px){.content{padding:43px 56px}.topbar{padding:0 56px}.cover{aspect-ratio:1.75}}@media(max-width:1120px){.projects,.studentgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:28px}.topbar{padding:0 28px}.detailcols{grid-template-columns:1fr}.listhead,.assignment{grid-template-columns:1.7fr .85fr 1fr 80px}.hide-medium{display:none}.stats{gap:10px}.stat{padding:16px}.login-visual{padding:40px}.login-art{margin-left:-40px;margin-right:-40px}.login-visual h1{font-size:39px}}
@media(max-width:760px){.login{grid-template-columns:1fr}.login-visual{display:none}.login-form{padding:40px 25px;min-height:90vh}.shell{display:block}.sidebar{position:relative;width:auto;height:auto;padding:16px;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line)}.sidebar>.row{margin-right:auto}.sidebar .brand small,.sidebar .role-label,.sidebar-foot .person,.sidebar-foot .navbtn:first-of-type{display:none}.sidebar nav{order:3;display:flex;width:100%;gap:5px}.navbtn{justify-content:center;font-size:12px;padding:10px;gap:6px}.sidebar-foot{margin:0}.sidebar-foot .navbtn{font-size:11px;padding:5px}.topbar{height:53px;padding:0 19px}.content{padding:25px 18px}.heading{align-items:flex-start}.heading .btn{font-size:12px;padding:10px 12px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px 18px}.stat .number{font-size:25px}.projects,.studentgrid{grid-template-columns:1fr}.toolbar{gap:14px}.tabs{gap:0}.tabs button{padding:8px 10px;font-size:11px}.search,.search input{width:100%;max-width:none}.listhead{display:none}.assignment{grid-template-columns:1fr auto;gap:12px;padding:16px}.assignment .hide-mobile{display:none}.assignment>div:nth-child(3){grid-column:1}.assignment>button{grid-column:2;grid-row:2}.welcome{padding:20px}.welcome .bigicon{display:none}.steps{padding:15px 3px}.step{font-size:10px}.panel{padding:20px}.projecthero{gap:14px;align-items:flex-start}.projecthero img{width:85px;height:85px}.projecthero h1{font-size:22px}.modalback{padding:15px}.modal{padding:23px}.topbar .teachercontext{font-size:10px}.demo-label{font-size:10px}.studentgrid .studentcard{padding:20px}footer.pagefoot{font-size:9px}.project-create{min-height:180px}.projecthero .row{flex-wrap:wrap}.login-box{max-width:100%}}

.steps{grid-template-columns:repeat(7,minmax(92px,1fr));overflow-x:auto}.step{white-space:nowrap}.navbtn{position:relative}.reddot{width:7px;height:7px;position:absolute;right:8px;top:7px;border-radius:50%;background:#db5059;box-shadow:0 0 0 2px #fff}.filter-stat{text-align:left;color:inherit;transition:border-color .15s,background .15s}.filter-stat:hover,.filter-stat[aria-pressed=true]{border-color:#ae9dde}.heading .activity-count{color:var(--purple);font-weight:600;margin-top:5px}.bulletin h3{margin:0}.bulletin p{margin-top:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.sidebar nav{flex-wrap:wrap}.sidebar nav .navbtn{width:auto;flex:1 0 auto}.sidebar nav .navbtn{justify-content:flex-start}@media(max-width:760px){.steps{grid-template-columns:repeat(7, minmax(76px,1fr))}.sidebar nav .navbtn{justify-content:center}}

.account-row{padding:12px 0;border-bottom:1px solid var(--line)}.account-row:last-child{border-bottom:0}

.review-progress{margin:24px 0 30px}.review-progress h3{margin:0}.review-progress .steps{margin:10px 0 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.cohort-picker{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink)}
.cohort-picker select{width:auto;min-width:90px;margin:0}
.admin-actions{flex-wrap:wrap}
@media(min-width:1121px){.listhead,.assignment{grid-template-columns:minmax(0,2fr) .8fr .85fr 1.1fr .8fr 80px}}
@media(min-width:761px) and (max-width:1120px){.listhead,.assignment{grid-template-columns:minmax(0,1.7fr) .75fr .85fr 1fr 80px}}
@media(max-width:760px){.assignment>.assignment-category{grid-column:2;grid-row:1;text-align:right}.assignment>.assignment-status{grid-column:1;grid-row:2}}

.filechip{flex-wrap:wrap}.attachment-download{margin-left:auto;white-space:nowrap;text-decoration:none}.attachment-download:disabled{opacity:.55;cursor:default}.filechip .attachment-note{flex:0 0 100%;text-align:right}

.sidebar > .cohort-picker{justify-content:space-between;margin:0 0 16px}
@media(max-width:760px){.sidebar > .cohort-picker{order:2;width:100%;justify-content:flex-start;margin:4px 0}}

.upload-error{color:#a12b27;font-weight:600}

.cohort-checks{border:1px solid var(--line);border-radius:8px;padding:10px 14px}.cohort-checks label{display:inline-flex;align-items:center;gap:6px;margin:6px 16px 6px 0}.cohort-checks input{width:auto;margin:0}
.account-actions,.account-tags{flex-wrap:wrap;gap:8px}.account-tags{margin-top:10px}.account-row{gap:18px;align-items:center}.account-actions{justify-content:flex-end}.danger{color:#a23838}.attachment-picker{margin-top:18px}.attachment-list{border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:8px;min-height:48px}.attachment-list .filechip{margin:0;justify-content:space-between;gap:12px}.attachment-list .filechip>span{min-width:0;overflow-wrap:anywhere}.attachment-list button{flex-shrink:0}.cover-preview{display:block;max-height:180px;max-width:100%;border-radius:10px;object-fit:cover}.cover-preview[hidden]{display:none}
@media(max-width:760px){.account-row{flex-direction:column;align-items:stretch}.account-actions{justify-content:flex-start}.admin-actions{flex-wrap:wrap}}
.confirm-dialog{width:min(460px,calc(100vw - 40px));box-sizing:border-box;border:1px solid var(--line);border-radius:16px;padding:28px;background:#faf9f5;color:#292b2a;box-shadow:0 20px 80px #0003}.confirm-dialog::backdrop{background:#2228}.confirm-dialog h2{margin:0 0 20px}.confirm-dialog p{line-height:1.7}.confirm-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}

/* Local revision 3 */
.student-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.project-open{cursor:pointer}.project-open:focus-visible{outline:3px solid var(--purple);outline-offset:-3px}.project-actions{padding:0 20px 16px;display:flex;justify-content:flex-end}.submission-screenshots{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.screenshot-thumb{width:140px;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-align:left}.screenshot-thumb img{display:block;width:100%;height:100px;object-fit:cover}.screenshot-thumb span{display:block;font-size:11px;padding:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal:has(.screenshot-full){width:min(1100px,95vw)}.screenshot-full{display:block;max-width:100%;max-height:72vh;object-fit:contain;margin:auto}.copy-case-list{display:grid;gap:10px;max-height:330px;overflow:auto}.case-choice{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px}.case-choice input{width:auto}.case-choice small{display:block;margin-top:5px;color:#818579}@media(max-width:1100px){.student-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.student-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Structured image/text feedback */
.rich-editor{background:#fff;border:1px solid #dedbd3;border-radius:12px;padding:16px;margin:10px 0 22px}.rich-heading{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;margin-bottom:16px}.rich-heading strong{font-size:14px}.rich-heading span{font-size:11px;color:#8b8a82}.rich-block{border:1px solid #e7e4dd;border-radius:8px;margin-bottom:12px;background:#faf9f6;overflow:hidden}.rich-block-bar{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #e7e4dd;font-size:11px}.rich-index{color:#aaa596;font-size:10px}.rich-block-bar select{font-size:11px;width:auto;padding:4px 6px;border:0;background:transparent;box-shadow:none}.rich-block-actions{margin-left:auto;display:flex;gap:4px}.rich-block-actions button{font-size:11px;background:transparent;color:#7e7b73;padding:4px 7px;border-radius:4px}.rich-block-actions button:hover{background:#eeebe3}.rich-block-actions button:disabled{opacity:.3;cursor:default}.rich-block textarea{display:block;min-height:100px;border:0;border-radius:0;background:#fff;padding:14px;margin:0;resize:vertical;font-size:13px;line-height:1.8;box-shadow:none}.rich-block input[data-rich-caption]{border:0;border-top:1px solid #e7e4dd;border-radius:0;margin:0;font-size:12px}.rich-draft-image{display:block;width:100%;max-height:300px;object-fit:contain;background:#f0eee8}.rich-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rich-toolbar input[hidden]{display:none}.rich-preview{border-top:1px dashed #d7d1c5;margin-top:16px;padding-top:20px}.rich-content{font-size:13px;line-height:1.9;color:#41483e;overflow-wrap:anywhere}.rich-content p{white-space:pre-wrap;margin:14px 0!important;color:inherit!important;line-height:1.9!important}.rich-content h4{font-size:15px;margin:24px 0 10px;line-height:1.6;color:#384132;white-space:pre-wrap}.rich-content>:first-child{margin-top:14px}.rich-content ol,.rich-content ul{padding-left:24px;margin:14px 0}.rich-content li{padding-left:3px;white-space:pre-wrap}.rich-content figure{margin:18px 0}.rich-image{display:block;width:100%;background:#eeece6;border:1px solid #e4e0d6;border-radius:9px;overflow:hidden;cursor:zoom-in;padding:0}.rich-image img{display:block;width:100%;max-height:520px;object-fit:contain}.rich-content figcaption{font-size:11px;color:#8d8b80;text-align:center;line-height:1.6;margin:8px 0}.detailcols:has(.rich-editor){grid-template-columns:minmax(0,1fr) minmax(390px,1fr)}@media(max-width:1120px){.detailcols:has(.rich-editor){grid-template-columns:1fr}}@media(max-width:760px){.rich-editor{padding:12px}.rich-toolbar .btn{font-size:11px;padding:8px}.rich-block-actions button{padding:4px}.rich-image img{max-height:380px}}
/* Opinion cards replace separate text/image blocks. */
.opinion-card{border:1px solid #ddd9d0;background:#fff;border-radius:10px;margin-bottom:16px;overflow:hidden}.opinion-card-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f4f2ec;border-bottom:1px solid #e9e5dc}.opinion-card-bar strong{font-size:12px;color:#5e6557}.opinion-format{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #efede6}.opinion-format button{font-size:12px;background:#f3f1eb;border:1px solid #e4e0d7;border-radius:4px;padding:4px 10px}.opinion-format .red-control{color:#c74343}.opinion-format span{margin-left:auto;font-size:10px;color:#9c9a91}.opinion-writing{padding:8px 12px}.opinion-writing textarea.opinion-text{display:block;width:100%;min-height:64px;border:0;border-radius:0;box-shadow:none;background:transparent;resize:none;overflow:hidden;margin:0;padding:10px 0;font-size:13px;line-height:1.8;color:#41483e}.opinion-writing textarea.red-text{color:#c74343}.opinion-draft-picture{position:relative;width:140px;margin:8px 0;border:1px solid #e4e0d6;border-radius:7px;padding:4px;background:#f7f5ef}.opinion-draft-picture img{display:block;width:130px;height:100px;object-fit:contain}.opinion-draft-picture button{position:absolute;right:0;top:0;background:#fff;border:1px solid #ded9cc;border-radius:50%;width:22px;height:22px;font-size:16px;color:#7c7465}.opinion-result{padding:14px 16px;border:1px solid #e6e1d6;border-radius:9px;background:#fffdf8;margin:14px 0}.opinion-result-label{font-size:11px;color:#9b907a;letter-spacing:.3px}.rich-content p.opinion-red{color:#c74343!important}.rich-content figure.opinion-figure{margin:12px 0}.opinion-figure .screenshot-thumb{max-width:100%}.opinion-figure .screenshot-thumb img{object-fit:contain;background:#f1efe9}.opinion-figure .screenshot-thumb{cursor:zoom-in}
/* Continuous editable opinions: one line rhythm, with native removable newlines. */
.numbered-opinion{display:flex;align-items:flex-start;gap:8px}.opinion-number{flex:0 0 auto;color:#6b715f;font-size:13px;line-height:1.8;font-variant-numeric:tabular-nums}.opinion-edit-row{padding:12px}.opinion-edit-row [data-opinion-editor]{flex:1;min-width:0;min-height:24px;outline:0;border:0;margin:0;padding:0;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#41483e}.opinion-edit-row [data-opinion-editor][data-empty="true"]::before{content:'输入修改意见，可粘贴截图';position:absolute;color:#aaa69a;pointer-events:none}.opinion-inline-image{display:inline-block;width:140px;height:100px;object-fit:contain;vertical-align:bottom;margin:0;padding:0;border-radius:5px;background:#f1efe9}.opinion-flow{min-width:0;flex:1;white-space:pre-wrap;font-size:13px;line-height:1.8}.inline-red{color:#c74343!important}.inline-normal{color:#41483e!important}.opinion-flow .opinion-thumb{display:inline-block;vertical-align:bottom;margin:0}.rich-content .numbered-opinion{padding:12px 14px}.opinion-flow>span{white-space:pre-wrap}.opinion-flow .screenshot-thumb span{white-space:nowrap}
/* Add breathing room only around images; ordinary text keeps its line height. */
.opinion-inline-image,.opinion-flow .opinion-thumb{margin-top:12px;margin-bottom:12px}
.notice-card{width:100%;text-align:left;cursor:pointer;font:inherit;color:inherit;border:1px solid var(--line,#e5e2da)}.notice-card:hover{border-color:#7561b8}.notice-card strong{font-size:18px}.notice-card p{color:#777;line-height:1.7;margin:16px 0}.notice-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#da625b;margin-right:9px}.notice-detail{margin-top:20px;padding:30px}.notice-detail h1{margin:24px 0;overflow-wrap:anywhere}.notice-body{white-space:pre-wrap;line-height:1.8}.notice-pdf{margin-top:28px;padding-top:20px;border-top:1px solid #e5e2da}.notice-pdf iframe{width:100%;height:620px;border:1px solid #e5e2da;border-radius:10px;margin:16px 0;background:#f3f2ee}.notice-pdf a{color:#6a58ac}.notice-cohorts{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0 24px}.notice-cohorts[hidden]{display:none}.notice-cohorts input{width:auto}.notice-file{padding:12px;border:1px solid #e5e2da;border-radius:8px;margin:8px 0}.notice-editor [data-opinion-editor]{min-height:180px}.notice-card,.notice-detail{overflow-wrap:anywhere}@media(max-width:650px){.notice-detail{padding:18px}.notice-pdf iframe{height:440px}.notice-card .row{flex-wrap:wrap;gap:10px}}
.notice-page-editor{padding:28px}.notice-editor [data-opinion-editor]{min-height:360px}.notice-attachment-area{border-top:1px solid #e5e2da;padding-top:24px;margin-top:24px}.notice-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.notice-flow{white-space:pre-wrap;line-height:1.8;font-size:16px;overflow-wrap:anywhere}.notice-image{display:block;max-width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;margin:14px 0}.notice-image img{width:100%;height:auto;display:block}.notice-resizable{display:block;position:relative;max-width:100%;margin:14px 0;cursor:grab;outline:1px dashed #b2a4d6;line-height:0}.notice-editor .notice-resizable .opinion-inline-image{width:100%;max-width:100%;height:auto;max-height:none;margin:0;display:block}.notice-resize-handle{position:absolute;width:16px;height:16px;border:2px solid white;border-radius:3px;background:#7863b9;bottom:-6px;right:-6px;cursor:nwse-resize;touch-action:none;padding:0}.notice-resizable:active{cursor:grabbing}.notice-page-editor [hidden]{display:none!important}
.notice-editor [data-opinion-editor][data-empty="true"]::before{content:'输入公告正文，可直接粘贴图片'}.notice-editor [data-opinion-editor]{font-size:16px}
.notice-centered{margin-left:auto!important;margin-right:auto!important}.notice-paragraph{margin:0;min-height:1.8em}.notice-image-selected{outline:2px solid #7863b9}.notice-editor [data-notice-paragraph]{min-height:1.8em}
.notice-card-content{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}.notice-card-actions{display:flex;justify-content:flex-end;gap:18px;border-top:1px solid #ece9e1;margin-top:16px;padding-top:12px}.notice-card-actions .notice-delete{color:#bd514a}.notice-card-content:focus-visible{outline:2px solid #7863b9;outline-offset:6px;border-radius:4px}
.library-panel{padding:24px}.library-path{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.library-table-wrap{overflow-x:auto}.library-table{width:100%;border-collapse:collapse;text-align:left}.library-table th{font-size:12px;color:#8a8d82;font-weight:500;background:#f8f7f3;padding:13px}.library-table td{padding:16px 13px;border-bottom:1px solid #ecebe5;color:#777d71;font-size:13px}.library-table td:first-child{width:46%}.library-table tr:hover td{background:#faf9f6}.library-name{display:flex;align-items:center;gap:12px;border:0;background:none;color:#41483e;cursor:pointer;text-decoration:none;text-align:left;font:inherit;overflow-wrap:anywhere;padding:0}.library-name span{font-size:24px;flex-shrink:0}.library-row-actions{display:flex;gap:15px;white-space:nowrap}.library-table th,.library-table td:nth-child(2),.library-table td:nth-child(3){white-space:nowrap}.library-panel>p{margin-top:20px}

/* Selection column must not inherit the legacy 46% name-column width. */
.library-selection-table{table-layout:fixed;min-width:580px}.library-selection-table th:first-child,.library-selection-table td:first-child{width:44px;box-sizing:border-box}.library-selection-table th:nth-child(3){width:110px}.library-selection-table th:nth-child(4){width:180px}.library-selection-table td:nth-child(2){white-space:normal}.library-selection-table input[type="checkbox"]{width:16px;height:16px;margin:0;vertical-align:middle}

/* Login only: original artwork with CSS desaturation and a quiet center. */
.auth-page{min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:40px 20px;position:relative;isolation:isolate;background:#f6f1eb;color:#292620;font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
.auth-page:before{content:"";position:absolute;inset:0;z-index:-2;background:url('/assets/login-building.jpg') center center/cover no-repeat;filter:grayscale(1);opacity:.075;mix-blend-mode:multiply;pointer-events:none}
.auth-page:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,rgba(246,241,235,.88) 0%,rgba(246,241,235,.55) 29%,rgba(246,241,235,0) 70%);pointer-events:none}
.auth-card{width:576px;max-width:100%;padding:36px 50px 32px;border:1px solid #dccfc2;border-radius:23px;background:rgba(255,253,250,.92);box-shadow:0 16px 36px -20px #795c4045,0 2px 5px #795c4005}
.auth-header{text-align:center}.auth-logo{display:block;width:185px;height:auto;max-width:60%;margin:0 auto 24px}.auth-header h1{font-size:36px;line-height:1.4;letter-spacing:1px;font-weight:650;color:#25231f}.auth-header p{font-size:20px;line-height:1.6;color:#6b655e;margin-top:4px}
.auth-tabs{display:flex;border-bottom:1px solid #e8e0d7;margin-top:32px}.auth-tabs button{position:relative;flex:1;background:none;color:#746d65;font-size:20px;font-weight:600;padding:14px 4px 16px;line-height:1.4}.auth-tabs button.active{color:#9a6928}.auth-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:20%;right:20%;height:3px;background:#9a6928}.auth-tabs button:hover{color:#82571e}
.auth-fields{display:grid;gap:20px;margin-top:24px}.auth-fields label{display:grid;gap:8px;font-size:18px;line-height:1.5;font-weight:500}.auth-fields input{width:100%;height:50px;border:1px solid #d8d3cd;border-radius:10px;background:#fffdfb;color:#39332c;padding:11px 15px;font-size:16px;font-weight:400;box-shadow:inset 0 1px 2px #57463303}.auth-fields input::placeholder{color:#8c867e}.auth-fields input:focus{border-color:#ac7b38;box-shadow:0 0 0 3px #c9974220}.auth-password{position:relative;display:block}.auth-password input{padding-right:55px}.auth-eye{position:absolute;right:4px;top:2px;width:44px;height:43px;display:grid;place-items:center;background:none;color:#8b857d;border-radius:7px}.auth-eye svg{width:24px;height:24px}.auth-eye-slash{display:none}.auth-eye[aria-pressed="true"] .auth-eye-slash{display:block}.auth-submit{height:52px;margin-top:8px;border-radius:10px;border:1px solid #e5aa43;background:#e9b34f;color:#45331d;font-size:18px;font-weight:600;letter-spacing:2px;box-shadow:0 1px 2px #8e631310}.auth-submit:hover{background:#e4aa40}.auth-submit:active{background:#dca038}.auth-page button:focus-visible{outline:3px solid #9a6928;outline-offset:3px}.auth-note{margin-top:22px;text-align:center;color:#756e65;font-size:16px;line-height:1.7}
@media(max-width:600px){.auth-page{padding:28px 18px}.auth-card{padding:30px 24px 26px;border-radius:20px}.auth-logo{width:150px;margin-bottom:22px}.auth-header h1{font-size:28px}.auth-header p{font-size:16px}.auth-tabs{margin-top:26px}.auth-tabs button{font-size:16px}.auth-fields{gap:18px}.auth-note{font-size:12px}.auth-page:before{background-position:39% center}}
@media(max-height:680px) and (min-width:601px){.auth-page{padding:24px 20px}.auth-card{padding-top:24px;padding-bottom:24px}.auth-logo{width:145px;margin-bottom:16px}.auth-tabs{margin-top:20px}}
/* Preserve breathing room on laptop windows, including high-DPI displays. */
@media(min-width:601px) and (max-height:850px){
.auth-page{padding:28px 20px}
.auth-card{width:480px;padding:28px 38px;border-radius:20px}
.auth-logo{width:145px;margin-bottom:18px}
.auth-header h1{font-size:28px}
.auth-header p{font-size:16px}
.auth-tabs{margin-top:22px}
.auth-tabs button{font-size:16px;padding:12px 4px 14px}
.auth-fields{margin-top:20px;gap:18px}
.auth-fields label{font-size:15px;gap:8px}
.auth-fields input{height:44px;padding-top:9px;padding-bottom:9px}
.auth-eye{top:0;height:44px}
.auth-submit{height:46px;margin-top:6px;font-size:17px}
.auth-note{margin-top:18px;font-size:13px}
}

/* Student workspace: warm palette, shared status strip and responsive gallery. */
.student-shell{--bg:#f6f1eb;--paper:#fffdfa;--ink:#302a24;--muted:#82796f;--line:#e8e0d7;--purple:#9a6928;--soft:#fff0d5;--yellow:#e9b34f;background:var(--bg);grid-template-columns:240px minmax(0,1fr)}
.student-shell .sidebar{width:240px;padding:30px 20px;background:#fffdfa;border-color:var(--line)}
.student-brand{display:flex;align-items:center;gap:12px;margin:0 5px 36px}.student-shark{width:66px;height:auto;aspect-ratio:1;border-radius:14px}.student-wordmark{width:118px;height:auto;min-width:0}.student-shell .role-label{display:none}.student-shell .navbtn{font-size:16px;padding:15px 16px;gap:14px;margin:5px 0;color:#5b534b;border-radius:10px}.student-shell .navbtn .icon{width:23px;height:23px}.student-shell .navbtn.active{background:#ffe8bd;color:#45331d}.student-shell .navbtn:hover{background:#fff1d9}.student-shell .person{padding-top:24px;gap:12px;align-items:center}.student-shell .person>div{min-width:0}.student-shell .person strong{font-size:16px!important;overflow-wrap:anywhere}.student-shell .person p{font-size:12px;line-height:1.7}.student-shell .avatar{background:#ffdc98;color:#45331d;width:42px;height:42px;font-size:17px}.student-shell .sidebar-foot>.navbtn{font-size:14px;padding:12px 8px}.student-shell .sidebar-foot{padding-top:30px}
.student-shell .content{max-width:1500px;padding:38px 36px 56px}.student-shell .btn:not(.secondary):not(.danger):not(.green){background:#e9b34f;color:#45331d}.student-heading{align-items:center;margin-bottom:26px}.student-heading h1{font-size:34px;letter-spacing:0;line-height:1.4}.student-heading .activity-count{font-size:16px;margin-top:5px;color:#655d54}.student-heading .btn{font-size:17px;padding:15px 22px;border-radius:10px}.student-heading .btn .icon{width:23px;height:23px}
.student-shell .student-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;background:#fffdfa;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 14px #654e3210;padding:17px 0;margin-bottom:12px}.student-shell .student-stats .stat{position:relative;border:0;border-right:1px solid var(--line);border-radius:0;background:none;padding:0 8px;text-align:center;color:#46413b}.student-shell .student-stats .stat:last-child{border:0}.student-shell .student-stats .label{color:inherit;font-size:16px;line-height:1.6}.student-shell .student-stats .number{font-size:36px;font-weight:700;line-height:1.3;margin-top:4px;color:inherit;font-variant-numeric:tabular-nums}.student-shell .student-stats .warm-stat{color:#b86c12}.student-shell .student-stats .stat:hover{background:#fff7e9}.student-shell .student-stats .selected:after{content:'';position:absolute;bottom:-17px;height:3px;left:28%;right:28%;background:#d2a15c}.student-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#867a6c;font-size:12px;margin:0 2px 12px}.student-filter-summary .linkbtn{font-size:13px;color:#7d6c56;font-weight:500}.student-filter-summary .active{color:#9a6928;text-decoration:underline;text-underline-offset:4px}
.student-toolbar{margin-bottom:22px}.student-shell .tabs{gap:22px}.student-shell .tabs button{position:relative;padding:12px 4px;font-size:15px;color:#61574c;background:none;border-radius:0}.student-shell .tabs button.active{color:#302a24;font-weight:700;background:none}.student-shell .tabs button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#e9b34f}.student-sort select{border:0;background:transparent;color:#665b50;padding:10px 22px 10px 8px;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.student-shell .projects{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.student-project{background:#fffdfa;border:1px solid #e6ded4;border-radius:13px;box-shadow:0 3px 10px #5a43230b;display:flex;flex-direction:column}.student-project .cover{aspect-ratio:1.62;border-radius:12px 12px 9px 9px}.student-project .cover img{object-fit:cover;object-position:center}.student-project .project-body{padding:17px 20px 0}.student-project h3{font-size:21px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}.student-project .project-body>p{font-size:14px;line-height:1.65;color:#776c60}.student-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0 17px;flex-wrap:wrap}.student-status{padding:5px 10px;border-radius:6px;font-size:13px;line-height:1.5;white-space:nowrap}.student-status.orange{background:#ffedd1;color:#ab5f0c}.student-status.blue{background:#e5f0ff;color:#386a9c}.student-status.green{background:#eaf1e8;color:#52704d}.student-card-meta time{font-size:12px;color:#8a7d6c}.student-card-actions{margin:auto 20px 0;border-top:1px solid #eee6dc;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 0 13px}.student-card-primary{font-size:16px;color:#59402b;display:flex;align-items:center;gap:12px}.student-card-delete{font-size:11px;color:#8c8277;font-weight:400}.student-card-delete:hover{color:#a94b31}.student-shell button:focus-visible,.student-shell a:focus-visible{outline-color:#9a6928}
@media(min-width:1500px){.student-shell{grid-template-columns:260px minmax(0,1fr)}.student-shell .sidebar{width:260px;padding:32px 22px}.student-brand{gap:14px}.student-shark{width:72px}.student-wordmark{width:126px}.student-shell .content{padding:38px 38px 60px}}
@media(max-width:1200px) and (min-width:761px){.student-shell{grid-template-columns:220px minmax(0,1fr)}.student-shell .sidebar{width:220px;padding:26px 16px}.student-brand{gap:9px}.student-shark{width:57px}.student-wordmark{width:110px}.student-shell .content{padding:30px 24px}.student-shell .projects{grid-template-columns:repeat(2,minmax(0,1fr))}.student-shell .student-stats .label{font-size:13px}.student-shell .student-stats .number{font-size:29px}.student-shell .tabs{gap:12px}}
@media(max-width:760px){.student-shell{display:block}.student-shell .sidebar{position:relative;width:100%;padding:18px;gap:0;display:flex;flex-direction:column;align-items:stretch}.student-brand{margin:0 0 16px;gap:10px}.student-shark{width:48px}.student-wordmark{width:100px}.student-shell .sidebar nav{order:0;display:flex;gap:6px;flex-wrap:wrap}.student-shell .navbtn{font-size:14px;flex:1;padding:11px 8px;gap:7px;white-space:nowrap}.student-shell .navbtn .icon{width:19px;height:19px}.student-shell .sidebar-foot{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px;margin:0;align-items:center}.student-shell .sidebar-foot .person{display:flex;width:100%;border-top:1px solid var(--line);padding-top:14px}.student-shell .sidebar-foot>.navbtn{display:flex;justify-content:flex-start;flex:initial;font-size:12px;padding:6px}.student-shell .sidebar-foot .avatar{width:33px;height:33px;font-size:14px}.student-shell .person strong{font-size:14px!important}.student-shell .content{padding:24px 18px 40px}.student-heading h1{font-size:27px}.student-heading .activity-count{font-size:13px}.student-heading .btn{padding:11px 13px;font-size:14px}.student-shell .student-stats{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0;row-gap:18px}.student-shell .student-stats .stat:nth-child(3){border:0}.student-shell .student-stats .label{font-size:14px}.student-shell .student-stats .number{font-size:29px}.student-shell .student-stats .selected:after{bottom:-5px}.student-shell .projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.student-shell .tabs{gap:15px;flex-wrap:wrap}.student-shell .tabs button{font-size:14px}.student-toolbar{gap:6px}.student-filter-summary{font-size:11px}.student-project .project-body{padding:14px 16px 0}.student-card-actions{margin-left:16px;margin-right:16px}.student-project h3{font-size:19px}}
@media(max-width:540px){.student-shell .projects{grid-template-columns:minmax(0,1fr)}.student-heading{gap:10px}.student-heading .btn .icon{width:18px}.student-project .cover{aspect-ratio:1.62}.student-shell .student-toolbar .tabs{width:100%;justify-content:space-between;gap:3px}.student-sort{margin-left:auto}}
@media(min-width:761px){.student-shell .sidebar nav .navbtn{width:100%;justify-content:flex-start}}
.student-shell{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}.student-heading .activity-count{font-weight:400}
@media(max-width:760px){.student-shell .sidebar-foot>.navbtn{width:auto}.student-shell .sidebar-foot{column-gap:16px}}

/* Approved compact workspace: four desktop cards and five status groups. */
.student-shell .content{padding-top:30px}
.student-heading{margin-bottom:22px}.student-heading h1{font-size:28px}.student-heading .activity-count{font-size:14px}.student-heading .btn{font-size:15px;padding:12px 18px}
.student-shell .student-stats{grid-template-columns:repeat(5,minmax(0,1fr));padding:14px 0;margin-bottom:10px}.student-shell .student-stats .label{font-size:14px}.student-shell .student-stats .number{font-size:30px}.student-shell .student-stats .selected:after{bottom:-14px}
.student-filter-summary{justify-content:flex-end;font-size:11px;margin-bottom:8px}.student-shell .tabs button{font-size:13px;padding:10px 4px}.student-sort select{font-size:13px}.student-toolbar{margin-bottom:18px}
.student-shell .projects{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.student-project .project-body{padding:14px 16px 0}.student-project h3{font-size:17px}.student-project .project-body>p{font-size:12px}.student-card-meta{margin:12px 0 14px;gap:6px}.student-status{font-size:12px;padding:4px 8px}.student-card-meta time{font-size:11px}.student-card-actions{margin-left:16px;margin-right:16px;gap:6px;padding:9px 0 11px}.student-card-primary{font-size:14px;gap:8px}.student-card-delete{font-size:10px}.student-card-actions .icon{width:16px;height:16px}
@media(max-width:1200px) and (min-width:961px){.student-shell .projects{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:960px) and (min-width:541px){.student-shell .projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.student-shell .content{padding-top:24px}.student-heading h1{font-size:25px}.student-heading .activity-count{font-size:12px}.student-heading .btn{font-size:13px;padding:10px 12px}.student-shell .student-stats{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.student-shell .student-stats .label{font-size:13px}.student-shell .student-stats .number{font-size:27px}.student-shell .student-stats .selected:after{bottom:-5px}.student-shell .student-stats .stat:nth-child(3){border:0}}
@media(max-width:540px){.student-shell .projects{grid-template-columns:minmax(0,1fr)}.student-project h3{font-size:18px}.student-card-primary{font-size:15px}}

/* Staff workspaces share the approved warm, compact student visual system. */
.staff-shell .sidebar{overflow-y:auto}.staff-shell .student-brand{margin-bottom:24px;flex-shrink:0}.staff-shell .cohort-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;margin:0 4px 24px;font-size:14px;color:#504435}.staff-shell .cohort-picker select{min-width:92px;width:auto;background:#fffdfa;border:1px solid #e8e0d7;padding:9px 12px;color:#45331d;border-radius:9px}.staff-shell .sidebar nav .navbtn{font-size:14px;padding:11px 12px;gap:12px}.staff-shell .sidebar .navbtn .count{background:#fadd9e;color:#986323;font-size:12px}.staff-shell .sidebar-foot{padding-top:18px}.staff-shell .person{padding-top:18px}.staff-shell .sidebar-foot>.navbtn{padding:10px 8px;font-size:13px}.staff-shell .content>.heading{margin-bottom:24px;align-items:center}.staff-shell .heading h1{font-size:28px;letter-spacing:0;line-height:1.4;color:#45331d}.staff-shell .heading p{font-size:13px;line-height:1.8;color:#756a5c}.staff-shell .teachercontext{display:flex;align-items:center;gap:8px;font-size:12px;color:#807467;white-space:nowrap}
.staff-shell .staff-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fffdfa;border:1px solid #e8e0d7;border-radius:14px;box-shadow:0 4px 14px #654e3210;padding:9px;margin-bottom:24px}.staff-stats .stat{position:relative;border:0;border-radius:10px;background:none;padding:13px 10px;text-align:center;color:#433b32}.staff-stats .stat:not(:last-child):after{content:'';position:absolute;right:0;top:15px;bottom:15px;width:1px;background:#e8e0d7}.staff-stats .stat.accent{background:#fff0d6;color:#a86613}.staff-stats .stat.accent:after{display:none}.staff-stats .label{font-size:14px;color:inherit;font-weight:600}.staff-stats .number{font-size:30px;line-height:1.3;margin-top:6px;color:inherit;font-weight:700;font-variant-numeric:tabular-nums}.staff-shell .toolbar{margin-bottom:16px}.staff-shell .search input{width:235px;max-width:100%;background:#fffdfa;border-color:#e4dbd0;border-radius:9px;height:39px;font-size:12px}.staff-shell .countline{font-size:12px;color:#786a58;margin-bottom:16px}
.staff-assignment-list{border:1px solid #e6ded4;border-radius:13px;box-shadow:0 3px 10px #5a43230b;background:#fffdfa}.staff-shell .listhead,.staff-shell .assignment{grid-template-columns:minmax(190px,2.1fr) minmax(65px,.7fr) minmax(85px,.85fr) minmax(100px,1fr) minmax(135px,1.3fr) 86px;gap:14px;padding:17px 22px}.staff-shell .listhead{background:#f9f6f1;color:#756755;font-size:12px}.staff-shell .assignment{font-size:12px;color:#5b5043;border-color:#eee5da}.staff-shell .assignment:hover{background:#fff8eb}.staff-shell .workmini{min-width:0}.staff-shell .workmini>div{min-width:0}.staff-shell .workmini strong{font-size:14px;overflow-wrap:anywhere;line-height:1.5}.staff-shell .workmini small{font-size:11px;line-height:1.6;color:#8a7c6a}.staff-shell .workmini img{width:52px;height:46px;object-fit:cover;border-radius:8px}.staff-shell .assignment .linkbtn{font-size:12px;color:#845525;display:flex;align-items:center;gap:7px}.staff-shell .tag.pending,.staff-shell .tag.modify{background:#fff0d5;color:#a56a22}.staff-shell .tag.lead{background:#e8f0fa;color:#54789b}.staff-shell .staff-empty{padding:44px 20px 50px;color:#887761}.staff-empty>.icon{width:60px;height:60px;color:#d8cfc3;margin-bottom:14px}.staff-empty h3{font-size:17px;font-weight:600;color:#77634a}.staff-shell .panel,.staff-shell .studentcard{background:#fffdfa;border-color:#e8e0d7}.staff-shell .filter-stat:hover{border-color:transparent}
@media(max-width:1250px) and (min-width:761px){.staff-shell .listhead,.staff-shell .assignment{grid-template-columns:minmax(160px,1.7fr) minmax(65px,.7fr) minmax(85px,.8fr) minmax(90px,1fr) 82px;gap:10px;padding:16px}.staff-shell .listhead>.hide-medium,.staff-shell .assignment>.hide-medium{display:none}.staff-shell .teachercontext{font-size:11px}.staff-shell .workmini{gap:8px}}
@media(max-width:1000px) and (min-width:761px){.staff-shell .teachercontext{display:none}.staff-shell .sidebar nav .navbtn{padding:10px;font-size:13px}.staff-shell .listhead,.staff-shell .assignment{grid-template-columns:minmax(150px,1.5fr) 75px minmax(90px,1fr) 75px}.staff-shell .listhead>span:nth-child(2),.staff-shell .assignment>.hide-mobile{display:none}.staff-shell .listhead>.hide-medium{display:none}}
@media(max-width:760px){.staff-shell .sidebar{overflow:visible}.staff-shell .student-brand{margin-bottom:16px}.staff-shell .cohort-picker{justify-content:flex-start;margin:0 0 14px}.staff-shell .sidebar nav .navbtn{width:auto;flex:1 0 auto;justify-content:center;font-size:12px;padding:9px 8px}.staff-shell .sidebar nav .navbtn .icon{width:17px;height:17px}.staff-shell .sidebar-foot{padding-top:12px}.staff-shell .sidebar-foot>.navbtn{padding:6px;font-size:12px}.staff-shell .heading h1{font-size:25px}.staff-shell .heading p{font-size:12px}.staff-shell .teachercontext{display:none}.staff-shell .staff-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.staff-stats .stat:nth-child(2):after{display:none}.staff-stats .label{font-size:13px}.staff-stats .number{font-size:27px}.staff-shell .search input{width:100%}.staff-shell .listhead{display:none}.staff-shell .assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}.staff-shell .assignment>.hide-mobile{display:none}.staff-shell .assignment>.workmini{grid-column:1/-1}.staff-shell .assignment>.assignment-category{grid-column:1;grid-row:2}.staff-shell .assignment>.assignment-status{grid-column:1;grid-row:3}.staff-shell .assignment>button{grid-column:2;grid-row:3}.staff-shell .staff-empty{padding:30px 16px}.staff-shell .tabs{gap:14px}}

/* More readable assignment rows and a wider submission/history column. */
.staff-shell .staff-assignment-list .listhead{font-size:14px}
.staff-shell .staff-assignment-list .assignment{font-size:14px;line-height:1.6}
.staff-shell .staff-assignment-list .workmini strong{font-size:16px}
.staff-shell .staff-assignment-list .workmini small{font-size:13px}
.staff-shell .staff-assignment-list .assignment .small,.staff-shell .staff-assignment-list .assignment .tag,.staff-shell .staff-assignment-list .assignment .linkbtn{font-size:13px}
.staff-shell .staff-review-columns{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}
.staff-review-columns>*{min-width:0}.staff-review-columns .rich-block-bar{flex-wrap:wrap}.staff-review-columns input[type=file]{width:100%;min-width:0}.staff-review-columns .rich-toolbar{flex-wrap:wrap}
@media(max-width:1120px){.staff-shell .staff-review-columns{grid-template-columns:minmax(0,1fr)}}

/* Compact one-line identity gives the cover more of the card. */
.student-project .cover{aspect-ratio:1.3}
.student-card-titleline{display:flex;align-items:center;gap:8px;min-width:0}
.student-project .student-card-titleline h3{display:block;flex:1 1 auto;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;line-height:1.6}
.student-project .student-card-titleline p{flex:0 1 auto;max-width:62%;min-width:0;margin:0;color:#776c60;font-size:11px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Student work detail and compact submission form */
.student-detail .back{margin-bottom:18px}
.student-detail-hero{display:flex;align-items:center;gap:18px;margin-bottom:20px;min-width:0}
.student-detail-hero img{width:72px;height:72px;object-fit:cover;border-radius:12px}
.student-detail-hero h1{font-size:26px;overflow-wrap:anywhere}
.student-detail .steps{margin:18px 0 24px;padding:14px 8px;overflow-x:auto}
.student-detail .step{font-size:16px;line-height:1.5;padding:6px 4px;color:#8a867e}
.student-detail .step b{font-size:13px;margin-bottom:4px}
.student-detail .step.done{color:#748065}
.student-detail .step.active{color:#9a6928;background:#fff3dc;border-radius:8px}
.student-detail-columns{display:grid;grid-template-columns:minmax(0,7fr) minmax(280px,3fr);gap:24px;align-items:start}
.student-detail-columns>*{min-width:0}
.student-detail .panel{padding:22px;background:#fffdfa;border-color:#e5ded4}
.student-detail .panel h3,.detail-history>h3{font-size:17px;margin:0 0 16px}
.latest-feedback h3{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.latest-feedback h3 span{font-size:12px;font-weight:400;color:#79736b}
.student-detail .feedback{background:#fbf7ee;border-left-color:#e9b34f;margin:12px 0 0}
.student-detail .feedback p,.student-detail .entry p{color:#5e5a53;font-size:13px}
.student-detail .entry:before{display:none}
.student-detail .entry{padding:0}
.student-detail .entry .row{flex-wrap:wrap}
.student-detail .entry h4{margin:0;font-size:14px}
.student-detail .submission-screenshots{margin:12px 0 0}
.student-detail .filechip{font-size:12px}
.student-next{position:sticky;top:24px}
.student-next .btn{width:100%;white-space:normal}
.student-next h2{font-size:22px}
.student-next .reviewhint{color:#6e685f;font-size:13px;margin:14px 0 20px;line-height:1.8}
.submission-checklist{border-top:1px solid #e5ded4;margin-top:18px;padding-top:14px;font-size:12px;line-height:1.8;color:#797268}
.detail-footnote{font-size:12px;color:#8a8175;padding:12px 14px;line-height:1.8}
.detail-empty{font-size:13px;color:#837b70;line-height:1.8}
.detail-history details{border:1px solid #e5ded4;background:#fffdfa;border-radius:9px;margin-top:8px;overflow:hidden}
.detail-history summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:14px 16px;font-size:13px;list-style:none}
.detail-history summary:after{content:'›';margin-left:auto;font-size:20px;color:#9a6928}
.detail-history details[open]>summary:after{transform:rotate(90deg)}
.detail-history summary::-webkit-details-marker{display:none}
.history-date{margin-left:auto;font-size:11px;color:#8a8175}
.history-content{padding:18px;border-top:1px solid #e5ded4}
.modal:has(#submit-form){--purple:#9a6928;--bg:#f8f5ef;--line:#e5ded4;width:540px;padding:24px;background:var(--bg)}
.modal:has(#submit-form) header{margin-bottom:18px}
.modal:has(#submit-form) h2{font-size:22px}
#submit-form{gap:12px}
#submit-form .field{gap:6px;font-size:14px}
#submit-form textarea{min-height:90px;line-height:1.6}
#submit-form .attachment-picker{margin-top:0}
#submit-form .attachment-picker .formhint{margin:4px 0}
#submit-form .attachment-list{min-height:36px;padding:8px 12px}
#submit-form>.formhint{margin-top:-6px;font-size:11px}
#submit-form [data-upload-status]:empty{display:none}
#submit-form input[type=file]{width:100%;min-width:0;padding:8px 10px}
#submit-form footer{margin-top:2px}
#submit-form .btn:not(.secondary){background:#e9b34f;color:#45331d}
@media(max-width:1050px){.student-detail-columns{grid-template-columns:minmax(0,1fr)}.student-next{position:static;grid-row:1}.student-next .panel{padding:18px}.student-next .reviewhint{margin:10px 0 14px}.student-next .detail-footnote{display:none}}
@media(max-width:600px){.student-detail-hero img{width:56px;height:56px}.student-detail-hero h1{font-size:22px}.student-detail .step{font-size:15px}.student-detail .steps:has(.step:nth-child(7)){grid-template-columns:repeat(7,minmax(100px,1fr))!important}.student-detail .panel{padding:16px}.history-date{display:none}.detail-history summary{gap:8px}.modal:has(#submit-form){padding:20px}.student-detail .steps{max-width:100%}}
/* Student detail refinements: clear navigation, stable video and aligned dates. */
.student-shell .content:has(>.student-detail){padding-top:20px}
.student-detail .back{font-size:14px;font-weight:600;color:#795728;background:#fffdfa;border:1px solid #ded5c8;border-radius:8px;padding:7px 12px;margin-bottom:8px}
.student-detail .back:hover{background:#fff0d6;border-color:#d6b572}
.student-detail-hero{margin-bottom:12px;gap:14px}
.student-detail-hero img{width:60px;height:60px}
.student-detail .steps{margin-top:10px;margin-bottom:18px;padding-top:10px;padding-bottom:10px}
.feedback video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:contain;background:#202322}
.detail-history summary{display:grid;grid-template-columns:minmax(0,1fr) 80px 150px 12px;gap:12px}
.detail-history summary>strong{min-width:0;overflow-wrap:anywhere}
.detail-history summary>.tag{justify-self:start}
.detail-history summary:after{margin-left:0;justify-self:end}
.detail-history .history-date{margin-left:0;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:left}
@media(max-width:600px){.student-shell .content:has(>.student-detail){padding-top:14px}.student-detail .back{font-size:14px}.detail-history summary{grid-template-columns:minmax(0,1fr) auto 12px;gap:8px}.student-detail-hero img{width:52px;height:52px}}
/* Compact clickable folder address in the library action bar. */
.library-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0 16px;min-width:0}
.library-toolbar>span,.library-toolbar>.btn{flex-shrink:0}
.library-breadcrumb{display:flex;align-items:center;gap:5px;flex:1 1 240px;min-width:0;overflow-x:auto;padding:5px 8px;border:1px solid #e5ded4;border-radius:8px;background:#faf8f4;scrollbar-width:thin}
.library-breadcrumb button{flex-shrink:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;padding:6px 8px;border-radius:5px;color:#795728;font-size:13px}
.library-breadcrumb button:hover{background:#f8e7c5}
.library-breadcrumb button[aria-current=page]{font-weight:600;color:#45331d;background:#f3eadb}
.library-breadcrumb .path-separator{color:#a79b89;flex-shrink:0;font-size:18px}
@media(max-width:760px){.library-toolbar{gap:8px}.library-breadcrumb{flex-basis:100%;width:100%}}
/* Quiet back link and click-to-expand feedback videos. */
.student-detail .back{font-size:12px;font-weight:400;color:#8c9286;background:transparent;border:0;border-radius:0;padding:0;margin-bottom:10px}
.student-detail .back:hover{background:transparent;color:#9a6928;text-decoration:underline}
.student-next .next-step-heading{font-size:18px;margin-bottom:14px}
.feedback-video-card{display:block;width:240px;max-width:100%;margin-top:12px;padding:0;overflow:hidden;text-align:left;border:1px solid #ded8cd;border-radius:9px;background:#fffdfa;color:#615b52}
.video-card-preview{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#302f2c;color:#f5ecdc;font-size:12px}
.video-card-play{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff70;border-radius:50%;font-size:18px;padding-left:3px;background:#ffffff10}
.feedback-video-card:hover .video-card-play{background:#e9b34f;color:#45331d;border-color:#e9b34f}
.video-card-name{display:block;padding:9px 12px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.modal:has(.feedback-video-full){width:min(1000px,95vw);padding:20px;background:#f8f5ef}
.modal:has(.feedback-video-full) header{margin-bottom:14px;gap:16px}
.modal:has(.feedback-video-full) h2{font-size:17px;overflow-wrap:anywhere}
.modal .feedback-video-full{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:70vh;object-fit:contain;background:#161616;margin:0}
/* Plain-text library breadcrumbs. */
.library-breadcrumb{background:transparent;border:0;border-radius:0}
.library-breadcrumb button,.library-breadcrumb button[aria-current=page],.library-breadcrumb button:hover{background:transparent;border-radius:0}
.library-breadcrumb button:hover{text-decoration:underline}
.screenshot-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.screenshot-navigation>span{text-align:center;min-width:0;color:#746b5e;font-size:13px}
.screenshot-navigation small{display:block;max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.screenshot-viewer .screenshot-full{max-height:65vh}
@media(max-width:600px){.screenshot-navigation{gap:8px}.screenshot-navigation .btn{padding:8px;font-size:12px}.screenshot-navigation small{max-width:28vw}}
.profile-settings{max-width:650px}.profile-settings h2{margin-bottom:20px}.profile-settings form{max-width:500px;gap:14px}.profile-settings .btn{justify-self:start}.profile-avatar-preview{width:80px;height:80px;border-radius:50%;object-fit:cover;font-size:26px}.user-avatar{object-fit:cover}.account-password-value{font-size:18px;overflow-wrap:anywhere;white-space:pre-wrap;padding:16px;background:#fff;border:1px solid #e5ded4;border-radius:8px}
.profile-settings .profile-avatar-preview{width:128px;height:128px;font-size:40px;display:inline-grid;place-items:center;border:1px solid #e5ded4}
.student-shell .sidebar-foot .user-avatar{width:48px;height:48px}
.avatar-crop{display:grid;gap:18px}.avatar-crop-canvas{display:block;width:320px;max-width:100%;height:auto;aspect-ratio:1;margin:auto;touch-action:none;cursor:grab;border-radius:10px}.avatar-crop-canvas:active{cursor:grabbing}.avatar-crop input[type=range]{width:100%;padding:0;accent-color:#c28b32}.modal:has(.avatar-crop){width:440px}.avatar-crop .btn:not(.secondary){background:#e9b34f;color:#45331d}
/* Keep sidebar and settings avatars at the same comfortable size. */
.student-shell .sidebar-foot .person>.avatar,.profile-settings .profile-avatar-preview{width:64px;height:64px;min-width:64px;flex-shrink:0;font-size:25px;object-fit:cover;border-radius:50%}
.student-shell .sidebar-foot .person>div{min-width:0}.student-shell .sidebar-foot .person strong,.student-shell .sidebar-foot .person p{overflow-wrap:anywhere}
/* Compact staff reviewing workspace. */
.staff-shell .content:has(>.staff-review-page){padding-top:20px}
.staff-review-page>.back{margin-bottom:14px}
.review-compact-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.review-compact-header .row{min-width:0;gap:14px}.review-compact-header h1{font-size:25px;overflow-wrap:anywhere}.review-compact-header p{font-size:13px;color:#81776a;margin-top:7px}
.review-thumbnail{width:60px;height:60px;border-radius:9px;object-fit:cover;flex-shrink:0}
.staff-review-page .steps{padding:10px 8px;margin:12px 0 20px;overflow-x:auto}
.staff-review-page .step{font-size:15px;padding:6px 4px}.staff-review-page .step b{margin-bottom:4px}.staff-review-page .step.active{background:#fff3dc;border-radius:7px}
.staff-review-page .panel{padding:20px}.staff-review-page h3{font-size:17px;margin-bottom:14px}
.review-submission>.row,.previous-review>.row{flex-wrap:wrap;gap:8px}.review-submission>.row h3,.previous-review>.row h3{margin:0}
.submission-note{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0;color:#5e574d}
.review-submission .submission-screenshots{margin:14px 0}.staff-review-page .screenshot-thumb{width:145px}.staff-review-page .screenshot-thumb img{height:105px}
.review-files .filechip{margin:8px 0;font-size:12px}
.staff-review-page .feedback{background:#fbf7ee;border-left-color:#e9b34f}.staff-review-page .feedback p{color:#625b50}
.current-review-feedback{border-top:1px solid #e5ded4;margin-top:18px;padding-top:16px}
.staff-review-page .history-content .entry:before{display:none}.staff-review-page .history-content .entry{padding-bottom:0}.staff-review-page .entry .row{flex-wrap:wrap}
.staff-review-page .reviewbox .rich-editor{border:0;border-radius:0;padding:0;margin:14px 0}
.staff-review-page .rich-heading{margin-bottom:10px}.staff-review-page .rich-block{margin-bottom:10px}.staff-review-page .rich-toolbar{gap:10px}
.rich-help{margin-top:10px;font-size:12px;color:#8a7960}.rich-help summary{cursor:pointer;width:fit-content}.rich-help p{padding-top:8px}
.staff-review-page .reviewbox label.field{display:grid;gap:7px;margin:0;color:#514c43;font-size:13px}
.staff-review-page .attachment-picker{margin-top:14px}.staff-review-page .attachment-list{padding:8px 10px;min-height:36px;margin-top:8px}
.staff-review-page .reviewhint{margin:8px 0 14px;font-size:12px}.staff-review-page .formhint{font-size:11px;line-height:1.7;margin:6px 0}
.staff-review-page [data-upload-status]:empty{display:none}.staff-review-page .reviewbox label:not(.field):not(.radioaction){margin-top:14px}
.staff-review-page .radioactions{margin:10px 0 16px;gap:7px}.staff-review-page .radioaction{padding:10px;font-size:12px}.staff-review-page .radioaction:has(input:checked){background:#fff5e1;border-color:#d8ae65}
@media(max-width:600px){.review-compact-header{align-items:flex-start;flex-wrap:wrap}.review-compact-header h1{font-size:21px}.review-thumbnail{width:48px;height:48px}.staff-review-page .steps:has(.step:nth-child(7)){grid-template-columns:repeat(7,minmax(100px,1fr))!important}.staff-review-page .panel{padding:16px}}
.staff-shell .staff-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.progress-section{margin-top:36px}.progress-section h2{font-size:22px;margin:0}.progress-section>.row{gap:16px;flex-wrap:wrap;margin-bottom:18px}.progress-sort{display:flex;align-items:center;gap:10px;font-size:13px}.progress-sort select{width:auto;padding:9px 12px;background:#fffdfa;border:1px solid #e5ded4;border-radius:8px;color:#68563f}.progress-scroll{overflow-x:auto;background:#fffdfa;border:1px solid #e5ded4;border-radius:12px}.progress-table{width:100%;border-collapse:collapse;font-size:14px;min-width:820px}.progress-table th,.progress-table td{padding:16px;text-align:left;border-bottom:1px solid #eee7df}.progress-table th{background:#faf8f4;color:#786a58;font-size:13px;font-weight:500;white-space:nowrap}.progress-table tr:last-child td{border-bottom:0}.progress-table tbody tr{cursor:pointer}.progress-table tbody tr:hover,.progress-table tbody tr:focus-visible{background:#fff5e3}.progress-table td:nth-child(n+2):nth-child(-n+5){font-variant-numeric:tabular-nums}.progress-work{display:flex;gap:16px;justify-content:space-between;line-height:1.7;margin:3px 0}.progress-work span:first-child{overflow-wrap:anywhere}.progress-work span:last-child{white-space:nowrap}.progress-table .linkbtn{white-space:nowrap}
@media(max-width:760px){.staff-shell .staff-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-section{margin-top:24px}.progress-sort select{max-width:220px}}
.progress-table th,.progress-table td{text-align:center;vertical-align:middle}.progress-work{display:block;text-align:center}.progress-table .linkbtn{justify-content:center}.progress-controls{display:flex;align-items:center;gap:10px}.progress-direction{display:flex;gap:4px}.progress-direction button{width:32px;height:36px;border:1px solid #e5ded4;border-radius:6px;background:#fffdfa;color:#887b69;font-size:20px;cursor:pointer}.progress-direction button[aria-pressed="true"]{color:#9a6928;border-color:#d9ae61;background:#fff0d6}.progress-direction button:hover{border-color:#9a6928}.progress-table{min-width:960px}
/* Keep personal pending work prominent even when another queue filter is selected. */
.staff-stats .stat[data-filter="mine"] .label,.staff-stats .stat[data-filter="mine"] .number{color:#b36c1e}
/* Compact lead navigation; short windows use page scrolling, not a nested sidebar. */
@media(min-width:761px){
.lead-shell .sidebar{position:sticky;top:0;bottom:auto;align-self:start;height:auto;min-height:100dvh;overflow:visible;padding:22px 16px 16px}
.lead-shell .student-brand{margin-bottom:16px}
.lead-shell .cohort-picker{margin-bottom:16px}
.lead-shell .sidebar nav .navbtn{padding:8px 12px;margin:2px 0}
.lead-shell .sidebar-foot{padding-top:12px}
.lead-shell .person{padding-top:12px}
.lead-shell .sidebar-foot>.navbtn{padding:8px;margin:2px 0}
}
@media(min-width:761px) and (max-height:700px){
.lead-shell .sidebar{padding-top:14px;padding-bottom:10px}
.lead-shell .student-brand{margin-bottom:10px}
.lead-shell .cohort-picker{margin-bottom:10px}
.lead-shell .sidebar nav .navbtn{padding-top:6px;padding-bottom:6px}
}
.admin-management .heading{margin-bottom:22px}.admin-tabs{margin-bottom:22px;border-bottom:1px solid #e5ded4}.admin-tabs button{padding:10px 4px 12px;font-size:17px}.admin-toolbar{flex-wrap:wrap;gap:14px}.admin-filters,.admin-row-actions{display:flex;align-items:center;gap:18px}.admin-filters select{font-size:13px;background:#fffdfa;padding:9px 12px}.admin-table-wrap,.admin-case-list{background:#fffdfa;border:1px solid #e5ded4;border-radius:12px}.admin-table-wrap{overflow-x:auto;padding-bottom:94px}.admin-table{width:100%;border-collapse:collapse;min-width:740px;font-size:14px}.admin-table th{font-size:13px;color:#857561;background:#faf8f4;font-weight:500}.admin-table th,.admin-table td{text-align:left;padding:16px 20px;border-bottom:1px solid #eee7df}.admin-table .avatar{width:42px;height:42px;object-fit:cover}.admin-table .linkbtn,.admin-case-list .linkbtn{font-size:13px;font-weight:500}.admin-table th:last-child{width:230px}.admin-person{gap:12px}.admin-more{position:relative;font-size:13px;color:#9a6928}.admin-more summary{cursor:pointer;list-style:none;padding:5px 0}.admin-more summary:after{content:'⌄';margin-left:5px}.admin-more>div{position:absolute;z-index:15;right:0;top:100%;width:100px;background:#fffdfa;border:1px solid #e5ded4;border-radius:8px;box-shadow:0 5px 18px #48351d18;padding:4px}.admin-more button{display:block;width:100%;text-align:left;background:none;padding:8px 12px;color:#6e5a40}.admin-more button:hover{background:#fff0d6}.admin-management .danger-text{color:#ad5950}.admin-empty{text-align:center;padding:36px!important}.admin-case-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid #eee7df}.admin-case-row:last-child{border-bottom:0}.admin-case-row .workmini{min-width:0;gap:16px}.admin-case-row .workmini>img{width:76px;height:64px;border-radius:8px;object-fit:cover}.admin-case-row .workmini>div{min-width:0}.admin-case-row strong{font-size:16px;margin-right:12px}.admin-case-row p{font-size:13px;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:55vw}.admin-case-tabs button{font-size:14px}.admin-case-tabs{gap:20px}.admin-management .admin-actions{flex-wrap:wrap}
@media(max-width:760px){.admin-management .heading{align-items:flex-start;flex-direction:column}.admin-management .btn{font-size:13px;padding:9px 12px}.admin-filters{gap:10px}.admin-toolbar .search{width:100%}.admin-case-row{padding:16px;flex-wrap:wrap}.admin-case-row p{max-width:65vw}.admin-table-wrap{padding-bottom:94px}}
.admin-table-wrap{padding-bottom:0}.admin-more>div{position:static;margin-top:5px;box-shadow:none}.admin-table tr:last-child td{border-bottom:0}
.admin-row-actions{align-items:flex-start;flex-wrap:nowrap}.admin-row-actions>.linkbtn{white-space:nowrap;flex-shrink:0;padding-top:5px}.admin-more{flex-shrink:0;min-width:42px}.admin-more>div{width:80px}.admin-table th:last-child{width:270px}.admin-table td:last-child{min-width:270px}.case-stages[hidden]{display:none}
.admin-row-actions{align-items:center}.admin-row-actions>.linkbtn{padding-top:0}.modal:has(.account-more-modal){max-width:380px}.account-more-modal>p{color:#857561;margin-bottom:20px}.account-more-modal .stack{gap:10px}
.cohort-table{border-collapse:collapse;width:100%;font-size:14px}.cohort-table th,.cohort-table td{text-align:center;padding:18px;border-bottom:1px solid #eee7df}.cohort-table th{background:#faf8f4;font-size:13px;font-weight:500;color:#857561}.cohort-table tr:last-child td{border-bottom:0}.settings-own{display:grid;gap:20px;max-width:760px}.settings-own .panel{padding:24px}.settings-own h2{margin-bottom:20px}.settings-account-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #eee7df}.settings-account-row:last-child{border-bottom:0;padding-bottom:0}.settings-account-row strong{display:block;margin-top:8px}.settings-own label[hidden]{display:none}.settings-own #profile-avatar-form{justify-items:start;gap:14px}.settings-own #profile-avatar-form .btn{font-size:13px}.settings-management #settings-status{font-size:13px}
/* Larger management tabs and more breathing room on the lead navigation. */
.staff-shell .admin-management .admin-tabs{gap:30px}
.staff-shell .admin-management .admin-tabs button{font-size:16px;padding:11px 6px 12px}
.settings-own #lead-password-form{gap:16px}.settings-own #lead-password-form>.btn{justify-self:start}
.cohort-table td:nth-child(3){max-width:320px;overflow-wrap:anywhere}
@media(min-width:761px) and (min-height:701px){.lead-shell .sidebar nav .navbtn{padding:11px 12px;margin:4px 0}.lead-shell .cohort-picker{margin-bottom:20px}}
@media(min-width:761px) and (max-height:700px){.lead-shell .sidebar nav .navbtn{padding:8px 12px;margin:3px 0}}
@media(max-width:760px){.staff-shell .admin-management .admin-tabs{gap:18px}.staff-shell .admin-management .admin-tabs button{font-size:16px;padding:10px 4px 12px}.cohort-table th,.cohort-table td{padding:14px 10px}}

/* Balanced management navigation and a compact recycle bin. */
.staff-shell .sidebar nav .navbtn{font-size:15px}
.trash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.trash-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.trash-tabs button{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;background:transparent;color:#796b59;white-space:nowrap}
.trash-tabs button[aria-pressed="true"]{background:#fbedc9;color:#9a6928;font-weight:600}
.trash-tabs button:hover{background:#fff1d8}.trash-tabs button span{font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}
.trash-toolbar .search input{width:250px;padding:10px 14px}
.trash-table-wrap{overflow-x:auto;border:1px solid #e5ded4;border-radius:12px;background:#fffdfa}
.trash-table{width:100%;min-width:750px;border-collapse:collapse}
.trash-table th,.trash-table td{padding:18px 22px;border-bottom:1px solid #eee7df;text-align:left;vertical-align:middle}
.trash-table th{background:#faf8f4;font-weight:500;font-size:13px;color:#857561}
.trash-table td{color:#655d50;font-size:14px}.trash-table td:first-child{width:40%;overflow-wrap:anywhere}.trash-table strong{color:#352f26}.trash-table .small{margin-top:5px}
.trash-table th:not(:first-child),.trash-table td:not(:first-child){white-space:nowrap}
.trash-table tr:last-child td{border-bottom:0}.trash-table tbody tr:hover{background:#fffaf0}
.trash-type{font-size:12px;background:#f3efe6;padding:4px 8px;border-radius:5px}
.trash-table .library-row-actions{display:flex;gap:18px;flex-wrap:nowrap}.trash-table .linkbtn{white-space:nowrap;font-size:13px}
.trash-help{margin-top:18px;font-size:12px;line-height:1.9;color:#8a7a61}.trash-help summary{cursor:pointer;width:fit-content}.trash-help p{max-width:900px;margin-top:8px}
@media(max-width:760px){.staff-shell .sidebar nav .navbtn{font-size:13px}.trash-toolbar{gap:14px}.trash-tabs{gap:4px}.trash-tabs button{padding:8px 9px;font-size:13px}.trash-toolbar .search,.trash-toolbar .search input{width:100%}.trash-table th,.trash-table td{padding:14px 16px}}

.bulk-bar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 14px;padding:12px 16px;background:#faf5e9;border-radius:9px;color:#78674f;font-size:13px}.bulk-bar label{display:flex;align-items:center;gap:8px;white-space:nowrap}.bulk-bar>div{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.bulk-bar input,.bulk-select{width:16px;height:16px;accent-color:#b9802d;cursor:pointer;flex-shrink:0}.admin-table td>.bulk-select,.trash-table td>.bulk-select{float:left;margin:12px 14px 12px 0}.admin-case-row .bulk-select{margin:0}.bulk-names{max-height:240px;overflow:auto;margin:0;padding-left:24px;line-height:1.9;overflow-wrap:anywhere}.bulk-bar .btn:disabled{cursor:default}@media(max-width:760px){.bulk-bar{gap:12px}.bulk-bar>div{width:100%;margin:0}.bulk-bar .btn{padding:8px 10px}}

/* Selection tools float over the content instead of shifting the list. */
.bulk-bar{position:fixed;z-index:25;right:24px;bottom:20px;width:max-content;max-width:calc(100vw - 280px);margin:0;padding:14px 18px;border:1px solid #e4d5b8;background:#fffaf0;box-shadow:0 5px 26px #49361624;border-radius:12px}
.bulk-bar[hidden]{display:none}.bulk-bar>[data-bulk-count]{white-space:nowrap;font-weight:600}.bulk-bar>[data-bulk-cancel]{font-size:13px;white-space:nowrap}
.bulk-master{display:inline-flex;align-items:center;vertical-align:middle;margin-right:14px;cursor:pointer}.bulk-master input{width:16px;height:16px;margin:0;accent-color:#b9802d;cursor:pointer}
.bulk-case-heading{display:flex;align-items:center;padding:14px 20px;background:#faf8f4;border-bottom:1px solid #eee7df;color:#857561;font-size:13px;border-radius:12px 12px 0 0}
.admin-management:has(.bulk-bar),.trash-page:has(.bulk-bar){padding-bottom:120px}
@media(max-width:760px){.bulk-bar{left:12px;right:12px;bottom:12px;width:auto;max-width:none;padding:12px;gap:12px}.bulk-bar>div{justify-content:flex-start}.bulk-bar .btn{font-size:12px}.admin-management:has(.bulk-bar),.trash-page:has(.bulk-bar){padding-bottom:160px}}

/* Keep batch actions beside the search and filters. */
.bulk-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bulk-toolbar .bulk-bar{position:static;inset:auto;z-index:auto;flex:1 1 auto;width:auto;max-width:none;margin:0;padding:2px 10px;gap:10px;box-shadow:none;border-radius:8px;justify-content:center;min-height:39px}
.bulk-toolbar .bulk-bar>div{margin-left:0;width:auto;gap:6px}.bulk-toolbar .bulk-bar .btn{padding:7px 9px;font-size:12px}
.bulk-toolbar .bulk-bar>[data-bulk-count],.bulk-toolbar .bulk-bar>[data-bulk-cancel]{font-size:12px}
.bulk-toolbar>.search,.bulk-toolbar>.admin-filters{flex-shrink:0}.bulk-toolbar .bulk-bar[hidden]{display:none}
.admin-management:has(.bulk-bar),.trash-page:has(.bulk-bar){padding-bottom:0}
@media(max-width:1100px){.bulk-toolbar .bulk-bar{order:3;flex-basis:100%}}
@media(max-width:760px){.bulk-toolbar .bulk-bar{justify-content:flex-start;padding:10px}.bulk-toolbar .bulk-bar>div{flex-wrap:wrap}.bulk-toolbar>.search{max-width:100%}}

.work-type-badge{display:inline-flex;align-items:center;flex-shrink:0;border-radius:6px;padding:4px 9px;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;white-space:nowrap}
.work-type-personal{background:#eee7fa;color:#70509c}.work-type-practice{background:#e3f1ef;color:#326e67}.work-type-prep{background:#e7edf9;color:#4b65a0}
.student-card-titleline{flex-wrap:wrap}.student-project .student-card-titleline>p{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;overflow:visible;white-space:normal}.work-card-stage{font-size:11px;color:#827564}
.work-title-with-type{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.work-title-with-type h1{overflow-wrap:anywhere}.student-detail-hero .work-title-with-type{min-width:0}.feedback>.row{flex-wrap:wrap;gap:8px}.feedback>.row .tag{white-space:normal}
@media(max-width:600px){.work-title-with-type{gap:8px}.work-type-badge{font-size:12px}.student-project .student-card-titleline>p{justify-content:flex-start}}

.feedback-heading{align-items:center}.feedback-author{display:flex;flex-direction:column;gap:6px;min-width:0}.feedback-heading>.tag{align-self:center}

/* Card status stays readable without competing with the category badge. */
.student-project .student-status{display:inline-flex;align-items:center;gap:6px;padding:0;border-radius:0;background:transparent;color:#827564;line-height:1.5}
.student-project .student-status::before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}
.student-project .student-status.orange{color:#ab5f0c}.student-project .student-status.blue{color:#386a9c}.student-project .student-status.green{color:#52704d}

.paste-upload{padding:10px 12px;border:1px dashed #d6b77c;background:#fffaf0;color:#8a6b3c;border-radius:8px;font-size:12px;cursor:text;margin:8px 0}.paste-upload:focus{outline:2px solid #c4933f;outline-offset:2px}
.selected-screenshot{width:100px;height:76px;object-fit:contain;border-radius:6px;background:#eee8dc;flex-shrink:0}.attachment-list .filechip{gap:10px}.attachment-list .filechip>span{overflow-wrap:anywhere;min-width:0}
.student-detail .step.done,.staff-review-page .step.done{background:#e5f2e8;color:#397449;border-radius:8px}.stage-name{display:flex;justify-content:center;align-items:center;gap:8px}.stage-check{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:#397449;color:white;font-size:13px}
.first-submission-layout{grid-template-columns:minmax(280px,3fr) minmax(0,7fr)}@media(max-width:1050px){.first-submission-layout{grid-template-columns:minmax(0,1fr)}}
.feedback-video-card{width:360px;max-width:100%}.video-card-preview{position:relative;aspect-ratio:16/9;height:auto;overflow:hidden}.feedback .feedback-video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.video-card-play,.video-card-preview>span{z-index:1;position:relative}.video-card-play{background:#26262680}.current-review-feedback.panel{margin:0;border-top:0}

.showcase-toolbar{display:flex;gap:16px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.showcase-toolbar input{max-width:320px}.showcase-toolbar select{width:auto}.showcase-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.showcase-card{padding:0;text-align:left;border:1px solid var(--line,#e5ded4);background:#fffdfa;border-radius:16px;overflow:hidden;color:inherit;cursor:pointer;min-width:0}.showcase-card:focus-visible{outline:3px solid #b5853b}.showcase-cover{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.showcase-card-body{padding:18px}.showcase-card h3{font-size:18px;overflow-wrap:anywhere}.showcase-card p{margin:12px 0}.showcase-shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.showcase-shots .screenshot-thumb{width:100%;max-width:none}.showcase-shots img{width:100%;height:180px;object-fit:contain}.showcase-detail>.row{flex-wrap:wrap;margin-bottom:12px}.showcase-detail>p{margin-bottom:18px}

.upload-controls{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.upload-controls input[type=file]{flex:1;min-width:0;width:0}.upload-controls .paste-upload{flex:0 0 auto;margin:0;white-space:nowrap;padding:10px;font-weight:400}.cover-preview-group{display:flex;flex-direction:column;align-items:center;width:264px;max-width:100%;gap:8px}.cover-preview-group:has(img[hidden]){display:none}.cover-preview-group .cover-preview{width:100%;margin:0}.cover-preview-group button{align-self:center}.screenshot-selection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.screenshot-selection .filechip{display:flex;flex-direction:column;padding:6px;gap:6px;min-width:0;margin:0}.screenshot-selection .selected-screenshot{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}.screenshot-selection>.muted{grid-column:1/-1}.screenshot-selection .linkbtn{font-size:12px}.notice-editor .notice-resizable{display:inline-block;vertical-align:bottom;margin:0;line-height:0}.notice-editor .notice-resizable.notice-centered{display:inline-block;left:50%;transform:translateX(-50%)}

.site-registration{text-align:center;padding:16px 12px;font-size:12px;color:#82796b}.site-registration a:hover{text-decoration:underline}@media(min-width:761px){.site-registration{margin-left:240px}}
