/* 教师端共享导航：历史页面只需由 app.js 补充统一类名。 */
.teacher-skip{
  position:fixed;
  left:16px;
  top:10px;
  z-index:10000;
  padding:10px 14px;
  border-radius:9px;
  color:#fff;
  background:#0b4fb3;
  box-shadow:0 8px 22px rgba(11,79,179,.28);
  font:700 13px/1.2 "HarmonyOS Sans SC","MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  transform:translateY(-160%);
  transition:transform .18s ease;
}
.teacher-skip:focus{transform:translateY(0)}
body.teacher-a11y a:focus-visible,
body.teacher-a11y button:focus-visible,
body.teacher-a11y input:focus-visible,
body.teacher-a11y select:focus-visible,
body.teacher-a11y textarea:focus-visible,
body.teacher-a11y [tabindex]:focus-visible{
  outline:3px solid rgba(23,105,232,.34)!important;
  outline-offset:2px!important;
}
body.teacher-a11y button,
body.teacher-a11y a,
body.teacher-a11y input,
body.teacher-a11y select,
body.teacher-a11y textarea{touch-action:manipulation}
header.teacher-unified-nav{
  position:relative!important;
  z-index:100!important;
  min-height:68px!important;
  height:68px!important;
  padding:0 clamp(22px,3vw,44px)!important;
  display:flex!important;
  align-items:center!important;
  gap:clamp(18px,2.4vw,34px)!important;
  color:#0b1f3a!important;
  background:rgba(255,255,255,.96)!important;
  border:0!important;
  border-bottom:1px solid #dfe7f1!important;
  box-shadow:0 5px 22px rgba(20,45,82,.055)!important;
  backdrop-filter:blur(18px)!important;
}
header.teacher-unified-nav .ws-brand{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  color:#0b1f3a!important;
  font:800 19px/1 "HarmonyOS Sans SC","MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
header.teacher-unified-nav .ws-mark{
  width:31px!important;
  height:31px!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#0873f8,#0c4fc9)!important;
  box-shadow:0 7px 18px rgba(23,105,232,.2)!important;
}
header.teacher-unified-nav .ws-nav{
  align-self:stretch!important;
  display:flex!important;
  align-items:stretch!important;
  gap:2px!important;
}
header.teacher-unified-nav .ws-nav a{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  padding:0 clamp(11px,1.35vw,20px)!important;
  color:#35445c!important;
  background:transparent!important;
  font:600 14px/1 "HarmonyOS Sans SC","MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif!important;
  white-space:nowrap!important;
  transition:color .18s ease,background .18s ease!important;
  min-height:44px!important;
}
header.teacher-unified-nav .ws-nav a:hover{color:#1769e8!important;background:#f6f9ff!important}
header.teacher-unified-nav .ws-nav a.active{color:#1769e8!important;background:transparent!important}
header.teacher-unified-nav .ws-nav a.active:after{
  content:""!important;
  position:absolute!important;
  left:20px!important;
  right:20px!important;
  bottom:0!important;
  height:3px!important;
  border-radius:3px 3px 0 0!important;
  background:#1769e8!important;
  box-shadow:none!important;
}
header.teacher-unified-nav .ws-user{
  min-width:0!important;
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  color:#0b1f3a!important;
  font-family:"HarmonyOS Sans SC","MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif!important;
}
header.teacher-unified-nav .ws-utility{min-height:44px!important;padding:0 8px!important;display:grid!important;place-items:center!important;color:#647187!important;font-size:12px!important;white-space:nowrap!important}
header.teacher-unified-nav .ws-utility:hover{color:#1769e8!important}
header.teacher-unified-nav .ws-utility[aria-current="page"]{color:#1769e8!important;font-weight:700!important}
header.teacher-unified-nav .ws-avatar{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#e5efff!important;color:#125ecf!important;font-size:12px!important;font-weight:800!important}
header.teacher-unified-nav .ws-user-name{max-width:96px!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#172842!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important}
header.teacher-unified-nav .ws-back{
  flex:0 0 auto!important;
  margin-left:2px!important;
  min-height:44px!important;
  padding:0 11px!important;
  display:grid!important;
  place-items:center!important;
  color:#5c687c!important;
  background:#fff!important;
  border:1px solid #d8e0eb!important;
  border-radius:8px!important;
  font:500 12px/1.2 "HarmonyOS Sans SC","MiSans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif!important;
  white-space:nowrap!important;
}
header.teacher-unified-nav .ws-back:hover{color:#1769e8!important;border-color:#a9c5ed!important;background:#f8fbff!important}
header.teacher-unified-nav [hidden]{display:none!important}
@media(max-width:1100px){
  header.teacher-unified-nav{gap:14px!important;padding-inline:18px!important}
  header.teacher-unified-nav .ws-nav a{padding-inline:10px!important;font-size:13px!important}
  header.teacher-unified-nav .ws-utility{display:none!important}
  header.teacher-unified-nav .ws-user-name{display:none!important}
}
@media(max-width:760px){
  header.teacher-unified-nav{height:60px!important;min-height:60px!important;padding-inline:14px!important}
  header.teacher-unified-nav .ws-brand span:last-child{display:none!important}
  header.teacher-unified-nav .ws-nav{flex:1!important;overflow-x:auto!important;scrollbar-width:none!important}
  header.teacher-unified-nav .ws-nav::-webkit-scrollbar{display:none!important}
  header.teacher-unified-nav .ws-nav a{min-width:max-content!important;padding-inline:10px!important;font-size:12px!important}
  header.teacher-unified-nav .ws-user{display:flex!important;margin-left:0!important;gap:0!important}
  header.teacher-unified-nav .ws-user .ws-utility{display:none!important}
  header.teacher-unified-nav .ws-user .ws-utility:first-child{display:grid!important;min-width:44px!important;padding:0 5px!important}
  header.teacher-unified-nav .ws-avatar,
  header.teacher-unified-nav .ws-user-name{display:none!important}
  header.teacher-unified-nav .ws-back{font-size:0!important}
  header.teacher-unified-nav .ws-back:after{content:"返回"!important;font-size:12px!important}
  body.teacher-a11y button,
  body.teacher-a11y input:not([type="checkbox"]):not([type="radio"]),
  body.teacher-a11y select{min-height:44px}
  body.teacher-a11y .as-action,
  body.teacher-a11y .ca-actions a,
  body.teacher-a11y .ins-action,
  body.teacher-a11y .tc-primary,
  body.teacher-a11y .tc-secondary,
  body.teacher-a11y .tc-danger,
  body.teacher-a11y .tc-ghost,
  body.teacher-a11y .rm-main .actions button,
  body.teacher-a11y .btn,
  body.teacher-a11y .save-btn{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}
@media(prefers-reduced-motion:reduce){
  .teacher-skip,
  body.teacher-a11y *,
  body.teacher-a11y *:before,
  body.teacher-a11y *:after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
