/* 广理讯飞星创学生实践工作室 · 人员管理系统样式
 * 由原单文件版样式按生效顺序合并而成，供 web/index.html 使用。 */
:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#17211e;background:#edf3fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#17211e;--muted:#778493;--line:#dfe7f1;--green:#2563a9;--mint:#e7f0fb;--amber:#c78c3d;--red:#b95145;--white:#fff;--shadow:0 14px 40px #18375d0b}
    *{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9bcbb4;outline-offset:2px}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:27px 17px 20px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:3px 11px 29px}.brand-mark{width:36px;height:36px;border-radius:11px;background:#1c6a52;color:white;display:grid;place-items:center;font-size:1.1875rem;font-weight:700}.brand-name{font-size:0.9375rem;font-weight:680;letter-spacing:0}.brand-sub{font-size:0.625rem;color:var(--muted);margin-top:3px}.nav-label{font-size:0.625rem;color:#98a19d;padding:14px 12px 8px;letter-spacing:1px}.nav{display:grid;gap:4px}.nav button{border:0;background:transparent;text-align:left;color:#6a7570;padding:11px 12px;border-radius:7px;font-size:0.8125rem;display:flex;align-items:center;gap:11px}.nav button:hover{background:#f5f7f6;color:var(--ink)}.nav button.active{background:var(--mint);color:var(--green);font-weight:600}.nav-icon{width:18px;text-align:center;font-size:1rem}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:17px 8px 0;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#dfece5;color:var(--green);font-weight:700;font-size:0.75rem;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.side-user{font-size:0.75rem;font-weight:600}.side-role{font-size:0.625rem;color:var(--muted);margin-top:4px}.main{padding:27px clamp(20px,3vw,48px) 50px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.topbar{height:40px;display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.crumb{font-size:0.75rem;color:var(--muted)}.crumb b{color:#35413b;font-weight:550}.top-actions{display:flex;align-items:center;gap:16px;font-size:0.75rem;color:var(--muted)}.live{display:inline-flex;align-items:center;gap:7px}.dot{width:7px;height:7px;border-radius:50%;background:#45a274;box-shadow:0 0 0 3px #45a2741c}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px;gap:12px}.eyebrow{font-size:0.625rem;color:var(--green);font-weight:650;letter-spacing:1px;margin-bottom:8px}.page-head h1{font-size:1.5625rem;line-height:1.25;margin:0;font-weight:650;letter-spacing:0}.page-head p{font-size:0.75rem;color:var(--muted);margin:8px 0 0}.button{border:1px solid var(--line);background:white;color:#38443f;border-radius:6px;padding:9px 13px;font-size:0.75rem;font-weight:550;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.button:hover{border-color:#b9cbc1;background:#fbfdfc}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#175b46}.button.small{padding:6px 9px;font-size:0.6875rem}.button.ghost{border-color:transparent;background:transparent;color:var(--muted)}.button.danger{color:var(--red)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:19px}.metric{background:#fff;border:1px solid var(--line);border-radius:7px;padding:16px 18px;min-height:104px;box-shadow:var(--shadow)}.metric-label{font-size:0.6875rem;color:var(--muted);display:flex;justify-content:space-between}.metric-num{font-size:1.6875rem;font-weight:650;margin-top:13px;line-height:1}.metric-num small{font-size:0.75rem;font-weight:450;color:var(--muted);margin-left:5px}.metric-foot{font-size:0.625rem;color:#8b9691;margin-top:7px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.9fr);gap:15px}.panel{background:white;border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow);min-width:0}.panel-head{padding:16px 18px 12px;display:flex;justify-content:space-between;align-items:center}.panel-title{font-size:0.8125rem;font-weight:650}.panel-note{font-size:0.625rem;color:var(--muted);margin-top:4px}.panel-body{padding:0 18px 17px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;white-space:nowrap}.table th{text-align:left;padding:10px 12px;font-size:0.625rem;font-weight:550;color:#84908a;background:#f8faf9;border-block:1px solid #edf0ee}.table td{padding:12px;font-size:0.6875rem;border-bottom:1px solid #eef1ef;color:#3d4943}.table tr:last-child td{border-bottom:0}.person-cell{display:flex;align-items:center;gap:9px}.mini-avatar{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#eaf2ed;color:#47735e;font-size:0.625rem;font-weight:650;overflow:hidden}.mini-avatar img{width:100%;height:100%;object-fit:cover}.person-name{font-size:0.6875rem;font-weight:600;color:#28342e}.person-sub{font-size:0.5625rem;color:#98a19d;margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:4px;background:#eaf4ed;color:#387650;font-size:0.625rem}.status.out{background:#f2f4f3;color:#8b9691}.status .dot{width:5px;height:5px;box-shadow:none}.group-list{display:grid;gap:12px}.group-row{display:grid;grid-template-columns:54px minmax(0,1fr) 24px;align-items:center;gap:10px}.group-year{font-size:0.6875rem;font-weight:600;color:#35413b}.bar{height:6px;border-radius:9px;background:#edf1ee;overflow:hidden}.bar span{height:100%;display:block;border-radius:9px;background:#4c9873}.group-count{text-align:right;font-size:0.625rem;color:#748079}.teacher-list{display:flex;gap:9px;margin-top:15px}.teacher{flex:1;border-top:1px solid var(--line);padding-top:13px;display:flex;align-items:center;gap:9px;min-width:0}.teacher .avatar{width:31px;height:31px;flex-basis:31px;font-size:0.6875rem}.teacher-name{font-size:0.625rem;font-weight:600}.teacher-role{font-size:0.5625rem;color:var(--muted);margin-top:4px}.section-panel{margin-top:15px}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.input,.select{border:1px solid var(--line);background:white;color:var(--ink);border-radius:5px;padding:8px 10px;font-size:0.6875rem;min-height:34px}.search{width:min(240px,50vw)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:0 18px 13px}.toolbar-right{display:flex;gap:7px;align-items:center}.empty{padding:36px;text-align:center;color:var(--muted);font-size:0.75rem}.checkin-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:15px}.check-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.method{border:1px solid var(--line);border-radius:6px;padding:18px;min-height:146px;display:flex;flex-direction:column;align-items:flex-start}.method-icon{width:33px;height:33px;border-radius:7px;background:#eaf4ed;color:var(--green);display:grid;place-items:center;font-size:1.0625rem;margin-bottom:13px}.method b{font-size:0.75rem}.method span{font-size:0.625rem;color:var(--muted);margin-top:6px;line-height:1.6}.method button{margin-top:auto}.checkin-current{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eef1ef}.checkin-current:last-child{border:0}.screen-hero{background:#182823;color:#f5faf6;border-radius:8px;padding:24px;position:relative;overflow:hidden}.screen-hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff11;border-radius:50%;right:-65px;top:-130px;box-shadow:0 0 0 25px #ffffff08,0 0 0 50px #ffffff05}.screen-kicker{font-size:0.625rem;letter-spacing:1.5px;color:#a5c8b3}.screen-hero h2{font-size:1.4375rem;margin:11px 0 5px;font-weight:600}.screen-hero p{font-size:0.6875rem;color:#b6c4bc;margin:0}.screen-stats{display:flex;gap:27px;margin-top:22px}.screen-stats strong{font-size:1.5625rem;display:block}.screen-stats span{font-size:0.625rem;color:#b6c4bc}.grade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.grade-box{border:1px solid var(--line);border-radius:6px;padding:14px;min-width:0}.grade-top{display:flex;justify-content:space-between;font-size:0.75rem;font-weight:600}.grade-top span+span{color:var(--green);font-size:0.625rem}.grade-list{max-height:180px;overflow:auto;margin-top:10px}.grade-person{font-size:0.625rem;color:#606c65;padding:8px 0;border-bottom:1px solid #f0f2f1;display:flex;justify-content:space-between;gap:8px}.grade-person:last-child{border:0}.grade-person small{color:#98a19d}.screen-preview{display:grid;grid-template-columns:1fr 1fr;gap:14px}.screen-occupants{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;align-content:start}.occupant{border:1px solid #33463d;border-radius:5px;padding:10px;display:flex;align-items:center;gap:8px}.occupant .mini-avatar{width:28px;height:28px}.occupant-name{font-size:0.625rem}.occupant-info{font-size:0.5625rem;color:#aab8b0;margin-top:3px}.screen-occupants .empty{color:#aab8b0;grid-column:1/-1}.teacher-editor{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eef1ef}.teacher-editor:last-child{border:0}.teacher-photo{width:48px;height:48px;border-radius:50%;background:#e7eee9;color:var(--green);display:grid;place-items:center;font-weight:650;overflow:hidden;cursor:pointer}.teacher-photo img{width:100%;height:100%;object-fit:cover}.teacher-edit-name{font-size:0.75rem;font-weight:600}.teacher-edit-role{font-size:0.625rem;color:var(--muted);margin-top:4px}.teacher-actions{margin-left:auto}.modal-backdrop{position:fixed;inset:0;background:#18231f55;display:grid;place-items:center;padding:18px;z-index:5}.modal{width:min(480px,100%);background:white;border-radius:8px;box-shadow:0 24px 80px #18231f33}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:0.9375rem;margin:0}.modal-content{padding:19px 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:0.625rem;color:#69756e}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:5px;padding:9px 10px;font-size:0.75rem;min-width:0}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1c2923;color:white;border-radius:5px;padding:11px 16px;font-size:0.75rem;box-shadow:0 8px 28px #0002;z-index:10}.hidden{display:none!important}.display-mode{background:#14231d;color:#edf4ef;min-height:100vh;padding:30px 4vw}.display-mode .screen-hero{padding:28px 32px}.display-mode .screen-hero h2{font-size:1.875rem}.display-mode .screen-preview{margin-top:18px}.display-mode .panel{background:#1b2d25;border-color:#34463d;color:#edf4ef}.display-mode .panel-head,.display-mode .panel-body{color:inherit}.display-mode .grade-box{border-color:#34463d}.display-mode .grade-person{border-color:#2b3c34;color:#ccd7d0}.display-mode .grade-person small{color:#95a79c}.display-mode .grade-top{color:#edf4ef}.display-mode .grade-grid{gap:14px}.display-mode .grade-list{max-height:calc(100vh - 400px)}.display-mode .panel-note{color:#9bac9f}.display-mode .screen-footer{display:flex;justify-content:space-between;color:#99aa9f;font-size:0.6875rem;margin-top:18px}.display-mode .topbar{margin-bottom:20px}.display-mode .topbar button{background:#22352b;border-color:#3b5145;color:#dce9df}
    .sidebar{background:#dceafb;border-color:#c8d9ef;color:#213c5d}.brand-name,.side-user{color:#203b5c}.brand-sub,.nav-label,.side-role{color:#7189a6}.brand-mark{background:#5b8fca}.nav button{color:#4f6682}.nav button:hover{background:#ccdef4;color:#234d7e}.nav button.active{background:#c3daf5;color:#215b9c}.side-bottom{border-color:#c5d8ee}.avatar{background:#c7ddf7;color:#245b9d}.nav button:focus-visible{outline-color:#91bdf3}
    .screen-hero{background:#5687c2}.screen-hero:after{border-color:#ffffff22}.display-mode{background:#e8f1fb;color:#203b5c}.display-mode .screen-hero{background:#5687c2}.display-mode .panel{background:#f7faff;border-color:#d3e1f1;color:#203b5c}.display-mode .grade-box{border-color:#d3e1f1}.display-mode .grade-person{border-color:#e2ebf5;color:#4c627d}.display-mode .grade-person small{color:#7e91a9}.display-mode .grade-top{color:#263e5b}.display-mode .topbar button{background:#f7faff;border-color:#d1dfef;color:#315a87}.display-mode .screen-kicker{color:#e3efff}.display-mode .screen-footer{color:#7188a4}
    @media(max-width:1000px){.shell{grid-template-columns:200px minmax(0,1fr)}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.checkin-layout{grid-template-columns:1fr}.grade-grid{grid-template-columns:1fr}.grade-list{max-height:130px}.screen-preview{grid-template-columns:1fr}.display-mode .screen-preview{grid-template-columns:1fr 1fr}}
    @media(max-width:650px){.shell{display:block}.sidebar{height:auto;position:relative;padding:12px 14px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 2px 12px}.nav-label,.side-bottom{display:none}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap;padding:9px 10px;font-size:0.6875rem}.nav-icon{display:none}.main{padding:18px 14px 35px}.topbar{margin-bottom:20px}.page-head{align-items:flex-start}.page-head h1{font-size:1.375rem}.metrics{gap:8px}.metric{padding:13px;min-height:92px}.metric-num{font-size:1.4375rem}.panel-head{padding:14px}.panel-body{padding:0 13px 13px}.toolbar{padding:0 13px 12px}.search{width:100%}.filters{width:100%}.table th,.table td{padding:10px 8px}.check-methods{grid-template-columns:1fr}.screen-stats{gap:20px}.grade-grid{grid-template-columns:1fr}.screen-hero{padding:19px}.display-mode{padding:14px}.display-mode .screen-preview{grid-template-columns:1fr}.display-mode .screen-hero h2{font-size:1.5rem}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.top-actions .hide-mobile{display:none}}

.display-notice{position:fixed;z-index:1100;top:5.5vh;left:50%;transform:translateX(-50%);width:min(680px,88vw);padding:21px 28px;border:1px solid #ffffff70;border-radius:12px;background:#f8fbff;color:#1d426f;box-shadow:0 18px 60px #102b5055;display:flex;align-items:center;gap:18px;animation:notice-in .42s cubic-bezier(.2,.8,.2,1)}
    .display-notice .notice-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#dcecff;color:#2870b8;font-size:1.625rem;font-weight:700}
    .display-notice strong{display:block;font-size:1.5rem}.display-notice span{display:block;margin-top:5px;font-size:0.9375rem;color:#587595}
    .stay-info{font-size:0.75rem;color:#78a7d7;margin-top:4px}.checkin-current .stay-info{font-size:0.6875rem;color:#7189a6;margin-top:3px}
    @keyframes notice-in{from{opacity:0;transform:translate(-50%,-18px) scale(.97)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
    @media(max-width:700px){.display-notice{padding:15px 17px;gap:12px}.display-notice strong{font-size:1.125rem}.display-notice span{font-size:0.75rem}.display-notice .notice-icon{width:38px;height:38px;flex-basis:38px;font-size:1.3125rem}}

.display-v2{position:fixed;inset:0;z-index:1000;min-height:100vh;padding:26px 3.2vw 24px;background:#eaf2fc;color:#1e3b5e;overflow:auto}
    .v2-header{display:flex;align-items:center;gap:28px;padding-bottom:20px;border-bottom:1px solid #cbdcf0}
    .v2-identity{display:flex;align-items:center;gap:18px;min-width:0}.v2-logos{display:flex;align-items:center;gap:9px}.v2-logos img{display:block;object-fit:contain;background:#fff;border:1px solid #d8e2ed;border-radius:4px;padding:5px;height:68px}.v2-logos .display-school-mark{width:265px}.v2-logos .display-iflytek-logo{width:140px}
    .v2-title{min-width:0}.v2-title small{font-size:0.875rem;letter-spacing:1.5px;color:#6786ab}.v2-title h1{font-size:2.125rem;line-height:1.3;margin:5px 0 0;color:#183f70;font-weight:700}
    .v2-date{margin-left:auto;text-align:right;white-space:nowrap;color:#537298}.v2-date span{font-size:0.875rem}.v2-date strong{display:block;color:#183f70;font-size:2.0625rem;margin-top:3px;font-variant-numeric:tabular-nums}.v2-exit{align-self:flex-start}
    .v2-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.75fr) minmax(300px,.95fr);gap:15px;margin-top:18px}
    .v2-panel{background:#f8fbff;border:1px solid #d0e0f2;border-radius:9px;min-width:0;box-shadow:0 8px 26px #31577d0a}
    .v2-panel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 19px 12px}.v2-panel-title{font-size:1.0625rem;font-weight:700}.v2-panel-note{font-size:0.75rem;color:#7891ad;margin-top:4px}
    .v2-status .screen-stats{display:flex;align-items:center;gap:30px;padding:2px 20px 17px;margin:0;border-bottom:1px solid #e2ebf5}.v2-status .screen-stats strong{font-size:2.375rem;color:#226bb4}.v2-status .screen-stats span{display:block;font-size:0.75rem;color:#7188a3;margin-top:3px}
    .v2-status .screen-occupants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start;padding:13px 17px 17px;max-height:34vh;overflow:auto}
    .v2-status .occupant{background:#edf5fe;border:1px solid #d6e6f7;padding:10px;min-height:64px}.v2-status .occupant .mini-avatar{width:34px;height:34px;font-size:0.8125rem}
    .v2-group-list{padding:4px 18px 17px;display:grid;gap:18px}.v2-group-list .group-year{font-size:0.8125rem}.v2-group-list .group-count{font-size:0.75rem}.v2-group-list .bar{height:9px;background:#e5eef8}.v2-group-list .bar span{background:#4d8acb}
    .v2-teachers{border-top:1px solid #e1eaf4;margin:0 18px;padding:11px 0 15px;display:flex;gap:12px}.v2-teachers .teacher{padding:0;border:0}.v2-teachers .avatar{width:36px;height:36px;flex-basis:36px}
    .v2-events{padding:0 18px 12px;max-height:42vh;overflow:auto}.v2-event{display:grid;grid-template-columns:11px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #e8eff7}.v2-event:last-child{border:0}.v2-event-mark{width:8px;height:8px;border-radius:50%;background:#4289c9;box-shadow:0 0 0 4px #e2effc}.v2-event.out .v2-event-mark{background:#d3984c;box-shadow:0 0 0 4px #f8efdf}.v2-event-name{font-size:0.8125rem;font-weight:650;color:#29486d}.v2-event-meta{font-size:0.6875rem;color:#8298b0;margin-top:3px}.v2-event-time{font-size:0.75rem;color:#6d86a3;font-variant-numeric:tabular-nums}
    .v2-roster{margin-top:15px}.v2-roster .grade-grid{padding:0 17px 17px;gap:12px}.v2-roster .grade-box{background:#f1f7fe;border-color:#d8e6f5;padding:13px}.v2-roster .grade-list{max-height:22vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#9cbbe0 #e5eef8}.v2-roster .grade-person{font-size:0.75rem;padding:9px 0}.v2-footer{display:flex;justify-content:space-between;margin-top:13px;color:#7c92ab;font-size:0.6875rem}
    @media(max-width:1150px){.v2-grid{grid-template-columns:1fr 1fr}.v2-status{grid-column:1/-1}.v2-events{max-height:300px}}
    @media(max-width:700px){.display-v2{padding:15px}.v2-header{align-items:flex-start;flex-wrap:wrap;gap:12px}.v2-identity{align-items:flex-start;flex-direction:column;gap:8px}.v2-logos img{height:48px}.v2-logos .display-school-mark{width:190px}.v2-logos .display-iflytek-logo{width:100px}.v2-title h1{font-size:1.5625rem}.v2-date{margin-left:auto}.v2-date strong{font-size:1.5rem}.v2-grid{grid-template-columns:1fr}.v2-status{grid-column:auto}.v2-status .screen-stats{gap:17px}.v2-status .screen-stats strong{font-size:1.75rem}.v2-status .screen-occupants{grid-template-columns:1fr;max-height:280px}.v2-roster .grade-grid{grid-template-columns:1fr}.v2-roster .grade-list{max-height:220px}.v2-exit{margin-left:auto}}
    .v2-events{max-height:clamp(150px,23vh,270px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#93b5dc #e8f0f9}
    @media(max-width:700px){.v2-events{max-height:230px}}

.display-mode .screen-kicker{font-size:0.9375rem}.display-mode .screen-hero h2{font-size:2.375rem}.display-mode .screen-stats strong{font-size:2.25rem}.display-mode .screen-stats span{font-size:0.875rem}
    .display-mode .panel-title{font-size:1.1875rem}.display-mode .panel-note{font-size:0.8125rem}.display-mode .panel-head{padding:20px 22px 15px}.display-mode .panel-body{padding:0 22px 22px}
    .display-mode .occupant{padding:13px;gap:11px}.display-mode .occupant .mini-avatar{width:38px;height:38px;font-size:0.875rem}.display-mode .occupant-name,.display-mode .teacher-name{font-size:0.9375rem}.display-mode .occupant-info,.display-mode .teacher-role{font-size:0.75rem}
    .display-mode .grade-top{font-size:0.9375rem}.display-mode .grade-top span+span{font-size:0.8125rem}.display-mode .grade-list{max-height:clamp(200px,32vh,420px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8eb4df #e6eef8}.display-mode .grade-person{font-size:0.8125rem;padding:10px 0}.display-mode .grade-person small{font-size:0.6875rem}.display-mode .grade-grid{gap:16px}.display-mode .screen-footer{font-size:0.8125rem}
    .display-mode .topbar{font-size:0.875rem}.display-mode .topbar button{font-size:0.875rem;padding:11px 15px}
    @media(max-width:700px){.display-mode .screen-hero h2{font-size:1.6875rem}.display-mode .screen-kicker{font-size:0.75rem}.display-mode .panel-title{font-size:1rem}.display-mode .grade-list{max-height:260px}}

.display-brand-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:21px}
    .display-logos{display:flex;align-items:center;gap:12px;min-width:0}
    .display-logos img{display:block;object-fit:contain;background:#fff;border:0;border-radius:5px;padding:4px}
    .display-school-mark{width:265px;height:68px}.display-iflytek-logo{width:150px;height:66px;object-fit:contain!important}
    .display-date{text-align:right;white-space:nowrap}.display-date span{display:block;font-size:0.8125rem;color:#e0edff}.display-date strong{display:block;font-size:1.8125rem;margin-top:5px;color:#fff;font-weight:600}
    @media(max-width:700px){.display-brand-row{align-items:flex-start;flex-direction:column;gap:13px}.display-logos{gap:7px}.display-school-mark{width:190px;height:48px}.display-iflytek-logo{width:104px;height:50px}.display-date{text-align:left}.display-date strong{font-size:1.3125rem}}

.display-v2{background:#071326;color:#e4f2ff;background-image:linear-gradient(#18325422 1px,transparent 1px),linear-gradient(90deg,#18325422 1px,transparent 1px);background-size:44px 44px}
    .v2-header{border-color:#1b3859;background:#071326;padding:12px 0 18px}.v2-identity{flex:1}.v2-logos img{background:#fff;border:1px solid #d8e2ed;border-radius:4px;padding:5px}.v2-title small{font-size:0.8125rem;color:#65c9ee}.v2-title h1{font-size:2rem;color:#ecf7ff}.v2-date{color:#9bb9da}.v2-date strong{color:#71d8ff}.display-v2 .button{background:#102440;color:#d9efff;border-color:#2b5278}.display-v2 .button:hover{background:#173457;border-color:#62c5ee}
    .v2-grid{grid-template-columns:minmax(270px,.82fr) minmax(430px,1.35fr) minmax(300px,.92fr);grid-template-areas:"grade center events";align-items:stretch;gap:16px;margin-top:20px;min-height:calc(100vh - 190px)}.v2-grid>.v2-panel:nth-child(1){grid-area:center}.v2-grid>.v2-panel:nth-child(2){grid-area:grade}.v2-grid>.v2-panel:nth-child(3){grid-area:events}
    .v2-panel{background:#0b1c33;border:1px solid #21466a;border-radius:5px;box-shadow:inset 0 0 24px #10507b12,0 0 18px #13a9d30b;position:relative;overflow:hidden}.v2-panel:before{content:"";position:absolute;inset:0;pointer-events:none;border-top:1px solid #52c8ed3b}.v2-panel-head{position:relative;padding:18px 19px 13px;border-bottom:1px solid #1d3856}.v2-panel-title{font-size:1.1875rem;color:#e1f2ff}.v2-panel-note{font-size:0.8125rem;color:#7f9dbb}
    .v2-status .screen-stats{justify-content:center;gap:40px;border:0;padding:7px 15px 0}.v2-status .screen-stats strong{font-size:1.875rem;color:#74d8ff}.v2-status .screen-stats span{font-size:0.75rem;color:#8ba9c8}
    .v2-orbit{height:clamp(230px,32vh,340px);display:grid;place-items:center;position:relative;overflow:hidden}.v2-orbit:before,.v2-orbit:after{content:"";position:absolute;width:min(31vh,300px);height:min(31vh,300px);aspect-ratio:1;border-radius:50%;border:1px solid #2ccaf477;box-shadow:0 0 22px #12b9ee25,inset 0 0 22px #12b9ee12}.v2-orbit:after{width:min(25vh,238px);height:min(25vh,238px);border:1px dashed #55d9f5aa;animation:v2-spin 24s linear infinite}.v2-orbit-core{position:relative;z-index:1;width:190px;height:190px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0b1b31;border:1px solid #47c8eb88;box-shadow:0 0 40px #00a8db25,inset 0 0 28px #1385bd20;text-align:center}.v2-orbit-core span{font-size:0.625rem;letter-spacing:1px;color:#7ca9c5}.v2-orbit-core strong{font-size:4rem;line-height:1.05;color:#70e4ff;font-variant-numeric:tabular-nums;text-shadow:0 0 22px #27ccf477}.v2-orbit-core small{font-size:0.8125rem;color:#b5d4e9}.v2-orbit-line{width:45px;height:2px;background:#49d8f6;box-shadow:0 0 12px #49d8f6;margin-top:10px}@keyframes v2-spin{to{transform:rotate(360deg)}}
    .v2-status .screen-occupants{grid-template-columns:repeat(2,minmax(0,1fr));max-height:22vh;padding-top:12px;border-top:1px solid #1c3857;scrollbar-width:thin;scrollbar-color:#2d7597 #10233d}.v2-status .occupant{background:#102641;border:1px solid #1e4666;color:#edf8ff}.v2-status .occupant-name,.v2-status .occupant-info{color:#d7ecfa}.v2-status .stay-info{color:#6bc7ef}
    .v2-group-list{gap:23px;padding:24px 20px 20px}.v2-group-list .group-year{font-size:0.9375rem;color:#cde5f6}.v2-group-list .group-count{font-size:0.875rem;color:#80d5f1}.v2-group-list .bar{height:10px;background:#172f4b;border:1px solid #214568}.v2-group-list .bar span{background:linear-gradient(90deg,#247fce,#4ce0f1);box-shadow:0 0 12px #27c9ed70}.v2-teachers{border-color:#1d3c5c;margin:8px 18px;padding-top:17px}.v2-teachers .teacher-name{color:#e5f4ff}.v2-teachers .teacher-role{color:#83a4c2}.v2-teachers .avatar{border:1px solid #4d92bb}
    .v2-events{max-height:calc(100vh - 300px);padding:4px 18px 14px;scrollbar-width:thin;scrollbar-color:#2d7597 #10233d}.v2-event{padding:15px 0;border-color:#1b3856}.v2-event-mark{background:#52d8f2;box-shadow:0 0 0 4px #1d4965,0 0 12px #4cd9f4}.v2-event.out .v2-event-mark{background:#f3b65e;box-shadow:0 0 0 4px #51432e,0 0 12px #edaa50}.v2-event-name{font-size:0.9375rem;color:#e2f3ff}.v2-event-meta{font-size:0.75rem;color:#82a3c1}.v2-event-time{font-size:0.8125rem;color:#74c6e6}
    .v2-roster{margin-top:16px;background:#0a1a30}.v2-roster .grade-grid{gap:15px}.v2-roster .grade-box{background:#0e2340;border:1px solid #21476a}.v2-roster .grade-top{color:#d8efff}.v2-roster .grade-top span+span{color:#70d5f2}.v2-roster .grade-list{max-height:17vh;scrollbar-color:#2d7597 #10233d}.v2-roster .grade-person{color:#c7deef;border-color:#1b3958}.v2-roster .grade-person small{color:#77a3c1}.v2-footer{color:#6f92b1}
    @media(max-width:1150px){.v2-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"center center" "grade events"}.v2-status .screen-occupants{max-height:260px}.v2-events{max-height:330px}}
    @media(max-width:700px){.v2-header{padding-top:0}.v2-title h1{font-size:1.5625rem;color:#ecf7ff}.v2-date strong{color:#71d8ff}.v2-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"center" "grade" "events"}.v2-status .screen-stats{gap:20px}.v2-status .screen-occupants{grid-template-columns:1fr;max-height:260px}.v2-orbit{height:240px}.v2-orbit:before{width:220px;height:220px}.v2-orbit:after{width:180px;height:180px}.v2-orbit-core{width:145px;height:145px}.v2-orbit-core strong{font-size:3.25rem}.v2-roster .grade-list{max-height:200px}.v2-footer{font-size:0.625rem}}

.v2-grid{grid-template-rows:auto auto minmax(470px,calc(100vh - 390px));grid-template-areas:"teacher-heading teacher-heading teacher-heading" "teacher-list teacher-list teacher-list" "grade center events"}
    .v2-grid>.v2-panel:nth-child(2){display:contents;grid-area:auto}
    .v2-grid>.v2-panel:nth-child(1){grid-area:center}.v2-grid>.v2-panel:nth-child(3){grid-area:events}
    .v2-grid>.v2-panel:nth-child(2)>.v2-panel-head{grid-area:teacher-heading;padding:10px 16px 6px;background:#0b1c33;border:1px solid #21466a;border-bottom:0}
    .v2-grid>.v2-panel:nth-child(2)>.v2-group-list{grid-area:grade;margin:0;background:#0b1c33;border:1px solid #21466a;border-radius:5px;align-content:start}
    .v2-grid>.v2-panel:nth-child(2)>.v2-teachers{grid-area:teacher-list;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0;padding:10px 18px 14px;background:#0b1c33;border:1px solid #21466a;border-top:0}
    .v2-teachers .teacher{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:8px 4px;background:#0e2340;border:1px solid #1c4563;border-radius:4px}
    .v2-teachers .teacher:nth-child(1){grid-column:3 / span 2;grid-row:1}.v2-teachers .teacher:nth-child(2){grid-column:2 / span 2;grid-row:2}.v2-teachers .teacher:nth-child(3){grid-column:4 / span 2;grid-row:2}.v2-teachers .teacher:nth-child(n+4){grid-row:3;grid-column:auto / span 2}
    .v2-teachers .avatar{width:42px;height:42px;flex-basis:42px}.v2-teachers .teacher-name{font-size:0.875rem}.v2-teachers .teacher-role{font-size:0.6875rem}
    @media(max-width:1150px){.v2-grid{grid-template-rows:auto auto minmax(470px,auto);grid-template-areas:"teacher-heading teacher-heading" "teacher-list teacher-list" "center center" "grade events"}.v2-grid>.v2-panel:nth-child(2)>.v2-group-list{grid-area:grade}.v2-teachers .teacher:nth-child(1){grid-column:3 / span 2;grid-row:1}.v2-teachers .teacher:nth-child(2){grid-column:2 / span 2;grid-row:2}.v2-teachers .teacher:nth-child(3){grid-column:4 / span 2;grid-row:2}}
    @media(max-width:700px){.v2-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;grid-template-areas:"teacher-heading" "teacher-list" "center" "grade" "events"}.v2-grid>.v2-panel:nth-child(2)>.v2-group-list{grid-area:grade}.v2-grid>.v2-panel:nth-child(2)>.v2-teachers{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}.v2-teachers .teacher:nth-child(1){grid-column:2;grid-row:1}.v2-teachers .teacher:nth-child(2){grid-column:1;grid-row:2}.v2-teachers .teacher:nth-child(3){grid-column:3;grid-row:2}.v2-teachers .teacher:nth-child(n+4){grid-row:auto;grid-column:auto}.v2-teachers .teacher-name{font-size:0.75rem}.v2-teachers .teacher-role{font-size:0.625rem}}

.display-v2 main{display:grid;grid-template-rows:auto minmax(0,1fr);gap:15px}.v2-grade-overview{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center;min-height:110px}.v2-grade-overview .v2-panel-head{border:0;padding:18px 22px}.v2-grade-overview .v2-group-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 22px;padding:18px 22px}.v2-grade-overview .group-row{grid-template-columns:60px minmax(0,1fr) 55px;gap:12px}.v2-grade-overview .group-count{font-size:1.0625rem;color:#74d8ff;text-align:right;white-space:nowrap}.v2-board{display:grid;grid-template-columns:minmax(270px,.88fr) minmax(430px,1.35fr) minmax(300px,.95fr);grid-template-areas:"side center events";gap:16px;min-height:0}.v2-side-rail{grid-area:side;display:grid;grid-template-rows:minmax(260px,.9fr) minmax(220px,1.1fr);gap:14px;min-height:0}.v2-teacher-panel,.v2-roster{min-height:0}.v2-teacher-panel .v2-panel-head,.v2-roster .v2-panel-head{padding:12px 15px 9px}.v2-teacher-panel .v2-panel-title,.v2-roster .v2-panel-title{font-size:1rem}.v2-teacher-panel .v2-panel-note,.v2-roster .v2-panel-note{font-size:0.6875rem}.v2-teacher-panel .v2-teachers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;padding:10px;max-height:calc(100% - 53px);overflow:auto;align-content:start;scrollbar-width:thin;scrollbar-color:#2d7597 #10233d}.v2-teacher-panel .teacher{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:8px 3px;background:#0e2340;border:1px solid #1c4563;border-radius:4px}.v2-teacher-panel .teacher:nth-child(1){grid-column:2;grid-row:1}.v2-teacher-panel .teacher:nth-child(2){grid-column:1;grid-row:2}.v2-teacher-panel .teacher:nth-child(3){grid-column:3;grid-row:2}.v2-teacher-panel .teacher:nth-child(n+4){grid-row:auto;grid-column:auto}.v2-teacher-panel .avatar{width:40px;height:40px;flex-basis:40px}.v2-teacher-panel .teacher-name{font-size:0.8125rem}.v2-teacher-panel .teacher-role{font-size:0.625rem}.v2-roster .grade-grid{grid-template-columns:1fr;gap:7px;padding:0 10px 10px}.v2-roster .grade-box{padding:8px 10px}.v2-roster .grade-top{font-size:0.8125rem}.v2-roster .grade-top span+span{font-size:0.6875rem}.v2-roster .grade-list{max-height:11vh}.v2-roster .grade-person{font-size:0.6875rem;padding:6px 0}.v2-board>.v2-status{grid-area:center;min-height:0}.v2-board>.v2-panel:last-child{grid-area:events;min-height:0}.v2-board>.v2-status .screen-occupants{max-height:24vh}.v2-board .v2-events{max-height:none;height:calc(100% - 58px)}
    @media(max-width:1150px){.display-v2 main{grid-template-rows:auto auto}.v2-grade-overview{grid-template-columns:180px minmax(0,1fr)}.v2-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"center center" "side events"}.v2-side-rail{grid-template-rows:auto auto}.v2-teacher-panel .v2-teachers{max-height:320px}.v2-board .v2-events{max-height:380px}}
    @media(max-width:700px){.display-v2 main{display:grid;grid-template-rows:auto auto}.v2-grade-overview{grid-template-columns:1fr}.v2-grade-overview .v2-panel-head{padding:12px 14px 5px}.v2-grade-overview .v2-group-list{grid-template-columns:1fr;gap:12px;padding:8px 14px 14px}.v2-board{grid-template-columns:minmax(0,1fr);grid-template-areas:"side" "center" "events"}.v2-side-rail{grid-template-rows:auto auto}.v2-teacher-panel .v2-teachers{grid-template-columns:repeat(3,minmax(0,1fr));max-height:360px}.v2-teacher-panel .teacher:nth-child(1){grid-column:2;grid-row:1}.v2-teacher-panel .teacher:nth-child(2){grid-column:1;grid-row:2}.v2-teacher-panel .teacher:nth-child(3){grid-column:3;grid-row:2}.v2-teacher-panel .teacher:nth-child(n+4){grid-row:auto;grid-column:auto}.v2-roster .grade-grid{grid-template-columns:1fr}.v2-roster .grade-list{max-height:180px}.v2-board .v2-events{max-height:320px}}

.v2-board>.v2-status{display:flex;flex-direction:column}.v2-board>.v2-status .screen-occupants{flex:1;max-height:none;min-height:190px;align-content:start}.v2-orbit{height:clamp(200px,25vh,280px)}.v2-orbit:before{width:min(25vh,250px);height:min(25vh,250px)}.v2-orbit:after{width:min(21vh,205px);height:min(21vh,205px)}.v2-orbit-core{width:170px;height:170px}
    .auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#edf3fb}.auth-panel{width:min(440px,100%);background:#fff;border:1px solid #dce6f1;border-radius:8px;padding:34px;box-shadow:0 18px 48px #18375d12}.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:34px}.auth-mark{width:42px;height:42px;border-radius:8px;background:#2874b8;color:#fff;display:grid;place-items:center;font-size:1.3125rem;font-weight:700}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:0.9375rem;color:#223c58}.auth-brand small{font-size:0.6875rem;color:#7c8da2;margin-top:3px}.auth-panel .eyebrow{margin-bottom:8px}.auth-panel h1{font-size:1.5625rem;margin:0;color:#1e3c5c}.auth-panel>p{font-size:0.8125rem;line-height:1.6;color:#71839a;margin:8px 0 22px}.auth-field{display:grid;gap:7px;margin-top:14px}.auth-field span{font-size:0.75rem;color:#445c75}.auth-field input{height:42px;border:1px solid #d6e1ed;border-radius:5px;padding:0 11px;font:inherit;font-size:0.8125rem}.auth-submit{width:100%;justify-content:center;height:42px;margin-top:22px}.auth-foot{font-size:0.6875rem;color:#8797aa;margin-top:17px;text-align:center}.account-metrics .metric{min-height:88px}.account-metrics .metric-num{margin-top:12px}.account-security-note{font-size:0.6875rem;color:#7d8da0}.account-table td{vertical-align:middle}.account-audit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.account-audit>div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) auto;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f3;font-size:0.6875rem;color:#68798b}.account-audit strong{font-weight:600;color:#344a61}.account-audit time{color:#94a1af}.reset-caption{font-size:0.8125rem;color:#68798b;margin:0 0 18px}.reset-caption strong{color:#274666}.student-card{padding:26px;display:flex;align-items:center;justify-content:space-between;gap:24px}.student-card-main{display:flex;align-items:center;gap:18px}.student-avatar{width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#dfeefa;color:#2865a2;font-size:1.4375rem;font-weight:700}.student-avatar img{width:100%;height:100%;object-fit:cover}.student-card h2{font-size:1.25rem;margin:0;color:#254563}.student-card p{font-size:0.8125rem;color:#7890a7;margin:7px 0 11px}.student-card-action{text-align:right}.student-card-action p{font-size:0.75rem;color:#7890a7}
    @media(max-width:700px){.auth-page{padding:16px}.auth-panel{padding:24px}.account-audit{grid-template-columns:1fr}.account-security-note{display:none}.student-card{align-items:flex-start;flex-direction:column}.student-card-action{text-align:left}}

/* ---- 运行时注入：常驻老师出勤布局 ---- */
.v2-teacher-panel .v2-teachers{display:block;overflow:auto;max-height:calc(100% - 55px);margin:0;padding:10px}.teacher-attendance-layout{display:grid;gap:12px}.teacher-attending-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(88px,auto));gap:8px}.teacher-attending-grid .teacher:nth-child(1){grid-column:2;grid-row:1}.teacher-attending-grid .teacher:nth-child(2){grid-column:1;grid-row:2}.teacher-attending-grid .teacher:nth-child(3){grid-column:3;grid-row:2}.teacher-attending-grid .teacher:nth-child(n+4){grid-column:auto;grid-row:auto}.teacher-attendance-layout .teacher{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:8px 3px;background:#0e2340;border:1px solid #1c4563;border-radius:4px}.teacher-attendance-layout .teacher .avatar{width:40px;height:40px;flex-basis:40px}.teacher-attendance-layout .teacher-name{font-size:0.75rem;color:#e5f4ff}.teacher-attendance-layout .teacher-role{font-size:0.625rem;color:#83a4c2}.teacher-away-title{font-size:0.6875rem;font-weight:650;color:#a9c6df;padding:9px 2px 5px;border-top:1px solid #1d3c5c}.teacher-away-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.teacher-away-grid .teacher{flex-direction:row;text-align:left;justify-content:flex-start;min-height:54px}.teacher-away-grid .teacher .avatar{width:32px;height:32px;flex-basis:32px}.teacher-attendance-state{font-size:0.5625rem;color:#63dcf1}.teacher-attendance-state.absent{color:#9aafc2}

/* ---- 运行时注入：大屏最终布局 ---- */
.display-v2{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:20px 2.7vw 18px;overflow:hidden}.display-v2 .v2-header{min-height:96px;margin:0;gap:18px}.display-v2 .v2-identity{min-width:0;gap:16px}.display-v2 .v2-logos{flex:0 0 auto;gap:10px}.display-v2 .v2-title{min-width:0}.display-v2 .v2-title h1{font-size:clamp(23px,2vw,32px);white-space:nowrap}.display-v2 .v2-date{flex:0 0 auto;text-align:right}.display-v2 main{display:block;min-height:0;height:100%;overflow:hidden}.display-v2 main>.v2-board{height:100%;min-height:0;grid-template-columns:minmax(280px,.91fr) minmax(440px,1.32fr) minmax(320px,1fr);gap:14px}.display-v2 .v2-side-rail{grid-template-rows:minmax(0,1.05fr) minmax(0,.95fr)}.display-v2 .v2-roster .grade-list{max-height:10vh}.display-v2 .v2-board>.v2-panel:last-child{display:flex;flex-direction:column}.display-v2 .v2-board .v2-events{flex:1;min-height:0;overflow:auto}.display-v2 .v2-board>.v2-status{display:flex;flex-direction:column}.display-v2 .v2-board>.v2-status .screen-occupants{flex:1;max-height:none;min-height:0;overflow:auto;align-content:start}.display-v2 .v2-orbit{flex:0 0 clamp(190px,23vh,255px);height:auto;margin:0 auto}.display-v2 .v2-footer{display:none}@media(max-width:1150px){.display-v2{overflow:auto;grid-template-rows:auto auto}.display-v2 .v2-header{flex-wrap:wrap}.display-v2 .v2-title h1{white-space:normal}.display-v2 main{height:auto;overflow:visible}.display-v2 main>.v2-board{height:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.display-v2 .v2-side-rail{grid-template-rows:minmax(300px,auto) minmax(260px,auto)}}@media(max-width:700px){.display-v2{padding:15px;gap:12px}.display-v2 .v2-header{min-height:0}.display-v2 .v2-identity{flex-wrap:wrap}.display-v2 .v2-board{grid-template-columns:minmax(0,1fr)}}

/* ---- 运行时注入：在室人员跑马灯（仅 .has-flow 生效） ---- */
.display-v2 .v2-status .screen-occupants.has-flow{display:block;overflow:hidden;scroll-behavior:auto}.occupant-flow-track{display:grid;align-content:start;animation:occupantFlow var(--occupant-flow-duration) linear infinite}.occupant-flow-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px}.occupant-flow-copy[aria-hidden="true"]{pointer-events:none}.screen-occupants:hover .occupant-flow-track{animation-play-state:paused}@keyframes occupantFlow{to{transform:translateY(-50%)}}@media(max-width:700px){.occupant-flow-copy{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.occupant-flow-track{animation-duration:120s}}

/* ---- 运行时注入：大屏最终覆盖 ---- */
@media(min-width:1151px){.display-v2 main>.v2-board{grid-template-columns:minmax(280px,.92fr) minmax(440px,1.35fr) minmax(300px,.92fr)!important}.display-v2 .v2-side-rail{grid-template-rows:minmax(0,1.35fr) minmax(0,.85fr)!important}}.display-v2 .v2-orbit{width:100%;height:clamp(230px,26vh,300px)!important;flex:0 0 clamp(230px,26vh,300px)!important;align-self:stretch;margin:0 0 10px!important;overflow:visible!important}.display-v2 .v2-orbit:before{width:min(26vh,300px);height:min(26vh,300px)}.display-v2 .v2-orbit:after{width:min(21vh,235px);height:min(21vh,235px)}.display-v2 .v2-side-rail>.v2-panel:last-child{display:flex;flex-direction:column}.display-v2 .v2-side-rail .v2-events{flex:1;min-height:0;max-height:none;overflow:auto}.display-v2 .v2-board>.v2-roster .grade-list{max-height:16vh!important}

/* ---- 运行时注入：登录页品牌 ---- */
.auth-brand{flex-wrap:wrap}.auth-logos{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;margin-top:14px}.auth-logos img{display:block;height:32px;max-width:150px;object-fit:contain}.auth-logos .auth-seal{width:32px;height:32px}.auth-logos .auth-wordmark{width:130px}.auth-logos .auth-school-mark{width:230px;height:48px;max-width:240px}.auth-logos .auth-iflytek{width:94px;height:32px}

/* ---- 运行时注入：侧栏品牌 ---- */
.brand{align-items:flex-start;flex-wrap:wrap}.brand-logos{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 1px 0 2px}.brand-logos img{display:block;height:24px;width:auto;max-width:96px;object-fit:contain}.brand-logos .brand-seal{width:24px;height:24px}.brand-logos .brand-wordmark{width:91px}.brand-logos .brand-school-mark{width:120px;height:28px;max-width:130px}.brand-logos .brand-iflytek{width:68px;height:24px}
/* 工作室徽标（圆形 LOGO）*/
.brand-mark,.auth-mark{background:transparent;border-radius:50%;overflow:hidden;padding:0;flex:0 0 auto}
.brand-mark{width:42px;height:42px}
.auth-mark{width:54px;height:54px}
.brand-mark img,.auth-mark img{width:100%;height:100%;display:block;object-fit:contain}
.import-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.import-stats{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.import-chip{font-size:0.6875rem;padding:4px 10px;border-radius:999px;background:#eef3f1;color:#48615a;border:1px solid #dfe9e5}
.import-chip.good{background:#e7f4ec;color:#1c6a52;border-color:#cbe7d7}
.import-chip.warn{background:#fdf3e3;color:#8a6116;border-color:#f0e0bf}
.import-chip.bad{background:#fdeceb;color:#a34037;border-color:#f3d2cf}
.import-preview{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:6px}
.import-preview .table{margin:0}
.import-issues{font-size:0.6875rem;color:#8a6116;line-height:1.8;margin:8px 0 0;max-height:88px;overflow:auto}
.import-issues b{color:#6f4c0e}
.import-drop{border:1px dashed #c9d8d1;border-radius:8px;padding:22px 16px;text-align:center;background:#fafcfb}
.import-drop p{margin:0 0 4px;font-size:0.75rem;color:#5c6f68}
.import-drop small{display:block;font-size:0.6875rem;color:#93a39c;margin-top:6px;line-height:1.7}
.import-file-row{display:flex;align-items:center;gap:10px;margin-top:14px}
.import-result-list{max-height:170px;overflow:auto;font-size:0.75rem;line-height:1.9;color:#41544d;margin-top:10px}
.import-result-list .muted{color:#8b9a94}
.modal.import-modal{width:min(720px,100%);max-height:calc(100vh - 36px);display:flex;flex-direction:column}
.import-modal .modal-content{overflow:auto}
.import-modal .modal-foot{flex:0 0 auto}

/* ---- 小程序管理 ---- */
.wx-admin-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:15px}
.wx-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.wx-form .full{grid-column:1/-1}
.wx-form .field input,.wx-form .field select{width:100%;border:1px solid var(--line);border-radius:5px;padding:9px 10px;font-size:0.75rem;min-width:0;background:#fff}
.wx-form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:4px}
.wx-check{display:flex!important;align-items:center;gap:7px;font-size:0.6875rem!important;color:#456079!important;margin:5px 0;font-weight:500}
.wx-check input{width:14px!important;min-width:14px;height:14px;margin:0}
.wx-tip{margin-top:14px;padding:10px 12px;border-radius:6px;background:#f2f7fd;border:1px solid #dce8f5;color:#54708d;font-size:0.6875rem;line-height:1.7}
.wx-guide{display:grid;gap:13px}
.wx-guide>div{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid #edf2f7}
.wx-guide>div:last-child{border-bottom:0;padding-bottom:0}
.wx-guide b{font-size:0.75rem;color:#29486d}
.wx-guide span{font-size:0.6875rem;line-height:1.75;color:#6d8398}
.wx-code{margin-top:14px;padding:11px 12px;border-radius:6px;background:#17211e;color:#cfe3d8;font-size:0.625rem;line-height:1.8;font-family:Consolas,monospace;word-break:break-all}
.wx-mono{font-family:Consolas,monospace;font-size:0.625rem;color:#5f7489}
.wx-warning{margin-bottom:15px;padding:12px 16px;border-radius:6px;background:#fff7e8;border:1px solid #f0dfbd;color:#8a6116;font-size:0.6875rem;line-height:1.75}
.wx-warning b{color:#6f4c0e}
.wx-flow{display:flex;flex-direction:column;gap:5px;padding:12px 15px;border-radius:6px;background:#f1f7ff;border:1px solid #dbe9f8;color:#5a7490;font-size:0.6875rem;line-height:1.7}
.wx-flow b{color:#265d94;font-size:0.6875rem}
@media(max-width:1100px){.wx-admin-grid{grid-template-columns:1fr}}
@media(max-width:650px){.wx-form{grid-template-columns:1fr}.wx-form .full{grid-column:auto}.wx-form-actions .button{flex:1;justify-content:center}}
/* 值班安排 */
.button[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.duty-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}
.duty-person{margin-bottom:7px}
.duty-person:last-child{margin-bottom:0}
.duty-person strong{font-size:0.75rem;color:#29486d}
.duty-person .person-sub{margin-top:2px}
.duty-lines{display:grid;gap:8px}
.duty-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:9px 12px;border:1px solid #e7eef5;border-radius:6px;background:#fbfdff;font-size:0.6875rem;color:#5a7490}
.duty-line b{color:#29486d;font-weight:600;font-size:0.6875rem}
.duty-round-block{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid #eef2f6}
.duty-round-block:first-child{padding-top:0}
.duty-round-block:last-child{border-bottom:0;padding-bottom:0}
.duty-round-title{display:flex;justify-content:space-between;align-items:center;font-size:0.6875rem;color:#71839a}
.duty-round-title b{color:#29486d;font-weight:600}
.duty-my{display:grid;gap:4px;padding:13px 15px;border-radius:6px;background:#f1f7ff;border:1px solid #dbe9f8;margin-bottom:13px}
.duty-my-label{font-size:0.6875rem;color:#265d94;font-weight:600}
.duty-my-date{font-size:0.875rem;color:#29486d;font-weight:680}
.duty-my-people{font-size:0.6875rem;color:#5a7490}
.duty-my-none{background:#f6f8f7;border-color:#e8edeb;color:#71839a;font-size:0.6875rem;line-height:1.7;display:block}
.duty-today-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;background:#f1f7ff;border:1px solid #dbe9f8;border-radius:6px;margin-bottom:14px}
.duty-today-people{display:flex;gap:8px;flex-wrap:wrap}
.duty-person-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #d8e5f2;font-size:0.6875rem;color:#29486d;font-weight:600}
.duty-person-chip small{font-weight:400;color:#8b9bab;font-size:0.625rem}
.duty-today-stats{color:#6d8298;font-size:0.625rem;align-self:center}
.duty-task-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,1.5fr) 150px auto;gap:8px;margin-bottom:16px}
.duty-task-admin{border:1px solid #e5edf5;border-radius:7px;padding:13px 14px;margin-bottom:12px;background:#fbfdff}
.duty-task-admin-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.duty-task-admin-head b{font-size:0.75rem;color:#29486d}
.duty-sub-list{display:grid;gap:7px}
.duty-sub-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border-radius:5px;background:#fff;border:1px solid #eef3f8;font-size:0.6875rem;color:#5a7490}
.duty-sub-name{min-width:80px;font-weight:600;color:#35536f}
.duty-sub-time{color:#8b9bab;font-size:0.625rem}
.duty-photo-modal{width:min(680px,100%)}
.duty-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.duty-photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;border:1px solid #e1e9f2}
.duty-photo-note{margin:12px 0 0;font-size:0.75rem;color:#5a7490;line-height:1.7}
@media(max-width:900px){.duty-task-form{grid-template-columns:1fr 1fr}.duty-task-form .button{grid-column:1/-1}}
@media(max-width:650px){.duty-task-form{grid-template-columns:1fr}.duty-sub-row{align-items:flex-start}.duty-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- 照片签到 / 管理端核实 ---- */
.status.pending{background:#fff5e6;color:#a87022}
.status.rejected{background:#fdf0ef;color:#b95145}
.pending-panel .pending-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #eef1ef}
.pending-panel .pending-row:last-child{border-bottom:0}
.pending-name{min-width:110px;font-size:0.75rem;font-weight:600;color:#29486d}
.pending-meta{color:#7d8da0;font-size:0.625rem}
.pending-actions{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}
.photo-modal{width:min(620px,100%)}
.photo-modal img{width:100%;max-height:62vh;object-fit:contain;border-radius:6px;background:#f3f6fa}
.face-result{margin-top:10px;padding:10px 12px;border-radius:6px;background:#f1f7ff;border:1px solid #dbe9f8;color:#315a87;font-size:0.6875rem;line-height:1.7}

/* ---- 签到记录 / 筛选与导出 ---- */
.records-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.records-filters .field{min-width:128px;margin:0}
.records-filters .field.grow{flex:1 1 220px}
.records-filter-actions{display:flex;gap:7px;align-items:center;padding-bottom:1px}
.records-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.records-verify-meta{display:inline-block;max-width:220px;white-space:normal;line-height:1.55;color:#5e7187}
.records-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;font-size:0.75rem;color:var(--muted)}
.records-pagination .button[disabled]{opacity:.45;cursor:not-allowed}
.attendance-session-hint{font-size:0.625rem;color:#7d8da0;padding:5px 9px;border-radius:999px;background:#f1f6fb;border:1px solid #dfe9f3;white-space:nowrap}
.attendance-session-table td{vertical-align:middle}
.attendance-person{display:grid;gap:3px;min-width:100px}.attendance-person b{font-size:0.75rem;color:#29486d}.attendance-person small{font-size:0.5625rem;color:#8b9bab}
.attendance-face{display:inline-block;max-width:190px;white-space:normal;line-height:1.5;font-size:0.625rem;color:#52677e}
.record-photo-thumb{display:block;width:92px;height:62px;object-fit:cover;border-radius:6px;border:1px solid #dbe5f0;background:#f3f6fa;cursor:zoom-in;transition:transform .18s ease,border-color .18s ease}
.record-photo-thumb:hover{transform:scale(1.04);border-color:#8db6dc}
.attendance-no-photo{color:#a7b3bf;font-size:0.625rem}
.attendance-verify{margin-top:4px;font-size:0.5625rem;color:#8b9bab;line-height:1.45;max-width:150px;white-space:normal}
@media(max-width:1100px){.records-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.records-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.records-filter-actions{width:100%}.records-pagination{justify-content:space-between}.attendance-session-hint{display:none}.record-photo-thumb{width:78px;height:54px}}

/* ---- 教师端签到审核 ---- */
.review-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.review-toolbar .field{margin:0;min-width:150px}
.review-toolbar .field.grow{flex:1 1 280px}
.review-toolbar-actions{display:flex;gap:7px;padding-bottom:1px}
.review-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.review-metric-pending{background:linear-gradient(145deg,#fffaf1,#fff5e6);border-color:#eedbb8}
.review-metric-pending .metric-num{color:#a87022}
.review-batch-bar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.review-batch-bar input{width:min(230px,32vw);height:34px;border:1px solid var(--line);border-radius:5px;padding:0 10px;font-size:.6875rem;color:var(--ink);background:#fff}
.review-batch-bar .button.danger{background:#fff;border-color:#efd1ce;color:var(--red)}
.review-tabs{padding:0 18px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #eef2f6}
.review-tab-list{display:flex;gap:5px;flex-wrap:wrap}
.review-tab-list button{display:inline-flex;align-items:center;gap:6px;height:33px;padding:0 11px;border:1px solid #e1e9f2;border-radius:6px;background:#f8fafc;color:#61758a;font-size:.6875rem;font-weight:600}
.review-tab-list button span{min-width:18px;padding:1px 5px;border-radius:999px;background:#e8eef4;color:#72859a;font-size:.5625rem;text-align:center}
.review-tab-list button.active{border-color:#b9d4ee;background:#eaf4ff;color:#2563a9}
.review-tab-list button.active span{background:#2563a9;color:#fff}
.review-select-all{display:inline-flex;align-items:center;gap:7px;color:#61758a;font-size:.6875rem;white-space:nowrap}
.review-select-all input,.review-select input{width:16px;height:16px;accent-color:#2563a9;margin:0}
.review-list{display:grid;gap:9px}
.review-card{display:grid;grid-template-columns:30px minmax(140px,.75fr) minmax(250px,1.35fr) 150px auto;align-items:center;gap:12px;border:1px solid #e3eaf2;border-radius:8px;background:#fff;padding:11px 12px;box-shadow:0 4px 14px #1f4d7a08;border-left:3px solid #d6e3f0}
.review-card.review-pending{border-left-color:#e1a342;background:linear-gradient(90deg,#fffdf8,#fff)}
.review-card.review-approved{border-left-color:#42a274}
.review-card.review-rejected{border-left-color:#c2675d}
.review-select{display:grid;place-items:center}
.review-lock{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#e8f4ed;color:#2f8a61;font-size:11px;font-weight:700}
.review-rejected .review-lock{background:#f9e9e7;color:#b95145}
.review-student{display:flex;align-items:center;gap:9px;min-width:0}
.review-student .mini-avatar{width:38px;height:38px;flex:0 0 38px;font-size:13px}
.review-student>div{min-width:0}.review-student b{display:block;font-size:.8125rem;color:#29486d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-student small{display:block;font-size:.625rem;color:#8b9bab;margin-top:3px}
.review-details{min-width:0}.review-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.review-status-pending{background:#fff5e6;color:#a87022}.review-status-approved{background:#eaf4ed;color:#387650}.review-status-rejected{background:#fdf0ef;color:#b95145}.review-method{font-size:.625rem;color:#71839a}
.review-time{font-size:.625rem;color:#8b9bab;margin-top:5px}
.review-meta{display:flex;flex-wrap:wrap;gap:4px 11px;margin-top:5px;font-size:.5625rem;color:#8b9bab}.review-meta b{color:#52677e;font-weight:600}
.review-verify-meta{margin-top:5px;font-size:.5625rem;color:#7d8da0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.review-photo{width:150px;height:96px;border:1px solid #dfe7f1;border-radius:7px;background:#f2f6fa;overflow:hidden;display:grid;place-items:center;color:#8b9bab;font-size:.5625rem;text-align:center}
.review-photo img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}
.review-photo-error{color:var(--red);padding:8px;line-height:1.55}
.review-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;min-width:108px}
.review-finished{font-size:.625rem;color:#8293a5}
.review-photo-modal{width:min(680px,100%)}.review-photo-modal img{width:100%;max-height:68vh;object-fit:contain;background:#edf2f7;border-radius:6px}.review-photo-caption{font-size:.625rem;color:#7d8da0;margin-top:9px;text-align:center}
.review-decision-modal{width:min(460px,100%)}.review-decision-person{display:flex;align-items:center;gap:10px;padding:11px 12px;margin-bottom:14px;border-radius:7px;background:#f4f8fc;border:1px solid #e0eaf4}.review-decision-person .mini-avatar{width:38px;height:38px}.review-decision-person b,.review-decision-person span{display:block}.review-decision-person b{font-size:.8125rem;color:#29486d}.review-decision-person span{font-size:.625rem;color:#7d8da0;margin-top:3px}.review-batch-summary{padding:12px 13px;margin-bottom:13px;border-radius:7px;background:#f1f7ff;border:1px solid #dbe8f8;color:#52677e;font-size:.75rem;line-height:1.65}.review-batch-summary b{color:#2563a9}
.review-pagination{margin-top:12px}
@media(max-width:1250px){.review-card{grid-template-columns:28px minmax(130px,.7fr) minmax(220px,1.2fr) 130px}.review-actions{grid-column:2/-1}.review-photo{width:130px}}
@media(max-width:950px){.review-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.review-batch-bar{justify-content:flex-start}.review-card{grid-template-columns:24px minmax(0,1fr) 130px}.review-details{grid-column:2/3}.review-photo{grid-column:3;grid-row:1/3}.review-actions{grid-column:2/-1}}
@media(max-width:700px){.review-toolbar{flex-direction:column;align-items:stretch}.review-toolbar-actions{width:100%}.review-toolbar-actions .button{flex:1;justify-content:center}.review-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.review-batch-bar{width:100%;justify-content:stretch}.review-batch-bar input{width:100%}.review-batch-bar .button{flex:1}.review-tabs{align-items:flex-start;flex-direction:column}.review-select-all{white-space:normal}.review-card{grid-template-columns:22px minmax(0,1fr)}.review-details,.review-photo,.review-actions{grid-column:2}.review-photo{grid-row:auto;width:100%;height:150px}.review-actions{justify-content:flex-start}.review-actions .button{flex:1}}

/* ---- 项目管理 ---- */
.project-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.project-admin-filter{min-width:150px}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.project-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:8px;padding:16px;display:grid;gap:10px;min-height:150px;box-shadow:var(--shadow);color:var(--ink)}
.project-card:hover{border-color:#b9cfe6;transform:translateY(-1px)}
.project-card-top,.project-card-meta,.project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.project-card-name{font-size:0.9375rem;font-weight:650;color:#24405f}
.project-card-department{width:max-content;padding:2px 7px;border-radius:4px;background:#f1f6fb;color:#60758c;font-size:0.5625rem}
.project-card-desc{font-size:0.6875rem;line-height:1.65;color:#7d8da0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:52px}
.project-card-meta{font-size:0.625rem;color:#8b9bab}
.project-card-foot{font-size:0.625rem;color:#8b9bab;padding-top:2px;border-top:1px solid #f0f3f6}
.project-role{display:inline-flex;align-items:center;border-radius:4px;padding:3px 7px;background:#eef3f8;color:#60758c;font-size:0.625rem}
.project-role.leader{background:#e8f3ff;color:#2563a9}
.project-role.admin{background:#ecf7f1;color:#287251}
.project-progress-status{color:#2563a9;font-weight:600}
.project-detail-head{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 18px;margin-bottom:14px;box-shadow:var(--shadow)}
.project-detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:10px 0 8px}
.project-detail-title h2{font-size:1.3125rem;margin:0;color:#24405f}
.project-detail-title p{font-size:0.75rem;color:#7d8da0;line-height:1.7;margin:7px 0 0}
.project-detail-actions{display:flex;gap:7px;flex-wrap:wrap}
.project-detail-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:0.6875rem;color:#7d8da0}
.project-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-bottom:14px}
.project-detail-grid.single-column{grid-template-columns:1fr}
.project-member-list{display:grid;gap:0}
.project-member-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eef1ef;font-size:0.75rem}
.project-member-row:last-child{border-bottom:0}
.project-member-row small{font-size:0.625rem;color:#8b9bab;margin-left:5px}
.project-member-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.project-add-member{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #eef1ef}
.project-add-member .input{flex:1;min-width:0}
.project-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px}
.field textarea{width:100%;border:1px solid var(--line);border-radius:5px;padding:9px 10px;font-size:0.75rem;resize:vertical;line-height:1.6;font-family:inherit}
.project-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.project-photo{position:relative;border:1px solid #e1e9f2;border-radius:6px;overflow:hidden;background:#f3f6fa}
.project-photo img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.project-photo .button{position:absolute;left:6px;right:6px;bottom:6px;justify-content:center;background:#fff}
.project-submission-current{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.project-review-note{font-size:0.625rem;color:#8b5e34;background:#fff8ef;border:1px solid #f1dfc8;border-radius:4px;padding:4px 7px}
.project-review-card{border:1px solid #e6edf5;border-radius:7px;padding:12px;margin-bottom:10px;background:#fbfdff}
.project-review-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:0.75rem}
.project-review-head small{font-size:0.625rem;color:#8b9bab;margin-left:5px}
.project-review-content{font-size:0.6875rem;line-height:1.7;color:#52677e;margin:8px 0;white-space:pre-wrap}
.project-review-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:8px 0}
.project-review-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;border:1px solid #e1e9f2}
.project-review-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid #e6edf5;padding-top:10px;margin-top:8px}
.project-review-form .field{width:110px;margin:0}
.project-review-form .field.grow{flex:1;min-width:150px;width:auto}
.project-review-actions{display:flex;gap:6px}
.project-total{font-size:0.6875rem;color:#7d8da0}
.project-total b{color:#2563a9;font-size:0.875rem}
@media(max-width:1100px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.project-head-actions{width:100%}.project-head-actions .button{flex:1}.project-admin-filter{width:100%}.project-detail-title{display:block}.project-detail-actions{margin-top:10px}.project-grid{grid-template-columns:1fr}.project-form-row{grid-template-columns:1fr}.project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-add-member{flex-direction:column}.project-review-form .field{width:100%}}

/* ---- 教师端 ---- */
.teacher-duty-panel{margin-bottom:14px}
.teacher-duty-count{font-size:0.6875rem;color:#7d8da0}
.teacher-project-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.teacher-project-live{display:inline-flex;align-items:center;gap:7px;font-size:0.625rem;color:#71839a}
.teacher-project-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}
.teacher-project-metric{position:relative;overflow:hidden;border:1px solid #e3ebf4;border-radius:8px;background:#f8fbff;padding:13px 14px;min-height:88px}
.teacher-project-metric:after{content:"";position:absolute;right:-20px;bottom:-25px;width:70px;height:70px;border-radius:50%;background:#e8f2ff}
.teacher-project-metric.accent{background:linear-gradient(145deg,#f3f9ff,#e8f3ff);border-color:#cfe1f5}
.teacher-project-metric>span,.teacher-project-metric>small,.teacher-project-metric>strong{position:relative;z-index:1;display:block}
.teacher-project-metric>span{font-size:0.625rem;color:#71839a}
.teacher-project-metric>strong{font-size:1.5rem;line-height:1.15;color:#24405f;margin:6px 0 3px}
.teacher-project-metric.accent>strong{color:#2563a9}
.teacher-project-metric>small{font-size:0.5625rem;color:#9aa9b8}
.teacher-project-visuals{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.7fr);gap:12px;margin-bottom:16px}
.teacher-progress-chart,.teacher-progress-summary{border:1px solid #e3ebf4;border-radius:8px;background:#fbfdff;padding:14px}
.teacher-visual-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.teacher-visual-head b,.teacher-visual-head span{display:block}.teacher-visual-head b{font-size:0.75rem;color:#29486d}.teacher-visual-head span{font-size:0.5625rem;color:#8b9bab;margin-top:3px}.teacher-visual-head>span{white-space:nowrap;margin-top:1px}
.teacher-chart-list{display:grid;gap:10px;max-height:310px;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#9bbce0 #eef4fa}
.teacher-chart-row{display:grid;grid-template-columns:minmax(105px,180px) minmax(100px,1fr) 46px;align-items:center;gap:9px}
.teacher-chart-label{font-size:0.625rem;color:#35536f;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.teacher-chart-track,.teacher-project-progress-track{height:8px;border-radius:999px;background:#e7eef6;overflow:hidden}
.teacher-chart-track span,.teacher-project-progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2b70b7,#5b9bd8);min-width:0}
.teacher-chart-row>strong{font-size:0.625rem;color:#2563a9;text-align:right;font-variant-numeric:tabular-nums}
.teacher-progress-summary{display:flex;align-items:center;justify-content:center;gap:18px;flex-direction:column}
.teacher-progress-ring{width:142px;height:142px;flex:0 0 142px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#2f79c0 var(--progress-angle),#e5edf6 0);position:relative;box-shadow:0 10px 28px #245a9420}
.teacher-progress-ring:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fbfdff;box-shadow:inset 0 0 0 1px #e8eff7}
.teacher-progress-ring>div{position:relative;z-index:1;text-align:center}.teacher-progress-ring strong{display:block;font-size:1.65rem;line-height:1;color:#2563a9}.teacher-progress-ring span{display:block;font-size:0.5625rem;color:#8b9bab;margin-top:6px}
.teacher-progress-legend{display:grid;gap:7px;width:100%}
.teacher-progress-legend>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:0.625rem;color:#60758c}
.teacher-progress-legend i{width:8px;height:8px;border-radius:50%}.teacher-progress-legend i.recorded{background:#2f79c0}.teacher-progress-legend i.pending{background:#d9a04f}.teacher-progress-legend i.members{background:#55a27e}.teacher-progress-legend b{color:#29486d}
.teacher-project-progress{margin:10px 0 0}.teacher-project-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:0.5625rem;color:#8b9bab;margin-bottom:6px}.teacher-project-progress-label b{color:#315a87;font-weight:600}
.teacher-duty-people{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.teacher-duty-person{display:inline-flex;align-items:baseline;gap:6px;background:#eef5ff;border:1px solid #dbe8f8;border-radius:5px;padding:8px 11px;color:#315a87;font-size:0.75rem}
.teacher-duty-person small{font-size:0.625rem;color:#8b9bab}
.teacher-duty-tasks{display:grid;gap:0;border-top:1px solid #eef1ef;padding-top:8px}
.teacher-duty-task{display:flex;justify-content:space-between;gap:10px;padding:8px 0;font-size:0.75rem;color:#52677e}
.teacher-task-done{color:#2f8a61;font-weight:600}
.teacher-task-progress{color:#a87022}
.teacher-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.teacher-project-card{border:1px solid #e3ebf4;border-radius:8px;padding:15px;background:#fff}
.teacher-project-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.teacher-project-name{font-size:0.9375rem;font-weight:650;color:#24405f}
.teacher-project-desc{font-size:0.6875rem;line-height:1.6;color:#7d8da0;margin-top:6px}
.teacher-project-percent{font-size:1.375rem;font-weight:700;color:#2563a9;flex-shrink:0}
.teacher-project-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:0.625rem;color:#8b9bab;margin:10px 0;padding:8px 0;border-block:1px solid #f0f3f6}
.teacher-project-members{font-size:0.6875rem;line-height:1.6;color:#60758c;margin-bottom:9px}
.teacher-progress-list{display:grid;gap:7px}
.teacher-progress-item{border-left:2px solid #dce9f7;padding:0 0 0 10px}
.teacher-progress-head{display:flex;justify-content:space-between;gap:8px;font-size:0.6875rem;color:#29486d}
.teacher-progress-head span{font-size:0.625rem;color:#8b9bab;white-space:nowrap}
.teacher-progress-author{font-size:0.625rem;color:#8b9bab;margin-top:3px}
.teacher-progress-content{font-size:0.6875rem;line-height:1.65;color:#52677e;margin-top:4px;white-space:pre-wrap}
.teacher-progress-photos{display:flex;gap:5px;margin-top:6px;flex-wrap:wrap}
.teacher-progress-photos img{width:54px;height:54px;object-fit:cover;border-radius:4px;border:1px solid #e1e9f2}
.teacher-progress-empty{font-size:0.625rem;color:#9aa9b8;padding:4px 0}

/* ---- 教师项目可视化全屏驾驶舱 ---- */
body.project-screen-open{overflow:hidden}
.project-screen{position:fixed;inset:0;z-index:1500;overflow:hidden;color:#e8f5ff;background:radial-gradient(circle at 50% -15%,#1a4d78 0,#0a2037 36%,#050d18 78%,#030812 100%)}
.project-screen:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background-image:linear-gradient(#3e87bb18 1px,transparent 1px),linear-gradient(90deg,#3e87bb18 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
.project-screen:after{content:"";position:absolute;left:50%;top:-34vw;width:68vw;height:68vw;transform:translateX(-50%);border-radius:50%;border:1px solid #4caeef18;box-shadow:0 0 0 7vw #4caeef0a,0 0 0 14vw #4caeef06;pointer-events:none}
.ps-shell{position:relative;z-index:1;height:100vh;height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(10px,1.1vh,16px);padding:clamp(14px,1.5vw,25px)}
.ps-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:22px;padding:0 2px 12px;border-bottom:1px solid #4b9dd133}
.ps-brand{display:flex;align-items:center;gap:14px;min-width:0}.ps-logo{width:48px;height:48px;flex:0 0 48px;border:1px solid #52b9f266;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#154f7c,#0a2d4a);color:#74d3ff;font-size:25px;box-shadow:inset 0 0 20px #4ab6ff18,0 8px 30px #0004}.ps-brand span{display:block;color:#67c9ff;font-size:10px;letter-spacing:2px}.ps-brand h1{margin:5px 0 0;font-size:clamp(20px,1.75vw,29px);line-height:1.18;letter-spacing:1px;color:#effaff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-header-center{display:grid;justify-items:end;gap:5px}.ps-live{display:inline-flex;align-items:center;gap:7px;color:#8ddbf7;font-size:10px;font-weight:500}.ps-live i{width:7px;height:7px;border-radius:50%;background:#4ee0a3;box-shadow:0 0 0 4px #4ee0a320,0 0 12px #4ee0a3}.ps-live.error{color:#ffb1a9}.ps-live.error i{background:#f26d63;box-shadow:0 0 0 4px #f26d6320}.ps-clock{color:#93bcd7;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ps-actions{display:flex;gap:8px}.ps-actions button{height:36px;padding:0 14px;border:1px solid #3778a966;border-radius:7px;background:#0d29426e;color:#c5e8fb;font-size:11px;font-weight:600}.ps-actions button:hover{background:#16476a;border-color:#5dbff1}.ps-actions button:last-child{background:#17324a;color:#9fc7df}
.ps-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,.9vw,13px)}
.ps-kpi{position:relative;overflow:hidden;min-height:78px;padding:13px 16px;border:1px solid #397dab3d;border-radius:9px;background:linear-gradient(145deg,#0c2740c7,#081a2bc7);box-shadow:inset 0 1px 0 #ffffff08}.ps-kpi:after{content:"";position:absolute;right:-25px;bottom:-40px;width:95px;height:95px;border-radius:50%;border:1px solid #4cb8ff1f;box-shadow:0 0 0 15px #4cb8ff08}.ps-kpi span,.ps-kpi strong,.ps-kpi small{position:relative;z-index:1;display:block}.ps-kpi span{font-size:10px;color:#79aac9;letter-spacing:1px}.ps-kpi strong{font-size:clamp(26px,2.25vw,37px);line-height:1.05;margin:4px 0 2px;color:#e7f7ff;font-variant-numeric:tabular-nums}.ps-kpi small{font-size:9px;color:#5e8ba8}.ps-kpi.accent{border-color:#4ebeff55;background:linear-gradient(145deg,#0f3e60cf,#092940cf)}.ps-kpi.accent strong{color:#6bd8ff}
.ps-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.72fr);gap:clamp(10px,.9vw,14px);min-height:0}
.ps-projects-panel{display:flex;flex-direction:column;min-height:0;border:1px solid #397dab3d;border-radius:10px;background:#071a2bcc;overflow:hidden}
.ps-panel-head,.ps-side-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid #3c88b52e}.ps-panel-head b,.ps-panel-head span,.ps-side-head b,.ps-side-head span{display:block}.ps-panel-head b,.ps-side-head b{font-size:13px;color:#dff4ff}.ps-panel-head span,.ps-side-head span{font-size:9px;color:#6995b0;margin-top:3px}.ps-panel-head em{font-style:normal;font-size:10px;color:#65c8f3;padding:4px 9px;border-radius:999px;background:#0d3b5b;border:1px solid #2d75a44d;white-space:nowrap}
.ps-project-list{display:grid;gap:9px;min-height:0;overflow:auto;padding:11px;scrollbar-width:thin;scrollbar-color:#2878a9 #0a2135}
.ps-project-card{display:grid;grid-template-columns:45px minmax(0,1fr);gap:11px;padding:12px 13px 12px 10px;border:1px solid #2e729c3d;border-radius:9px;background:linear-gradient(120deg,#0c2a43bf,#081a2bb8);box-shadow:inset 0 1px 0 #ffffff06}
.ps-project-rank{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#0c3552;border:1px solid #2c82b55c;color:#61cfff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.ps-project-body{min-width:0}.ps-project-title{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ps-project-title h2{margin:0;font-size:clamp(14px,1.2vw,19px);line-height:1.25;color:#effaff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-project-title p{margin:4px 0 0;color:#719bb5;font-size:10px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.ps-project-score{text-align:right;flex:0 0 auto}.ps-project-score strong{display:block;font-size:clamp(19px,1.6vw,25px);line-height:1;color:#61d4ff;font-variant-numeric:tabular-nums}.ps-project-score span{display:block;font-size:8px;color:#678ea7;margin-top:4px}
.ps-project-track{height:7px;border-radius:999px;overflow:hidden;background:#0b1b2b;margin:9px 0 8px;border:1px solid #ffffff08}.ps-project-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#21a4de,#68e2ff);box-shadow:0 0 14px #39b8ec99}
.ps-project-meta{display:flex;flex-wrap:wrap;gap:5px 15px;font-size:9px;color:#668fa9}.ps-project-meta b{color:#b8dced;font-weight:600}
.ps-project-members{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.ps-project-members>span{display:inline-flex;align-items:center;gap:5px;padding:3px 7px 3px 4px;border-radius:999px;border:1px solid #315f7c66;background:#0a2438;color:#a8cbe0;font-size:9px}.ps-project-members>span.leader{border-color:#5ec8f355;background:#0c3552;color:#d4f2ff}.ps-project-members i{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#15476a;color:#7cd9ff;font-style:normal;font-size:8px;font-weight:700}.ps-project-members small{margin-left:1px;color:#58c8f5;font-size:8px}.ps-project-members em{color:#5b8097;font-style:normal;font-size:9px}
.ps-latest{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:8px;padding-top:7px;border-top:1px solid #2e64853b;font-size:9px}.ps-latest>span{color:#5d89a3}.ps-latest>b{color:#9bc9de;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-latest>em{font-style:normal;color:#547a92;white-space:nowrap}
.ps-side{display:grid;grid-template-rows:minmax(0,.9fr) minmax(0,1fr) minmax(0,1.05fr);gap:10px;min-height:0}.ps-side-card{min-height:0;border:1px solid #397dab3d;border-radius:10px;background:linear-gradient(145deg,#0a2237d9,#071625db);overflow:hidden;display:flex;flex-direction:column}.ps-side-head{flex:0 0 auto;padding:11px 14px}
.ps-overview-body{display:flex;align-items:center;justify-content:center;gap:20px;padding:13px 17px;min-height:0}.ps-ring{width:clamp(112px,10vw,155px);height:clamp(112px,10vw,155px);flex:0 0 auto;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#53cdfb var(--ps-angle),#163145 0);box-shadow:0 0 34px #2eaee62e}.ps-ring:after{content:"";position:absolute;inset:12px;border-radius:50%;background:#081b2c;border:1px solid #2b678c66}.ps-ring>div{position:relative;z-index:1;text-align:center}.ps-ring strong{display:block;font-size:clamp(28px,2.6vw,42px);line-height:1;color:#e8faff}.ps-ring span{display:block;font-size:8px;letter-spacing:1.5px;color:#5f9bb9;margin-top:6px}.ps-legend{display:grid;gap:9px;min-width:120px}.ps-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:7px;align-items:center;font-size:9px;color:#719db7}.ps-legend i{width:7px;height:7px;border-radius:50%}.ps-legend i.ok{background:#53cdfb}.ps-legend i.wait{background:#d99b50}.ps-legend i.people{background:#4ed7a4}.ps-legend b{color:#d4edfa}
.ps-member-list,.ps-feed-list{min-height:0;overflow:auto;padding:7px 12px 11px;scrollbar-width:thin;scrollbar-color:#2878a9 #0a2135}.ps-member-list{display:grid;gap:6px}.ps-member-row{display:grid;grid-template-columns:24px 25px minmax(0,1fr) auto;gap:7px;align-items:center;padding:6px 7px;border-radius:6px;background:#0b2236b8;border:1px solid #2a5e8040}.ps-member-rank{font-size:8px;color:#4f809b}.ps-avatar{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#10466a;color:#71d8ff;font-size:9px;font-weight:700}.ps-member-row>div{display:grid;gap:2px;min-width:0}.ps-member-row b{font-size:10px;color:#cbe9f7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-member-row small{font-size:8px;color:#5d849c}.ps-member-row>strong{font-size:14px;color:#62d6ff}.ps-member-row>strong small{font-size:8px;color:#668da5}.ps-more{flex:0 0 auto;text-align:center;padding:0 10px 9px;font-size:8px;color:#547b93}
.ps-feed-list{display:grid;gap:7px}.ps-feed-item{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 2px;border-bottom:1px solid #2b5a7736}.ps-feed-item:last-child{border-bottom:0}.ps-feed-item>i{width:7px;height:7px;border-radius:50%;background:#4ed7a4;box-shadow:0 0 0 4px #4ed7a418}.ps-feed-item>div{display:grid;gap:3px;min-width:0}.ps-feed-item b{font-size:10px;color:#c7e8f6;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-feed-item span{font-size:8px;color:#5f8ba4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-feed-item time{font-size:8px;color:#54788e;white-space:nowrap}
.ps-empty{display:grid;place-items:center;min-height:120px;color:#5e879e;font-size:10px}.ps-empty.small{min-height:56px}
.ps-footer{display:flex;justify-content:space-between;gap:15px;padding:0 3px;color:#4f7892;font-size:9px;letter-spacing:.3px}
@media(max-width:1150px){.project-screen{overflow:auto}.ps-shell{height:auto;min-height:100vh;min-height:100dvh}.ps-layout{grid-template-columns:1fr}.ps-projects-panel{min-height:520px}.ps-side{grid-template-columns:1fr 1fr;grid-template-rows:minmax(210px,auto) minmax(240px,auto)}.ps-feed-card{grid-column:1/-1}}
@media(max-width:760px){.ps-shell{padding:12px}.ps-header{grid-template-columns:1fr auto;gap:10px}.ps-header-center{display:none}.ps-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-side{grid-template-columns:1fr}.ps-feed-card{grid-column:auto}.ps-brand h1{white-space:normal;font-size:19px}.ps-brand span{font-size:8px}.ps-logo{width:40px;height:40px;flex-basis:40px}.ps-actions button{height:34px;padding:0 10px;font-size:10px}.ps-project-card{grid-template-columns:34px minmax(0,1fr);gap:7px}.ps-project-rank{width:30px;height:30px}.ps-latest{grid-template-columns:1fr}.ps-latest>em{white-space:normal}.ps-footer{display:none}}

@media(max-width:1150px){.teacher-project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-project-visuals{grid-template-columns:1fr}.teacher-progress-summary{flex-direction:row}.teacher-progress-legend{max-width:360px}}
@media(max-width:1000px){.teacher-project-grid{grid-template-columns:1fr}}
@media(max-width:700px){.teacher-project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-progress-summary{flex-direction:column}.teacher-chart-row{grid-template-columns:minmax(90px,1.2fr) minmax(80px,1fr) 42px}.teacher-visual-head>span,.teacher-project-live{display:none}}

/* ---- 项目进展 ---- */
.project-progress-form{background:#f8fbff;border:1px solid #e6eef7;border-radius:7px;padding:12px;margin-bottom:14px}
.project-progress-form-fields{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px}
.project-progress-form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.project-progress-form-actions input[type=file]{font-size:0.6875rem;color:#7d8da0}
.project-progress-timeline{display:grid;gap:9px}
.project-progress-item{border-left:2px solid #cfe2f5;padding:0 0 0 12px}
.project-progress-head{display:flex;justify-content:space-between;gap:10px;font-size:0.75rem;color:#29486d}
.project-progress-head > span{font-size:0.625rem;color:#8b9bab;white-space:nowrap}
.project-progress-percent{display:inline-block;background:#e8f3ff;color:#2563a9;border-radius:4px;padding:2px 6px;font-size:0.625rem;margin-left:5px}
.project-progress-author{font-size:0.625rem;color:#8b9bab;margin-top:4px}
.project-progress-content{font-size:0.6875rem;line-height:1.7;color:#52677e;margin-top:5px;white-space:pre-wrap}
.project-progress-photos{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.project-progress-photos img{width:72px;height:72px;object-fit:cover;border-radius:5px;border:1px solid #e1e9f2}
.project-progress-delete{margin-top:7px}
@media(max-width:700px){.project-progress-form-fields{grid-template-columns:1fr}.project-progress-form-actions{flex-direction:column;align-items:stretch}}

/* ---- 个人头像 / 教师简介 ---- */
.person-photo-edit{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #eef1ef}
.person-photo-preview{width:74px;height:74px;flex:0 0 74px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#e7f0fb;color:#2563a9;font-size:1.625rem;font-weight:700;border:2px solid #dbe8f8}
.person-photo-preview img{width:100%;height:100%;object-fit:cover}
.person-photo-edit .account-help{max-width:320px}
.teacher-bio{font-size:0.6875rem;line-height:1.6;color:#7d8da0;margin-top:5px;max-width:520px}
.student-bio{font-size:0.6875rem;line-height:1.6;color:#60758c;margin:7px 0 9px;max-width:520px}

/* ---- 部门管理 ---- */
.department-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#eaf3fd;color:#2563a9;border:1px solid #d5e7f8;font-size:0.5625rem;font-weight:600;white-space:nowrap}
.department-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.department-card{border:1px solid #dfe8f2;border-radius:10px;background:#fff;padding:16px;box-shadow:var(--shadow);min-width:0;position:relative;overflow:hidden}
.department-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#4c8bc7}
.department-card.department-green:before{background:#52a17d}.department-card.department-amber:before{background:#d39b4c}
.department-head{display:flex;align-items:center;gap:11px}.department-mark{width:42px;height:42px;flex:0 0 42px;border-radius:11px;display:grid;place-items:center;background:#eaf3fd;color:#2563a9;font-size:1rem;font-weight:700}.department-green .department-mark{background:#eaf6ef;color:#2f8a61}.department-amber .department-mark{background:#fff6e8;color:#a8702a}
.department-title-wrap{flex:1;min-width:0}.department-title-wrap h2{margin:0;font-size:1rem;color:#24405f}.department-title-wrap p{margin:4px 0 0;color:#8494a5;font-size:0.625rem}.department-present{padding:5px 9px;border-radius:999px;background:#f1f7ff;color:#2563a9;font-size:0.5625rem;white-space:nowrap}
.department-actions{display:flex;gap:7px;margin:14px 0 12px;flex-wrap:wrap}.department-actions .button{flex:1;justify-content:center}
.department-roster{border-top:1px solid #eef2f6;padding-top:11px;margin-top:11px}.department-roster-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#35536f;font-size:0.6875rem}.department-roster-head span{color:#8b9bab;font-size:0.5625rem}
.department-people{display:grid;gap:6px;max-height:240px;overflow:auto;scrollbar-width:thin;scrollbar-color:#9cbbe0 #eef4fa}.department-person{display:flex;align-items:center;gap:8px;padding:6px 7px;border-radius:6px;background:#f8fbfe;border:1px solid #edf2f7;min-width:0}.department-person .mini-avatar{width:28px;height:28px;flex:0 0 28px;font-size:10px}.department-person>div{min-width:0}.department-person b{display:block;font-size:0.6875rem;color:#29486d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.department-person small{display:block;color:#8b9bab;font-size:0.5625rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.department-empty{padding:22px 10px;border-radius:6px;background:#f8fafb;text-align:center;color:#9aa9b8;font-size:0.625rem}
.department-overview-panel{margin-bottom:15px}.overview-department-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.overview-department{border:1px solid #e1eaf4;border-radius:7px;background:#f8fbff;padding:11px 13px}.overview-department-name{font-size:0.8125rem;font-weight:650;color:#29486d}.overview-department-counts{display:flex;gap:13px;flex-wrap:wrap;margin-top:7px;color:#8b9bab;font-size:0.5625rem}.overview-department-counts b{color:#2563a9;font-size:0.6875rem}
.dept-checkin-panel{margin-bottom:15px;background:linear-gradient(145deg,#fff,#f7fcf9);border-color:#dce9e1}.dept-checkin-visual{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.dept-checkin-card{position:relative;padding:15px;border:1px solid #e2ebe5;border-radius:8px;background:#fff;min-width:0;overflow:hidden}.dept-checkin-card.leader{background:linear-gradient(145deg,#edf8f1,#fff);border-color:#bcdac8;box-shadow:0 8px 24px #2c755218}.dept-checkin-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dept-checkin-rank{font-size:.5625rem;color:#8b9a93;letter-spacing:.4px}.dept-checkin-card.leader .dept-checkin-rank{color:#2b7854;font-weight:700}.dept-checkin-name{margin-top:5px;font-size:.875rem;font-weight:680;color:#263c32}.dept-checkin-total{display:flex;align-items:baseline;gap:4px;color:#286b4e}.dept-checkin-total strong{font-size:1.75rem;line-height:1}.dept-checkin-total span{font-size:.625rem;color:#7c8d84}.dept-checkin-track{height:8px;margin-top:15px;border-radius:99px;background:#edf2ef;overflow:hidden}.dept-checkin-bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#56a67d,#2c7a58);transition:width .35s ease}.dept-checkin-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:11px;color:#87958e;font-size:.5625rem}.dept-checkin-meta b{color:#3d6754;font-size:.625rem}.dept-checkin-empty{margin-top:9px;color:#a0aaa5;font-size:.5625rem}
@media(max-width:1150px){.department-grid{grid-template-columns:1fr}.department-people{max-height:180px}}
@media(max-width:900px){.dept-checkin-visual{grid-template-columns:1fr}}@media(max-width:700px){.overview-department-grid{grid-template-columns:1fr}}

/* ---- 页面可读性：整体字号放大约 12.5% ---- */
html{font-size:112.5%}
@media(max-width:650px){
  .topbar{height:auto;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:20px}
  .topbar .crumb{flex:1 1 100%;line-height:1.65}
  .top-actions{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:8px}
  .top-actions .live{white-space:nowrap}
}

/* ---- 登录页：校园背景与放大品牌 ---- */
.auth-page{
  background:
    linear-gradient(105deg,rgba(231,240,251,.94) 0%,rgba(231,240,251,.78) 44%,rgba(231,240,251,.34) 100%),
    url("../assets/login-campus.jpg") center / cover no-repeat fixed;
}
.auth-panel{background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.auth-brand{gap:16px;margin-bottom:30px}
.auth-brand .auth-mark{width:72px;height:72px;flex:0 0 72px}
.auth-brand strong{font-size:1.35rem;line-height:1.25}
.auth-brand small{font-size:.8125rem;margin-top:5px}
@media(max-width:650px){
  .auth-page{background-position:58% center;background-attachment:scroll}
  .auth-brand{gap:13px}
  .auth-brand .auth-mark{width:62px;height:62px;flex-basis:62px}
  .auth-brand strong{font-size:1.2rem}
}

/* ---- 侧栏在低高度屏幕可滚动，保证所有管理入口可达 ---- */
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aec1d8 transparent}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:#aec1d8;border-radius:999px}
@media(max-width:650px){
  .sidebar{overflow-y:visible}
}

/* ---- 部门打卡范围 ---- */
.department-location-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);gap:15px;align-items:start}
.location-map-panel{overflow:hidden}
.location-map-body{padding:0!important}
.department-location-map{height:520px;min-height:420px;background:#dfe9f4;position:relative;z-index:0}
.leaflet-container{font-family:inherit;background:#dfe9f4}
.leaflet-control-attribution{font-size:9px!important}
.location-map-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 15px;border-top:1px solid var(--line);background:#f8fbff;font-size:.625rem;color:var(--muted)}
.location-map-hint b{font-size:.625rem;color:#315a87;font-weight:600;text-align:right}
.location-map-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:.625rem;font-weight:600;white-space:nowrap}
.location-map-status.on{color:#2f7d58;background:#e8f6ee;border:1px solid #cdebd9}
.location-map-status.off{color:#7a673f;background:#fff7e8;border:1px solid #f0dfbc}
.location-setting-panel .panel-body{padding-top:15px}
.location-form{display:grid;gap:13px}
.location-enabled-label{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:7px;background:#f3f8fd;border:1px solid #dce9f6;color:#29486d;font-weight:600}
.location-coordinate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.location-coordinate-grid .field{margin:0}
.location-coordinate-grid .field span{font-size:.625rem;color:#687b91}
.location-coordinate-grid .field input{padding:9px 10px}
.location-actions{display:flex;gap:8px;flex-wrap:wrap}
.location-actions .button{flex:1;justify-content:center}
.location-save-message{min-height:16px;font-size:.625rem;color:#b45f42;line-height:1.5}
.location-meta{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #eef2f6}
.location-meta div{display:flex;justify-content:space-between;gap:12px;font-size:.625rem;color:#8493a4}
.location-meta b{font-weight:500;color:#415c78;text-align:right}
.location-help{display:grid;gap:5px;margin-top:14px;padding:12px 13px;border-radius:7px;background:#f7fafc;border:1px solid #e9eff5}
.location-help b{font-size:.6875rem;color:#29486d}
.location-help span{font-size:.625rem;line-height:1.7;color:#74869a}
.location-sync-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.location-sync-grid>div{display:grid;gap:6px;padding:12px 13px;border-radius:7px;background:#f8fbff;border:1px solid #e4edf6;min-width:0}
.location-sync-grid span{font-size:.5625rem;color:#8a9aab}
.location-sync-grid b{font-size:.75rem;color:#29486d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.location-sync-grid b.ok{color:#2f8a61}.location-sync-grid b.muted{color:#8a99aa}
.location-department-select{min-width:120px}
.location-retry-wrap{margin-top:12px}
.location-map-fallback{height:100%;display:grid;place-items:center;padding:24px;text-align:center;color:#74869a;font-size:.75rem}
@media(max-width:1100px){.department-location-layout{grid-template-columns:1fr}.department-location-map{height:440px}.location-sync-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.department-location-map{height:360px;min-height:320px}.location-coordinate-grid{grid-template-columns:1fr}.location-sync-grid{grid-template-columns:1fr}.location-map-hint{align-items:flex-start;flex-direction:column}.location-map-hint b{text-align:left}.location-actions .button{flex:1 1 100%}}

/* ---- 部门化可视化大屏 ---- */
.display-department-select{min-width:118px}
.display-department-select-dark{display:block;margin:0 0 7px auto;background:#112844;color:#d9efff;border-color:#2b5278}
.display-department-select-dark option{background:#112844;color:#d9efff}
.display-v2 .v2-date{align-items:flex-end}
.teacher-attending-grid > .empty,.teacher-away-grid > .empty{grid-column:1/-1;width:100%;white-space:normal;text-align:center}
@media(max-width:700px){.display-department-select-dark{margin-left:0}}

/* ---- 网站备案信息 ---- */
.site-icp-footer{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  padding:12px 20px calc(12px + env(safe-area-inset-bottom));
  background:#edf3fb;
  border-top:1px solid #d6e3f1;
  color:#667b93;
  font-size:12px;
  line-height:1.6;
  text-align:center;
}
.site-icp-footer a{
  color:#426b96;
  text-decoration:none;
  transition:color .18s ease;
}
.site-icp-footer a:hover{
  color:#1f5f9e;
  text-decoration:underline;
}
.site-icp-footer a:focus-visible{
  outline:2px solid #6b9bc9;
  outline-offset:3px;
  border-radius:3px;
}
@media(max-width:700px){
  .site-icp-footer{min-height:42px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));font-size:11px}
}

    /* ---- 教师端证书管理 ---- */
    .certificate-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .certificate-filter-panel{margin-bottom:13px}
    .certificate-panel .panel-head{padding-bottom:13px}
    .certificate-selection-note{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.625rem;color:var(--muted)}
    .certificate-selection-note b{color:#2563a9}
    .certificate-table{min-width:1380px}
    .certificate-table th{vertical-align:middle}
    .certificate-table td{vertical-align:middle}
    .certificate-thumb{position:relative;width:72px;height:48px;padding:0;border:1px solid #dfe8f2;border-radius:5px;background:#f3f7fb;overflow:hidden;display:block}
    .certificate-thumb img{width:100%;height:100%;object-fit:cover;display:block}
    .certificate-thumb span{position:absolute;left:3px;right:3px;bottom:2px;padding:1px 3px;border-radius:3px;background:#102b47b8;color:#fff;font-size:7px;line-height:1.3;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .certificate-filename{max-width:235px;white-space:normal;line-height:1.5;color:#29486d;font-weight:600}
    .certificate-competition{max-width:220px;white-space:normal;line-height:1.5}
    .certificate-organization{max-width:230px;white-space:normal;line-height:1.5;color:#52677e}
    .certificate-level{display:inline-flex;padding:3px 7px;border-radius:999px;background:#eaf3fd;color:#2563a9;font-size:.5625rem;font-weight:600;white-space:nowrap}
    .certificate-status{display:inline-flex;padding:4px 7px;border-radius:5px;background:#e8f6ee;color:#2f7a56;font-size:.5625rem;font-weight:600;white-space:nowrap}
    .certificate-status.pending{background:#fff5e6;color:#a87022}
    .certificate-status.ocr_failed{background:#fff0ef;color:#b95145}
    .certificate-actions{display:flex;gap:4px;flex-wrap:wrap;min-width:170px}
    .certificate-actions .button{padding:4px 6px;font-size:.5625rem}
    .certificate-error{color:#b95145}
    .certificate-import-modal{width:min(620px,100%)}
    .certificate-import-note{padding:11px 13px;border-radius:7px;background:#f3f8fd;border:1px solid #dce9f6;color:#60758c;font-size:.6875rem;line-height:1.7;margin-bottom:13px}
    .certificate-dropzone{display:grid;place-items:center;min-height:150px;padding:22px;border:2px dashed #cbdced;border-radius:9px;background:#f8fbff;text-align:center;cursor:pointer}
    .certificate-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
    .certificate-dropzone b{font-size:.875rem;color:#29486d}.certificate-dropzone span{margin-top:7px;color:#8b9bab;font-size:.625rem}
    .certificate-import-status{margin-top:11px;padding:10px 12px;border-radius:6px;background:#f5f8fb;color:#71849a;font-size:.625rem;line-height:1.65;word-break:break-all}
    .certificate-edit-modal{width:min(720px,100%)}
    .certificate-edit-preview{display:flex;align-items:center;gap:13px;padding:11px;border:1px solid #e1eaf4;border-radius:8px;background:#f8fbff;margin-bottom:15px}
    .certificate-edit-preview img{width:112px;height:76px;object-fit:cover;border-radius:6px;border:1px solid #dce6f1;background:#eef4fa}
    .certificate-edit-preview>div{display:grid;gap:4px;min-width:0}.certificate-edit-preview b{color:#29486d;font-size:.75rem;word-break:break-all}.certificate-edit-preview span{color:#8b9bab;font-size:.625rem}
    .certificate-ocr-text{margin-top:13px;border-top:1px solid #edf1f5;padding-top:10px}.certificate-ocr-text summary{cursor:pointer;color:#60758c;font-size:.625rem}.certificate-ocr-text pre{max-height:190px;overflow:auto;white-space:pre-wrap;word-break:break-word;padding:10px;border-radius:6px;background:#f7f9fb;color:#60758c;font-family:inherit;font-size:.625rem;line-height:1.65}
    @media(max-width:760px){
      .certificate-head-actions{width:100%}.certificate-head-actions .button{flex:1;justify-content:center}
      .certificate-filter-panel .toolbar{display:block}.certificate-filter-panel .filters{display:grid;grid-template-columns:1fr 1fr}.certificate-filter-panel .search{grid-column:1/-1;width:100%}
      .certificate-table{min-width:0}.certificate-table thead{display:none}.certificate-table,.certificate-table tbody,.certificate-table tr,.certificate-table td{display:block;width:100%}
      .certificate-table tr{position:relative;border:1px solid #e1e9f2;border-radius:8px;margin-bottom:10px;padding:11px 11px 11px 45px;background:#fff}
      .certificate-table td{border:0;padding:5px 0;white-space:normal}.certificate-table td:first-child{position:absolute;left:13px;top:14px;width:auto}.certificate-table td:nth-child(2){width:82px;float:left;margin-right:10px}
      .certificate-table td:nth-child(n+4):before{content:attr(data-label);display:inline-block;width:74px;color:#8b9bab;font-size:.5625rem}
      .certificate-actions{min-width:0;margin-top:5px}.certificate-edit-preview{align-items:flex-start}.certificate-edit-preview img{width:90px;height:62px}
    }

.records-insight-panel{margin-bottom:19px;background:linear-gradient(145deg,#fff,#f8fcfa);border-color:#dce9e1}
.records-insight-scope{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 12px;margin-bottom:12px;border-radius:7px;background:#f2f8f5;color:#6f8178;font-size:.6875rem}
.records-insight-scope strong{color:#245b46;font-size:.75rem}.records-insight-scope span:last-child{margin-left:auto;color:#87958e}
.records-insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.records-insight-metric{padding:14px 15px;border:1px solid #e0ebe4;border-radius:7px;background:#fff}.records-insight-metric>span{display:block;color:#75867e;font-size:.625rem}.records-insight-metric>strong{display:block;margin-top:8px;color:#275b46;font-size:1.5rem;line-height:1}.records-insight-metric>strong small{margin-left:4px;color:#8c9b94;font-size:.625rem;font-weight:500}.records-insight-metric>em{display:block;margin-top:7px;color:#95a29c;font-size:.5625rem;font-style:normal}.records-insight-metric.danger{background:linear-gradient(145deg,#fff9f5,#fff);border-color:#f0ded3}.records-insight-metric.danger>strong{color:#b15d42}
.records-insight-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:12px}.records-insight-card{border:1px solid #e1ebe5;border-radius:7px;background:#fff;overflow:hidden}.records-insight-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px 10px}.records-insight-head b{display:block;color:#2c4438;font-size:.75rem}.records-insight-head span{display:block;margin-top:4px;color:#91a099;font-size:.5625rem;line-height:1.45}.checkin-ranking-table th:first-child,.checkin-ranking-table td:first-child{width:60px;text-align:center}.checkin-rank{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf2ef;color:#75827c;font-size:.625rem;font-weight:700}.checkin-rank-1{background:#fff2c7;color:#a46f1d}.checkin-rank-2{background:#e8edf3;color:#64768a}.checkin-rank-3{background:#f7e6da;color:#ad6d46}.checkin-count{color:#246a4e;font-size:.8125rem}.checkin-never{color:#b56d52;font-size:.625rem}.checkin-inactive-list{padding:0 14px 10px;max-height:350px;overflow:auto}.checkin-inactive-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef2ef}.checkin-inactive-row:last-child{border-bottom:0}.mini-avatar.warn{background:#fdf0e9;color:#b56d52}.checkin-inactive-main{flex:1;min-width:0}.checkin-inactive-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#718079;font-size:.5625rem}.checkin-inactive-meta strong{color:#825a49;font-size:.625rem}.checkin-inactive-meta span{color:#a09b96}.checkin-insight-empty{display:grid;place-items:center;gap:5px;padding:46px 18px;color:#87978f;text-align:center}.checkin-insight-empty strong{color:#426c58;font-size:.75rem}.checkin-insight-empty span{font-size:.625rem}
@media(max-width:900px){.records-insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.records-insight-grid{grid-template-columns:1fr}}
@media(max-width:560px){.records-insight-metrics{grid-template-columns:1fr}.records-insight-scope span:last-child{margin-left:0}.records-insight-head{align-items:stretch;flex-direction:column}.records-insight-head .button{width:100%;justify-content:center}.checkin-ranking-table{min-width:620px}}

.teacher-duty-task>span:first-child small{display:block;margin-top:3px;color:#8b9bab;font-size:.5625rem;font-weight:400}
.teacher-duty-review-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:16px 0 10px;padding-top:14px;border-top:1px solid #e8eef3}.teacher-duty-review-head b{color:#29486d;font-size:.75rem}.teacher-duty-review-head span{color:#8b9bab;font-size:.5625rem}.teacher-duty-submissions{display:grid;gap:10px}.teacher-duty-submission{padding:13px 14px;border:1px solid #e2eaf2;border-radius:8px;background:#fbfdff}.teacher-duty-submission.pending{border-color:#efdcba;background:#fffdf8}.teacher-duty-submission.rejected{border-color:#f1d7d3;background:#fffafa}.teacher-duty-submission-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.teacher-duty-submission-head b{display:block;color:#29486d;font-size:.75rem}.teacher-duty-submission-head span{display:block;margin-top:4px;color:#8797a6;font-size:.5625rem}.duty-review-status{padding:4px 8px;border-radius:999px;background:#e8f5ee;color:#2f8a61;font-size:.5625rem;white-space:nowrap}.duty-review-status.pending{background:#fff1d8;color:#a36b1e}.duty-review-status.rejected{background:#fdecea;color:#b64f43}.teacher-duty-submission-note{margin-top:9px;color:#60748a;font-size:.625rem;line-height:1.55}.teacher-duty-photos{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.teacher-duty-photo{width:72px;height:58px;padding:0;border:1px solid #dce6ef;border-radius:6px;background:#eef3f8;overflow:hidden}.teacher-duty-photo img{width:100%;height:100%;object-fit:cover}.teacher-duty-review-actions{display:flex;gap:7px;margin-top:10px}.teacher-duty-review-meta{margin-top:9px;color:#8a99a7;font-size:.5625rem;line-height:1.5}
@media(max-width:650px){.teacher-duty-review-head{align-items:flex-start;flex-direction:column}.teacher-duty-submission-head{flex-direction:column}.teacher-duty-photo{width:64px;height:52px}.teacher-duty-review-actions .button{flex:1;justify-content:center}}
.review-select-all-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.review-select-all-wrap .button{white-space:nowrap}
.duty-submission-history{margin:14px 0}.duty-history-summary{font-size:.625rem;color:#75869a}.duty-history-filters{display:grid;grid-template-columns:150px 150px 140px minmax(180px,1fr) auto auto;gap:8px;align-items:center;margin-bottom:12px}.duty-history-filters input,.duty-history-filters select{height:34px;border:1px solid #dce5ee;border-radius:6px;background:#fff;padding:0 9px;color:#40566c;font-size:.6875rem}.duty-history-table td{vertical-align:top}.duty-history-table td:nth-child(2),.duty-history-table td:nth-child(3){white-space:nowrap}.duty-history-note,.duty-history-review-note{max-width:260px;white-space:normal;line-height:1.55}.duty-history-review-note{margin-top:5px;color:#8a7256}.duty-history-voided{opacity:.66;background:#fafafa}.duty-history-pagination{justify-content:flex-end;margin-top:12px}@media(max-width:900px){.duty-history-filters{grid-template-columns:1fr 1fr}}@media(max-width:560px){.duty-history-filters{grid-template-columns:1fr}.duty-history-summary{margin-top:6px}.duty-history-table{min-width:980px}}
