/* ==========================================================================
   课序 · 教务运营页面样式（web-ops）
   课程表 / 课堂打卡 / 提醒中心 / 系统设置 / 我的孩子
   前缀：.sch-* / .att-* / .rem-* / .set-* / .child-*
   ========================================================================== */

/* ---------- 公共补充 ---------- */
.card-pad {
  padding: 18px 20px;
}
.spinner-sm {
  width: 15px;
  height: 15px;
  border-width: 2px;
}
.btn.is-busy,
.btn[disabled] {
  cursor: not-allowed;
}
.sch-live-chip,
.att-live-chip,
.rem-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 20px;
  background: var(--green-soft);
  color: #0b7a5c;
  font-size: 10.5px;
  font-weight: 600;
  animation: opsFadeIn 0.2s ease;
}
.sch-live-chip::before,
.att-live-chip::before,
.rem-live-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes opsFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   1. 课程表
   ========================================================================== */
.sch-toolbar-card {
  padding: 13px 16px;
  margin-bottom: 16px;
}
.sch-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sch-week-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sch-range {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin: 0 4px;
  min-width: 168px;
}
.sch-range strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sch-range span {
  font-size: 10.5px;
  color: var(--muted);
  min-height: 14px;
}
.sch-date-jump {
  width: 146px;
  height: 33px;
  font-size: 11.5px;
  padding: 0 9px;
}
.sch-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.sch-filter .select {
  width: 138px;
  height: 33px;
  font-size: 11.5px;
  padding: 0 28px 0 9px;
}
.sch-skeleton-toolbar {
  height: 30px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--surface-mute);
}

.sch-summary-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 2px 12px;
  color: var(--muted);
  font-size: 11.5px;
}
.sch-sum-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sch-sum-item .icon {
  color: var(--muted-2);
}

.sch-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.sch-col {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(248, 249, 254, 0.7);
  overflow: hidden;
}
.sch-col.is-today {
  border-color: #d9ddff;
  background: linear-gradient(180deg, #f4f5ff, #fbfbff);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), 0 10px 24px -22px rgba(79, 70, 229, 0.5);
}
.sch-col-head {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 10px 11px 9px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}
.sch-col-weekday {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.sch-col-date {
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sch-today-tag {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sch-col-count {
  margin-left: auto;
  font-size: 9.5px;
  color: var(--muted-2);
}
.sch-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 9px;
  min-height: 130px;
}
.sch-none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 92px;
  border: 1px dashed #e2e6f2;
  border-radius: 10px;
  color: var(--muted-2);
  font-size: 10px;
}
.sch-none .icon {
  opacity: 0.7;
}

.sch-card {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  text-align: left;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.sch-card:hover {
  transform: translateY(-1px);
  border-color: #cfd4ea;
  box-shadow: 0 12px 24px -20px rgba(21, 26, 58, 0.5);
}
.sch-card:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.25);
  outline-offset: 1px;
}
.sch-card.is-cancelled {
  opacity: 0.62;
  background: repeating-linear-gradient(135deg, #fbfbfd, #fbfbfd 8px, #f4f5f9 8px, #f4f5f9 16px);
}
.sch-card.is-cancelled .sch-card-title {
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.45);
}
.sch-card-bar {
  width: 4px;
  flex: none;
  background: var(--course, var(--primary));
}
.sch-card-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px 10px;
}
.sch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
}
.sch-card-time {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sch-card .badge {
  font-size: 9px;
  padding: 2px 5px;
}
.sch-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-word;
}
.sch-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9.5px;
  color: var(--muted);
  min-width: 0;
}
.sch-card-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sch-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 1px;
}
.sch-card-att {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sch-child-status {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--tone-soft, var(--surface-mute));
  color: var(--tone, var(--muted));
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

/* 列表视图 */
.sch-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sch-list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sch-list-day {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
  font-size: 11.5px;
  color: var(--muted);
}
.sch-list-day span:first-child {
  font-weight: 700;
  color: var(--ink-2);
}
.sch-list-day strong {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
}
.sch-list-count {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted-2);
}
.sch-list-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.sch-list-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--course, var(--primary));
}
.sch-list-card:hover {
  border-color: #cfd4ea;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -22px rgba(21, 26, 58, 0.5);
}
.sch-list-card.is-cancelled {
  opacity: 0.62;
}
.sch-list-time {
  flex: none;
  width: 50px;
  padding-left: 6px;
  border-right: 1px solid var(--line);
  text-align: right;
  padding-right: 10px;
}
.sch-list-time strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sch-list-time span {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
}
.sch-list-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sch-list-title {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sch-list-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--muted);
}
.sch-list-meta .icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 3px;
}
.sch-list-side {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sch-list-card > .icon {
  color: var(--muted-2);
  flex: none;
}

/* 课次详情 */
.sch-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sch-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sch-detail-mark {
  width: 5px;
  align-self: stretch;
  min-height: 38px;
  border-radius: 4px;
  background: var(--course, var(--primary));
  flex: none;
}
.sch-detail-title {
  flex: 1;
  min-width: 0;
}
.sch-detail-name {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.sch-detail-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.sch-detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.sch-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--surface-soft);
  border: 1px solid #eef0f8;
  min-width: 0;
}
.sch-fact span {
  font-size: 10px;
  color: var(--muted);
}
.sch-fact strong {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  word-break: break-word;
}
.sch-fact-wide {
  grid-column: 1 / -1;
}
.sch-code-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, #f2f3ff, #fdf7f4);
  border: 1px solid #e4e6fa;
}
.sch-code-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2);
}
.sch-code-label span {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}
.sch-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sch-code {
  font-size: 26px;
  padding: 8px 16px;
  letter-spacing: 0.22em;
  background: #fff;
}
.sch-roster-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sch-roster-head h3 {
  font-size: 14px;
  font-weight: 700;
}
.sch-roster-head p {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}
.sch-roster-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.sch-roster {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.sch-roster-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-bottom: 1px solid #f0f2f9;
  flex-wrap: wrap;
}
.sch-roster-row:last-child {
  border-bottom: 0;
}
.sch-roster-row.has-attendance {
  background: #fcfcff;
}
.sch-roster-user {
  flex: 1;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.sch-roster-user strong {
  font-size: 12.5px;
}
.sch-roster-user span {
  font-size: 10px;
  color: var(--muted);
}
.sch-roster-status {
  flex: none;
}
.sch-roster-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}
.sch-roster-time {
  font-size: 9.5px;
  color: var(--muted-2);
}
.sch-mark {
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 550;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.sch-mark:hover {
  border-color: var(--tone, var(--primary));
  color: var(--tone, var(--primary));
  background: var(--tone-soft, var(--primary-soft));
}
.sch-undo {
  color: var(--muted);
}
.sch-undo:hover {
  color: var(--red);
}

/* ==========================================================================
   2. 课堂打卡
   ========================================================================== */
.att-stats {
  margin-top: 2px;
}
.att-day-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px 2px 11px;
}
.att-day-head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.att-day-head p {
  font-size: 10.5px;
  color: var(--muted);
}
.att-session-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.att-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.att-card.is-open {
  border-color: #dcdef5;
  box-shadow: 0 20px 40px -32px rgba(21, 26, 58, 0.45);
}
.att-card-head {
  position: relative;
}
.att-card-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--course, var(--primary));
}
.att-card-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px 13px 18px;
  border: 0;
  background: transparent;
  text-align: left;
}
.att-card-toggle:hover {
  background: #fcfcff;
}
.att-time {
  flex: none;
  width: 54px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  text-align: right;
}
.att-time strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.att-time span {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
}
.att-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.att-card-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.att-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--muted);
}
.att-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.att-card-badges {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
}
.att-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.att-card-body {
  padding: 0 16px 16px 18px;
  border-top: 1px dashed var(--line);
}
.att-code-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0 12px;
}
.att-code-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.att-code-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.att-code {
  font-size: 27px;
  padding: 6px 16px;
  letter-spacing: 0.25em;
  color: var(--primary-strong);
  background: #fff;
}
.att-code-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.att-progress-block {
  flex: 1;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.att-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.att-progress-head strong {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.att-quick {
  align-self: flex-start;
}
.att-roster {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.att-roster-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f3fa;
  flex-wrap: wrap;
}
.att-roster-row:last-child {
  border-bottom: 0;
}
.att-roster-row:nth-child(even) {
  background: #fcfcff;
}
.att-roster-user {
  flex: 1;
  min-width: 126px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.att-roster-user strong {
  font-size: 12.5px;
}
.att-roster-user span {
  font-size: 10px;
  color: var(--muted);
}
.att-roster-user em {
  font-style: normal;
}
.att-roster-status {
  flex: none;
}
.att-roster-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.att-roster-time {
  font-size: 9.5px;
  color: var(--muted-2);
}
.att-mark {
  height: 27px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 550;
  transition: all 0.15s;
}
.att-mark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.att-mark.is-active,
.sch-mark.is-active {
  border-color: var(--tone, var(--primary));
  background: var(--tone-soft, var(--primary-soft));
  color: var(--tone, var(--primary));
  font-weight: 650;
  cursor: default;
  opacity: 0.9;
}
.att-mark:disabled,
.sch-mark:disabled {
  cursor: default;
}
.att-undo {
  color: var(--muted);
}
.att-undo:hover {
  color: var(--red);
}
.att-recent-foot {
  display: block;
  padding: 0;
}
.att-recent-foot .pagination {
  border-top: 1px solid var(--line);
}

/* 家长端 */
.att-child-switch {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.att-child-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  transition: all 0.16s;
}
.att-child-chip em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}
.att-child-chip:hover {
  border-color: var(--line-strong);
}
.att-child-chip.active {
  border-color: #f8c9d9;
  background: var(--pink-soft);
  color: #be185d;
}
.att-child-chip.active em {
  color: #be185d;
}
.att-parent-grid {
  align-items: start;
}
.att-parent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.att-parent-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.att-parent-card.is-done {
  background: linear-gradient(180deg, #fbfefd, #fff);
}
.att-parent-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-left: 3px solid var(--course, var(--primary));
}
.att-parent-time {
  flex: none;
  width: 50px;
  text-align: right;
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  border-right: 1px solid var(--line);
  padding-right: 11px;
}
.att-parent-time span {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--muted);
}
.att-parent-info {
  flex: 1;
  min-width: 0;
}
.att-parent-title {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.att-parent-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
}
.att-parent-status {
  flex: none;
}
.att-parent-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 15px 11px;
  border-top: 1px dashed var(--line);
  background: var(--surface-soft);
}
.att-parent-hint {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}
.att-parent-card-foot .btn {
  flex: none;
}
.att-code-icon,
.rem-upcoming-icon,
.rem-tips-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  flex: none;
}
.att-code-body {
  padding-top: 14px;
}
.att-code-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.att-code-input {
  height: 52px;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-align: center;
  color: var(--primary-strong);
  padding-left: 0.4em;
}
.att-recent-list {
  display: flex;
  flex-direction: column;
}
.att-recent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #f1f3fa;
  flex-wrap: wrap;
}
.att-recent-row:last-child {
  border-bottom: 0;
}
.att-recent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--primary));
  flex: none;
}
.att-recent-main {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.att-recent-main strong {
  font-size: 12px;
  color: var(--ink-2);
}
.att-recent-main span {
  font-size: 10px;
  color: var(--muted);
}
.att-recent-hours {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.att-upcoming-list {
  display: flex;
  flex-direction: column;
}
.att-upcoming-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #f1f3fa;
}
.att-upcoming-row:last-child {
  border-bottom: 0;
}
.att-upcoming-date {
  flex: none;
  width: 62px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.att-upcoming-date strong {
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.att-upcoming-date span {
  font-size: 9.5px;
  color: var(--muted);
}
.att-upcoming-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.att-upcoming-main strong {
  font-size: 12px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.att-upcoming-main span {
  font-size: 10px;
  color: var(--muted);
}
.att-parent-grid .notice p {
  margin-top: 4px;
}
.att-parent-grid .notice strong {
  font-size: 12px;
}

/* ==========================================================================
   3. 提醒中心
   ========================================================================== */
.rem-layout {
  align-items: start;
}
.rem-list-head {
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rem-list-head .card-actions {
  gap: 8px;
}
.rem-list {
  display: flex;
  flex-direction: column;
}
.rem-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f3fa;
  cursor: pointer;
  transition: background 0.15s;
}
.rem-item:last-child {
  border-bottom: 0;
}
.rem-item:hover {
  background: #fcfcff;
}
.rem-item.is-unread {
  background: linear-gradient(90deg, #fff8f5, #fffdfc 60%, #fff);
}
.rem-item.is-unread:hover {
  background: #fff7f2;
}
.rem-item.is-reading {
  opacity: 0.6;
}
.rem-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--tone, var(--muted-2));
  box-shadow: 0 0 0 3px var(--tone-soft, var(--surface-mute));
  flex: none;
}
.rem-main {
  flex: 1;
  min-width: 0;
}
.rem-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rem-head strong {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
}
.rem-body {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
  word-break: break-word;
}
.rem-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 10px;
  color: var(--muted);
}
.rem-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rem-session {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--surface-mute);
}
.rem-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-left: 6px;
}
.rem-time {
  font-size: 10px;
  color: var(--muted-2);
  white-space: nowrap;
}
.rem-read-btn {
  height: 26px;
  font-size: 10.5px;
}
.rem-upcoming {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rem-up-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rem-up-day {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-strong);
}
.rem-up-more {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
}
.rem-tips {
  padding-top: 14px;
}
.rem-tip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed #eef0f8;
  font-size: 11.5px;
}
.rem-tip-row:last-of-type {
  border-bottom: 0;
}
.rem-tip-label {
  color: var(--muted);
  flex: none;
}
.rem-tip-value {
  text-align: right;
  font-weight: 550;
  color: var(--ink-2);
  line-height: 1.5;
}
.rem-tip-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.rem-tips .notice {
  margin-top: 12px;
}

/* ==========================================================================
   4. 系统设置
   ========================================================================== */
.set-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.set-layout {
  align-items: start;
}
.set-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.set-body .field + .field {
  margin-top: 2px;
}
.set-toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef0f8;
}
.set-toggle-field:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.set-toggle-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.set-toggle-meta strong {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
}
.set-toggle-meta span {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}
.set-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  flex: none;
}
.set-toggle-btn:hover {
  background: var(--surface-soft);
}
.set-toggle-text {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  min-width: 34px;
}
.set-toggle-btn[aria-pressed="true"] .set-toggle-text {
  color: var(--primary-strong);
}
.set-readonly {
  justify-content: flex-end;
}
.set-window-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 41px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px dashed #dfe2f0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.set-save-bar {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -30px rgba(21, 26, 58, 0.5);
}
.set-save-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.set-save-meta strong {
  font-size: 12px;
  color: var(--ink-2);
}
.set-save-meta strong.is-dirty {
  color: var(--coral);
}
.set-save-meta span {
  font-size: 10px;
  color: var(--muted);
}
.set-save-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.set-accounts td {
  vertical-align: top;
}
.set-readonly .field-hint {
  display: none;
}
.set-demo-body {
  padding-top: 14px;
}
.set-demo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.set-demo-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}
.set-demo-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.set-demo-head strong {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
}
.set-demo-desc {
  font-size: 9.5px;
  color: var(--muted);
}
.set-demo-meta {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
}
.set-demo-cred {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  min-width: 0;
}
.set-demo-cred .k {
  color: var(--muted-2);
  flex: none;
}
.set-demo-cred code {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}
.set-demo-copy {
  height: 24px;
  padding: 0 8px;
  font-size: 10px;
  margin-left: auto;
}

/* ==========================================================================
   5. 家长端 · 我的孩子
   ========================================================================== */
.child-switch {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.child-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink-2);
  text-align: left;
  transition: all 0.16s;
}
.child-chip:hover {
  border-color: var(--line-strong);
}
.child-chip.active {
  border-color: #f8c9d9;
  background: var(--pink-soft);
}
.child-chip-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.child-chip-meta strong {
  font-size: 12px;
}
.child-chip-meta em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--muted);
}
.child-chip-balance {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.child-chip.active .child-chip-balance {
  color: #be185d;
  border-color: #f3c6d5;
}

.child-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #e6e2f6;
  background:
    radial-gradient(520px 240px at 90% -20%, rgba(236, 72, 153, 0.14), transparent 70%),
    radial-gradient(420px 260px at 8% 120%, rgba(99, 102, 241, 0.12), transparent 72%),
    linear-gradient(120deg, #fdfbff, #f7f6ff 55%, #fff8fb);
  box-shadow: var(--shadow-sm);
}
.child-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.child-hero-id {
  flex: 1;
  min-width: 200px;
}
.child-hero-name {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.child-hero-name h2 {
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.02em;
}
.child-hero-id p {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.child-hero-classes {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.child-hero-balance {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding: 10px 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #eceaf8;
  text-align: right;
}
.child-hero-balance span {
  font-size: 10.5px;
  color: var(--muted);
}
.child-hero-balance strong {
  font-size: 32px;
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--primary-strong);
  font-variant-numeric: tabular-nums;
}
.child-hero-balance em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.child-hero-balance.is-low strong {
  color: var(--red);
}
.child-hero-balance.is-low em {
  color: var(--red);
  font-weight: 600;
}
.child-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px dashed #e4e1f3;
}
.child-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.child-metric > span {
  font-size: 10.5px;
  color: var(--muted);
}
.child-metric strong {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.child-metric em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.child-metric .progress {
  margin-top: 3px;
}
.child-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.child-stats {
  margin-top: 16px;
}
.child-layout {
  align-items: start;
}
.child-layout .card + .card {
  margin-top: 0;
}
.child-class-list {
  display: flex;
  flex-direction: column;
}
.child-class-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border-bottom: 1px solid #f1f3fa;
  flex-wrap: wrap;
}
.child-class-row:last-child {
  border-bottom: 0;
}
.child-class-color {
  width: 4px;
  align-self: stretch;
  min-height: 34px;
  border-radius: 3px;
  background: var(--course, var(--primary));
  flex: none;
}
.child-class-main {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.child-class-main strong {
  font-size: 12.5px;
  color: var(--ink);
}
.child-class-main > span {
  font-size: 10.5px;
  color: var(--muted);
}
.child-class-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted-2);
}
.child-class-time .icon {
  display: inline-block;
  vertical-align: -2px;
}
.child-att-list,
.child-log-list,
.child-upcoming-list {
  display: flex;
  flex-direction: column;
}
.child-att-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f3fa;
  flex-wrap: wrap;
}
.child-att-row:last-child {
  border-bottom: 0;
}
.child-att-date {
  flex: none;
  width: 62px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.child-att-date strong {
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: nowrap;
}.child-att-date span {
  font-size: 9.5px;
  color: var(--muted);
}
.child-att-main {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.child-att-main strong {
  font-size: 12px;
  color: var(--ink-2);
}
.child-att-main span {
  font-size: 10px;
  color: var(--muted);
}
.child-att-hours {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.child-log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f3fa;
  flex-wrap: wrap;
}
.child-log-row:last-child {
  border-bottom: 0;
}
.child-log-type {
  flex: none;
}
.child-log-main {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.child-log-main strong {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.child-log-main span {
  font-size: 10px;
  color: var(--muted);
}
.child-log-delta {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.child-log-delta.is-plus {
  color: #0b7a5c;
}
.child-log-delta.is-minus {
  color: var(--ink-2);
}
.child-log-balance {
  font-size: 10px;
  color: var(--muted);
  min-width: 52px;
  text-align: right;
}
.child-upcoming-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f3fa;
}
.child-upcoming-row:last-child {
  border-bottom: 0;
}
.child-upcoming-date {
  flex: none;
  width: 72px;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.child-upcoming-date strong {
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: nowrap;
}.child-upcoming-date span {
  font-size: 9.5px;
  color: var(--muted);
}
.child-upcoming-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.child-upcoming-main strong {
  font-size: 12px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.child-upcoming-main span {
  font-size: 10px;
  color: var(--muted);
}

/* ==========================================================================
   打印打卡码
   ========================================================================== */
.ops-print-card {
  display: none;
}
@media print {
  body.ops-printing #app,
  body.ops-printing #toasts,
  body.ops-printing #modal-root {
    display: none !important;
  }
  body.ops-printing .ops-print-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
  }
  .ops-print-inner {
    width: 100%;
    max-width: 520px;
    padding: 46px 40px;
    border: 2px dashed #9aa0b8;
    border-radius: 20px;
    text-align: center;
  }
  .ops-print-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #4f46e5;
    text-transform: uppercase;
  }
  .ops-print-inner h2 {
    margin: 16px 0 6px;
    font-size: 24px;
  }
  .ops-print-hint {
    font-size: 12px;
    color: #7a819c;
  }
  .ops-print-code {
    margin: 26px auto 18px;
    padding: 16px 24px;
    display: inline-block;
    border-radius: 14px;
    background: #f1f3fa;
    font-family: var(--mono);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #4338ca;
  }
  .ops-print-org {
    font-size: 11px;
    color: #7a819c;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1280px) {
  .sch-grid {
    gap: 8px;
  }
  .sch-card-inner {
    padding: 8px;
  }
  .sch-card-title {
    font-size: 11.5px;
  }
  .sch-filter .select {
    width: 120px;
  }
}

@media (max-width: 1080px) {
  .sch-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .sch-col {
    flex: 0 0 176px;
    scroll-snap-align: start;
  }
  .sch-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .set-save-bar {
    position: static;
  }
}

@media (max-width: 960px) {
  .sch-toolbar {
    gap: 9px;
  }
  .sch-range {
    min-width: 140px;
  }
  .sch-date-jump {
    width: 132px;
  }
  .att-card-toggle {
    gap: 10px;
    padding: 12px 13px 12px 15px;
  }
  .att-code-row {
    gap: 12px;
  }
  .rem-item {
    padding: 13px 14px;
  }
  .rem-side {
    padding-left: 0;
  }
  .child-hero {
    padding: 19px 17px;
  }
}

@media (max-width: 720px) {
  .card-pad {
    padding: 14px;
  }
  .sch-toolbar-card {
    padding: 11px 12px;
  }
  .sch-toolbar {
    align-items: stretch;
  }
  .sch-week-nav {
    width: 100%;
  }
  .sch-range {
    flex: 1;
    min-width: 0;
  }
  .sch-date-jump {
    width: 100%;
  }
  .sch-filter {
    flex: 1;
    min-width: 140px;
  }
  .sch-filter .select {
    flex: 1;
    width: auto;
  }
  .sch-toolbar .segmented {
    width: 100%;
    justify-content: space-between;
  }
  .sch-toolbar .segment {
    flex: 1;
    justify-content: center;
  }
  .sch-summary-bar {
    gap: 10px;
    font-size: 10.5px;
  }
  .sch-list-card {
    flex-wrap: wrap;
    gap: 10px;
    padding: 11px 12px;
  }
  .sch-list-side {
    width: 100%;
    justify-content: flex-start;
    padding-left: 62px;
  }
  .sch-list-card > .icon {
    display: none;
  }
  .sch-detail-name {
    font-size: 15px;
  }
  .sch-detail-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .sch-code-label {
    flex-wrap: wrap;
  }
  .sch-code {
    font-size: 21px;
  }
  .sch-roster-row,
  .att-roster-row {
    padding: 9px 10px;
  }
  .sch-roster-actions,
  .att-roster-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 45px;
  }
  .att-card-badges {
    gap: 6px;
  }
  .att-card-title {
    font-size: 12.5px;
  }
  .att-code {
    font-size: 23px;
  }
  .att-roster-user {
    min-width: 100px;
  }
  .att-parent-card-head {
    flex-wrap: wrap;
    gap: 9px;
  }
  .att-parent-status {
    margin-left: auto;
  }
  .att-parent-time {
    width: 46px;
  }
  .att-parent-hint {
    flex: 1 1 100%;
  }
  .rem-list-head {
    align-items: flex-start;
  }
  .rem-item {
    gap: 9px;
  }
  .rem-side {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .rem-read-btn {
    display: none;
  }
  .rem-upcoming {
    padding: 12px 14px 14px;
  }
  .rem-tip-row {
    gap: 9px;
  }
  .set-toggle-field {
    gap: 10px;
  }
  .set-save-bar {
    padding: 13px 14px;
  }
  .set-save-actions {
    width: 100%;
  }
  .set-save-actions .btn {
    flex: 1;
  }
  .child-hero-top {
    gap: 13px;
  }
  .child-hero-balance {
    width: 100%;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    padding: 8px 14px;
    text-align: left;
  }
  .child-hero-balance strong {
    font-size: 26px;
  }
  .child-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .child-hero-actions .btn {
    flex: 1;
  }
  .child-att-row,
  .child-log-row,
  .child-upcoming-row {
    padding: 10px 14px;
  }
  .child-log-balance {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .sch-toolbar .btn-sm {
    height: 33px;
  }
  .sch-card-time {
    font-size: 9.5px;
  }
  .sch-list-side {
    padding-left: 0;
  }
  .sch-roster-actions,
  .att-roster-actions {
    padding-left: 0;
  }
  .att-card-badges .badge {
    display: none;
  }
  .att-card-badges {
    gap: 4px;
  }
  .att-parent-card-foot {
    padding: 9px 12px 11px;
  }
  .att-parent-card-foot .btn {
    width: 100%;
  }
  .rem-up-group .timeline-time {
    display: none;
  }
  .child-hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .child-chip-balance {
    display: none;
  }
  .set-toggle-meta span {
    display: none;
  }
}

/* 一键全班考勤（教师手机端快捷操作） */
.att-batch-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.att-batch-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.att-batch-row .btn {
  height: 28px;
  padding: 0 9px;
  font-size: 11px;
}
@media (max-width: 720px) {
  .att-batch-row .btn {
    flex: 1;
    min-width: 70px;
  }
}

/* 新建班级/课程 */
.sch-new-course {
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px dashed #d9def2;
  border-radius: 12px;
  background: var(--surface-soft);
}
.sch-new-course[hidden] {
  display: none;
}

/* 课程/班级管理 */
.manage-tabs {
  margin-bottom: 12px;
}
.manage-list {
  display: flex;
  flex-direction: column;
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.manage-row:last-child {
  border-bottom: 0;
}
.manage-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.manage-row-main strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
.manage-row-main span {
  font-size: 11px;
  color: var(--muted);
}
.manage-row-actions {
  flex: none;
  display: flex;
  gap: 6px;
}
@media (max-width: 720px) {
  .manage-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .manage-row-actions {
    width: 100%;
  }
  .manage-row-actions .btn {
    flex: 1;
  }
}
