/* 名单页 roster，移植 miniprogram/pages/roster/roster.wxss（已并入 app.css 的部分不重复） */
.newbox{padding:12px;}
.kv{font-size:12.5px;color:var(--mut);line-height:1.9;margin-top:9px;}
.kv .b{color:var(--ink);font-weight:700;}
.stu{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 2px;border-bottom:1px solid #eef0f5;}
.stu .hw-row{flex:0 0 100%;display:flex;align-items:center;gap:6px;padding-top:8px;margin-top:2px;border-top:1px dashed #e6e9f0;}
.stu .hw-l{flex:0 0 auto;font-size:12px;color:var(--mut);}
.stu .hw-row .hw{flex:1;min-width:0;padding:6px 4px;font-size:13px;text-align:center;border-radius:7px;background:#fcfdff;border:1px solid #e6e9f0;}
.stu:last-child{border-bottom:0;}
.stu .avatar{width:36px;height:36px;flex-basis:36px;border-radius:11px;font-size:13.5px;}
.stu .nm{flex:1.3;min-width:0;}
.stu .sn{font-weight:700;font-size:14.5px;color:var(--ink);}
.stu .no{font-size:10.5px;color:var(--faint);margin-top:1px;}
.stu .sex-chip{display:inline-block;min-width:24px;text-align:center;padding:1px 6px;border-radius:7px;
  font-size:10px;font-weight:700;margin-left:2px;cursor:pointer;}
.stu .sx-m{color:#1d4ed8;background:#dbeafe;}
.stu .sx-f{color:#be185d;background:#fce7f3;}
.stu .sx-n{color:#94a3b8;background:#f1f5f9;}
.stu .del{flex:0 0 42px;}
.stu .note-inp{margin-top:6px;padding:6px 8px;font-size:12px;border-radius:7px;background:#fffbeb;border:1px solid #fde68a;}
.stu .stu-note{font-size:12px;color:#92400e;background:#fef3c7;border-radius:6px;padding:3px 8px;margin-top:4px;}
.snap-row{display:flex;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #eef2f7;}
.snap-info{flex:1;min-width:0;}
.snap-label{font-size:13px;color:#0f172a;}
.snap-meta{font-size:11px;color:#94a3b8;margin-top:2px;}
.snap-row .btn{flex:0 0 auto;padding:6px 10px;font-size:12px;}

/* 返回主页条（渐变胶囊，区别于全局细条） */
.home-bar{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:1px solid #c7d2fe;border-radius:10px;
  color:#4338ca;font-weight:600;padding:7px 12px;margin:0 0 12px;}
.home-bar .home-arrow{color:#6366f1;font-size:20px;}

/* 导入成绩看板：固定高度 + flex 列布局，头部紧凑，表格 flex:1 撑满可滚 */
.bd-mask{position:fixed;inset:0;background:rgba(15,20,35,.5);z-index:300;display:flex;align-items:flex-end;justify-content:center;}
.bd-sheet{background:#f6f7fb;width:100%;max-width:640px;height:86vh;max-height:86vh;display:flex;flex-direction:column;
  border-radius:18px 18px 0 0;padding:16px 14px 14px;overflow:hidden;}
.bd-topbar{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px;flex:0 0 auto;}
.bd-h{font-size:17px;font-weight:800;color:var(--ink);margin:0;}
.bd-stat{font-size:11px;color:var(--mut);white-space:nowrap;}
.bd-notice{font-size:11px;color:#b45309;background:#fffbeb;border-radius:8px;padding:7px 9px;margin-bottom:9px;line-height:1.5;white-space:pre-wrap;flex:0 0 auto;}
.bd-empty{font-size:13px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:18px;line-height:1.6;flex:0 0 auto;}
.bd-roster-wrap{width:100%;flex:1;min-height:0;overflow-y:auto;background:#f6f7fb;border:1px solid #e6e9f0;border-radius:10px;margin-top:10px;-webkit-overflow-scrolling:touch;}
.imp-cls{border-bottom:8px solid #f0f3fa;}
.imp-cls:last-child{border-bottom:0;}
.imp-cls-h{position:sticky;top:0;z-index:6;background:#eef2ff;padding:8px 11px;display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid #dbe2f5;}
.imp-cls-n{font-size:14px;font-weight:800;color:#3730a3;}
.imp-cls-m{font-size:11px;color:#64748b;white-space:nowrap;}
.bd-roster{width:100%;background:#fff;}
.br-head{position:sticky;top:0;z-index:5;background:#f0f3fa;padding:9px 12px;font-size:12px;font-weight:700;color:#334155;border-bottom:1px solid #e6e9f0;}
.br-row{display:flex;align-items:center;gap:7px;padding:10px 12px;border-bottom:1px solid #f1f3f8;font-size:13px;}
.br-hd{background:#f0f3fa;color:var(--mut);font-size:12px;font-weight:700;}
.br-no{flex:0 0 50px;color:var(--mut);}
.br-name{flex:1;font-weight:700;color:var(--ink);}
.br-hw{flex:0 0 56px;text-align:center;color:var(--ink);font-variant-numeric:tabular-nums;}
.br-sex{flex:0 0 32px;text-align:right;color:var(--mut);}
.bd-scroll{width:100%;flex:1;min-height:0;overflow-x:auto;overflow-y:auto;background:#fff;border-radius:10px;-webkit-overflow-scrolling:touch;}
.bd-tbl{min-width:max-content;}
.bd-row{display:flex;border-bottom:1px solid #eef0f5;}
.bd-row:last-child{border-bottom:0;}
.bd-head{background:#f0f3fa;position:sticky;top:0;z-index:5;}
.bd-c{flex:0 0 74px;min-width:74px;padding:8px 5px;font-size:12px;text-align:center;color:#334155;border-right:1px solid #f1f3f8;}
.bd-name{flex:0 0 82px;min-width:82px;position:sticky;left:0;background:#fff;font-weight:700;color:var(--ink);z-index:2;}
.bd-head .bd-name{background:#f0f3fa;}
.bd-total{flex:0 0 64px;min-width:64px;font-weight:700;color:#1d4ed8;}
.bd-lv{flex:0 0 60px;min-width:60px;}
.bd-c.has{color:#0f766e;font-weight:600;}
.bd-c.miss{color:#cbd5e1;}
.bd-btns{display:flex;gap:10px;margin-top:12px;flex:0 0 auto;}
.bd-btns .btn{flex:1;font-size:13px;padding:0 6px;line-height:2.2;}


/* 名单怎么用（轻量条）+ 点开详情 */
.roster-help{display:flex;align-items:center;gap:7px;background:var(--pri-soft,#eef2ff);
  border:1px solid #c7d2fe;border-radius:10px;padding:9px 12px;margin:0 0 12px;cursor:pointer;}
.rh-ic{font-size:16px;}
.rh-txt{flex:1;min-width:0;}
.rh-t{display:block;font-size:13.5px;font-weight:700;color:var(--pri-d,#4338ca);}
.rh-s{display:block;font-size:11px;color:var(--mut,#7a8294);line-height:1.5;margin-top:2px;}
.rh-more{font-size:17px;color:var(--pri,#4f46e5);line-height:1;}

/* 本班名单概览（只统计档案，不重复测试进度） */
.overview-card{padding:12px 13px;}
.ov-head{display:flex;align-items:center;gap:5px;}
.ov-ic{font-size:14px;flex:0 0 auto;}
.ov-title{font-size:14.5px;font-weight:800;color:var(--ink);}
.ov-cls{flex:1;min-width:0;background:transparent;border:0;padding:0;font-size:14.5px;font-weight:800;
  color:var(--ink);box-shadow:none;appearance:none;-webkit-appearance:none;line-height:1.4;}
.ov-meta{margin-left:auto;font-size:10.5px;color:var(--mut);}
.ov-nums{display:flex;gap:7px;margin-top:9px;}
.ov-num{flex:1;background:var(--soft,#f6f7fb);border-radius:10px;padding:8px 4px;text-align:center;display:flex;flex-direction:column;}
.ov-n{font-size:20px;color:var(--ink);line-height:1.1;}
.ov-n.male{color:#1d4ed8;}
.ov-n.female{color:#be185d;}
.ov-n.warn{color:#b45309;}
.ov-l{font-size:10.5px;color:var(--mut);margin-top:4px;}

/* 名单说明弹层 */
.rh-mask{position:fixed;inset:0;background:rgba(15,20,35,.55);z-index:400;display:none;align-items:flex-end;justify-content:center;}
.rh-mask.on{display:flex;}
.rh-sheet{background:var(--card,#fff);width:100%;max-width:480px;max-height:88vh;overflow:auto;
  border-radius:14px 14px 0 0;padding:15px 14px 20px;}
.rh-h{display:flex;align-items:center;font-size:17px;font-weight:800;color:var(--ink);gap:6px;margin-bottom:12px;}
.rh-hi{font-size:18px;}
.rh-x{margin-left:auto;font-size:17px;color:var(--mut);font-weight:400;padding:0 6px;cursor:pointer;}
.rh-body{display:flex;flex-direction:column;gap:11px;}
.rh-step{display:flex;gap:9px;align-items:flex-start;}
.rh-n{flex:0 0 24px;height:24px;border-radius:50%;background:var(--pri,#4f46e5);color:#fff;
  font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.rh-tx{flex:1;min-width:0;}
.rh-st{font-size:13.5px;font-weight:700;color:var(--ink);margin-bottom:3px;}
.rh-sd{font-size:11.5px;color:var(--mut);line-height:1.6;}
.rh-ok{margin-top:15px;}


/* Excel 自动识别提示 */
.imp-tip{font-size:11.5px;color:#0f766e;background:#f0fdfa;border:1px solid #99f6e4;
  border-radius:8px;padding:8px 10px;line-height:1.6;margin:0 0 10px;}

/* 年级→班级分组名册 */
.grp-grade{margin-bottom:16px;}
.grp-g-head{display:flex;align-items:center;justify-content:space-between;background:var(--pri-soft,#eef2ff);
  border-radius:12px;padding:12px 16px;margin-bottom:8px;cursor:pointer;}
.grp-g-name{font-size:15px;font-weight:700;color:var(--pri-d,#4338ca);}
.grp-g-meta{font-size:12px;color:var(--mut,#7a8294);}
.grp-g-body{padding-left:8px;}
.grp-class{margin-bottom:10px;border:1px solid #eef0f5;border-radius:12px;overflow:hidden;}
.grp-c-head{display:flex;align-items:center;justify-content:space-between;background:#f8f9fc;padding:10px 14px;cursor:pointer;}
.grp-c-name{font-size:14px;font-weight:700;color:var(--ink,#161a23);}
.grp-c-name .caret{color:#9aa2b3;font-size:12px;margin-left:4px;}
.grp-c-meta{font-size:12px;color:var(--mut,#7a8294);}
.g-done{color:#15803d;}
.g-undone{color:#b45309;}
.grp-c-body{padding:6px 12px 12px;}
.prog{flex:0 0 auto;min-width:78px;text-align:center;border-radius:10px;padding:7px 5px;line-height:1.25;}
.prog .pg-n{display:block;font-size:13px;font-weight:700;}
.prog .pg-sep{display:block;font-size:11px;opacity:.75;}
.pg-all{color:#15803d;background:#dcfce7;}
.pg-part{color:#b45309;background:#fef3c7;}
.pg-none{color:#94a3b8;background:#f1f5f9;}

/* 点进度看逐项清单 */
.prog.tappable{cursor:pointer;}
.prog .pg-arrow{display:block;font-size:14px;opacity:.6;line-height:1;margin-top:1px;}
.pd-item{display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid #eef0f5;}
.pd-ic{flex:0 0 26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;}
.pd-ic.pd-yes{background:#dcfce7;color:#15803d;}
.pd-ic.pd-no{background:#f1f5f9;color:#94a3b8;}
.pd-label{flex:1;font-size:14px;color:var(--ink,#161a23);}
.pd-state{font-size:12px;font-weight:700;}
.pd-state.pd-yes{color:#15803d;}
.pd-state.pd-no{color:#94a3b8;}
.pd-tip{font-size:11px;color:var(--mut,#7a8294);line-height:1.6;padding:12px 4px 2px;}
