/* 托管 Tab · 亮色科技蓝（皮肤 A） */

.care-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
}

.care-panel[hidden] {
  display: none !important;
}

.care-view {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.care-view[hidden] {
  display: none !important;
}

.care-view--hub {
  background: var(--surface-page);
}

/* —— 机构头区：二维码 + 机构名 + 班级切换 —— */
.care-hub-promo {
  flex-shrink: 0;
  margin: 0;
  padding: 8px 20px 6px;
}

.care-hub-promo__bar.care-hub-bar.home-personal-bar {
  flex-shrink: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-bottom: none;
}

.care-hub-bar__lead {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 58%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.care-hub-promo__bar .care-scope-switcher {
  flex: 0 1 auto;
  min-width: 148px;
  max-width: 56%;
  margin-left: auto;
  padding: 6px 12px 6px 8px;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.care-hub-promo__bar .care-scope-switcher:active {
  transform: scale(0.98);
}

.care-hub-promo__org-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.care-hub-promo__org {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.care-hub-promo__qr {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: var(--radius-icon);
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.care-hub-promo__qr:active {
  transform: scale(0.94);
  background: rgba(76, 117, 242, 0.2);
}

.care-scope-switcher__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 16px;
  border-radius: var(--radius-icon);
}

.care-scope-switcher__icon svg {
  display: none;
}

.care-hub-promo__bar .home-child-switcher__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.care-hub-promo__bar .home-child-switcher__grade {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* 下滑：隐藏校区、突出班级 */
.care-hub-promo__bar.care-hub-bar.is-scrolled {
  min-height: 0;
  padding-top: 6px;
  align-items: center;
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .care-scope-switcher {
  min-height: 36px;
  min-width: 120px;
  padding: 0 10px 0 6px;
  gap: 8px;
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .care-scope-switcher__icon {
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 10px;
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .home-child-switcher__info {
  gap: 0;
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .home-child-switcher__name {
  display: none;
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .home-child-switcher__grade {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.care-hub-promo__bar.care-hub-bar.is-scrolled .home-child-switcher__chevron {
  font-size: 10px;
}

.care-hub-promo__bar .care-scope-switcher,
.care-hub-promo__bar .care-scope-switcher__icon,
.care-hub-promo__bar .home-child-switcher__info,
.care-hub-promo__bar .home-child-switcher__name,
.care-hub-promo__bar .home-child-switcher__grade {
  transition:
    min-height 0.2s ease,
    padding 0.2s ease,
    gap 0.2s ease,
    width 0.2s ease,
    height 0.2s ease,
    font-size 0.2s ease;
}

/* —— 主内容区 —— */
.care-hub-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 4px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.care-hub-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.care-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.care-card--flush {
  padding: 0;
}

.care-section-title {
  margin: 0;
  font-size: var(--font-size-subheading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* —— 筛选 Tab —— */
.care-student-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.care-student-filter {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.care-student-filter__btn {
  padding: 6px 12px;
  border: none;
  border-radius: var(--radius-chip);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.care-student-filter__btn.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 117, 242, 0.28);
}

.care-student-filter__btn:active {
  transform: scale(0.97);
}

.care-student-filter__btn:focus-visible,
.care-scope-switcher:focus-visible,
.care-hub-action:focus-visible,
.care-todo-menu__row:focus-visible,
.care-todo-menu__settings:focus-visible,
.care-todo-settings__row:focus-within,
.care-todo-settings__save:focus-visible,
.care-todo-menu__chip:focus-visible,
.care-todo-item:focus-visible,
.care-student-row:focus-visible,
.care-empty__btn:focus-visible,
.care-sheet-panel__primary:focus-visible,
.care-scope-chip:focus-visible,
.care-homework-card:focus-visible,
.care-hub-promo__qr:focus-visible,
.care-student-view .care-scope-switcher:focus-visible,
.care-student-pick-strip__item:focus-visible,
.care-student-pick-strip__add:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(76, 117, 242, 0.4);
}

/* —— Sheets —— */
.care-todo-sheet {
  z-index: 46;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}

.care-todo-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.care-todo-sheet__empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.care-todo-sheet--menu {
  max-height: 88%;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(165deg, #f8faff 0%, #f4f5f7 42%, #eef2ff 100%);
}

.care-todo-sheet--invite {
  max-height: 72%;
  padding: 0 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(165deg, #f8faff 0%, #f4f5f7 42%, #eef2ff 100%);
}

.care-invite-sheet {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 4px;
}

.care-invite-sheet__head {
  padding: 4px 4px 0;
}

.care-invite-sheet__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.care-invite-sheet__wechat-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: #07c160;
}

.care-invite-sheet__summary {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-secondary);
}

.care-invite-sheet__summary strong {
  color: var(--text-primary);
  font-weight: 700;
}

.care-invite-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.care-invite-sheet__cancel {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.care-invite-sheet__cancel:active {
  transform: scale(0.98);
  opacity: 0.85;
}

.care-todo-sheet--menu .care-todo-sheet__body {
  padding-top: 4px;
}

.care-todo-sheet--clock {
  max-height: 88%;
  padding-left: 16px;
  padding-right: 16px;
}

/* —— 今日待办弹窗 · 统一菜单 —— */
.care-todo-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.care-todo-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 0;
}

.care-todo-menu__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.care-todo-menu__settings {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-icon);
  background: var(--surface-page);
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.care-todo-menu__settings:active {
  transform: scale(0.96);
  color: var(--brand);
}

.care-todo-settings-backdrop {
  z-index: 48;
}

.care-todo-settings-sheet {
  z-index: 50;
  max-height: 88%;
  padding: 0 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(165deg, #f8faff 0%, #f4f5f7 42%, #eef2ff 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.care-todo-settings {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 12px;
}

.care-todo-settings__head {
  position: relative;
  flex-shrink: 0;
  padding: 2px 4px 0;
  overflow: hidden;
}

.care-todo-settings__glow {
  position: absolute;
  top: -28px;
  right: -12px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 117, 242, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.care-todo-settings__head-main {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.care-todo-settings__head-glyph {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(76, 117, 242, 0.14);
  box-shadow: 0 4px 14px rgba(76, 117, 242, 0.12);
  color: var(--brand);
  font-size: 17px;
}

.care-todo-settings__head-copy {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.care-todo-settings__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.care-todo-settings__desc {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.care-todo-settings__meta {
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(76, 117, 242, 0.1);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.care-todo-settings__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 4px;
  margin: 0 -2px;
}

.care-todo-settings__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.care-todo-settings__item {
  margin: 0;
  animation: care-todo-menu-in 0.38s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.care-todo-settings__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.care-todo-settings__row:active {
  transform: scale(0.985);
}

.care-todo-settings__row.is-on {
  border-color: rgba(76, 117, 242, 0.2);
  box-shadow: 0 4px 16px rgba(76, 117, 242, 0.1);
}

.care-todo-settings__row:not(.is-on) {
  opacity: 0.78;
}

.care-todo-settings__row:not(.is-on) .care-todo-menu__glyph {
  filter: grayscale(0.15);
}

.care-todo-settings__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.care-todo-settings__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.care-todo-settings__hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.care-todo-settings__toggle {
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: var(--radius-chip);
  background: #dde1ea;
  transition: background 0.2s ease;
}

.care-todo-settings__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-todo-settings__row.is-on .care-todo-settings__toggle {
  background: var(--brand);
}

.care-todo-settings__row.is-on .care-todo-settings__toggle-knob {
  transform: translateX(18px);
}

.care-todo-settings__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.care-todo-settings__foot {
  flex-shrink: 0;
  padding-top: 4px;
}

.care-todo-settings__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  box-shadow: var(--shadow-cta);
}

.care-todo-settings__save i {
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .care-todo-settings__item {
    animation: none;
  }

  .care-todo-settings__toggle,
  .care-todo-settings__toggle-knob,
  .care-todo-settings__row {
    transition: none;
  }
}

.care-todo-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.care-todo-menu__item {
  animation: care-todo-menu-in 0.38s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.care-todo-menu__item:nth-child(1) { animation-delay: 0.02s; }
.care-todo-menu__item:nth-child(2) { animation-delay: 0.05s; }
.care-todo-menu__item:nth-child(3) { animation-delay: 0.08s; }
.care-todo-menu__item:nth-child(4) { animation-delay: 0.11s; }
.care-todo-menu__item:nth-child(5) { animation-delay: 0.14s; }
.care-todo-menu__item:nth-child(6) { animation-delay: 0.17s; }
.care-todo-menu__item:nth-child(7) { animation-delay: 0.2s; }

@keyframes care-todo-menu-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.care-todo-menu__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.care-todo-menu__row:active:not(:disabled) {
  transform: scale(0.985);
}

.care-todo-menu__row--fold.is-expanded {
  border-color: rgba(76, 117, 242, 0.22);
  box-shadow: 0 4px 16px rgba(76, 117, 242, 0.1);
}

.care-todo-menu__item--muted .care-todo-menu__row {
  opacity: 0.72;
  cursor: default;
}

.care-todo-menu__glyph {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.care-todo-menu__glyph--amber {
  background: var(--tint-amber);
  color: var(--color-warning);
}

.care-todo-menu__glyph--blue {
  background: var(--tint-blue);
  color: var(--brand);
}

.care-todo-menu__glyph--rose {
  background: var(--tint-error-soft);
  color: var(--color-error-deep);
}

.care-todo-menu__glyph--teal {
  background: var(--tint-green);
  color: var(--color-success-deep);
}

.care-todo-menu__glyph--violet {
  background: var(--tint-violet);
  color: var(--color-premium);
}

.care-todo-menu__glyph--revise {
  background: var(--tint-revise);
  color: var(--color-revise);
}

.care-todo-menu__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.care-todo-menu__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.care-todo-menu__desc {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

.care-todo-menu__badge {
  flex-shrink: 0;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-chip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.care-todo-menu__badge--zero {
  background: var(--surface-page);
  color: var(--text-muted);
}

.care-todo-menu__trail {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.care-todo-menu__trail--go {
  background: var(--surface-page);
  color: var(--text-muted);
}

.care-todo-menu__row:not(:disabled):active .care-todo-menu__trail--go {
  background: var(--tint-blue);
  color: var(--brand);
}

.care-todo-menu__trail--fold {
  background: transparent;
  color: var(--text-muted);
}

.care-todo-menu__row--fold.is-expanded .care-todo-menu__trail--fold {
  transform: rotate(180deg);
  color: var(--brand);
}

.care-todo-menu__drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: -4px;
  transition: max-height 0.28s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.22s ease, margin 0.22s ease;
}

.care-todo-menu__drawer.is-open {
  max-height: 280px;
  opacity: 1;
  margin-top: 0;
}

.care-todo-menu__drawer[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
}

.care-todo-menu__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 4px 4px 56px;
}

.care-todo-menu__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.care-todo-menu__chip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-todo-menu__chip-arrow {
  flex-shrink: 0;
  font-size: 9px;
  color: var(--brand);
  opacity: 0.55;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.care-todo-menu__chip:active {
  transform: scale(0.97);
  border-color: rgba(76, 117, 242, 0.28);
  box-shadow: var(--shadow-chip-active);
}

.care-todo-menu__chip:active .care-todo-menu__chip-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.care-todo-menu__item--empty {
  animation: none;
}

.care-todo-menu__empty {
  margin: 0;
  padding: 12px 4px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .care-todo-menu__item,
  .care-todo-menu__drawer,
  .care-todo-menu__trail--fold {
    animation: none;
    transition: none;
  }
}

.care-clock-sheet.care-sheet-panel {
  gap: 0;
}

.care-clock-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.care-clock-sheet__head .care-sheet-panel__title {
  margin-bottom: 0;
}

.care-clock-sheet__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 18px;
}

.care-clock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: var(--radius-icon);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.care-clock-row__label {
  font-size: var(--font-size-body);
  font-weight: 600;
  color: var(--text-primary);
}

.care-clock-row__value {
  font-size: var(--font-size-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}

.care-clock-row__hint {
  margin-left: 6px;
  font-size: var(--font-size-caption);
  font-weight: 500;
  color: var(--text-muted);
}

.care-clock-block {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: var(--radius-icon);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.care-clock-block__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 10px;
}

.care-clock-block__head--spread {
  align-items: center;
  justify-content: space-between;
}

.care-clock-block__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

.care-clock-photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(76, 117, 242, 0.35);
  border-radius: var(--radius-icon);
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 22px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.care-clock-photo-btn:active {
  transform: scale(0.97);
  background: #e4ebff;
}

.care-clock-photo-btn.is-filled {
  padding: 0;
  border-style: solid;
  border-color: rgba(76, 117, 242, 0.2);
}

.care-clock-photo-preview {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--tint-blue) 0%, #d8e4ff 100%);
}

.care-clock-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.care-clock-select-all__input {
  width: 40px;
  height: 24px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.care-clock-students.care-scope-chip-list {
  margin-top: 2px;
}

.care-clock-submit.care-sheet-panel__primary {
  margin-top: 4px;
}

.care-todo-sheet-thumb {
  display: block;
  flex-shrink: 0;
  width: 52px;
  height: 68px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.care-todo-sheet-thumb::after {
  content: "";
  position: absolute;
  inset: 8px 6px;
  border-radius: 2px;
  opacity: 0.35;
}

.care-todo-sheet-thumb--math::after {
  background: repeating-linear-gradient(
    transparent,
    transparent 5px,
    rgba(76, 117, 242, 0.35) 5px,
    rgba(76, 117, 242, 0.35) 6px
  );
}

.care-todo-sheet-thumb--chinese::after {
  background: repeating-linear-gradient(
    transparent,
    transparent 7px,
    rgba(200, 80, 60, 0.3) 7px,
    rgba(200, 80, 60, 0.3) 8px
  );
}

.care-todo-sheet-thumb--english::after {
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(60, 160, 100, 0.25) 30%,
    rgba(60, 160, 100, 0.25) 70%,
    transparent 70%
  );
}

.care-todo-sheet-thumb--science::after {
  background: radial-gradient(circle at 50% 40%, rgba(120, 90, 200, 0.25) 0%, transparent 55%);
}

.care-todo-sheet-thumb--default::after {
  background: rgba(0, 0, 0, 0.06);
}

.care-sheet-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.care-sheet-panel__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.care-sheet-panel__summary {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.care-sheet-panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 42vh;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.care-sheet-panel__primary {
  flex-shrink: 0;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: none;
  border-radius: var(--radius-button);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.care-sheet-panel__primary:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.care-homework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-homework-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
}

.care-homework-card:active {
  opacity: 0.88;
}

.care-homework-card .care-todo-sheet-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 52 / 68;
}

.care-homework-card__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-homework-card__meta {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-todo-sheet--revise .care-homework-card__meta {
  color: var(--color-revise);
}

.care-student-search__results {
  margin-bottom: 0;
}

.care-scope-sheet__section + .care-scope-sheet__section {
  margin-top: 16px;
}

.care-scope-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.care-scope-sheet__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.care-scope-sheet__add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: var(--radius-chip);
  background: var(--tint-blue);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.care-scope-sheet__add i {
  font-size: 10px;
}

.care-scope-sheet__add:active {
  transform: scale(0.97);
  background: #e0e8ff;
}

.care-scope-sheet__add:focus-visible {
  outline: 2px solid rgba(76, 117, 242, 0.45);
  outline-offset: 2px;
}

.care-scope-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-scope-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-chip);
  background: var(--surface-page);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.care-scope-chip.is-active {
  background: var(--tint-blue);
  border-color: rgba(76, 117, 242, 0.35);
  color: var(--brand);
}

.care-scope-chip:active {
  transform: scale(0.97);
}

/* —— 快捷功能：权益宫格 —— */
.care-hub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.care-hub-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.care-hub-action:active {
  transform: scale(0.98);
}

.care-hub-action--camera,
.care-hub-action--circle {
  color: var(--text-primary);
}

.care-hub-action__icon-wrap {
  position: relative;
  display: inline-flex;
}

.care-hub-action__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.care-hub-action__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-chip);
  border: 2px solid var(--surface-card);
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.care-hub-action__badge[hidden] {
  display: none !important;
}

.care-hub-action__icon--blue {
  background: var(--tint-blue);
  color: var(--brand);
}

.care-hub-action__icon--teal {
  background: rgba(20, 184, 166, 0.14);
  color: #0f9f8f;
}

.care-hub-action__icon--violet {
  background: var(--tint-violet);
  color: var(--color-premium);
}

.care-hub-action__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* —— 今日待办 —— */
.care-todo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.care-todo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.care-todo-list > li:last-child .care-todo-item {
  border-bottom: none;
}

.care-todo-item--compact {
  min-height: 52px;
}

.care-todo-item--static {
  cursor: default;
}

.care-todo-list__item--summary {
  border-bottom: none;
}

.care-todo-list__item--summary .care-todo-item--static,
.care-todo-list__item--summary .care-todo-item--toggle {
  border-bottom: none;
}

.care-todo-item--toggle .care-todo-compact__text {
  flex: 1;
  min-width: 0;
}

.care-todo-inline-chevron {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.15s ease;
}

.care-todo-item--toggle.is-expanded .care-todo-inline-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.care-todo-item--toggle:active {
  background: var(--surface-page);
}

.care-todo-inline-panel[hidden] {
  display: none;
}

.care-todo-summary-students {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0 16px 12px 58px;
}

.care-todo-summary-student {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid rgba(76, 117, 242, 0.18);
  border-radius: var(--radius-chip);
  background: var(--tint-blue);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.care-todo-summary-student::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 9px;
  opacity: 0.55;
}

.care-todo-summary-student:active {
  transform: scale(0.97);
  background: #e4ebff;
  box-shadow: var(--shadow-chip-active);
}

.care-todo-summary-students__empty {
  margin: 0;
  padding: 0 16px 12px 58px;
  font-size: 12px;
  color: var(--text-muted);
}

.care-todo-compact__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.care-todo-compact__icon--amber {
  background: var(--tint-amber);
  color: var(--color-warning);
}

.care-todo-compact__icon--blue {
  background: var(--tint-blue);
  color: var(--brand);
}

.care-todo-compact__icon--rose {
  background: var(--tint-error-soft);
  color: var(--color-error-deep);
}

.care-todo-compact__icon--teal {
  background: var(--tint-green);
  color: var(--color-success-deep);
}

.care-todo-compact__icon--violet {
  background: var(--tint-violet);
  color: var(--color-premium);
}

.care-todo-compact__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.care-todo-compact__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.care-todo-compact__sep {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1;
}

.care-todo-compact__sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.care-todo-compact__action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
}

.care-todo-compact__action i {
  font-size: 9px;
  opacity: 0.85;
}

.care-todo-avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.care-todo-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: -6px;
}

.care-todo-avatar-wrap:first-child {
  margin-left: 0;
}

.care-todo-avatar-stack > .care-todo-avatar {
  margin-left: -6px;
}

.care-todo-avatar-stack > .care-todo-avatar:first-child {
  margin-left: 0;
}

.care-todo-avatar {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--surface-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.care-todo-avatar-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: var(--radius-chip);
  border: 1.5px solid var(--surface-card);
  background: var(--color-error-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 11px;
  text-align: center;
}

.care-todo-avatar-more {
  flex-shrink: 0;
  margin-left: 2px;
  padding: 0 6px;
  height: 20px;
  border-radius: var(--radius-chip);
  background: var(--surface-page);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
}

/* 轻快马卡龙色：浅底 + 深色字，避免饱和实心块 */
.care-todo-avatar--amber {
  background: #fff4e0;
  color: #c27803;
}

.care-todo-avatar--blue {
  background: #e8efff;
  color: #3d63d8;
}

.care-todo-avatar--violet {
  background: #f0ebff;
  color: #7c5ce0;
}

.care-todo-avatar--green {
  background: #e6faf0;
  color: #0d9668;
}

.care-todo-avatar--rose {
  background: #ffeef2;
  color: #e2557a;
}

.care-todo-avatar--teal {
  background: #e4f7f4;
  color: #0f9b8e;
}

.care-todo-item:active {
  background: var(--tint-blue);
}

/* —— 学生状态列表 —— */
.care-student-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.care-student-list__empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.care-student-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.care-student-list > li:last-child .care-student-row {
  border-bottom: none;
}

.care-student-row:active {
  background: var(--tint-blue);
}

.care-student-row__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 13px;
  border: none;
}

.care-student-row__name {
  flex-shrink: 0;
  min-width: 3em;
  max-width: 5.5em;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.care-student-row__tags {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.care-student-row__tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: var(--radius-chip);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.care-student-row__tag--homework.care-student-row__tag--pending {
  background: var(--tint-error-soft);
  color: var(--color-error-deep);
}

.care-student-row__tag--revise.care-student-row__tag--pending {
  background: var(--tint-revise);
  color: var(--color-revise);
}

/* —— 空状态 —— */
.care-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 56px;
  text-align: center;
  background: var(--surface-page);
}

.care-empty__visual {
  position: relative;
  margin-bottom: 20px;
}

.care-empty__glow {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: rgba(224, 231, 255, 0.55);
  animation: care-empty-pulse 2.8s ease-in-out infinite;
}

@keyframes care-empty-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.care-empty__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-card);
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-cta);
}

.care-empty__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 280px;
}

.care-empty__desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 280px;
}

.care-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-button);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.care-empty__btn:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.care-empty__btn--secondary {
  margin-top: 12px;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  border: 1px solid rgba(76, 117, 242, 0.35);
}

.care-empty__btn--secondary:active {
  background: var(--tint-blue);
}

/* —— 学生详情视图 —— */
.care-student-view {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-page);
}

.care-student-view[hidden] {
  display: none !important;
}

/* —— 学生详情页 · 复用 care-hub 机构头区 —— */
.care-student-view .care-hub-promo {
  flex-shrink: 0;
}

.care-student-class-actions {
  flex-shrink: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0 20px 16px;
  max-height: 120px;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  transition:
    max-height 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.26s ease,
    padding 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    margin 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-view.is-class-actions-hidden .care-student-class-actions {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.care-student-camera-fab {
  position: absolute;
  right: 20px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #5b8af5, var(--brand));
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(76, 117, 242, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.care-student-camera-fab:active {
  transform: scale(0.94);
  box-shadow: 0 4px 12px rgba(76, 117, 242, 0.35);
}

.care-student-camera-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(76, 117, 242, 0.45);
}

.care-student-class-actions .care-hub-action {
  min-height: 84px;
  padding: 12px 8px;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.care-student-class-actions .care-hub-action__icon {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.care-student-class-actions .care-hub-action__label {
  width: 100%;
  font-size: 12px;
  line-height: 1.25;
}

.care-hub-action__icon--amber {
  background: var(--tint-amber);
  color: var(--color-warning);
}

.care-hub-action--todo {
  color: var(--text-primary);
}

/* —— 学生工作区 · 与班级功能区分层 —— */
.care-student-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 12px;
  border-radius: 20px 20px 0 0;
  background: var(--surface-card);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -12px 40px rgba(76, 117, 242, 0.1),
    0 0 0 1px rgba(76, 117, 242, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-radius 0.25s ease;
}

.care-student-view.is-class-actions-hidden .care-student-workspace {
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -6px 28px rgba(76, 117, 242, 0.08),
    0 0 0 1px rgba(76, 117, 242, 0.05);
}

.care-student-workspace::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(76, 117, 242, 0.45) 18%,
    rgba(76, 117, 242, 0.75) 50%,
    rgba(76, 117, 242, 0.45) 82%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* —— 学生选择 · 工作区顶栏横排 —— */
.care-student-pick-strip {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(76, 117, 242, 0.07);
  background:
    linear-gradient(180deg, rgba(76, 117, 242, 0.05) 0%, rgba(76, 117, 242, 0.01) 72%, transparent 100%);
}

.care-student-pick-strip__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 10px 16px 4px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.care-student-pick-strip__list::-webkit-scrollbar {
  display: none;
}

.care-student-pick-strip__list > li {
  flex: 0 0 auto;
}

.care-student-pick-strip__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 34px;
  min-height: 58px;
  padding: 10px 7px 14px;
  border: 1px solid transparent;
  border-radius: 12px 12px 0 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.26s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.26s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.26s cubic-bezier(0.33, 1, 0.68, 1),
    color 0.22s ease,
    transform 0.18s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-pick-strip__name {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition:
    color 0.22s ease,
    font-weight 0.22s ease;
}

.care-student-pick-strip__item:active {
  transform: scale(0.98);
}

.care-student-pick-strip__item.is-active {
  border-color: rgba(76, 117, 242, 0.12);
  border-bottom-color: transparent;
  background: var(--surface-card);
  box-shadow: 0 -2px 12px rgba(76, 117, 242, 0.06);
}

.care-student-pick-strip__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  transform: translateX(-50%) scaleX(1);
  transform-origin: center bottom;
  opacity: 1;
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-pick-strip__item:not(.is-active):not(.care-student-pick-strip__add)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  transform: translateX(-50%) scaleX(0.4);
  transform-origin: center bottom;
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-pick-strip__item.is-active .care-student-pick-strip__name {
  color: var(--brand-deep);
  font-weight: 700;
}

.care-student-pick-strip__add {
  flex-direction: column;
  gap: 4px;
  min-width: 36px;
  border: 1px dashed rgba(76, 117, 242, 0.28);
  border-radius: 12px 12px 0 0;
  background: rgba(76, 117, 242, 0.04);
}

.care-student-pick-strip__add:active {
  background: rgba(76, 117, 242, 0.1);
}

.care-student-pick-strip__add-icon {
  font-size: 11px;
  line-height: 1;
  color: var(--brand);
}

.care-student-pick-strip__add-label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.care-student-pick-empty {
  padding: 10px 0 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  list-style: none;
  white-space: nowrap;
}

/* —— 学生详情主内容 —— */
.care-student-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-card);
}

/* —— 学生详情页 · 皮肤 A 对齐 —— */
.care-student-view .care-student-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  background: var(--surface-card);
  scroll-behavior: smooth;
  transition: flex-basis 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-view .app-shell {
  padding-top: 18px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transition: opacity 0.22s ease;
}

.care-student-view .feature-icons {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.care-student-view .feature-icon__box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-icon);
}

.care-student-view .feature-icon__box--rose {
  background: #fef2f2;
  color: #e11d48;
}

.care-student-view .feature-icon__box--sky {
  background: #e8f6ff;
  color: #1a7fd4;
}

.care-student-view .feature-icon__box--goals {
  flex-direction: column;
  gap: 3px;
  padding: 7px 4px 6px;
}

.care-student-view .feature-icon__goals-deco {
  font-size: 11px;
  line-height: 1;
  opacity: 0.9;
  color: #1a7fd4;
}

.care-student-view .feature-icon__goals-count {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #0b6cb8;
  transition:
    color 0.22s ease,
    transform 0.26s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-view .feature-icon__goals-count.is-updating {
  transform: scale(0.92);
}

.care-student-view .feature-icon--display {
  cursor: default;
}

.care-student-view #careStudentPointsFeature:active .feature-icon__box {
  transform: scale(0.94);
}

.care-student-view .feature-icon {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.care-student-view .feature-icon__box {
  position: relative;
  transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
}

.care-student-view .feature-icon__guide-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-warning);
  border: 2px solid var(--surface-card);
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.45);
  animation: care-feature-guide-dot 1.8s ease-out infinite;
}

.care-student-view .feature-icon--guide .feature-icon__box {
  animation: care-feature-guide-box 2.4s ease-in-out infinite;
}

@keyframes care-feature-guide-dot {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

@keyframes care-feature-guide-box {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 4px 14px rgba(225, 29, 72, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  .care-student-view .care-student-main,
  .care-student-pick-strip__list {
    scroll-behavior: auto;
  }

  .care-student-view .feature-icon__guide-dot,
  .care-student-view .feature-icon--guide .feature-icon__box {
    animation: none;
  }

  .care-student-class-actions,
  .care-student-pick-strip__item,
  .care-student-pick-strip__name,
  .care-student-view .feature-icon__box,
  .care-student-view .feature-icon__goals-count {
    transition: none;
  }
}

.care-student-view .feature-icon:active .feature-icon__box {
  transform: scale(0.97);
}

.care-student-view .feature-icon__box--teal {
  background: #ecfeff;
  color: #0891b2;
}

.care-student-view .module--homework,
.care-student-view .module--goals,
.care-student-view .care-feed-item__panel {
  border-radius: var(--radius-card);
  background: #f8f9fc;
  border: 1px solid rgba(76, 117, 242, 0.06);
  box-shadow: none;
}

.care-student-view .btn-publish {
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-cta);
  font-weight: 600;
  transition: transform 0.15s ease;
}

.care-student-view .btn-publish:active {
  transform: scale(0.98);
}
