/* 后台外框（负责人 2026-10-06 选「乙 · 一套后台 + 左边一条」，样稿 docs/backend-candidates/后台_4_排版三种.png）：
   电脑 ≥ 1100 宽：左边一条 232（头像名字、分区、最下面设置）；700–1099（iPad 竖拿）：窄栏 84，图标 + 两个字；
   手机 < 700：底下一排贴底。在 ui2-staff.css 后面载：颜色全用外观的变量，四套外观都跟着换。
   用 #snav 起头：比 ui2-staff.css 里 html[data-staff-theme] :is(.tab…) 那一条更具体，不用 !important。 */
:root{--nav-w:232px;--rail-w:84px;--tabbar-h:64px;}
.snav{position:fixed;z-index:6;display:flex;background:var(--surface,#fff);color:var(--ink);}
.snav .tabs{display:flex;gap:4px;flex-wrap:nowrap;}
.snav svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#snav .tab{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:46px;margin:0;padding:0 12px;
  border:0;border-radius:var(--r-sm,12px);background:transparent;box-shadow:none;transform:none;color:var(--ink);
  font:800 15.5px var(--body,"Nunito",sans-serif);text-align:left;cursor:pointer;}
#snav .tab:hover{background:var(--staff-field,#F3F4F6);}
#snav .tab[aria-selected="true"]{background:var(--accent-soft,#FFEDE8);color:var(--accent-ink,#B8452F);box-shadow:none;}
#snav .tab:focus-visible{outline:3px solid var(--accent-ink,#B8452F);outline-offset:-3px;}
.snav .tab .dot{position:static;margin-left:auto;right:auto;top:auto;}
.snav .tab .dot:empty{display:none;}
.snav .sme{display:flex;align-items:center;gap:10px;padding:2px 6px 14px;min-width:0;}
.snav .sme .av{width:44px;height:44px;font-size:19px;background:var(--staff-hi,#FFD15C);}
.snav .smt{display:grid;min-width:0;line-height:1.3;}
.snav .smt b{font:900 16px var(--head,"Nunito",sans-serif);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.snav .smt small{font:700 12px var(--body,"Nunito",sans-serif);color:var(--mute);overflow-wrap:anywhere;}
.snav .nsp{flex:1;}
#snav .tab.more{color:var(--mute);font-size:14.5px;}

/* 有外框的时候：页面让出位置；登录页（#app 还藏着）不动 */
body:has(#app:not(.hidden)) .wrap{max-width:1080px;}
body:has(#app:not(.hidden)) .panel{padding:18px 20px;}
/* 2026-10-12（负责人：「像网站学生课程页那样，点击左边栏的选项，右侧板块就整块都滑出…点击学生，那么就整个右边都是学生」）：
   右边整块是一个分区：电脑、iPad 占满左边一条以外的地方（最宽 1440，靠左），至少一屏高；换分区时整块从右边滑进来，往回走（本课 → 学生 → 名单）从左边滑进来。
   系统设了「减少动态效果」就不滑。 */
@keyframes pnl-in{from{transform:translateX(56px);opacity:0;}to{transform:none;opacity:1;}}
@keyframes pnl-back{from{transform:translateX(-56px);opacity:0;}to{transform:none;opacity:1;}}
#app>.panel:not(.hidden){animation:pnl-in .28s cubic-bezier(.2,.8,.2,1);}
#app[data-dir="back"]>.panel:not(.hidden){animation-name:pnl-back;}
@media (prefers-reduced-motion:reduce){#app>.panel:not(.hidden){animation:none;}}
@media (min-width:700px){
  body:has(#app:not(.hidden)) .wrap{max-width:1440px;margin:0;}
  body:has(#app:not(.hidden)){padding-top:20px;}
  #app>.panel{min-height:calc(100vh - 60px);box-sizing:border-box;}
}

/* 电脑、iPad 横放：左边一条 */
@media (min-width:1100px){
  .snav{left:0;top:0;bottom:0;width:var(--nav-w);flex-direction:column;padding:18px 14px calc(14px + env(safe-area-inset-bottom,0px));border-right:var(--staff-border,1px solid #E3E4E8);overflow-y:auto;}
  .snav .tabs{flex-direction:column;}
  body:has(#app:not(.hidden)){padding-left:calc(var(--nav-w) + 32px);padding-right:32px;padding-bottom:40px;}
}
/* iPad 竖拿：窄栏，图标在上、字在下 */
@media (min-width:700px) and (max-width:1099px){
  .snav{left:0;top:0;bottom:0;width:var(--rail-w);flex-direction:column;align-items:center;padding:14px 6px calc(12px + env(safe-area-inset-bottom,0px));border-right:var(--staff-border,1px solid #E3E4E8);overflow-y:auto;}
  .snav .tabs{flex-direction:column;align-items:center;gap:6px;}
  .snav .sme{padding:0 0 10px;}
  .snav .smt{display:none;}
  #snav .tab{flex-direction:column;justify-content:center;gap:2px;width:72px;min-height:60px;padding:6px 0;font-size:12.5px;text-align:center;}
  #snav .tab.more{font-size:12.5px;}
  .snav .tab .dot{position:absolute;top:2px;right:6px;left:auto;margin:0;min-width:20px;height:20px;font-size:11px;}
  body:has(#app:not(.hidden)){padding-left:calc(var(--rail-w) + 18px);padding-right:18px;padding-bottom:40px;}
}
/* 手机：底下一排 */
@media (max-width:699px){
  .snav{left:0;right:0;bottom:0;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px));padding:4px 4px env(safe-area-inset-bottom,0px);
    border-top:var(--staff-border,1px solid #E3E4E8);box-shadow:0 -2px 10px rgba(16,24,40,.06);}
  .snav .sme,.snav .nsp{display:none;}
  .snav .tabs{display:contents;}
  #snav .tab{flex:1 1 0;flex-direction:column;justify-content:center;gap:2px;width:auto;min-width:0;min-height:56px;padding:4px 0;
    font-size:12px;text-align:center;color:var(--mute);}
  #snav .tab[aria-selected="true"]{background:transparent;color:var(--accent-ink,#B8452F);}
  #snav .tab.more{font-size:12px;}
  .snav .tab .dot{position:absolute;top:2px;left:calc(50% + 4px);right:auto;margin:0;min-width:20px;height:20px;font-size:11px;}
  body:has(#app:not(.hidden)){padding-inline:10px;padding-bottom:calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom,0px));}
  body:has(#app:not(.hidden)) .panel{padding:14px 12px;}
  body:has(#app:not(.hidden)) .dlbar{bottom:calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom,0px));}   /* 批量下载的条浮在底下一排上面 */
}
/* 设置里的外观：一整行 */
.drawer #themeSlot .staff-theme-picker{margin-left:0;justify-content:space-between;}
.drawer #themeSlot select{flex:1;}

/* 本课详情 · 录音：能暂停、看得到播到哪（问题清单 ③） */
.rec .rt{display:grid;gap:4px;min-width:0;}
.rec .pbar{display:block;height:6px;border-radius:3px;background:var(--staff-field,#ECECF0);overflow:hidden;}
.rec .pbar i{display:block;height:100%;width:0;background:var(--accent,#FF7F66);border-radius:3px;}
.rec .ptime{font-size:12px;color:var(--mute);font-weight:700;}
.rec:not(.playing) .pbar,.rec:not(.playing) .ptime{display:none;}
#lpBody .rec.playing .play{background:var(--accent,#FF7F66);color:var(--on-accent,#1F1F24);font-size:16px;}   /* #lpBody：压过外观那条按钮底色 */
/* 复核区（负责人 10-16 甲 + 每句三个按钮）：为什么复核 → 要看的 → 写一句 → 复核完了 */
.v2-rv .rv-why{background:var(--staff-surface,#fff);border:1.5px solid var(--line,#E6E3DA);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.55;}
.v2-rv .rv-why b{display:block;margin-bottom:2px;font-size:14.5px;}
.v2-rv .rv-step{margin:12px 0 6px;font-size:13px;font-weight:900;color:var(--mute);}
.v2-rv .rv-look{display:flex;flex-direction:column;gap:6px;}
.v2-rv .rv-it{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:start;background:var(--staff-surface,#fff);border-radius:10px;padding:9px 12px;border:1.5px solid var(--line,#E6E3DA);}
.v2-rv .rv-it .n{width:22px;height:22px;border-radius:50%;background:var(--ink,#1F1F24);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;}
.v2-rv .rv-it.ok .n{background:#4CAF6A;}
.v2-rv .rv-it p{margin:3px 0 0;font-size:13.5px;line-height:1.5;}
/* 听录音：同一句的几次收成一组；没认出来的那几组带三个按钮 */
.rg{padding:10px 0;border-top:1.5px dotted #d6d6de;}
.rg-h{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;}
.rg-h .rg-m{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;}
.rg-h .rg-m .lk.on{background:var(--ink,#1F1F24);color:#fff;border-color:var(--ink,#1F1F24);}
.rg-c{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;}
.rec.mini{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border-top:0;border-radius:999px;background:var(--staff-field,#F2F1EC);font-size:13px;font-weight:700;}
.rec.mini.bad{background:#FDEAE6;}
.rec.mini .play{width:28px;height:28px;font-size:12px;}
.rec.mini .rt{display:inline-flex;align-items:center;gap:6px;}
.rec.mini .pbar{width:48px;}
/* 本课详情 · AI 课补确认（问题清单 ① 第 2 条） */
.resolve{border:2px dashed var(--accent,#c9a300);border-radius:12px;padding:10px 12px;margin:10px 0;display:grid;gap:6px;}
.resolve .rs{display:flex;gap:8px;align-items:flex-start;font-weight:700;line-height:1.45;min-height:32px;}
.resolve .rs input[type=radio]{width:20px;height:20px;flex:none;margin-top:2px;}
.resolve .rs input[name=f]{flex:1;min-width:0;}

/* ---------------- 总管理（/admin/ 同一个页面，负责人 10-06 选乙）---------------- */
/* 沿用旧版总管理的模块（admin-people / admin-usage / admin-placement），套在 .adm 里：去掉旧版整页的点点底和字号 */
#app .adm{background:transparent;margin:0;font-size:inherit;}
.panel.plain{padding:0!important;background:none;border:0;box-shadow:none;}
.panel.plain>.adm>.box,.panel.plain>.adm>.filter{margin-bottom:12px;}
/* 「学生」：名单管理和学习情况合成一张（负责人 10-11：甲，一行一个学生，不横着拖；admin-people.js renderMerged）。
   表格固定列宽、跟着屏幕缩：≥ 1280 九列；760–1279「最近一课 / 最后活动」并进学生那一格；更窄一人一张卡。字长了折行或省略，不出横向滚动。 */
#ppBar:has(.rg-top){display:block;}
.rg-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;}
.rg-top h2{margin:0;font-size:22px;} .rg-top .spacer{flex:1;}
#app .adm .rg-top .btn{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--ink);}
.rg-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--red,#E0412F);color:#fff;font-size:12px;font-weight:800;}
.rg-f{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;}      /* 筛选一排：找学生 + 状态 / 等级 / 老师 / 排序（10-11 负责人：不要一排排按钮） */
#app .adm .rg-f input#ppQ{min-height:44px;width:min(260px,100%);border:var(--staff-border,2px solid var(--ink));border-radius:10px;padding:0 12px;font:700 14.5px var(--body,inherit);background:var(--staff-field,#fff);}
.rg-s{display:inline-flex;gap:6px;align-items:center;font-size:13.5px;font-weight:800;}
#app .adm .rg-s select{min-height:44px;max-width:220px;border:var(--staff-border,2px solid var(--ink));border-radius:10px;padding:0 10px;font:700 14px var(--body,inherit);background:#fff;}
#app .adm .rg-f [data-rgclear]{min-height:44px;}
#ppTable:has(.rgt){padding:6px 12px;}
#app .adm #ppTable:has(.rgt){overflow:visible;}          /* 名单不会横着出界（固定列宽）；不设滚动框，表头才能贴在屏幕顶上 */
.rgt{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14.5px;}
.rgt th{text-align:left;font-size:12.5px;color:var(--mute);font-weight:800;padding:9px 8px;border-bottom:2px solid var(--line,#e2e2e8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rgt td{padding:9px 8px;border-bottom:1.5px solid #eeeef2;font-weight:700;vertical-align:middle;overflow-wrap:anywhere;}
.rgt tr:last-child td{border-bottom:0;}
.rgt tr.off td{opacity:.7;}
.rgt .pill{max-width:100%;margin:1px 0;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.rgt .nm{font-size:15.5px;font-weight:800;}
.rg-id{color:var(--mute);font-size:12.5px;font-weight:700;}
.rgt .rg-ls{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rgt .c-last b{display:block;font-size:14px;}                 /* 最近一课：第 N 课一行，课名在下面一行（负责人 10-11），太长省略，全名在提示里 */
.rgt .rg-tt{display:block;font-size:13px;color:#444;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rgt .c-nm{width:17%;} .rgt .c-lv{width:7%;} .rgt .c-now{width:11%;} .rgt .c-todo{width:7%;} .rgt .c-t{width:10%;}
.rgt .c-last{width:24%;} .rgt .c-at{width:10%;} .rgt .c-pin{width:8%;} .rgt .c-m{width:58px;text-align:right;}
.rg-sub{display:none;}
.rgt thead th{position:sticky;top:0;z-index:2;background:var(--surface,#fff);}      /* 学生多了往下翻，表头贴在顶上 */
.rg-more{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 8px 6px;border-top:1.5px solid #eeeef2;}
#app .adm .rg-more .btn{min-height:44px;}
.rg-m{position:relative;display:inline-block;}
.rg-m>summary{list-style:none;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:var(--staff-border,2px solid var(--ink));background:#fff;font-weight:900;font-size:18px;cursor:pointer;}
.rg-m>summary::-webkit-details-marker{display:none;}
.rg-m[open]>summary{background:var(--accent-soft,#FFEDE8);}
.rg-mb{position:absolute;right:0;top:50px;z-index:20;display:grid;gap:4px;width:min(260px,calc(100vw - 40px));padding:8px;background:#fff;border:var(--staff-border,1.5px solid #e4e4ea);border-radius:14px;box-shadow:0 10px 28px rgba(0,0,0,.18);text-align:left;}
#app .adm .rg-mb .btn{width:100%;justify-content:flex-start;margin:0;white-space:normal;text-align:left;}
@media(max-width:1279px){
  .rgt .c-last,.rgt .c-at{display:none;}
  .rgt .c-nm{width:30%;} .rgt .c-lv{width:10%;} .rgt .c-now{width:15%;} .rgt .c-todo{width:10%;} .rgt .c-t{width:15%;} .rgt .c-pin{width:12%;}
  .rg-sub{display:block;margin-top:3px;font-size:13px;color:#444;font-weight:700;}
  .rg-sub>span:last-child{color:var(--mute);font-size:12.5px;}
}
@media(max-width:759px){
  .rg-top h2{font-size:19px;} .rg-top .spacer{display:none;}
  #app .adm .rg-top .btn{flex:1 1 auto;justify-content:center;}
  .rg-f{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end;}
  #app .adm .rg-f input#ppQ{width:100%;grid-column:1/-1;}
  .rg-s,.rg-t{display:grid;gap:2px;} #app .adm .rg-s select{max-width:none;width:100%;}
  .rg-t .pick-btn{width:100%;} .rg-t .pick-pop{width:calc(100vw - 32px);}
  #ppTable:has(.rgt){padding:4px 0;}
  .rgt,.rgt tbody{display:block;width:100%;}
  .rgt thead{display:none;}
  .rgt tr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:12px 14px;border-bottom:1.5px solid #eeeef2;}
  .rgt tr:last-child{border-bottom:0;}
  .rgt td{display:block;width:auto!important;min-width:0;padding:0;border:0;}
  .rgt td.c-nm{flex:1 1 calc(100% - 60px);order:-2;}
  .rgt td.c-m{order:-1;}
  .rgt td.c-t{font-size:13.5px;}
  .rgt td.c-todo:has(.tz){display:none;}
  .rgt td.c-pin:has(.pill.ok){display:none;}
}
/* 待处理下面「只给总管理」那一块 */
.admtodo{margin-top:18px;padding-top:14px;border-top:2px dotted var(--line,#d6d6de);}
.admtodo .admh{font-size:17px;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin-bottom:10px;}
.admtodo .adm .sect{margin-bottom:12px;padding:12px 14px;}
.drawer .dlinks{display:flex;gap:8px;flex-wrap:wrap;}
.drawer .dlinks .btn{flex:1 1 40%;}
@media (min-width:700px){#admLinks{display:none!important;}}
@media (max-width:699px){#snav .tab.xph{display:none;}}
/* 老师后台 t-home.css 的 .acts（备课那一排按钮）是 flex + 上面一条点线：总管理名单里「快捷操作」那一格也叫 acts，还原成表格格子 */
#app .adm td.acts{display:table-cell;border-top:0;margin:0;}

/* 老师名单 / 学生名单：iPad 竖拿、手机上一行变一张卡（以前 7 列的表，右边的按钮要横拖才看得到，问题清单 ③）
   第一行 名字 + 编号；第二行 等级、负责老师、口令、最近练习；第三行按钮（一行放不下就折行，都 ≥ 44） */
@media (max-width:1099px){
  #ppTable .wt,#ppTable .wt tbody{display:block;width:100%;}
  #ppTable .wt thead{display:none;}
  #ppTable .wt tr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:12px 14px;border-bottom:1.5px solid var(--line,#e4e4ea);}
  #ppTable .wt tr:last-child{border-bottom:0;}
  #ppTable .wt td{display:block;padding:0;border:0;white-space:normal;font-size:14px;}
  #ppTable .wt td:nth-child(2){order:-2;flex:0 1 auto;max-width:100%;font-size:16.5px;}
  #ppTable .wt td.code{order:-1;flex:1 1 25%;font-size:13px;color:var(--mute);}
  #ppTable .wt td.acts{flex:1 1 100%;white-space:normal;}
  #ppTable .wt td.acts .btn{margin:4px 6px 0 0;}
  #ppTable .wt tr:has(a[data-act="openS"]) td:nth-child(6)::before{content:"最近练习 ";color:var(--mute);font-size:12.5px;}
  #ppTable .wt tr:has(a[data-act="openT"]) td:nth-child(5)::before{content:"未处理 ";color:var(--mute);font-size:12.5px;}
  #ppTable .wt tr:has(a[data-act="openT"]) td:nth-child(4)::before{content:"学生 ";color:var(--mute);font-size:12.5px;}
  /* 别的表（学生详情的课程、练习记录、用量……）：放在能横着拖的框里，不撑破页面 */
  #app .adm .sect,#app .adm #ppDetail .box{overflow-x:auto;}
  #app .adm .filter{flex-wrap:wrap;}
}
/* 漫画外观：浅橙底上的深橙字对比只有 4.4，选中那一项改成和别处一样的黄底黑字（e2e-staff 量的） */
html[data-staff-theme="a"] #snav .tab[aria-selected="true"]{background:var(--staff-active,#FFD15C);color:var(--ink);}
@media (max-width:699px){html[data-staff-theme="a"] #snav .tab[aria-selected="true"]{background:transparent;color:var(--accent-ink,#B8452F);}}

/* 待处理：按种类筛（课后练习那一个就是等你放行的总表）、总管理按老师筛（负责人 10-06「修」） */
.tfilt{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin:0 0 12px;}
.tfilt .chips{gap:6px;}
.tteach{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:14px;color:var(--mute);}
.tteach select{min-height:44px;font:700 14px var(--body,"Nunito",sans-serif);padding:4px 10px;border-radius:var(--r-sm,12px);}

/* 学生页最下面「生词本」（负责人 10-06「修」）：收藏 / 课堂学的 / 自己查的 / 最近查过 */
.wbk{margin-top:14px;border-top:2px dotted var(--line,#d6d6de);}
.wbg{margin:8px 0 12px;}
.wbg h4{margin:0 0 6px;font-size:15px;display:flex;gap:8px;align-items:baseline;}
.wbl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px;}
.wbl li{display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--line,#eeeef2);}
.wbl li b{font-size:15px;} .wbl li span{font-size:13.5px;}
.wbq{display:flex;flex-wrap:wrap;gap:6px;margin:0;}
.wbq span{font-size:13px;font-weight:700;border:1px solid var(--line,#d6d6de);border-radius:999px;padding:2px 10px;background:var(--staff-field,#F6F6F9);}

/* 用量 · AI 页最上面「AI 开关」（负责人 10-06「修」） */
.aisw .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0;}
.aisw .seg2{display:flex;gap:16px;flex-wrap:wrap;margin:4px 0 8px;font-weight:800;}
.aisw .seg2 label,.aisw .chk{display:inline-flex;align-items:center;gap:8px;min-height:44px;}
.aisw .seg2 input,.aisw .chk input{width:20px;height:20px;}
.aisw .swlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:0 14px;margin:0 0 6px;padding:6px 10px;border:1px dashed var(--line,#d6d6de);border-radius:var(--r-sm,12px);}
.aisw .swlist[hidden]{display:none;}

/* 学生页：课一节一条、默认收起，点开是这一节的课程 / 教案 / AI 课堂 / 课后练习 / 练习记录；升级进度也能收起（负责人 10-11，t-student.js） */
#p-student .sp-h{font-size:18px;margin:16px 0 4px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;}
#p-student .sp-h .tz{font-size:13px;}
#p-student .sp-fold{border:var(--staff-border,2px solid var(--ink));border-radius:14px;margin:6px 0 4px;background:#fff;}
#p-student .sp-fold>summary{list-style:none;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;padding:12px 14px;min-height:48px;cursor:pointer;}
#p-student .sp-fold>summary::-webkit-details-marker{display:none;}
#p-student .sp-fold>summary::before{content:"▸";font-weight:900;} #p-student .sp-fold[open]>summary::before{content:"▾";}
#p-student .sp-fold>summary b{font-size:16px;} #p-student .sp-fold>summary span{font-size:13.5px;color:var(--mute);font-weight:700;}
#p-student .sp-fold.now>summary span{color:var(--ink);background:var(--sun);border-radius:8px;padding:0 6px;}
#p-student .sp-fold>.lr-section{padding:0 14px 14px;border:0;margin:0;}
#p-student .lsns{display:grid;gap:10px;}
#p-student .lsn{border:var(--staff-border,2.5px solid var(--ink));border-radius:14px;background:#fff;}
#p-student .lsn>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:11px 14px;min-height:56px;cursor:pointer;}
#p-student .lsn>summary::-webkit-details-marker{display:none;}
#p-student .lsn>summary::before{content:"▸";font-weight:900;flex:none;} #p-student .lsn[open]>summary::before{content:"▾";}
#p-student .lsn>summary:hover{background:#FFF8E1;border-radius:12px;}
#p-student .lsn .lt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
#p-student .lsn .lt b{overflow-wrap:anywhere;} #p-student .lsn .said{font-size:13.5px;color:var(--mute);font-weight:700;}
#p-student .lsn[open]>summary{border-bottom:1.5px dotted #d6d6de;}
/* 下一课（负责人 10-11：永远有一条）：钉在课列表最上面，浅黄底 + 虚线框，和上过的课分开；里面的教案卡片、备课表、带话照用备课页那套样式 */
#p-student #spNext{margin-bottom:12px;}
#p-student .lsn.nx{border-style:dashed;background:#FFFCF0;}
#p-student .lsn.nx .lrow>div{min-width:0;}
#p-student .lsn.nx .nx-prep .way{background:#fff;}
/* 留言 · 反馈 · 担心的话（负责人 10-11）：一块能收起；有没处理的担心的话标题标红、自己打开 */
#p-student .vc-box{margin:14px 0 4px;}
#p-student .vc-box.hot{border-color:#B3261E;}
#p-student .vc-box.hot>summary span{color:#fff;background:#B3261E;border-radius:8px;padding:0 6px;}
#p-student .vc-body{padding:0 14px 14px;display:grid;gap:14px;}
#p-student .vc-g h4{margin:0 0 4px;font-size:15px;} #p-student .vc-g h5{margin:10px 0 2px;font-size:13.5px;color:var(--mute);}
#p-student .vc-worry{border-left:4px solid #B3261E;padding-left:10px;}
:is(#p-student,#p-teacher) .vc-l{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:0;}
:is(#p-student,#p-teacher) .vc-l>li{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;padding:8px 0;border-top:1.5px solid #eeeef2;font-size:14.5px;font-weight:700;}
:is(#p-student,#p-teacher) .vc-l>li:first-child{border-top:0;}
:is(#p-student,#p-teacher) .vc-t{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere;}
:is(#p-student,#p-teacher) .vc-a{display:flex;gap:8px;flex-wrap:wrap;} :is(#p-student,#p-teacher) .vc-a button{min-height:44px;}
#p-student .vc-g [data-vmore]{margin-top:6px;min-height:44px;}
#p-student .vc-wish{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:6px 0;font-size:14.5px;}
#p-student .vc-wish span{border:1.5px solid #d6d6de;border-radius:999px;padding:1px 10px;font-weight:700;}
#p-student .lsb{padding:4px 14px 12px 36px;}
:is(#p-student,#p-teacher) .lrow{display:grid;grid-template-columns:84px minmax(0,1fr);gap:4px 12px;padding:9px 0;border-top:1.5px solid #eeeef2;font-size:14.5px;font-weight:700;line-height:1.6;}
:is(#p-student,#p-teacher) .lrow:first-child{border-top:0;}
:is(#p-student,#p-teacher) .lrow>b{font-size:13.5px;color:var(--mute);}
:is(#p-student,#p-teacher) .lrow .pill{font-size:12.5px;}
:is(#p-student,#p-teacher) .lrow .more>summary{cursor:pointer;font-size:13.5px;color:var(--mute);min-height:32px;display:inline-flex;align-items:center;}
#p-student .lq{margin:4px 0 0;padding-left:22px;font-size:14px;}
#p-student .lgo{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:10px;border-top:1.5px solid #eeeef2;}
#p-student .lgo .go{min-height:44px;}
@media(max-width:699px){
  #p-student .lsn>summary{flex-wrap:wrap;gap:6px 10px;} #p-student .lsn .lt{flex-basis:calc(100% - 130px);}
  #p-student .lsb{padding:4px 12px 12px;}
  :is(#p-student,#p-teacher) .lrow{grid-template-columns:minmax(0,1fr);gap:2px;}
}
/* 学生页：课多了有筛选、找课，先显示最近 8 节；生词多了有「找词」（负责人 10-11：往很多学生、很多资料的方向做） */
#p-student .ls-tools{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin:4px 0 10px;}
#p-student .ls-tools .chips{display:flex;gap:6px;flex-wrap:wrap;}
#p-student .ls-tools .chip{min-height:44px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
#p-student .ls-tools .chip i{font-style:normal;font-size:12px;opacity:.75;}
#p-student .ls-tools .inp,#p-student .wbsearch{min-height:40px;width:min(280px,100%);}
#p-student .wbsearch{margin:4px 0 10px;}
#p-student .ls-more{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;}
@media(max-width:699px){#p-student .ls-tools .chips{flex-wrap:nowrap;overflow-x:auto;max-width:100%;} #p-student .ls-tools .inp{width:100%;}}
#p-student details.wbg>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;}
#p-student details.wbg>summary::-webkit-details-marker{display:none;}
#p-student details.wbg>summary h4{margin:0;} #p-student details.wbg>summary h4::before{content:"▸ ";} #p-student details.wbg[open]>summary h4::before{content:"▾ ";}

/* 能打字找的下拉（pick.js）：老师等会越来越多的选项 */
.pick{position:relative;display:inline-block;}
.pick-btn{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border:var(--staff-border,2px solid var(--ink));border-radius:10px;background:#fff;font:700 14px var(--body,inherit);color:var(--ink);cursor:pointer;max-width:260px;}
.pick-btn .pick-l{font-size:13.5px;font-weight:800;color:var(--mute);} .pick-btn b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.pick.on .pick-btn{background:var(--accent-soft,#FFEDE8);}
.pick-pop{position:absolute;left:0;top:calc(100% + 6px);z-index:30;width:300px;padding:8px;background:#fff;border:var(--staff-border,1.5px solid #e4e4ea);border-radius:14px;box-shadow:0 10px 28px rgba(0,0,0,.18);}
.pick-q{width:100%;min-height:44px;border:var(--staff-border,2px solid var(--ink));border-radius:10px;padding:0 10px;font:700 15px var(--body,inherit);background:var(--staff-field,#F3F4F6);box-sizing:border-box;}
.pick-list{list-style:none;margin:6px 0 0;padding:0;max-height:300px;overflow-y:auto;}
.pick-list li{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border-radius:10px;cursor:pointer;font-weight:700;font-size:14.5px;}
.pick-list li .pick-n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} .pick-list li small{color:var(--mute);font-size:12px;}
.pick-list li i{font-style:normal;font-size:12.5px;color:var(--mute);}
.pick-list li.act{background:var(--accent-soft,#FFEDE8);} .pick-list li[aria-selected="true"]{font-weight:900;} .pick-list li[aria-selected="true"]::before{content:"✓";}
.pick-list li.pick-none{color:var(--mute);cursor:default;}
.pick-more{margin:6px 4px 0;font-size:12.5px;color:var(--mute);} .pick-more:empty{display:none;}

/* 学生页「等级与进度」（负责人 10-11 选甲，t-level.js）：雷达和九类表并排，下面练习比例，再下面一项项收起 */
#p-student .lv-box .lv-body{padding:4px 14px 14px;}
#p-student .lv-act{display:flex;gap:8px 10px;align-items:center;flex-wrap:wrap;margin:6px 0 10px;}
#p-student .lv-act .sp{flex:1;} #p-student .lv-act .go,#p-student .lv-act .lk{min-height:44px;}
#p-student .lv-now{font-size:15px;font-weight:800;} #p-student .lv-now em{font-style:normal;background:var(--sky,#D8ECFA);border:2px solid var(--ink);border-radius:20px;padding:0 9px;margin:0 2px;}
#p-student .lv-sug{font-weight:800;background:var(--sun,#FFD15C);border:2px solid var(--ink);border-radius:10px;padding:2px 10px;}
#p-student .lv-edit{display:flex;gap:8px 12px;align-items:flex-end;flex-wrap:wrap;padding:10px 12px;margin:0 0 10px;border-radius:12px;background:var(--staff-field,#F3F4F6);}
#p-student .lv-edit .inp{min-height:44px;} #p-student .lv-edit select.inp{width:auto;} #p-student .lv-edit .lv-why{flex:1;min-width:220px;display:grid;gap:4px;}
#p-student .lv-edit .go,#p-student .lv-edit .lk{min-height:44px;} #p-student .lv-edit p{flex-basis:100%;margin:0;}
#p-student .lv-empty{margin:0 0 8px;padding:4px 10px;border-radius:10px;background:#FFF3D6;color:#7A5300;font-size:13.5px;font-weight:800;display:inline-block;}
#p-student .lv-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:18px;align-items:start;}
#p-student .lv-grid .lr-radar{max-width:300px;}
#p-student .lv-t{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed;}
#p-student .lv-t th{text-align:left;font-size:12.5px;color:var(--mute);padding:6px 8px;border-bottom:2px solid #e2e2e8;font-weight:800;}
#p-student .lv-t td{padding:7px 8px;border-bottom:1.5px solid #eeeef2;font-weight:700;overflow-wrap:anywhere;}
#p-student .lv-t td.ok{color:#216d50;} #p-student .lv-t td.no{color:#b84429;} #p-student .lv-t td.un{color:#69737e;}
#p-student .lv-t .star{color:#B8452F;}
#p-student .lv-bars{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;margin-top:10px;}
#p-student .lv-bars .lr-rate{margin:6px 0;}
#p-student .lv-folds{margin-top:10px;border-top:1.5px solid #eeeef2;}
#p-student .lv-f{border-bottom:1.5px solid #eeeef2;}
#p-student .lv-f>summary{list-style:none;display:flex;gap:8px 10px;align-items:baseline;flex-wrap:wrap;padding:9px 0;min-height:44px;cursor:pointer;}
#p-student .lv-f>summary::-webkit-details-marker{display:none;}
#p-student .lv-f>summary::before{content:"▸";font-weight:900;} #p-student .lv-f[open]>summary::before{content:"▾";}
#p-student .lv-f>summary b{min-width:130px;font-size:14.5px;} #p-student .lv-f>summary .tz{font-size:13px;}
#p-student .adm-tag{font-size:11px;font-weight:800;color:#fff;background:#6B6B76;border-radius:6px;padding:0 6px;}
#p-student .lv-fb{padding:0 0 12px 22px;font-size:14px;font-weight:700;}
#p-student .lv-ul{margin:4px 0;padding-left:20px;line-height:1.7;}
#p-student .lv-msg:empty{display:none;}
@media(max-width:760px){
  #p-student .lv-grid{grid-template-columns:minmax(0,1fr);} #p-student .lv-grid .lr-radar{margin:auto;}
  #p-student .lv-bars{grid-template-columns:1fr;}
  #p-student .lv-f>summary b{min-width:0;} #p-student .lv-fb{padding-left:0;}
  #p-student .lv-t{font-size:13px;} #p-student .lv-t th,#p-student .lv-t td{padding:6px 5px;}
}

/* 学生页上管这个学生（总管理，10-11，admin-people.js paintStudent）：学生卡下面的资料 + 按钮；最下面「设置与资料」 */
:is(#spAdm,#tpAdm){margin:4px 0 8px;}
:is(#spAdm,#tpAdm) .sa-card{display:flex;gap:10px 16px;align-items:center;flex-wrap:wrap;padding:10px 14px;border-radius:14px;background:var(--staff-field,#F3F4F6);}
:is(#spAdm,#tpAdm) .sa-card .facts{flex:1;min-width:260px;display:flex;gap:6px 16px;flex-wrap:wrap;justify-content:flex-start;margin:0;font-size:13.5px;font-weight:700;color:var(--mute);}
:is(#spAdm,#tpAdm) .sa-card .facts b{color:var(--ink);margin-right:4px;}
:is(#spAdm,#tpAdm) .sa-card .ops{display:flex;gap:8px;flex-wrap:wrap;}
:is(#spAdm,#tpAdm) .sa-forms>*{margin-top:10px;}
#spAdm2{margin-top:18px;}
#spAdm2 .sa-f{border-top:1.5px solid #eeeef2;}
#spAdm2 .sa-f>summary{list-style:none;display:flex;gap:8px 12px;align-items:baseline;flex-wrap:wrap;padding:10px 0;min-height:44px;cursor:pointer;}
#spAdm2 .sa-f>summary::-webkit-details-marker{display:none;}
#spAdm2 .sa-f>summary::before{content:"▸";font-weight:900;} #spAdm2 .sa-f[open]>summary::before{content:"▾";}
#spAdm2 .sa-f>summary b{min-width:150px;font-size:15px;} #spAdm2 .sa-f.danger>summary b{color:#B3261E;}
#spAdm2 .sa-fb{padding:0 0 14px 22px;}
@media(max-width:699px){:is(#spAdm,#tpAdm) .sa-card .ops .btn{flex:1 1 auto;} #spAdm2 .sa-fb{padding-left:0;} #spAdm2 .sa-f>summary b{min-width:0;}}

/* 学生页（负责人 2026-10-12：「学生资料，雷达图，雷达数值。然后下面是打横排的一个个tab」）：
   上面一排 = 学生资料（名字、等级、在做什么、陪伴老师；总管理多负责老师、口令… 和管人的按钮）| 雷达 + 九类数值；
   下面横排页签，往下翻时贴在顶上；一次只显示一块。电脑 ≥ 1100 左右两栏，窄了上下叠；手机上页签折成两行，不横着拖。 */
:is(#p-student,#p-teacher) .sp-top{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.75fr);gap:18px;align-items:start;}
:is(#p-student,#p-teacher) .sp-info{min-width:0;display:grid;gap:10px;align-content:start;}
:is(#p-student,#p-teacher) .sp-info .ph{margin:0;}
:is(#p-student,#p-teacher) .sp-lvsum{margin:0;font-size:13.5px;font-weight:800;color:var(--mute);}
:is(#p-student,#p-teacher) .sp-lvsum:empty{display:none;}
:is(#p-student,#p-teacher) .sp-info :is(#spAdm,#tpAdm) .sa-card .facts{display:grid;grid-template-columns:auto;gap:4px;}
:is(#p-student,#p-teacher) .sp-radar{min-width:0;border:1.5px solid #eeeef2;border-radius:14px;padding:12px 14px;background:#fff;}
:is(#p-student,#p-teacher) .sp-radar .lv-empty{margin:0 0 8px;}
:is(#p-student,#p-teacher) .sp-tabs{position:sticky;top:0;z-index:3;display:flex;gap:2px;margin:16px -20px 16px;padding:0 20px;background:var(--surface,#fff);border-bottom:2px solid #e3e4e8;}
:is(#p-student,#p-teacher) .sp-tab{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:48px;margin:0 0 -2px;padding:0 16px;border:0;border-bottom:3px solid transparent;border-radius:0;
  background:none;box-shadow:none;transform:none;color:var(--mute);font:800 15.5px var(--body,"Nunito",sans-serif);cursor:pointer;}
:is(#p-student,#p-teacher) .sp-tab:hover{color:var(--ink);background:var(--staff-field,#F3F4F6);}
:is(#p-student,#p-teacher) .sp-tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent-ink,#B8452F);}
:is(#p-student,#p-teacher) .sp-tab:focus-visible{outline:3px solid var(--accent-ink,#B8452F);outline-offset:-3px;}
:is(#p-student,#p-teacher) .sp-tab i{font-style:normal;font-size:12px;font-weight:900;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;}
:is(#p-student,#p-teacher) .sp-tab i:empty{display:none;}
:is(#p-student,#p-teacher) .sp-tab i.me{background:var(--sun,#FFD15C);color:#1f2328;}
:is(#p-student,#p-teacher) .sp-tab i.hot{background:#B3261E;color:#fff;}
:is(#p-student,#p-teacher) .sp-tab i.n{background:#eeeef2;color:#4b5563;}
:is(#p-student,#p-teacher) .sp-tp>.sp-h:first-child{margin-top:0;}
:is(#p-student,#p-teacher) .sp-sum{margin:0 0 10px;}
#p-student #spVoice .vc-body{padding:0;}
#p-student #spSet .sa-f:first-of-type{border-top:0;}
@keyframes tp-in{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
:is(#p-student,#p-teacher) .sp-tp:not([hidden]){animation:tp-in .18s ease-out;}
@media (prefers-reduced-motion:reduce){:is(#p-student,#p-teacher) .sp-tp:not([hidden]){animation:none;}}
@media (max-width:1099px){:is(#p-student,#p-teacher) .sp-top{grid-template-columns:minmax(0,1fr);}}
@media (max-width:699px){
  :is(#p-student,#p-teacher) .sp-tabs{position:static;flex-wrap:wrap;margin:12px -12px 12px;padding:0 6px;}
  :is(#p-student,#p-teacher) .sp-tab{min-height:44px;padding:0 10px;font-size:14px;}
}
#p-student .lv-tw>summary{display:none;}
@media (max-width:699px){
  :is(#p-student,#p-teacher) .sp-radar .lr-radar{max-width:250px;}
  #p-student .lv-tw>summary{display:flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer;font-weight:800;font-size:14px;color:var(--mute);list-style:none;}
  #p-student .lv-tw>summary::-webkit-details-marker{display:none;}
  #p-student .lv-tw>summary::after{content:" ▾";} #p-student .lv-tw[open]>summary::after{content:" ▴";}
}

/* 学生卡里常驻的四个开关（负责人 10-12，sp-switch.js）：AI 课 / 每周 4 节 / 出下一课 / 分级小测，一格一个，电脑两列 */
:is(#spAdm,#tpAdm) .sa-card{display:grid;gap:10px;align-items:start;}
:is(#spAdm,#tpAdm) .sa-sw{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
:is(#spAdm,#tpAdm) .sw{display:grid;gap:4px;align-content:start;min-width:0;padding:9px 11px;border-radius:12px;background:var(--surface,#fff);border:1.5px solid #e3e4e8;}
:is(#spAdm,#tpAdm) .sw-h{display:flex;gap:6px 8px;align-items:center;flex-wrap:wrap;} :is(#spAdm,#tpAdm) .sw-h b{font-size:14px;}
:is(#spAdm,#tpAdm) .sw-why{margin:0;font-size:12.5px;line-height:1.4;overflow-wrap:anywhere;}
:is(#spAdm,#tpAdm) .sw-why:empty{display:none;}
:is(#spAdm,#tpAdm) .sw-act{display:flex;gap:6px;flex-wrap:wrap;} :is(#spAdm,#tpAdm) .sw-act:empty{display:none;}
:is(#spAdm,#tpAdm) .sw-act .btn{min-height:40px;font-size:13.5px;padding:0 12px;}
@media (max-width:699px){:is(#spAdm,#tpAdm) .sa-sw{grid-template-columns:minmax(0,1fr);}}

/* 「课」里一节点开后的回放（负责人 10-12）：就在这一节里展开 */
#p-student .lrp-go{margin-top:6px;} #p-student .lrp-go .lk{min-height:40px;}
#p-student .lrp{max-height:520px;overflow-y:auto;border:1.5px solid #eeeef2;border-radius:12px;padding:4px 10px 10px;margin-top:6px;background:#fff;}

/* 「升级测情况」「成就状况」两个页签（负责人 10-12，t-growth.js） */
:is(#p-student,#p-teacher) .gx-list{display:grid;gap:10px;}
:is(#p-student,#p-teacher) .gx-card{border:1.5px solid #e3e4e8;border-radius:14px;padding:12px 14px;background:#fff;}
:is(#p-student,#p-teacher) .gx-card header{display:flex;gap:8px 10px;align-items:center;flex-wrap:wrap;margin-bottom:6px;} :is(#p-student,#p-teacher) .gx-card header b{font-size:16px;}
:is(#p-student,#p-teacher) .gx-card dl{display:grid;grid-template-columns:84px minmax(0,1fr);gap:4px 12px;margin:0;font-size:14px;}
:is(#p-student,#p-teacher) .gx-card dt{color:var(--mute);font-weight:800;font-size:13px;} :is(#p-student,#p-teacher) .gx-card dd{margin:0;font-weight:700;overflow-wrap:anywhere;}
:is(#p-student,#p-teacher) .gx-note{margin-top:12px;}
:is(#p-student,#p-teacher) .gx-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;}
:is(#p-student,#p-teacher) .gx-tile{display:grid;gap:2px;padding:12px;border-radius:12px;background:var(--staff-field,#F3F4F6);}
:is(#p-student,#p-teacher) .gx-tile b{font:800 26px var(--head,"Nunito",sans-serif);font-variant-numeric:tabular-nums;} :is(#p-student,#p-teacher) .gx-tile span{font-size:13px;color:var(--mute);font-weight:800;}
:is(#p-student,#p-teacher) .gx-h{margin:16px 0 6px;font-size:15px;}
:is(#p-student,#p-teacher) .gx-mile{list-style:none;margin:0;padding:0;display:grid;gap:0;}
:is(#p-student,#p-teacher) .gx-mile li{display:flex;gap:12px;padding:7px 0;border-top:1.5px solid #eeeef2;font-weight:700;font-size:14.5px;} :is(#p-student,#p-teacher) .gx-mile li:first-child{border-top:0;}
:is(#p-student,#p-teacher) .gx-mile li .tz:first-child{min-width:96px;}
@media (max-width:699px){:is(#p-student,#p-teacher) .gx-card dl{grid-template-columns:minmax(0,1fr);}}

/* 大小（负责人 10-12「整个页面都比较大，我想做成适中的大小…整一个后台」）：电脑上（鼠标、宽 ≥ 1100）整块按比例缩小，默认「适中」；
   「设置 → 字和按钮大小」能换回「大（原来的）」或更「小」（staff-theme.js）。iPad、手机是手指点，按钮要够大，不缩。登录页不缩。 */
@media (min-width:1100px) and (pointer:fine){
  html[data-staff-size="m"]{--sz:.86;} html[data-staff-size="s"]{--sz:.76;}
  html[data-staff-size="m"] body:has(#app:not(.hidden)),html[data-staff-size="s"] body:has(#app:not(.hidden)){zoom:var(--sz);}
  html[data-staff-size] #app>.panel{min-height:calc((100vh - 60px) / var(--sz,1));}
}
.drawer #themeSlot{display:grid;gap:8px;}

/* 老师页（负责人 10-12，t-teacher.js）：和学生页同一套（上面两栏、横排页签）；右边是几个数 */
#p-teacher .tp-stats{min-width:0;border:1.5px solid #eeeef2;border-radius:14px;padding:12px 14px;background:#fff;display:grid;gap:8px;align-content:start;}
#p-teacher .tp-stats .gx-tiles{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));}
#p-teacher .tp-stats p{margin:0;}
#p-teacher .spt .av{width:44px;height:44px;font-size:19px;background:#E3F3DF;}
#p-teacher .tp-t{width:100%;}
#p-teacher .tp-t tr.row{cursor:pointer;} #p-teacher .tp-t tr.row:hover,#p-teacher .tp-t tr.row:focus-visible{background:var(--staff-field,#F3F4F6);}
#p-teacher .tp-dates{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin:4px 0 10px;}
#p-teacher .tp-dates input{min-height:40px;}
#p-teacher .vc-l li.pin{background:#FFF1EF;}
#p-teacher .pill.hot{background:#B3261E;color:#fff;}
#p-teacher .gx-h{margin:16px 0 6px;font-size:15px;} #p-teacher .gx-h:first-child{margin-top:0;}
@media (max-width:699px){#p-teacher #tpBody .tp-t{display:block;overflow-x:auto;}}   /* 只让表横着滚，不能让整块滚（会把「加学生」的下拉切掉） */
/* 老师名单（10-12）：和学生名单同一套表，只是列少 */
.rgt-t .c-n{width:70px;} .rgt-t .c-lv{width:150px;} .rgt-t .c-todo{width:150px;} .rgt-t .c-pin{width:100px;} .rgt-t .c-m{width:56px;}
.rg-fail{margin-left:auto;}
.rgt-t .c-nm{width:auto;}
#p-teacher .tp-t{border-collapse:collapse;font-size:14.5px;}
#p-teacher .tp-t th{text-align:left;}
#p-teacher .tp-t td{vertical-align:top;}
#p-teacher .tp-t .pill{width:auto;}
/* 老师页「学生」页签上面「加学生」（能打字找的下拉，10-12）；学生页学生卡里「负责老师」也是能打字找的下拉 */
#p-teacher .tp-add{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin-bottom:6px;}
#p-teacher .tp-add .tz{flex:1 1 240px;}
#p-teacher #tpAddMsg:empty{display:none;}
:is(#spAdm,#tpAdm) .sa-t{display:flex;gap:6px 10px;align-items:center;flex-wrap:wrap;}
:is(#spAdm,#tpAdm) .sa-tp .pick-btn{min-height:40px;}
