/* UI基础：按Main.png核对。独立命名空间，阶段A尚未接入业务页面。 */
.ui-root {
  --ui-primary: #2b4c7e;
  --ui-primary-soft: #eef1f6;
  --ui-primary-hover: #203d68;
  --ui-page: #f4f2f7;
  --ui-panel: #ffffff;
  --ui-text: #1e1a26;
  --ui-secondary: #3f3a48;
  --ui-muted: #6b6476;
  --ui-border: #e3deea;
  --ui-input-border: #d5cedf;
  --ui-header: #faf9fc;
  --ui-divider: #efebf3;
  --ui-success-bg: #e6f4ea;
  --ui-success: #256b40;
  --ui-warning-bg: #fdf0df;
  --ui-warning: #8a4506;
  --ui-error-bg: #fbe9eb;
  --ui-error: #9b2c35;
  --ui-info-bg: #e6eff8;
  --ui-info: #285480;
  --ui-neutral-bg: #f1eff4;
  --ui-neutral: #5e5869;
  --ui-category-1: #8b7bb5;
  --ui-category-1-soft: #f0eaf7;
  --ui-category-1-text: #594275;
  --ui-category-2: #5b8db8;
  --ui-category-2-soft: #e6eff8;
  --ui-category-2-text: #285480;
  --ui-category-3: #62a598;
  --ui-category-3-soft: #e7f3ee;
  --ui-category-3-text: #235e4b;
  --ui-category-4: #c99a54;
  --ui-category-4-soft: #fdf0df;
  --ui-category-4-text: #79511d;
  --ui-category-5: #b7768c;
  --ui-category-5-soft: #fbe9ef;
  --ui-category-5-text: #8b334b;
  --ui-category-6: #7b93ab;
  --ui-category-6-soft: #edf1f5;
  --ui-category-6-text: #41566b;
  --ui-category-7: #a48b69;
  --ui-category-7-soft: #f7f0e6;
  --ui-category-7-text: #6e5334;
  --ui-category-8: #8c9d62;
  --ui-category-8-soft: #f1f4e8;
  --ui-category-8-text: #4e622b;
  --ui-font:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ui-font-xs: 12px;
  --ui-font-sm: 13px;
  --ui-font-body: 14px;
  --ui-font-section: 16px;
  --ui-font-title: 22px;
  --ui-font-number: 28px;
  --ui-weight-regular: 400;
  --ui-weight-medium: 500;
  --ui-weight-heading: 600;
  --ui-weight-number: 700;
  --ui-space-1: 4px;
  --ui-space-2: 8px;
  --ui-space-3: 12px;
  --ui-space-4: 16px;
  --ui-space-6: 24px;
  --ui-space-8: 32px;
  --ui-space-12: 48px;
  --ui-radius-tag: 6px;
  --ui-radius-control: 9px;
  --ui-radius-avatar: 10px;
  --ui-radius-panel: 14px;
  --ui-touch: 44px;
  --ui-button-visual: 36px;
  --ui-sidebar: 232px;
  --ui-topbar: 64px;
  --ui-content-max: 1360px;
  --ui-drawer: 520px;
  --ui-shadow-hover: 0 6px 18px rgb(30 26 38 / 8%);
  --ui-shadow-panel: 0 16px 56px rgb(30 26 38 / 14%);
  --ui-shadow-toast: 0 8px 28px rgb(30 26 38 / 12%);
  --ui-focus: 0 0 0 3px rgb(43 76 126 / 20%);
  --ui-duration-press: 120ms;
  --ui-duration-micro: 160ms;
  --ui-duration-page: 180ms;
  --ui-duration-panel: 240ms;
  --ui-ease-enter: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ui-ease-exit: cubic-bezier(0.4, 0, 1, 1);
  font-family: var(--ui-font);
  font-size: var(--ui-font-body);
  line-height: 1.6;
  color: var(--ui-text);
  font-variant-numeric: tabular-nums;
  color-scheme: light;
}
.ui-root[data-ui-theme="purple"] {
  --ui-primary: #3b2a5e;
  --ui-primary-hover: #2c1e48;
  --ui-primary-soft: #efedf2;
}
.ui-root[data-ui-theme="green"] {
  --ui-primary: #1f6b5c;
  --ui-primary-hover: #155044;
  --ui-primary-soft: #edf3f2;
}
.ui-root[data-ui-theme="red"] {
  --ui-primary: #8a3b2e;
  --ui-primary-hover: #6b2a20;
  --ui-primary-soft: #f6efee;
}

.ui-root *,
.ui-root *::before,
.ui-root *::after {
  box-sizing: border-box;
}
.ui-root [hidden] {
  display: none !important;
}
.ui-root button,
.ui-root input,
.ui-root textarea,
.ui-root select {
  font: inherit;
}
.ui-root button {
  cursor: pointer;
}
.ui-root button:disabled {
  cursor: wait;
}
.ui-root :focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: 3px;
}
.ui-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ui-icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--ui-secondary);
  text-decoration: none;
  border-radius: var(--ui-radius-control);
  transition:
    transform var(--ui-duration-press) var(--ui-ease-enter),
    opacity var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-button-face {
  min-height: var(--ui-button-visual);
  padding: 6px 14px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ui-panel);
  color: inherit;
  font-size: 13px;
  line-height: 22px;
}
.ui-button--primary .ui-button-face {
  background: var(--ui-primary);
  border-color: var(--ui-primary);
  color: white;
  font-weight: 600;
}
.ui-button--danger .ui-button-face {
  color: var(--ui-error);
  border-color: #e8aab0;
}
.ui-button--link .ui-button-face {
  color: var(--ui-primary);
  border-color: transparent;
  background: transparent;
  padding-inline: 8px;
}
.ui-button--icon {
  padding: 4px;
}
.ui-button--icon .ui-button-face {
  width: 36px;
  padding: 0;
}
.ui-button[aria-busy="true"] {
  opacity: 0.75;
}
.ui-button:disabled:not([aria-busy="true"]) {
  opacity: 0.5;
  cursor: not-allowed;
}
.ui-button:active:not(:disabled),
.ui-interactive:active {
  transform: translateY(0) scale(0.99);
}
.ui-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ui-spin 700ms linear infinite;
}
@keyframes ui-spin {
  to {
    transform: rotate(360deg);
  }
}
.ui-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.ui-field-label {
  font-size: 13px;
  color: var(--ui-text);
}
.ui-control {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  background: white;
  color: var(--ui-text);
  line-height: 24px;
}
.ui-control::placeholder {
  color: var(--ui-muted);
  opacity: 1;
}
.ui-control:focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: 2px;
}
.ui-control[aria-invalid="true"] {
  border-color: var(--ui-error);
}
.ui-control:disabled {
  background: var(--ui-header);
  cursor: not-allowed;
}
textarea.ui-control {
  min-height: 96px;
  resize: vertical;
}
.ui-field-hint,
.ui-field-error {
  font-size: 12px;
  line-height: 18px;
  margin: 0;
}
.ui-field-hint {
  color: var(--ui-muted);
}
.ui-field-error {
  color: var(--ui-error);
}
.ui-switch-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  padding: 9px 12px;
  min-height: 64px;
}
.ui-switch-copy {
  flex: 1;
  min-width: 0;
}
.ui-switch-label {
  display: block;
  font-size: 14px;
}
.ui-switch-description {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--ui-muted);
}
.ui-switch {
  border: 0;
  padding: 0;
  min-width: 44px;
  height: 44px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
}
.ui-switch-track {
  display: block;
  width: 40px;
  height: 24px;
  background: var(--ui-input-border);
  position: relative;
  border-radius: 20px;
}
.ui-switch-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ui-primary);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-switch[aria-checked="true"] .ui-switch-track::before {
  opacity: 1;
}
.ui-switch-knob {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-switch[aria-checked="true"] .ui-switch-knob {
  transform: translateX(16px);
}
.ui-switch[aria-busy="true"] .ui-switch-knob::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid var(--ui-primary);
  border-right-color: transparent;
  border-radius: 50%;
  animation: ui-spin 700ms linear infinite;
}
.ui-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  gap: 4px;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
}
.ui-badge--success {
  color: var(--ui-success);
  background: var(--ui-success-bg);
}
.ui-badge--warning {
  color: var(--ui-warning);
  background: var(--ui-warning-bg);
}
.ui-badge--error {
  color: var(--ui-error);
  background: var(--ui-error-bg);
}
.ui-badge--info {
  color: var(--ui-info);
  background: var(--ui-info-bg);
}
.ui-badge--piano {
  border-left: 3px solid var(--ui-category-2);
  color: var(--ui-category-2-text);
  background: var(--ui-category-2-soft);
}
.ui-badge--voice {
  border-left: 3px solid var(--ui-category-3);
  color: var(--ui-category-3-text);
  background: var(--ui-category-3-soft);
}
.ui-badge--theory {
  border-left: 3px solid var(--ui-category-4);
  color: var(--ui-category-4-text);
  background: var(--ui-category-4-soft);
}
.ui-badge--training {
  border-left: 3px solid var(--ui-category-1);
  color: var(--ui-category-1-text);
  background: var(--ui-category-1-soft);
}
.ui-badge--art {
  border-left: 3px solid var(--ui-category-5);
  color: var(--ui-category-5-text);
  background: var(--ui-category-5-soft);
}
.ui-card {
  background: white;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  padding: 20px;
  min-width: 0;
}
.ui-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.ui-card-description {
  color: var(--ui-muted);
  margin: 4px 0 0;
  font-size: 12px;
}
.ui-interactive {
  transition:
    transform var(--ui-duration-micro) var(--ui-ease-enter),
    opacity var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-number {
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
}
.ui-number--primary {
  color: var(--ui-primary);
}
.ui-metric-flash {
  animation: ui-highlight 1000ms var(--ui-ease-enter);
}
@keyframes ui-highlight {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
.ui-empty {
  padding: 20px 16px;
  border: 1px dashed var(--ui-input-border);
  border-radius: 12px;
  text-align: center;
}
.ui-empty .ui-icon {
  width: 32px;
  height: 32px;
  color: var(--ui-muted);
  margin-bottom: 8px;
}
.ui-empty h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.ui-empty p {
  color: var(--ui-muted);
  font-size: 12px;
  margin: 4px 0 0;
}
.ui-skeleton {
  display: block;
  background: var(--ui-divider);
  border-radius: 6px;
  min-height: 16px;
  animation: ui-pulse 1200ms ease-in-out infinite alternate;
}
.ui-skeleton--short {
  width: 40%;
}
.ui-skeleton--medium {
  width: 70%;
}
.ui-skeleton--line {
  width: 100%;
}
.ui-skeleton--number {
  width: 80px;
  height: 34px;
}
@keyframes ui-pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
.ui-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--ui-muted);
  font-size: 12px;
}
.ui-pagination-actions {
  display: flex;
  gap: 8px;
}
.ui-list {
  position: relative;
  min-width: 0;
}
.ui-list-tools {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ui-search {
  display: flex;
  position: relative;
  flex: 1;
  min-width: min(200px, 100%);
  align-items: center;
}
.ui-search .ui-control {
  padding-inline: 38px 44px;
}
.ui-search-icon {
  position: absolute;
  left: 12px;
  color: var(--ui-muted);
  pointer-events: none;
}
.ui-search .ui-button {
  position: absolute;
  right: 0;
}
.ui-search .ui-button-face {
  border: 0;
  background: transparent;
}
.ui-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
}
.ui-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.ui-table th {
  height: 44px;
  padding: 0 12px;
  color: var(--ui-muted);
  background: var(--ui-header);
  border-bottom: 1px solid var(--ui-border);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ui-table td {
  padding: 0;
  border-bottom: 1px solid var(--ui-divider);
  vertical-align: middle;
}
.ui-table tr:last-child td {
  border-bottom: 0;
}
.ui-cell {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows var(--ui-duration-panel) var(--ui-ease-exit),
    opacity var(--ui-duration-panel) var(--ui-ease-exit);
}
.ui-cell-clip {
  min-height: 0;
  overflow: hidden;
}
.ui-cell-body {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  gap: 4px;
}
.ui-table .ui-actions .ui-cell-body {
  justify-content: flex-end;
  white-space: nowrap;
}
.ui-sort {
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font: inherit;
  min-width: 44px;
}
.ui-sort .ui-icon {
  width: 14px;
  height: 14px;
}
.ui-row {
  transition:
    opacity var(--ui-duration-micro) var(--ui-ease-enter),
    transform var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-row.is-inserting {
  animation: ui-row-enter var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-row.is-removing .ui-cell {
  grid-template-rows: 0fr;
  opacity: 0;
}
.ui-row.is-saving {
  opacity: 0.55;
}
.ui-row.is-dragging {
  opacity: 0.6;
}
.ui-row.is-drop-target {
  outline: 2px solid var(--ui-primary);
  outline-offset: -2px;
}
.ui-row.is-selected {
  background: var(--ui-primary-soft);
}
@keyframes ui-row-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ui-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--ui-primary);
}
.ui-check-hit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
}
.ui-list-scope {
  color: var(--ui-muted);
  font-size: 12px;
  margin: 0 0 8px;
}
.ui-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ui-button--chip .ui-button-face {
  background: var(--ui-primary-soft);
  border-color: var(--ui-border);
  color: var(--ui-primary);
  font-size: 12px;
}
.ui-progress {
  position: absolute;
  top: -2px;
  inset-inline: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.ui-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ui-primary);
  transform-origin: left;
  animation: ui-progress 1200ms var(--ui-ease-enter) infinite;
}
.ui-list[aria-busy="true"] .ui-progress {
  opacity: 1;
}
@keyframes ui-progress {
  from {
    transform: scaleX(0.08);
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
.ui-batch-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--ui-shadow-panel);
  opacity: 0;
  transform: translate(-50%, 130%);
  transition:
    transform var(--ui-duration-panel) var(--ui-ease-enter),
    opacity var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-batch-bar.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}
.ui-overlay {
  position: fixed;
  inset: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  border: 0;
  background: transparent;
  color: var(--ui-text);
  overflow: hidden;
}
.ui-overlay::backdrop {
  background: transparent;
}
.ui-overlay-mask {
  position: absolute;
  inset: 0;
  background: rgb(30 26 38 / 34%);
  opacity: 0;
  transition: opacity var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-sheet {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 520px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: var(--ui-shadow-panel);
  opacity: 0;
  transform: translateX(100%);
  transition:
    transform var(--ui-duration-panel) var(--ui-ease-enter),
    opacity var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-overlay--modal .ui-sheet {
  top: 50%;
  left: 50%;
  right: auto;
  width: 480px;
  max-width: calc(100% - 32px);
  height: auto;
  max-height: calc(100% - 48px);
  border-radius: 14px;
  transform: translate(-50%, -50%) scale(0.96);
}
.ui-overlay.is-open .ui-overlay-mask {
  opacity: 1;
}
.ui-overlay.is-open .ui-sheet {
  opacity: 1;
  transform: translateX(0);
}
.ui-overlay--modal.is-open .ui-sheet {
  transform: translate(-50%, -50%) scale(1);
}
.ui-overlay.is-closing .ui-overlay-mask,
.ui-overlay.is-closing .ui-sheet {
  transition-timing-function: var(--ui-ease-exit);
}
.ui-sheet-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--ui-border);
  flex: none;
}
.ui-sheet-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.ui-sheet-body {
  padding: 24px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.ui-sheet-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--ui-border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex: none;
}
.ui-sheet-footer:empty {
  display: none;
}
.ui-toast-region {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 360px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.ui-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: white;
  padding: 8px 8px 8px 16px;
  box-shadow: var(--ui-shadow-toast);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    transform var(--ui-duration-micro) var(--ui-ease-enter),
    opacity var(--ui-duration-micro) var(--ui-ease-enter);
  pointer-events: auto;
}
.ui-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}
.ui-toast-message {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.ui-toast--success > .ui-icon {
  color: var(--ui-success);
}
.ui-toast--error > .ui-icon {
  color: var(--ui-error);
}
.ui-toast--info > .ui-icon {
  color: var(--ui-primary);
}
.ui-select,
.ui-date {
  position: relative;
  min-width: 0;
}
.ui-picker-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 8px;
}
.ui-popover {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--ui-shadow-panel);
  padding: 4px;
  animation: ui-fade var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-popover.is-above {
  top: auto;
  bottom: calc(100% + 6px);
}
.ui-popover.is-end {
  left: auto;
  right: 0;
}
.ui-select-options {
  list-style: none;
  margin: 0;
  max-height: 240px;
  overflow: auto;
}
.ui-select-option {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.ui-select-option.is-current {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
.ui-select-option[aria-selected="true"] {
  color: var(--ui-primary);
  font-weight: 600;
}
.ui-calendar {
  min-width: 294px;
  max-width: calc(100vw - 32px);
  padding: 12px;
}
.ui-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ui-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}
.ui-calendar-weekday {
  text-align: center;
  font-size: 12px;
  color: var(--ui-muted);
  padding: 6px 0;
}
.ui-calendar-day {
  min-height: 44px;
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ui-text);
}
.ui-calendar-day.is-outside {
  color: var(--ui-muted);
}
.ui-calendar-day[aria-selected="true"] {
  background: var(--ui-primary);
  color: white;
}
.ui-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--ui-primary);
}
.ui-disclosure-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ui-text);
  padding: 0 12px;
  border-radius: 9px;
}
.ui-disclosure-toggle .ui-icon {
  transition: transform var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-disclosure-toggle[aria-expanded="true"] .ui-icon {
  transform: rotate(90deg);
}
.ui-disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--ui-duration-panel) var(--ui-ease-enter);
}
.ui-disclosure-panel.is-open {
  grid-template-rows: 1fr;
}
.ui-disclosure-inner {
  overflow: hidden;
  min-height: 0;
}
.ui-page-enter {
  animation: ui-fade var(--ui-duration-page) var(--ui-ease-enter);
}
@keyframes ui-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (hover: hover) {
  .ui-button:hover:not(:disabled) .ui-button-face {
    border-color: var(--ui-primary);
    color: var(--ui-primary);
    background: var(--ui-primary-soft);
  }
  .ui-button--primary:hover:not(:disabled) .ui-button-face {
    color: white;
    background: var(--ui-primary-hover);
  }
  .ui-button--danger:hover:not(:disabled) .ui-button-face {
    border-color: var(--ui-error);
    color: var(--ui-error);
    background: var(--ui-error-bg);
  }
  .ui-interactive:hover {
    transform: translateY(-2px);
    border-color: var(--ui-input-border);
    box-shadow: var(--ui-shadow-hover);
  }
  .ui-row:hover:not(.is-selected) {
    background: var(--ui-header);
  }
  .ui-select-option:hover,
  .ui-calendar-day:hover:not([aria-selected="true"]) {
    background: var(--ui-primary-soft);
    color: var(--ui-primary);
  }
}
@media (max-width: 600px) {
  .ui-button-face {
    min-height: 44px;
  }
  .ui-button--icon .ui-button-face {
    height: 44px;
    width: 44px;
  }
  .ui-button {
    padding-block: 0;
  }
  .ui-control {
    font-size: 16px;
  }
  .ui-sheet {
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    transform: translateY(100%);
  }
  .ui-overlay.is-open .ui-sheet {
    transform: translateY(0);
  }
  .ui-overlay--modal .ui-sheet {
    width: calc(100% - 32px);
    height: auto;
    transform: translate(-50%, -50%) scale(0.96);
  }
  .ui-overlay--modal.is-open .ui-sheet {
    transform: translate(-50%, -50%) scale(1);
  }
  .ui-sheet-body {
    padding: 20px 16px;
  }
  .ui-sheet-header,
  .ui-sheet-footer {
    padding-inline: 16px;
  }
  .ui-toast-region {
    top: 16px;
    left: 16px;
    right: 16px;
    width: auto;
  }
  .ui-batch-bar {
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: calc(100% - 32px);
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
  }
  .ui-calendar {
    min-width: 294px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-root {
    --ui-duration-press: 0ms;
    --ui-duration-micro: 120ms;
    --ui-duration-panel: 120ms;
  }
  .ui-root *,
  .ui-root *::before,
  .ui-root *::after {
    animation-name: none !important;
  }
  .ui-button,
  .ui-interactive,
  .ui-switch-knob,
  .ui-row,
  .ui-batch-bar,
  .ui-sheet,
  .ui-toast,
  .ui-disclosure-toggle .ui-icon {
    transition-property: opacity;
  }
  .ui-interactive:hover {
    transform: none;
  }
  .ui-button:active:not(:disabled),
  .ui-interactive:active {
    transform: none;
  }
  .ui-cell,
  .ui-disclosure-panel {
    transition-property: opacity;
  }
  .ui-skeleton {
    animation: ui-reduced-pulse 1800ms ease-in-out infinite alternate !important;
  }
  @keyframes ui-reduced-pulse {
    from {
      opacity: 0.6;
    }
    to {
      opacity: 1;
    }
  }
}
.ui-mobile-label,
.ui-mobile-sort {
  display: none;
}
.ui-calendar {
  min-width: 334px;
}
.ui-calendar-week {
  display: contents;
}
.ui-row.is-clickable {
  cursor: pointer;
}
@media (hover: hover) {
  .ui-row.is-clickable:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-hover);
    outline: 1px solid var(--ui-input-border);
  }
}
@media (max-width: 600px) {
  .ui-calendar,
  .ui-calendar.is-above {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 8px;
  }
  .ui-mobile-sort {
    display: flex;
    width: 100%;
  }
  .ui-table-scroll:has(.ui-table--responsive) {
    overflow: visible;
    border: 0;
  }
  .ui-table--responsive,
  .ui-table--responsive tbody {
    display: block;
  }
  .ui-table--responsive thead {
    display: none;
  }
  .ui-table--responsive tbody {
    display: grid;
    gap: 12px;
  }
  .ui-table--responsive tr {
    display: block;
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    background: white;
  }
  .ui-table--responsive td {
    display: block;
    border: 0;
  }
  .ui-table--responsive .ui-cell-body {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ui-mobile-label {
    display: block;
    color: var(--ui-muted);
    font-size: 12px;
    margin-right: auto;
  }
}
.ui-sheet-body {
  flex: 1;
}
.ui-badge--category-1 {
  border-left: 3px solid var(--ui-category-1);
  color: var(--ui-category-1-text);
  background: var(--ui-category-1-soft);
}
.ui-badge--category-2 {
  border-left: 3px solid var(--ui-category-2);
  color: var(--ui-category-2-text);
  background: var(--ui-category-2-soft);
}
.ui-badge--category-3 {
  border-left: 3px solid var(--ui-category-3);
  color: var(--ui-category-3-text);
  background: var(--ui-category-3-soft);
}
.ui-badge--category-4 {
  border-left: 3px solid var(--ui-category-4);
  color: var(--ui-category-4-text);
  background: var(--ui-category-4-soft);
}
.ui-badge--category-5 {
  border-left: 3px solid var(--ui-category-5);
  color: var(--ui-category-5-text);
  background: var(--ui-category-5-soft);
}
.ui-badge--category-6 {
  border-left: 3px solid var(--ui-category-6);
  color: var(--ui-category-6-text);
  background: var(--ui-category-6-soft);
}
.ui-badge--category-7 {
  border-left: 3px solid var(--ui-category-7);
  color: var(--ui-category-7-text);
  background: var(--ui-category-7-soft);
}
.ui-badge--category-8 {
  border-left: 3px solid var(--ui-category-8);
  color: var(--ui-category-8-text);
  background: var(--ui-category-8-soft);
}
.ui-row.is-clickable:active {
  transform: translateY(0) scale(0.99);
}
.ui-cell {
  position: relative;
}
.ui-cell-clip {
  position: relative;
  z-index: 1;
}
.ui-row.is-inserting .ui-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ui-primary-soft);
  opacity: 0;
  animation: ui-row-highlight 1000ms var(--ui-ease-enter);
}
@keyframes ui-row-highlight {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-row.is-clickable:active {
    transform: none;
  }
}

.ui-page-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--ui-space-3);
  flex-wrap: wrap;
}
.ui-page-tabs {
  display: flex;
  gap: var(--ui-space-2);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ui-border);
}
.ui-page-tabs .ui-button-face {
  border: 0;
  border-radius: 0;
  background: none;
}
.ui-page-tabs [aria-current="page"] .ui-button-face {
  color: var(--ui-primary);
  border-bottom: 2px solid var(--ui-primary);
  font-weight: 600;
}
.ui-filter-bar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--ui-space-3);
  margin: var(--ui-space-4) 0;
}
.ui-filter-bar input[type="search"] {
  max-width: 280px;
}
.ui-filter-bar .ui-select {
  max-width: 180px;
}
.ui-c1-drawer .ui-sheet {
  width: min(560px, 100vw);
}
.ui-form-grid {
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ui-space-3);
}
.ui-month-picker {
  display: flex;
  align-items: center;
  gap: var(--ui-space-3);
}
.ui-upload {
  border: 2px dashed var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: var(--ui-space-6);
  text-align: center;
}
.ui-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .ui-c1-drawer .ui-sheet {
    width: 100vw;
  }
  .ui-form-grid {
    grid-template-columns: 1fr;
  }
  .ui-page-tabs {
    width: 100%;
  }
}

/* C1 structural alignment; values reuse A tokens. */
.ui-number,
.ui-number .ui-sort {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ui-number .ui-sort {
  justify-content: flex-end;
  width: 100%;
}
.ui-tab-count {
  margin-inline-start: var(--ui-space-2);
  font-variant-numeric: tabular-nums;
}

.ui-control.ui-input-switch {
  appearance: none;
  display: inline-block;
  width: 44px;
  height: 26px;
  padding: 3px;
  background: var(--ui-neutral);
  border-radius: var(--ui-radius-tag);
  border: 0;
  cursor: pointer;
  flex: none;
}
.ui-control.ui-input-switch::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: var(--ui-panel);
  border-radius: var(--ui-radius-tag);
}
.ui-control.ui-input-switch:checked {
  background: var(--ui-primary);
}
.ui-control.ui-input-switch:checked::before {
  transform: translateX(18px);
}

/* Table numeric cells use body typography, not the metric-number presentation. */
.ui-table td.ui-number .ui-cell-body {
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .ui-table--responsive td.ui-number .ui-cell-body {
    justify-content: space-between;
  }
}
.ui-table td.ui-number {
  font-size: var(--ui-font-body);
  font-weight: var(--ui-weight-regular);
}
.ui-inner-pick .ui-field > label,
.ui-inner-pick > label,
.ui-field.ui-inner-pick > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ui-filter-bar.ui-inner-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ui-inner-pick .ui-field,
.ui-field.ui-inner-pick {
  gap: 0;
}

:root {
  --theme: #2b4c7e;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1e1a26;
  background: #f4f2f7;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1 {
  font-size: 24px;
}
h2 {
  font-size: 18px;
}
p {
  line-height: 1.7;
}
.muted {
  color: #6b6476;
  font-size: 13px;
}
.center {
  text-align: center;
}
.loading {
  padding: 40px;
}
.button {
  border: 1px solid #e3deea;
  border-radius: 9px;
  padding: 10px 15px;
  min-height: 44px;
  background: white;
  color: inherit;
  margin: 3px;
}
.button:hover {
  background: #eeebf3;
}
.button.primary {
  background: var(--theme);
  color: white;
  border-color: var(--theme);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
input,
select,
textarea {
  border: 1px solid #d0c9d8;
  border-radius: 9px;
  padding: 11px 12px;
  min-height: 44px;
  width: 100%;
  background: white;
  color: inherit;
}
input:focus,
select:focus {
  outline: 2px solid var(--theme);
  outline-offset: 2px;
}
input[type="checkbox"] {
  width: 22px;
  accent-color: var(--theme);
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 60% 40%;
  background: white;
}
.hero {
  position: relative;
  isolation: isolate;
  background: #1b2e4c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: white;
  white-space: pre-line;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0006;
  z-index: -1;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.6;
  max-width: 650px;
}
.hero-brand,
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
}
.fallback {
  display: grid;
  place-items: center;
  background: var(--theme);
  color: white;
  font-size: 22px;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-panel form {
  width: 100%;
  max-width: 360px;
}
.login-panel .primary {
  width: 100%;
  margin: 15px 0;
}
.challenge {
  min-height: 70px;
}
.app-frame {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
}
aside {
  background: white;
  padding: 24px 15px;
  border-right: 1px solid #e3deea;
}
.brand {
  margin-bottom: 40px;
}
aside > .button {
  display: block;
  border: 0;
  text-align: left;
  width: 100%;
  margin: 9px 0;
}
header {
  height: 64px;
  background: white;
  border-bottom: 1px solid #e3deea;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
}
header strong {
  margin-right: auto;
}
.content {
  padding: 28px;
  max-width: 1360px;
}
.panel {
  background: white;
  border: 1px solid #e3deea;
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}
.narrow {
  max-width: 520px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid #e3deea;
  border-radius: 14px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}
th,
td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid #eeeaf2;
}
th {
  background: #f9f8fb;
  color: #6b6476;
  font-size: 12px;
}
td > .button {
  padding: 6px 9px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeaf2;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  background: #1e1a2660;
}
.drawer {
  width: min(520px, 100%);
  height: 100%;
  overflow: auto;
  background: white;
  padding: 28px;
  box-shadow: -8px 0 30px #0001;
}
.secret {
  display: block;
  font-size: 24px;
  padding: 24px;
  background: #f4f2f7;
  user-select: all;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: #1e1a26;
  color: white;
  padding: 16px 24px;
  border-radius: 9px;
  z-index: 50;
  box-shadow: 0 5px 20px #0003;
}
button:focus-visible {
  outline: 2px solid var(--theme);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .login-layout {
    display: flex;
    flex-direction: column;
  }
  .hero {
    min-height: 280px;
    padding: 26px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .login-panel {
    padding: 30px 22px;
  }
  .app-frame {
    display: block;
  }
  aside {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-bottom: 1px solid #e3deea;
  }
  .brand {
    width: 100%;
    margin-bottom: 10px;
  }
  aside > .button {
    width: auto;
    margin: 0;
  }
  header {
    padding: 0 14px;
    gap: 8px;
  }
  .content {
    padding: 18px;
  }
  .panel {
    padding: 18px;
  }
  .row {
    flex-wrap: wrap;
  }
  .drawer {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .login-panel {
    border-radius: 20px 20px 0 0;
    background: white;
    margin-top: -16px;
    position: relative;
  }
}
.calendar-scroll {
  overflow: auto;
  max-height: 75vh;
  background: white;
  border: 1px solid #e3deea;
  border-radius: 14px;
  margin-top: 20px;
}
.week-calendar {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(130px, 1fr));
  grid-template-rows: 48px repeat(96, 18px);
  min-width: 1000px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 17px,
    #f1edf5 17px,
    #f1edf5 18px
  );
}
.calendar-head {
  background: #faf9fc;
  border: 0;
  border-bottom: 1px solid #e3deea;
  position: sticky;
  top: 0;
  z-index: 2;
  grid-row: 1;
  min-height: 44px;
}
.time-label {
  grid-column: 1;
  color: #6b6476;
  padding: 4px;
}
.course-stack {
  display: flex;
  gap: 3px;
  min-height: 0;
  overflow: hidden;
  padding: 2px;
}
.course-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
  text-align: left;
  background: #eeebf6;
  border-left: 3px solid #8b7bb5;
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
  margin: 1px;
  flex: 1;
  padding: 5px;
  font-size: 12px;
  width: 100%;
}
.course-card small {
  display: block;
  font-size: 10px;
}
.status-completed {
  background: #e8f4ee;
  border-color: #62a598;
}
.status-cancelled,
.status-rescheduled {
  background: #eee;
  color: #888;
}
.status-teacher_leave {
  background: #fff2dd;
  border-color: #c99a54;
}
fieldset {
  border: 1px solid #e3deea;
  border-radius: 9px;
  margin-bottom: 16px;
}
.day-0 {
  grid-column: 2;
}
.day-1 {
  grid-column: 3;
}
.day-2 {
  grid-column: 4;
}
.day-3 {
  grid-column: 5;
}
.day-4 {
  grid-column: 6;
}
.day-5 {
  grid-column: 7;
}
.day-6 {
  grid-column: 8;
}
.slot-0 {
  grid-row-start: 2;
}
.slot-1 {
  grid-row-start: 3;
}
.slot-2 {
  grid-row-start: 4;
}
.slot-3 {
  grid-row-start: 5;
}
.slot-4 {
  grid-row-start: 6;
}
.slot-5 {
  grid-row-start: 7;
}
.slot-6 {
  grid-row-start: 8;
}
.slot-7 {
  grid-row-start: 9;
}
.slot-8 {
  grid-row-start: 10;
}
.slot-9 {
  grid-row-start: 11;
}
.slot-10 {
  grid-row-start: 12;
}
.slot-11 {
  grid-row-start: 13;
}
.slot-12 {
  grid-row-start: 14;
}
.slot-13 {
  grid-row-start: 15;
}
.slot-14 {
  grid-row-start: 16;
}
.slot-15 {
  grid-row-start: 17;
}
.slot-16 {
  grid-row-start: 18;
}
.slot-17 {
  grid-row-start: 19;
}
.slot-18 {
  grid-row-start: 20;
}
.slot-19 {
  grid-row-start: 21;
}
.slot-20 {
  grid-row-start: 22;
}
.slot-21 {
  grid-row-start: 23;
}
.slot-22 {
  grid-row-start: 24;
}
.slot-23 {
  grid-row-start: 25;
}
.slot-24 {
  grid-row-start: 26;
}
.slot-25 {
  grid-row-start: 27;
}
.slot-26 {
  grid-row-start: 28;
}
.slot-27 {
  grid-row-start: 29;
}
.slot-28 {
  grid-row-start: 30;
}
.slot-29 {
  grid-row-start: 31;
}
.slot-30 {
  grid-row-start: 32;
}
.slot-31 {
  grid-row-start: 33;
}
.slot-32 {
  grid-row-start: 34;
}
.slot-33 {
  grid-row-start: 35;
}
.slot-34 {
  grid-row-start: 36;
}
.slot-35 {
  grid-row-start: 37;
}
.slot-36 {
  grid-row-start: 38;
}
.slot-37 {
  grid-row-start: 39;
}
.slot-38 {
  grid-row-start: 40;
}
.slot-39 {
  grid-row-start: 41;
}
.slot-40 {
  grid-row-start: 42;
}
.slot-41 {
  grid-row-start: 43;
}
.slot-42 {
  grid-row-start: 44;
}
.slot-43 {
  grid-row-start: 45;
}
.slot-44 {
  grid-row-start: 46;
}
.slot-45 {
  grid-row-start: 47;
}
.slot-46 {
  grid-row-start: 48;
}
.slot-47 {
  grid-row-start: 49;
}
.slot-48 {
  grid-row-start: 50;
}
.slot-49 {
  grid-row-start: 51;
}
.slot-50 {
  grid-row-start: 52;
}
.slot-51 {
  grid-row-start: 53;
}
.slot-52 {
  grid-row-start: 54;
}
.slot-53 {
  grid-row-start: 55;
}
.slot-54 {
  grid-row-start: 56;
}
.slot-55 {
  grid-row-start: 57;
}
.slot-56 {
  grid-row-start: 58;
}
.slot-57 {
  grid-row-start: 59;
}
.slot-58 {
  grid-row-start: 60;
}
.slot-59 {
  grid-row-start: 61;
}
.slot-60 {
  grid-row-start: 62;
}
.slot-61 {
  grid-row-start: 63;
}
.slot-62 {
  grid-row-start: 64;
}
.slot-63 {
  grid-row-start: 65;
}
.slot-64 {
  grid-row-start: 66;
}
.slot-65 {
  grid-row-start: 67;
}
.slot-66 {
  grid-row-start: 68;
}
.slot-67 {
  grid-row-start: 69;
}
.slot-68 {
  grid-row-start: 70;
}
.slot-69 {
  grid-row-start: 71;
}
.slot-70 {
  grid-row-start: 72;
}
.slot-71 {
  grid-row-start: 73;
}
.slot-72 {
  grid-row-start: 74;
}
.slot-73 {
  grid-row-start: 75;
}
.slot-74 {
  grid-row-start: 76;
}
.slot-75 {
  grid-row-start: 77;
}
.slot-76 {
  grid-row-start: 78;
}
.slot-77 {
  grid-row-start: 79;
}
.slot-78 {
  grid-row-start: 80;
}
.slot-79 {
  grid-row-start: 81;
}
.slot-80 {
  grid-row-start: 82;
}
.slot-81 {
  grid-row-start: 83;
}
.slot-82 {
  grid-row-start: 84;
}
.slot-83 {
  grid-row-start: 85;
}
.slot-84 {
  grid-row-start: 86;
}
.slot-85 {
  grid-row-start: 87;
}
.slot-86 {
  grid-row-start: 88;
}
.slot-87 {
  grid-row-start: 89;
}
.slot-88 {
  grid-row-start: 90;
}
.slot-89 {
  grid-row-start: 91;
}
.slot-90 {
  grid-row-start: 92;
}
.slot-91 {
  grid-row-start: 93;
}
.slot-92 {
  grid-row-start: 94;
}
.slot-93 {
  grid-row-start: 95;
}
.slot-94 {
  grid-row-start: 96;
}
.slot-95 {
  grid-row-start: 97;
}
.span-1 {
  grid-row-end: span 1;
}
.span-2 {
  grid-row-end: span 2;
}
.span-3 {
  grid-row-end: span 3;
}
.span-4 {
  grid-row-end: span 4;
}
.span-5 {
  grid-row-end: span 5;
}
.span-6 {
  grid-row-end: span 6;
}
.span-7 {
  grid-row-end: span 7;
}
.span-8 {
  grid-row-end: span 8;
}
.span-9 {
  grid-row-end: span 9;
}
.span-10 {
  grid-row-end: span 10;
}
.span-11 {
  grid-row-end: span 11;
}
.span-12 {
  grid-row-end: span 12;
}
.span-13 {
  grid-row-end: span 13;
}
.span-14 {
  grid-row-end: span 14;
}
.span-15 {
  grid-row-end: span 15;
}
.span-16 {
  grid-row-end: span 16;
}
.span-17 {
  grid-row-end: span 17;
}
.span-18 {
  grid-row-end: span 18;
}
.span-19 {
  grid-row-end: span 19;
}
.span-20 {
  grid-row-end: span 20;
}
.span-21 {
  grid-row-end: span 21;
}
.span-22 {
  grid-row-end: span 22;
}
.span-23 {
  grid-row-end: span 23;
}
.span-24 {
  grid-row-end: span 24;
}
.span-25 {
  grid-row-end: span 25;
}
.span-26 {
  grid-row-end: span 26;
}
.span-27 {
  grid-row-end: span 27;
}
.span-28 {
  grid-row-end: span 28;
}
.span-29 {
  grid-row-end: span 29;
}
.span-30 {
  grid-row-end: span 30;
}
.span-31 {
  grid-row-end: span 31;
}
.span-32 {
  grid-row-end: span 32;
}
.span-33 {
  grid-row-end: span 33;
}
.span-34 {
  grid-row-end: span 34;
}
.span-35 {
  grid-row-end: span 35;
}
.span-36 {
  grid-row-end: span 36;
}
.span-37 {
  grid-row-end: span 37;
}
.span-38 {
  grid-row-end: span 38;
}
.span-39 {
  grid-row-end: span 39;
}
.span-40 {
  grid-row-end: span 40;
}
.span-41 {
  grid-row-end: span 41;
}
.span-42 {
  grid-row-end: span 42;
}
.span-43 {
  grid-row-end: span 43;
}
.span-44 {
  grid-row-end: span 44;
}
.span-45 {
  grid-row-end: span 45;
}
.span-46 {
  grid-row-end: span 46;
}
.span-47 {
  grid-row-end: span 47;
}
.span-48 {
  grid-row-end: span 48;
}
.span-49 {
  grid-row-end: span 49;
}
.span-50 {
  grid-row-end: span 50;
}
.span-51 {
  grid-row-end: span 51;
}
.span-52 {
  grid-row-end: span 52;
}
.span-53 {
  grid-row-end: span 53;
}
.span-54 {
  grid-row-end: span 54;
}
.span-55 {
  grid-row-end: span 55;
}
.span-56 {
  grid-row-end: span 56;
}
.span-57 {
  grid-row-end: span 57;
}
.span-58 {
  grid-row-end: span 58;
}
.span-59 {
  grid-row-end: span 59;
}
.span-60 {
  grid-row-end: span 60;
}
.span-61 {
  grid-row-end: span 61;
}
.span-62 {
  grid-row-end: span 62;
}
.span-63 {
  grid-row-end: span 63;
}
.span-64 {
  grid-row-end: span 64;
}
.span-65 {
  grid-row-end: span 65;
}
.span-66 {
  grid-row-end: span 66;
}
.span-67 {
  grid-row-end: span 67;
}
.span-68 {
  grid-row-end: span 68;
}
.span-69 {
  grid-row-end: span 69;
}
.span-70 {
  grid-row-end: span 70;
}
.span-71 {
  grid-row-end: span 71;
}
.span-72 {
  grid-row-end: span 72;
}
.span-73 {
  grid-row-end: span 73;
}
.span-74 {
  grid-row-end: span 74;
}
.span-75 {
  grid-row-end: span 75;
}
.span-76 {
  grid-row-end: span 76;
}
.span-77 {
  grid-row-end: span 77;
}
.span-78 {
  grid-row-end: span 78;
}
.span-79 {
  grid-row-end: span 79;
}
.span-80 {
  grid-row-end: span 80;
}
.span-81 {
  grid-row-end: span 81;
}
.span-82 {
  grid-row-end: span 82;
}
.span-83 {
  grid-row-end: span 83;
}
.span-84 {
  grid-row-end: span 84;
}
.span-85 {
  grid-row-end: span 85;
}
.span-86 {
  grid-row-end: span 86;
}
.span-87 {
  grid-row-end: span 87;
}
.span-88 {
  grid-row-end: span 88;
}
.span-89 {
  grid-row-end: span 89;
}
.span-90 {
  grid-row-end: span 90;
}
.span-91 {
  grid-row-end: span 91;
}
.span-92 {
  grid-row-end: span 92;
}
.span-93 {
  grid-row-end: span 93;
}
.span-94 {
  grid-row-end: span 94;
}
.span-95 {
  grid-row-end: span 95;
}
.span-96 {
  grid-row-end: span 96;
}
.color-0 {
  border-left-color: #8b7bb5;
  background: #eeebf6;
}
.color-1 {
  border-left-color: #5b8db8;
  background: #e9f0f8;
}
.color-2 {
  border-left-color: #62a598;
  background: #e9f5ef;
}
.color-3 {
  border-left-color: #c99a54;
  background: #fff2df;
}
.color-4 {
  border-left-color: #b7768c;
  background: #f8eaf0;
}
.color-5 {
  border-left-color: #7b93ab;
  background: #edf1f5;
}
.color-6 {
  border-left-color: #a48b69;
  background: #f5efe4;
}
.color-7 {
  border-left-color: #8c9d62;
  background: #f0f4e5;
}
.student-split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.student-index {
  margin-top: 0;
  position: sticky;
  top: 15px;
}
.student-detail > .panel:first-child {
  margin-top: 0;
}
.student-choice {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: start;
  text-align: left;
  gap: 7px;
}
.student-choice small {
  color: #6b6476;
}
@media (max-width: 760px) {
  .student-split {
    grid-template-columns: 1fr;
  }
  .student-index {
    position: static;
    max-height: 420px;
    overflow: auto;
  }
}
.main {
  min-width: 0;
}
.content > .row {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.credit-table {
  overflow-x: auto;
}
.credit-table table {
  white-space: nowrap;
}
.impact-note {
  padding: 14px;
  border-radius: 8px;
  background: #f2eef8;
  color: #5c4b73;
}
.personal-frame {
  max-width: 760px;
  margin: 0 auto;
  min-height: 100dvh;
  background: #f4f2f7;
  padding-bottom: 90px;
}
.personal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid #e3deea;
  padding: 14px 18px;
  min-height: 72px;
}
.personal-header > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.personal-header small {
  font-size: 12px;
  color: #6b6476;
}
.personal-content {
  padding: 18px;
}
.personal-content h1 {
  font-size: 22px;
  margin: 4px 0 18px;
}
.personal-content h2 {
  font-size: 17px;
}
.personal-content h3 {
  font-size: 15px;
}
.personal-content form {
  background: #fff;
  border: 1px solid #e3deea;
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
}
.personal-content input,
.personal-content select,
.personal-content textarea {
  max-width: 100%;
  min-width: 0;
}
.personal-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 100%);
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px max(8px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e3deea;
}
.personal-nav button {
  border: 0;
  background: #fff;
  min-height: 52px;
  padding: 8px 3px;
  font-size: 13px;
  color: #6b6476;
}
.personal-nav [aria-current="page"] {
  color: var(--theme);
  background: #f1edf7;
  font-weight: 700;
}
.mobile-card {
  padding: 18px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.mobile-card h2 {
  margin-top: 0;
}
.personal-course {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  white-space: normal;
  background: #fff;
  border: 1px solid #e3deea;
  border-left: 4px solid var(--theme);
  border-radius: 12px;
  padding: 16px;
  margin: 10px 0;
  min-height: 100px;
  color: #1e1a26;
}
.personal-course small {
  color: #6b6476;
}
.personal-course .status-tag {
  font-size: 12px;
  color: var(--theme);
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  margin: 16px 0;
}
.week-strip button {
  padding: 8px 1px;
  min-width: 0;
  white-space: pre-line;
  line-height: 1.7;
  min-height: 56px;
  border-color: transparent;
}
.week-strip [aria-current="date"] {
  background: var(--theme);
  color: #fff;
}
.mobile-tools {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}
.mobile-tools button {
  font-size: 12px;
  padding: 9px;
}
.preserve-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.big-money {
  font-size: 32px;
  color: var(--theme);
}
.timetable-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 14px 0;
}
.personal-content button,
.personal-content a.button {
  min-height: 44px;
}
.personal-content .row {
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .app-frame {
    display: block;
  }
  .app-frame > aside {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 200px;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    gap: 4px;
  }
  .app-frame > aside > .brand {
    width: 100%;
  }
  .app-frame > aside button {
    width: auto;
    min-height: 44px;
    margin: 0;
  }
  .main > header {
    padding: 12px;
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }
  .content {
    padding: 14px;
  }
  .row {
    flex-wrap: wrap;
  }
  .drawer {
    width: min(100vw, 600px);
    max-width: 100vw;
  }
  .table-wrap {
    overflow: auto;
  }
  .button,
  button {
    min-height: 44px;
  }
  .field input,
  .field select,
  .field textarea {
    min-height: 44px;
    max-width: 100%;
    font-size: 16px;
  }
  table {
    font-size: 13px;
  }
  .panel {
    padding: 14px;
  }
  .week-calendar {
    overflow: auto;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.month-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}
.month-switch strong {
  white-space: nowrap;
}
.pay-pending {
  background: #f8f7fa;
  border: 1px dashed #d8d2e2;
  box-shadow: none;
}
.pay-pending-label {
  color: #6b6476;
  font-weight: 600;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.metric-value {
  font-size: 30px;
  color: var(--theme);
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.course-line {
  display: block;
  width: 100%;
  text-align: left;
  margin: 8px 0;
  padding: 16px;
  border-left: 3px solid var(--theme);
}
.class-tabs {
  display: flex;
  gap: 12px;
  overflow: auto;
  margin: 16px 0;
}
.class-tabs .button {
  flex-shrink: 0;
  min-width: 150px;
  text-align: left;
}
.record-line {
  padding: 16px 0;
  border-bottom: 1px solid #e3deea;
}
.leads-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(215px, 1fr));
  gap: 14px;
  overflow: auto;
  padding-bottom: 14px;
}
.lead-column {
  background: #eeebf3;
  border-radius: 14px;
  padding: 10px;
}
.lead-column > h2 {
  font-size: 16px;
}
.lead-column .panel {
  padding: 14px;
}
.renewal-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e3deea;
}
.renewal-line input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.import-steps {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 18px 35px;
  background: #eeebf3;
  border-radius: 14px;
}
.import-steps li {
  padding: 4px 8px;
}
.table-wrap select {
  min-height: 44px;
  max-width: 220px;
}
@media (max-width: 760px) {
  .workbench-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leads-board {
    grid-template-columns: repeat(5, 260px);
  }
  .import-steps {
    gap: 12px;
  }
  .renewal-line {
    font-size: 13px;
  }
}

.system-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #edf0f8;
  border-left: 3px solid var(--theme);
  border-radius: 9px;
}
.system-banner > span {
  flex: 1;
  min-width: 0;
}
.system-banner .button {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .system-banner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .system-banner > span {
    flex-basis: 100%;
  }
}

.import-steps li[aria-current="step"] {
  background: var(--theme);
  color: #fff;
  border-radius: 8px;
}
.import-row.invalid {
  background: #fff1f0;
  color: #a52c24;
}
.import-row.duplicate {
  background: #fff8e7;
  color: #8b651a;
}
.import-row.valid td:nth-child(3) {
  color: #26734d;
}

.staff-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 10px;
}
.staff-nav .button {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  border: 0;
  background: transparent;
}
.staff-nav [aria-current="page"] {
  background: #e9edf5;
  color: var(--theme);
  font-weight: 700;
}
.nav-group {
  border-top: 1px solid #eeeaf2;
  padding-top: 6px;
}
.nav-group summary {
  cursor: pointer;
  padding: 13px 15px;
  color: #6b6476;
  font-weight: 600;
}
.nav-group .button {
  padding-left: 30px;
}
@media (max-width: 760px) {
  .app-frame > aside .staff-nav {
    width: 100%;
  }
  .staff-nav .button {
    width: 100%;
  }
  .nav-group {
    width: 100%;
  }
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.promo-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 24px;
}
.promo-long-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}
.promo-banner {
  margin: 12px 0;
  padding: 14px;
  border-left: 4px solid var(--theme);
  background: #eef0f8;
}
@media (max-width: 760px) {
  .promo-detail-grid {
    display: block;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
}
.promo-section {
  margin-top: 26px;
}
.promo-section > h2 {
  margin-bottom: 14px;
}
.promo-course-banner {
  position: relative;
  min-height: 130px;
  background: #31496e;
  border-radius: 10px;
  padding: 22px;
  color: white;
  overflow: hidden;
}
.promo-course-banner h2,
.promo-course-banner small {
  position: relative;
  z-index: 1;
}
.promo-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.promo-thumb-image {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
}
.promo-messages .panel {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.promo-messages .panel h2 {
  font-size: 16px;
}
.promo-grid > .panel {
  min-width: 0;
}
.promo-grid .panel .panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}
@media (min-width: 1000px) {
  .promo-section .promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.promo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 16px 0;
  margin: 12px 0;
  border-top: 1px solid #e5e3ea;
  border-bottom: 1px solid #e5e3ea;
}
.promo-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--theme);
}
.promo-steps li:not(:last-child)::after {
  content: "→";
  color: #8a8592;
}

/* 阶段B布局适配：控件/色彩/动效来自 src/ui，不再定义第二套组件。 */
.ui-root {
  --ui-primary: var(--theme);
  --ui-primary-soft: color-mix(in srgb, var(--theme) 8%, white);
  --ui-primary-hover: color-mix(in srgb, var(--theme) 85%, black);
}
.ui-button.button {
  margin: 0;
  background: none;
  border: 0;
  padding: 4px;
  min-height: 44px;
  min-width: 44px;
  box-shadow: none;
  color: inherit;
}
.ui-button.button .ui-button-face {
  min-height: 36px;
}
.ui-button.primary .ui-button-face {
  background: var(--ui-primary);
  color: white;
  border-color: var(--ui-primary);
}
.field {
  gap: 4px;
  margin-bottom: 16px;
}
.ui-field input {
  margin: 0;
}
form > .ui-button {
  margin-top: 4px;
}
.ui-field-error[hidden],
.ui-field-hint[hidden] {
  display: none;
}
.ui-actions-head {
  text-align: right !important;
}
.ui-list-tools {
  align-items: end;
  gap: 12px;
}
.ui-list-tools .ui-field {
  margin: 0;
  min-width: 120px;
}
.ui-search {
  flex: 1 1 240px;
  max-width: 480px;
}
.ui-table th.ui-actions-head {
  text-align: right;
  padding-right: 12px;
}
.ui-table .ui-actions .ui-cell-body {
  justify-content: flex-end;
}
.login-layout {
  grid-template-columns: minmax(0, 1fr) 440px;
}
.hero {
  padding: 56px 64px;
  background: #1c304f;
  justify-content: space-between;
}
.hero::after {
  background: rgb(0 0 0 / 45%);
}
.hero:not(:has(.hero-image))::after {
  display: none;
}
.hero .logo {
  background: white;
  color: var(--ui-primary);
  width: 44px;
  height: 44px;
}
.hero h1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 0;
  white-space: pre-line;
  max-width: 680px;
}
.hero-brand {
  font-size: 18px;
}
.login-panel {
  padding: 32px;
  background: white;
}
.login-panel form {
  max-width: 376px;
}
.login-panel h2 {
  font-size: 22px;
  margin: 0 0 4px;
}
.login-panel .muted {
  margin: 0 0 20px;
}
.login-panel .ui-button {
  width: 100%;
  margin: 12px 0;
}
.login-panel .ui-button-face {
  min-height: 46px;
  width: 100%;
}
.login-panel .challenge {
  padding: 12px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  margin: 16px 0;
}
.login-copyright {
  font-size: 12px;
  color: var(--ui-muted);
  text-align: center;
  margin-top: 40px;
}
.app-frame {
  grid-template-columns: 232px minmax(0, 1fr);
}
.staff-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 0;
  border-right: 1px solid var(--ui-border);
  overflow-y: auto;
  z-index: 20;
}
.staff-sidebar .brand {
  padding: 20px 18px;
  margin: 0;
  min-height: 76px;
  border-bottom: 1px solid var(--ui-border);
  gap: 10px;
}
.staff-sidebar .brand > div {
  display: grid;
  min-width: 0;
}
.staff-sidebar .brand strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.staff-sidebar .brand small {
  color: var(--ui-muted);
  font-size: 12px;
}
.staff-sidebar .logo {
  width: 38px;
  height: 38px;
  flex: none;
}
.staff-nav {
  padding: 8px 10px 24px;
}
.staff-nav .ui-button {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}
.staff-nav .ui-button .ui-button-face {
  width: 100%;
  border: 0;
  justify-content: flex-start;
  background: none;
  padding: 8px 10px;
}
.staff-nav .ui-button[aria-current="page"] .ui-button-face {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
}
.staff-nav .ui-disclosure {
  border: 0;
  margin-top: 10px;
}
.staff-nav .ui-disclosure > button {
  font-size: 12px;
  color: var(--ui-muted);
  padding: 0 10px;
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
}
.staff-nav .ui-disclosure-panel {
  padding: 0;
}
.staff-nav .ui-disclosure-inner {
  padding: 0;
}
.staff-nav .ui-button[data-unread="true"] .ui-button-face::after {
  content: "新";
  margin-left: auto;
  color: var(--ui-warning);
  background: var(--ui-warning-bg);
  font-size: 11px;
  padding: 0 5px;
  border-radius: 8px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.staff-header {
  height: 64px;
  padding: 8px 28px;
  background: white;
  border-bottom: 1px solid var(--ui-border);
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 15;
}
.header-title {
  font-size: 22px;
  white-space: nowrap;
}
.header-date {
  font-size: 12px;
  white-space: nowrap;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-search input {
  background: var(--ui-header);
  height: 38px;
  min-height: 38px;
  width: 266px;
  font-size: 13px;
}
.staff-identity {
  position: relative;
  min-width: 90px;
}
.staff-identity summary {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  min-height: 44px;
}
.staff-identity summary > span:last-child {
  display: grid;
  line-height: 1.5;
}
.staff-identity small {
  font-size: 12px;
  color: var(--ui-muted);
}
.staff-identity > button {
  position: absolute;
  right: 0;
  top: 48px;
  background: white !important;
  box-shadow: var(--ui-shadow-panel) !important;
  min-width: 140px !important;
  z-index: 30;
}
.staff-identity > button + button {
  top: 92px;
}
.avatar {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-grid;
  place-items: center;
  background: var(--ui-neutral-bg);
  border-radius: var(--ui-radius-avatar);
  font-size: 16px;
  font-weight: 600;
}
.mobile-menu,
.nav-scrim {
  display: none;
}
.content {
  padding: 24px 28px;
  max-width: calc(var(--ui-content-max) + 56px);
  margin: 0 auto;
  min-width: 0;
}
.content h1 {
  font-size: 22px;
}

.page-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.page-heading h1 {
  margin: 0 auto 0 0;
}
.panel.ui-card {
  border-radius: var(--ui-radius-panel);
  box-shadow: none;
  padding: 20px;
  position: relative;
}
.panel.ui-card h3 {
  font-size: 16px;
  margin: 0 0 14px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metrics-grid .panel {
  min-height: 112px;
}
.metrics-grid .panel h3 {
  font-size: 12px;
  font-weight: 400;
  color: var(--ui-muted);
  margin-bottom: 4px;
}
.metric-value {
  font-size: 28px;
  line-height: 1.3;
  display: block;
}
.metrics-grid .panel:last-child .metric-value {
  color: var(--ui-primary);
}
.metrics-grid .ui-button {
  position: absolute;
  bottom: 4px;
  right: 8px;
}
.home-month-count {
  font-size: 12px;
  margin: 8px 0 14px;
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.home-side {
  display: grid;
  gap: 20px;
}
.home-lesson {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--ui-divider);
  padding: 12px 0;
  min-height: 70px;
  font-size: 13px;
}
.home-lesson > div {
  border-left: 4px solid var(--ui-category-2);
  padding-left: 12px;
  display: grid;
  gap: 2px;
}
.panel-link {
  position: absolute;
  right: 16px;
  top: 8px;
}
.home-renewal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px;
  align-items: center;
  border-top: 1px solid var(--ui-divider);
  padding: 12px 0;
}
.home-renewal small {
  grid-column: 1;
}
.home-renewal .ui-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.task-line {
  display: block;
  width: 100%;
  padding: 10px !important;
  background: var(--ui-header) !important;
  border-radius: var(--ui-radius-control);
  text-align: left;
  margin: 8px 0 !important;
  font-size: 13px;
}
.task-line .ui-button-face {
  border: 0;
  justify-content: space-between;
}
.home-messages .message-card {
  background: var(--ui-info-bg);
  border-color: transparent;
}
.student-split {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.student-index {
  padding: 14px !important;
  min-width: 0;
}
.student-server-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ui-divider);
}
.student-server-search .field {
  flex: 1 1 150px;
  margin: 0;
}
.student-index .ui-list-tools {
  padding: 8px 0;
}
.student-index .ui-list-tools .ui-field {
  flex: 1;
}
.student-index .ui-list-scope {
  font-size: 11px;
  margin: 4px 0;
}
.student-index .ui-table-scroll {
  overflow-x: visible;
}
.student-index .ui-table {
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}
.student-index .ui-table th:first-child {
  width: 60%;
}
.student-index .ui-table th,
.student-index .ui-table td {
  padding: 6px 0;
}
.student-index .ui-cell-body {
  padding: 0 !important;
}
.student-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.student-entry > span:last-child {
  display: grid;
  white-space: normal;
  overflow-wrap: anywhere;
}
.student-entry .avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.student-index .ui-actions .ui-cell-body > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.student-index .ui-actions .ui-button {
  padding: 0;
}
.student-index .ui-actions .ui-button-face {
  padding: 2px 6px;
}
.student-index .ui-pagination {
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  margin-top: 8px;
}
.student-index .ui-pagination-actions {
  display: flex;
  flex-wrap: wrap;
}
.student-detail {
  min-width: 0;
}
.student-detail .panel {
  margin-bottom: 16px;
}
.student-detail .row,
.business-drawer .row {
  flex-wrap: wrap;
}
.student-avatar {
  width: 56px;
  height: 56px;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-size: 24px;
}
.student-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.student-metrics .panel h3 {
  font-size: 12px;
  color: var(--ui-muted);
}
.business-drawer .ui-sheet-body > .panel {
  margin-bottom: 16px;
}
.business-drawer form {
  display: grid;
  gap: 4px;
}
.business-drawer .ui-sheet-footer:empty {
  display: none;
}
.route-enter {
  animation: ui-page-enter var(--ui-duration-page) var(--ui-ease-enter);
}
@keyframes ui-page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.b-calendar-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
}
.calendar-date-nav {
  display: flex;
  gap: 0;
}
.calendar-range {
  font-size: 14px;
  margin-right: auto;
  align-self: center;
}
.calendar-view-tabs {
  display: flex;
  background: var(--ui-neutral-bg);
  border-radius: var(--ui-radius-control);
}
.calendar-view-tabs .ui-button-face {
  border: 0;
  background: none;
  padding: 6px 9px;
}
.calendar-view-tabs [aria-pressed="true"] .ui-button-face {
  background: white;
  color: var(--ui-text);
  box-shadow: 0 1px 5px #0001;
}
.calendar-filters {
  display: flex;
  gap: 8px;
}
.calendar-filters .ui-field {
  margin: 0;
  min-width: 126px;
  max-width: 180px;
}
.calendar-filters .ui-field > label {
  display: none;
}
.calendar-day-strip {
  display: none;
}
.b-calendar-scroll {
  max-height: calc(100vh - 244px);
  min-height: 420px;
  overflow: auto;
  background: white;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  position: relative;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.b-week-grid {
  display: grid;
  grid-template-columns: 56px repeat(7, minmax(0, 1fr));
  grid-template-rows: 60px repeat(96, 22px);
  min-width: 0;
  position: relative;
  isolation: isolate;
}
.cal-corner,
.cal-column-head {
  grid-row: 1;
  position: sticky;
  top: 0;
  background: var(--ui-header);
  z-index: 6;
  border-bottom: 1px solid var(--ui-border);
  font-size: 13px;
}
.cal-corner {
  grid-column: 1;
  display: grid;
  place-items: center;
  color: var(--ui-muted);
}
.cal-column-head {
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid var(--ui-divider);
  gap: 4px;
}
.cal-column-head.is-today {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
.cal-hour {
  grid-column: 1;
  font-size: 11px;
  text-align: right;
  padding: 0 8px;
  color: var(--ui-muted);
  transform: translateY(-7px);
  z-index: 1;
}
.cal-background {
  grid-row: 2 / span 96;
  border-left: 1px solid var(--ui-divider);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 87px,
    var(--ui-divider) 87px,
    var(--ui-divider) 88px
  );
  z-index: -1;
  pointer-events: none;
}
.b-course.ui-button {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-direction: column;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  border: 0;
  border-left: 3px solid var(--ui-category-2);
  border-radius: 7px;
  padding: 4px 5px;
  margin: 2px 3px 1px;
  background: var(--ui-category-2-soft);
  color: var(--ui-category-2-text);
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  z-index: 2;
  transition:
    transform var(--ui-duration-press) var(--ui-ease-enter),
    opacity var(--ui-duration-micro);
}
.b-course > .ui-button-face {
  display: none;
}
.b-course > span,
.b-course > strong,
.b-course > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.b-course > small {
  font-size: 11px;
}
.b-course[aria-busy="true"]::after {
  content: "保存中…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ui-primary-soft);
  font-size: 12px;
}
.b-course.status-cancelled,
.b-course.status-teacher_leave {
  opacity: 0.6;
}
.b-course.status-completed strong::after {
  content: " ✓";
}
.b-course.is-dragging {
  opacity: 0.2;
}
.b-course.move-ghost {
  pointer-events: none;
  opacity: 0.85;
  z-index: 9;
  transform: scale(1.02);
  box-shadow: var(--ui-shadow-panel);
}
.move-target {
  pointer-events: none;
  border: 2px dashed var(--ui-primary);
  background: var(--ui-primary-soft);
  border-radius: var(--ui-radius-control);
  margin: 1px;
  z-index: 7;
  font-size: 11px;
  color: var(--ui-primary);
  align-content: end;
  padding: 3px;
}
.move-target.is-conflict {
  border-color: var(--ui-error);
  background: var(--ui-error-bg);
  color: var(--ui-error);
  z-index: 10;
}
.current-time-line {
  height: 2px;
  align-self: start;
  background: var(--ui-primary);
  z-index: 5;
  pointer-events: none;
  position: relative;
}
.current-time-line::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: -2px;
  left: 0;
  background: var(--ui-primary);
}
.b-course.is-returning {
  animation: course-return var(--ui-duration-panel) var(--ui-ease-exit);
}
.b-course.is-saved {
  animation: ui-number-flash 1s var(--ui-ease-enter);
}
@keyframes course-return {
  from {
    transform: translateY(-8px);
    opacity: 0.4;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.week-forward {
  animation: week-next var(--ui-duration-page) var(--ui-ease-enter);
}
.week-backward {
  animation: week-prev var(--ui-duration-page) var(--ui-ease-enter);
}
@keyframes week-next {
  from {
    opacity: 0.3;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes week-prev {
  from {
    opacity: 0.3;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.b-calendar-viewport.is-loading {
  position: relative;
  opacity: 0.7;
}
.b-calendar-viewport.is-loading::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--ui-primary);
  z-index: 12;
  animation: ui-page-enter 0.6s alternate infinite;
}
.calendar-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0;
  font-size: 12px;
}
.calendar-help {
  font-size: 12px;
}
.calendar-resources {
  display: grid;
  gap: 16px;
}
.calendar-resources .b-course {
  min-height: 90px;
  display: inline-flex;
  width: 180px;
}
@media (hover: hover) {
  .b-course:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-hover);
  }
}
@media (max-width: 1150px) {
  .header-date,
  .header-search {
    display: none;
  }
  .content {
    padding: 20px;
  }
  .student-split {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .calendar-filters {
    width: 100%;
  }
  .workbench-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
@media (max-width: 1050px) {
  .student-split {
    display: block;
  }
  .student-detail {
    display: none;
  }
  .student-index .ui-table th:first-child {
    width: auto;
  }
  .student-index .ui-table th,
  .student-index .ui-table td {
    padding: 10px;
  }
  .student-index .ui-list-tools {
    justify-content: flex-start;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .login-layout {
    display: block;
    background: #1c304f;
    min-height: 100dvh;
  }
  .hero {
    height: 300px;
    min-height: 300px;
    padding: 56px 24px 32px;
  }
  .hero-brand {
    font-size: 17px;
  }
  .hero .logo {
    width: 40px;
    height: 40px;
  }
  .hero h1 {
    font-size: 23px;
    line-height: 1.4;
    max-width: 340px;
  }
  .login-panel {
    display: block;
    border-radius: 22px 22px 0 0;
    margin-top: -20px;
    position: relative;
    padding: 28px 24px 24px;
    min-height: calc(100dvh - 280px);
  }
  .login-panel form {
    max-width: none;
    min-height: calc(100dvh - 332px);
    display: flex;
    flex-direction: column;
  }
  .login-panel h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .login-panel form > p.muted:first-of-type {
    display: none;
  }
  .login-panel .ui-button-face {
    min-height: 50px;
  }
  .login-copyright {
    margin-top: auto;
    padding-top: 64px;
  }
  .login-panel .ui-field {
    margin-bottom: 20px;
  }
  .login-panel .challenge {
    margin: 0 0 4px;
    min-height: 60px;
  }
  .app-frame {
    display: block;
  }
  .main {
    margin: 0;
    width: auto;
  }
  .staff-sidebar {
    width: min(304px, 85vw);
    transform: translateX(-100%);
    transition: transform var(--ui-duration-panel) var(--ui-ease-enter);
    z-index: 41;
    visibility: hidden;
  }
  .app-frame.nav-open .staff-sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-scrim {
    position: fixed;
    inset: 0;
    border: 0;
    background: #18122566;
    z-index: 40;
  }
  .app-frame.nav-open .nav-scrim {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .staff-header {
    height: 64px;
    padding: 8px 12px;
    gap: 8px;
  }
  .header-title {
    font-size: 18px;
  }
  .header-tools {
    gap: 0;
  }
  .header-tools > .ui-button:first-child {
    display: none;
  }
  .staff-identity {
    min-width: 36px;
  }
  .staff-identity summary > span:last-child {
    display: none;
  }
  .staff-identity summary {
    min-width: 44px;
  }
  .content {
    padding: 16px;
    max-width: none;
  }
  .content h1 {
    font-size: 20px;
  }
  .metrics-grid {
    gap: 10px;
  }
  .metrics-grid .panel {
    padding: 14px;
    min-height: 120px;
  }
  .metric-value {
    font-size: 24px;
  }
  .metrics-grid .panel .ui-button {
    font-size: 12px;
  }
  .workbench-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-lesson {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .home-lesson > .ui-button {
    grid-column: 3;
  }
  .home-lesson > .ui-badge {
    grid-column: 2;
    justify-self: start;
  }
  .home-lesson > div {
    padding-left: 8px;
  }
  .panel.ui-card {
    padding: 16px;
  }
  .student-split {
    display: block;
  }
  .student-index {
    padding: 12px !important;
  }
  .student-index .ui-table {
    display: block;
  }
  .student-index .ui-table th:first-child {
    width: auto;
  }
  .student-index .ui-table td {
    padding: 0;
  }
  .student-entry {
    justify-content: flex-start;
  }
  .student-index .ui-table--responsive .ui-cell-body {
    justify-content: space-between;
  }
  .student-index .ui-actions .ui-button-face {
    padding: 4px 10px;
  }
  .student-index .ui-table--responsive tr {
    padding: 12px;
  }
  .student-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .student-avatar {
    width: 44px;
    height: 44px;
  }
  .student-server-search {
    gap: 8px;
  }
  .student-server-search > .ui-button {
    margin: 0;
  }
  .ui-list-tools {
    align-items: stretch;
  }
  .ui-list-tools > .ui-field {
    flex: 1 1 100%;
  }
  .ui-search {
    flex: 1 1 100%;
    max-width: none;
  }
  .ui-pagination {
    flex-wrap: wrap;
  }
  .page-heading {
    gap: 4px;
  }
  .page-heading h1 {
    flex: 1 1 100%;
    margin-bottom: 8px;
  }
  .calendar-range {
    width: 100%;
    order: 2;
  }
  .calendar-view-tabs {
    flex-wrap: wrap;
  }
  .calendar-filters {
    flex-wrap: wrap;
  }
  .calendar-filters .ui-field {
    flex: 1;
    max-width: none;
    min-width: 130px;
  }
  .calendar-day-strip {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 8px;
  }
  .calendar-day-strip .ui-button {
    min-width: 44px;
    flex: 1;
  }
  .calendar-day-strip .ui-button-face {
    padding: 5px;
    white-space: normal;
    font-size: 12px;
    line-height: 1.5;
  }
  .calendar-day-strip [aria-pressed="true"] .ui-button-face {
    background: var(--ui-primary-soft);
    border-color: var(--ui-primary);
    color: var(--ui-primary);
  }
  .b-week-grid.is-day {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .b-calendar-scroll {
    min-height: 360px;
    max-height: 480px;
  }
  .mobile-move-tools {
    display: grid;
    margin-top: 12px;
    gap: 4px;
  }
  .mobile-move-tools .ui-button-face {
    justify-content: flex-start;
    width: 100%;
    white-space: normal;
  }
  .calendar-help {
    line-height: 1.6;
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-enter,
  .week-forward,
  .week-backward,
  .b-course.is-returning {
    animation: ui-page-enter var(--ui-duration-press) linear;
  }
  .b-course:hover,
  .b-course.move-ghost {
    transform: none;
  }
  .staff-sidebar {
    transition: opacity var(--ui-duration-press);
  }
  .b-calendar-viewport.is-loading::before {
    animation: none;
  }
}
.cal-day-0 {
  grid-column: 2;
}
.cal-day-1 {
  grid-column: 3;
}
.cal-day-2 {
  grid-column: 4;
}
.cal-day-3 {
  grid-column: 5;
}
.cal-day-4 {
  grid-column: 6;
}
.cal-day-5 {
  grid-column: 7;
}
.cal-day-6 {
  grid-column: 8;
}
.cal-slot-0 {
  grid-row-start: 2;
}
.cal-slot-1 {
  grid-row-start: 3;
}
.cal-slot-2 {
  grid-row-start: 4;
}
.cal-slot-3 {
  grid-row-start: 5;
}
.cal-slot-4 {
  grid-row-start: 6;
}
.cal-slot-5 {
  grid-row-start: 7;
}
.cal-slot-6 {
  grid-row-start: 8;
}
.cal-slot-7 {
  grid-row-start: 9;
}
.cal-slot-8 {
  grid-row-start: 10;
}
.cal-slot-9 {
  grid-row-start: 11;
}
.cal-slot-10 {
  grid-row-start: 12;
}
.cal-slot-11 {
  grid-row-start: 13;
}
.cal-slot-12 {
  grid-row-start: 14;
}
.cal-slot-13 {
  grid-row-start: 15;
}
.cal-slot-14 {
  grid-row-start: 16;
}
.cal-slot-15 {
  grid-row-start: 17;
}
.cal-slot-16 {
  grid-row-start: 18;
}
.cal-slot-17 {
  grid-row-start: 19;
}
.cal-slot-18 {
  grid-row-start: 20;
}
.cal-slot-19 {
  grid-row-start: 21;
}
.cal-slot-20 {
  grid-row-start: 22;
}
.cal-slot-21 {
  grid-row-start: 23;
}
.cal-slot-22 {
  grid-row-start: 24;
}
.cal-slot-23 {
  grid-row-start: 25;
}
.cal-slot-24 {
  grid-row-start: 26;
}
.cal-slot-25 {
  grid-row-start: 27;
}
.cal-slot-26 {
  grid-row-start: 28;
}
.cal-slot-27 {
  grid-row-start: 29;
}
.cal-slot-28 {
  grid-row-start: 30;
}
.cal-slot-29 {
  grid-row-start: 31;
}
.cal-slot-30 {
  grid-row-start: 32;
}
.cal-slot-31 {
  grid-row-start: 33;
}
.cal-slot-32 {
  grid-row-start: 34;
}
.cal-slot-33 {
  grid-row-start: 35;
}
.cal-slot-34 {
  grid-row-start: 36;
}
.cal-slot-35 {
  grid-row-start: 37;
}
.cal-slot-36 {
  grid-row-start: 38;
}
.cal-slot-37 {
  grid-row-start: 39;
}
.cal-slot-38 {
  grid-row-start: 40;
}
.cal-slot-39 {
  grid-row-start: 41;
}
.cal-slot-40 {
  grid-row-start: 42;
}
.cal-slot-41 {
  grid-row-start: 43;
}
.cal-slot-42 {
  grid-row-start: 44;
}
.cal-slot-43 {
  grid-row-start: 45;
}
.cal-slot-44 {
  grid-row-start: 46;
}
.cal-slot-45 {
  grid-row-start: 47;
}
.cal-slot-46 {
  grid-row-start: 48;
}
.cal-slot-47 {
  grid-row-start: 49;
}
.cal-slot-48 {
  grid-row-start: 50;
}
.cal-slot-49 {
  grid-row-start: 51;
}
.cal-slot-50 {
  grid-row-start: 52;
}
.cal-slot-51 {
  grid-row-start: 53;
}
.cal-slot-52 {
  grid-row-start: 54;
}
.cal-slot-53 {
  grid-row-start: 55;
}
.cal-slot-54 {
  grid-row-start: 56;
}
.cal-slot-55 {
  grid-row-start: 57;
}
.cal-slot-56 {
  grid-row-start: 58;
}
.cal-slot-57 {
  grid-row-start: 59;
}
.cal-slot-58 {
  grid-row-start: 60;
}
.cal-slot-59 {
  grid-row-start: 61;
}
.cal-slot-60 {
  grid-row-start: 62;
}
.cal-slot-61 {
  grid-row-start: 63;
}
.cal-slot-62 {
  grid-row-start: 64;
}
.cal-slot-63 {
  grid-row-start: 65;
}
.cal-slot-64 {
  grid-row-start: 66;
}
.cal-slot-65 {
  grid-row-start: 67;
}
.cal-slot-66 {
  grid-row-start: 68;
}
.cal-slot-67 {
  grid-row-start: 69;
}
.cal-slot-68 {
  grid-row-start: 70;
}
.cal-slot-69 {
  grid-row-start: 71;
}
.cal-slot-70 {
  grid-row-start: 72;
}
.cal-slot-71 {
  grid-row-start: 73;
}
.cal-slot-72 {
  grid-row-start: 74;
}
.cal-slot-73 {
  grid-row-start: 75;
}
.cal-slot-74 {
  grid-row-start: 76;
}
.cal-slot-75 {
  grid-row-start: 77;
}
.cal-slot-76 {
  grid-row-start: 78;
}
.cal-slot-77 {
  grid-row-start: 79;
}
.cal-slot-78 {
  grid-row-start: 80;
}
.cal-slot-79 {
  grid-row-start: 81;
}
.cal-slot-80 {
  grid-row-start: 82;
}
.cal-slot-81 {
  grid-row-start: 83;
}
.cal-slot-82 {
  grid-row-start: 84;
}
.cal-slot-83 {
  grid-row-start: 85;
}
.cal-slot-84 {
  grid-row-start: 86;
}
.cal-slot-85 {
  grid-row-start: 87;
}
.cal-slot-86 {
  grid-row-start: 88;
}
.cal-slot-87 {
  grid-row-start: 89;
}
.cal-slot-88 {
  grid-row-start: 90;
}
.cal-slot-89 {
  grid-row-start: 91;
}
.cal-slot-90 {
  grid-row-start: 92;
}
.cal-slot-91 {
  grid-row-start: 93;
}
.cal-slot-92 {
  grid-row-start: 94;
}
.cal-slot-93 {
  grid-row-start: 95;
}
.cal-slot-94 {
  grid-row-start: 96;
}
.cal-slot-95 {
  grid-row-start: 97;
}
.cal-span-1 {
  grid-row-end: span 1;
}
.cal-span-2 {
  grid-row-end: span 2;
}
.cal-span-3 {
  grid-row-end: span 3;
}
.cal-span-4 {
  grid-row-end: span 4;
}
.cal-span-5 {
  grid-row-end: span 5;
}
.cal-span-6 {
  grid-row-end: span 6;
}
.cal-span-7 {
  grid-row-end: span 7;
}
.cal-span-8 {
  grid-row-end: span 8;
}
.cal-span-9 {
  grid-row-end: span 9;
}
.cal-span-10 {
  grid-row-end: span 10;
}
.cal-span-11 {
  grid-row-end: span 11;
}
.cal-span-12 {
  grid-row-end: span 12;
}
.cal-span-13 {
  grid-row-end: span 13;
}
.cal-span-14 {
  grid-row-end: span 14;
}
.cal-span-15 {
  grid-row-end: span 15;
}
.cal-span-16 {
  grid-row-end: span 16;
}
.cal-span-17 {
  grid-row-end: span 17;
}
.cal-span-18 {
  grid-row-end: span 18;
}
.cal-span-19 {
  grid-row-end: span 19;
}
.cal-span-20 {
  grid-row-end: span 20;
}
.cal-span-21 {
  grid-row-end: span 21;
}
.cal-span-22 {
  grid-row-end: span 22;
}
.cal-span-23 {
  grid-row-end: span 23;
}
.cal-span-24 {
  grid-row-end: span 24;
}
.cal-span-25 {
  grid-row-end: span 25;
}
.cal-span-26 {
  grid-row-end: span 26;
}
.cal-span-27 {
  grid-row-end: span 27;
}
.cal-span-28 {
  grid-row-end: span 28;
}
.cal-span-29 {
  grid-row-end: span 29;
}
.cal-span-30 {
  grid-row-end: span 30;
}
.cal-span-31 {
  grid-row-end: span 31;
}
.cal-span-32 {
  grid-row-end: span 32;
}
.cal-span-33 {
  grid-row-end: span 33;
}
.cal-span-34 {
  grid-row-end: span 34;
}
.cal-span-35 {
  grid-row-end: span 35;
}
.cal-span-36 {
  grid-row-end: span 36;
}
.cal-span-37 {
  grid-row-end: span 37;
}
.cal-span-38 {
  grid-row-end: span 38;
}
.cal-span-39 {
  grid-row-end: span 39;
}
.cal-span-40 {
  grid-row-end: span 40;
}
.cal-span-41 {
  grid-row-end: span 41;
}
.cal-span-42 {
  grid-row-end: span 42;
}
.cal-span-43 {
  grid-row-end: span 43;
}
.cal-span-44 {
  grid-row-end: span 44;
}
.cal-span-45 {
  grid-row-end: span 45;
}
.cal-span-46 {
  grid-row-end: span 46;
}
.cal-span-47 {
  grid-row-end: span 47;
}
.cal-span-48 {
  grid-row-end: span 48;
}
.cal-span-49 {
  grid-row-end: span 49;
}
.cal-span-50 {
  grid-row-end: span 50;
}
.cal-span-51 {
  grid-row-end: span 51;
}
.cal-span-52 {
  grid-row-end: span 52;
}
.cal-span-53 {
  grid-row-end: span 53;
}
.cal-span-54 {
  grid-row-end: span 54;
}
.cal-span-55 {
  grid-row-end: span 55;
}
.cal-span-56 {
  grid-row-end: span 56;
}
.cal-span-57 {
  grid-row-end: span 57;
}
.cal-span-58 {
  grid-row-end: span 58;
}
.cal-span-59 {
  grid-row-end: span 59;
}
.cal-span-60 {
  grid-row-end: span 60;
}
.cal-span-61 {
  grid-row-end: span 61;
}
.cal-span-62 {
  grid-row-end: span 62;
}
.cal-span-63 {
  grid-row-end: span 63;
}
.cal-span-64 {
  grid-row-end: span 64;
}
.cal-span-65 {
  grid-row-end: span 65;
}
.cal-span-66 {
  grid-row-end: span 66;
}
.cal-span-67 {
  grid-row-end: span 67;
}
.cal-span-68 {
  grid-row-end: span 68;
}
.cal-span-69 {
  grid-row-end: span 69;
}
.cal-span-70 {
  grid-row-end: span 70;
}
.cal-span-71 {
  grid-row-end: span 71;
}
.cal-span-72 {
  grid-row-end: span 72;
}
.cal-span-73 {
  grid-row-end: span 73;
}
.cal-span-74 {
  grid-row-end: span 74;
}
.cal-span-75 {
  grid-row-end: span 75;
}
.cal-span-76 {
  grid-row-end: span 76;
}
.cal-span-77 {
  grid-row-end: span 77;
}
.cal-span-78 {
  grid-row-end: span 78;
}
.cal-span-79 {
  grid-row-end: span 79;
}
.cal-span-80 {
  grid-row-end: span 80;
}
.cal-span-81 {
  grid-row-end: span 81;
}
.cal-span-82 {
  grid-row-end: span 82;
}
.cal-span-83 {
  grid-row-end: span 83;
}
.cal-span-84 {
  grid-row-end: span 84;
}
.cal-span-85 {
  grid-row-end: span 85;
}
.cal-span-86 {
  grid-row-end: span 86;
}
.cal-span-87 {
  grid-row-end: span 87;
}
.cal-span-88 {
  grid-row-end: span 88;
}
.cal-span-89 {
  grid-row-end: span 89;
}
.cal-span-90 {
  grid-row-end: span 90;
}
.cal-span-91 {
  grid-row-end: span 91;
}
.cal-span-92 {
  grid-row-end: span 92;
}
.cal-span-93 {
  grid-row-end: span 93;
}
.cal-span-94 {
  grid-row-end: span 94;
}
.cal-span-95 {
  grid-row-end: span 95;
}
.cal-span-96 {
  grid-row-end: span 96;
}
.b-course.lanes-1 {
  width: calc((100% - 6px) / 1);
}
.b-course.lanes-1.lane-0 {
  justify-self: start;
  margin-left: calc(0 * (100% - 6px) / 1 + 3px);
}
.b-course.lanes-2 {
  width: calc((100% - 6px) / 2);
}
.b-course.lanes-2.lane-0 {
  justify-self: start;
  margin-left: calc(0 * (100% - 6px) / 2 + 3px);
}
.b-course.lanes-2.lane-1 {
  justify-self: start;
  margin-left: calc(1 * (100% - 6px) / 2 + 3px);
}
.b-course.lanes-3 {
  width: calc((100% - 6px) / 3);
}
.b-course.lanes-3.lane-0 {
  justify-self: start;
  margin-left: calc(0 * (100% - 6px) / 3 + 3px);
}
.b-course.lanes-3.lane-1 {
  justify-self: start;
  margin-left: calc(1 * (100% - 6px) / 3 + 3px);
}
.b-course.lanes-3.lane-2 {
  justify-self: start;
  margin-left: calc(2 * (100% - 6px) / 3 + 3px);
}
.b-course.lanes-4 {
  width: calc((100% - 6px) / 4);
}
.b-course.lanes-4.lane-0 {
  justify-self: start;
  margin-left: calc(0 * (100% - 6px) / 4 + 3px);
}
.b-course.lanes-4.lane-1 {
  justify-self: start;
  margin-left: calc(1 * (100% - 6px) / 4 + 3px);
}
.b-course.lanes-4.lane-2 {
  justify-self: start;
  margin-left: calc(2 * (100% - 6px) / 4 + 3px);
}
.b-course.lanes-4.lane-3 {
  justify-self: start;
  margin-left: calc(3 * (100% - 6px) / 4 + 3px);
}
@media (max-width: 760px) {
  .b-week-grid.is-day .cal-day-0 {
    grid-column: 2;
  }
}

.staff-header {
  justify-content: flex-start;
}
.metrics-grid .metric-value {
  color: var(--ui-text);
}
.workbench-grid .panel {
  margin-bottom: 0;
}
.home-side {
  gap: 20px;
}
.home-month-count {
  margin: 8px 0 14px !important;
}
.home-messages .message-card {
  margin-bottom: 20px;
}
.home-messages:empty {
  display: none;
}
.home-lesson .ui-button--link .ui-button-face {
  border: 0;
}
.staff-nav .ui-disclosure-panel div {
  margin: 0;
}
.staff-nav .ui-disclosure {
  margin-top: 4px;
}
.staff-nav .ui-disclosure-inner .ui-button {
  min-height: 40px;
}
.staff-nav .ui-disclosure-inner .ui-button-face {
  min-height: 36px;
}
.ui-root .ui-button--link.button .ui-button-face {
  background: transparent;
  border-color: transparent;
  color: var(--ui-primary);
}

.student-detail .row,
.business-drawer .row {
  justify-content: flex-start;
  gap: 8px;
}
.student-detail > .row {
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.student-detail > .row .ui-button-face {
  border: 0;
  background: none;
}
.student-index .ui-pagination > span:first-child {
  display: none;
}
.staff-nav {
  gap: 0;
}
.home-messages .system-banner {
  margin-bottom: 20px;
}
.b-calendar-page .page-heading h1,
.content[data-page="students"] > .page-heading h1 {
  font-size: 18px;
}
.calendar-help {
  margin-bottom: 0;
}
.current-time-line.now-offset-0 {
  margin-top: 0px;
}
.current-time-line.now-offset-1 {
  margin-top: 1.467px;
}
.current-time-line.now-offset-2 {
  margin-top: 2.933px;
}
.current-time-line.now-offset-3 {
  margin-top: 4.4px;
}
.current-time-line.now-offset-4 {
  margin-top: 5.867px;
}
.current-time-line.now-offset-5 {
  margin-top: 7.333px;
}
.current-time-line.now-offset-6 {
  margin-top: 8.8px;
}
.current-time-line.now-offset-7 {
  margin-top: 10.267px;
}
.current-time-line.now-offset-8 {
  margin-top: 11.733px;
}
.current-time-line.now-offset-9 {
  margin-top: 13.2px;
}
.current-time-line.now-offset-10 {
  margin-top: 14.667px;
}
.current-time-line.now-offset-11 {
  margin-top: 16.133px;
}
.current-time-line.now-offset-12 {
  margin-top: 17.6px;
}
.current-time-line.now-offset-13 {
  margin-top: 19.067px;
}
.current-time-line.now-offset-14 {
  margin-top: 20.533px;
}

.current-time-line,
.current-time-line::before {
  background: #b42332;
}

.calendar-resource-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
}
.calendar-resource-table {
  min-width: 950px;
  table-layout: fixed;
}
.calendar-resource-table th:first-child {
  width: 100px;
}
.calendar-resource-table .b-course {
  display: flex;
  width: auto;
  min-height: 66px;
  white-space: normal;
  margin: 4px 0;
}
.calendar-resource-table td {
  vertical-align: top;
  padding: 4px;
}
.calendar-resource-table th {
  white-space: normal;
}
.calendar-resource-table .b-course > * {
  white-space: normal;
}
@media (max-width: 760px) {
  .calendar-resource-table {
    min-width: 0;
    width: 100%;
  }
  .calendar-resource-table th:first-child {
    width: 70px;
  }
}
/* Override earlier mobile shell selectors explicitly: sidebar must leave normal flow. */
.app-frame > .staff-sidebar {
  position: fixed;
  display: block;
  height: 100dvh;
  max-height: none;
  padding: 0;
  inset: 0 auto 0 0;
}
.main > .staff-header {
  height: 64px;
  flex-wrap: nowrap;
  padding: 8px 28px;
  gap: 12px;
}
.mobile-brand-logo {
  display: none;
}
@media (max-width: 760px) {
  .app-frame > .staff-sidebar {
    width: min(304px, 85vw);
    height: 100dvh;
    max-height: none;
    display: block;
    padding: 0;
  }
  .main > .staff-header {
    height: 64px;
    padding: 8px 12px;
    gap: 8px;
  }
  .header-tools > .button.primary {
    display: none;
  }
  .mobile-brand-logo {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 16px;
    flex: none;
  }
  .mobile-brand-logo.fallback {
    display: grid;
  }
  .header-title {
    font-size: 16px;
    line-height: 1.4;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-title::before {
    content: attr(data-brand);
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--ui-muted);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .staff-nav .ui-disclosure-inner .ui-button {
    min-height: 44px;
  }
  .staff-sidebar .brand {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
  }
}

.metrics-grid > .panel {
  margin: 0;
}
.metrics-grid .home-month-count {
  font-size: 12px;
  line-height: 1.4;
  margin: 4px 0 !important;
}
.login-panel .ui-button.button .ui-button-face {
  min-height: 46px;
}
.home-messages .system-banner {
  padding: 2px 14px;
  margin: 0 0 20px;
  min-height: 46px;
}
.home-messages .system-banner > span {
  font-size: 13px;
}
.home-messages .system-banner strong {
  font-size: 13px;
}
@media (max-width: 760px) {
  .login-panel .ui-button.button .ui-button-face {
    min-height: 50px;
  }
  .metrics-grid .panel {
    min-height: 128px;
  }
  .home-messages .system-banner {
    padding: 10px 12px;
  }
  .home-messages .system-banner > .ui-button {
    margin-top: 0;
  }
  .header-date {
    display: none;
  }
}
.ui-native-select {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px !important;
  padding: 0;
  border: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

@media (max-width: 760px) {
  .app-frame > .staff-sidebar {
    visibility: visible;
  }
  .nav-scrim {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ui-duration-panel) var(--ui-ease-enter);
  }
  .app-frame.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

.calendar-search {
  flex: 1 1 190px;
  margin: 0;
  min-width: 180px;
}
.calendar-search > label {
  display: none;
}
.calendar-filters .calendar-search {
  max-width: 240px;
}
.calendar-filter-tags:empty {
  display: none;
}
.calendar-filter-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.attendance-list .ui-table {
  min-width: 0;
  table-layout: fixed;
}
.attendance-list .ui-table th:first-child {
  width: 30%;
}
.attendance-list .ui-table-scroll,
.attendance-list .ui-cell-clip {
  overflow: visible;
}
.attendance-list .ui-cell:focus-within {
  z-index: 5;
}
.attendance-list .ui-cell-body {
  padding: 8px;
  display: block;
}
.attendance-list .participant-control {
  min-width: 0;
}
.attendance-list .ui-field {
  margin: 0 0 4px;
}
.attendance-list .ui-picker-trigger {
  max-width: 100%;
}
.attendance-list .ui-popover {
  min-width: 160px;
}
.attendance-list .ui-list-tools > .ui-field {
  min-width: 150px;
}
.attendance-list .ui-search {
  min-width: 180px;
}
@media (max-width: 760px) {
  .calendar-filters .calendar-search {
    max-width: none;
    flex-basis: 100%;
  }
  .attendance-list .ui-table th:first-child {
    width: auto;
  }
  .attendance-list .ui-table--responsive .ui-cell-body {
    display: flex;
    align-items: start;
    gap: 8px;
  }
  .attendance-list .participant-control {
    flex: 1;
  }
  .attendance-list .ui-mobile-label {
    min-width: 40px;
  }
  .attendance-list .ui-row {
    overflow: visible;
  }
}

/* B验收后六项修正；不改变接口。 */
.ui-more-menu {
  margin: auto;
  padding: 8px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  box-shadow: var(--ui-shadow-panel);
  background: white;
  min-width: 168px;
}
.ui-more-menu > span {
  display: grid !important;
}
.ui-more-menu .ui-button {
  width: 100%;
  justify-content: start;
}
.ui-more-menu .ui-button-face {
  width: 100%;
  justify-content: start;
}
.ui-more-menu::backdrop {
  background: transparent;
}
.student-index .ui-table th:first-child {
  width: auto;
}
.student-index .ui-actions-head {
  width: 44px;
}
.student-index .ui-row .ui-cell-clip {
  overflow: visible;
}
.student-index .ui-row td {
  padding: 6px 0;
}
.student-course-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.student-entry {
  width: 100%;
  gap: 8px;
}
.student-entry > span:nth-child(2) {
  flex: 1;
}
.student-row-balance {
  white-space: nowrap;
  font-size: 12px;
  color: var(--ui-muted);
  margin-left: auto;
}
.student-index .ui-cell-body {
  min-height: 54px;
}
.student-index .ui-table .ui-actions .ui-cell-body {
  min-height: 44px;
}
.student-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.student-metrics .metric-value {
  font-size: 24px;
}
.student-recent-lesson {
  padding: 12px 0;
  border-top: 1px solid var(--ui-divider);
}
.student-recent-lesson small {
  display: block;
}
.student-recent-lesson p {
  white-space: pre-wrap;
}
.staff-sidebar .brand {
  min-height: 64px;
  padding: 12px 18px;
}
.staff-nav {
  padding-top: 4px;
  gap: 0;
}
.staff-nav .ui-disclosure {
  margin: 0;
  padding: 0;
}
.staff-nav .ui-disclosure > button {
  font-size: 11px;
  color: var(--ui-muted);
  font-weight: 400;
  min-height: 24px;
  padding: 2px 10px;
}
.staff-nav .ui-disclosure-inner .ui-button {
  min-height: 32px;
}
.staff-nav .ui-disclosure-inner .ui-button-face {
  min-height: 28px;
  padding: 4px 10px;
}
.task-count {
  margin-left: auto;
  text-align: right;
  min-width: 32px;
  font-variant-numeric: tabular-nums;
}
.task-line .ui-button-face {
  display: flex;
  width: 100%;
  gap: 12px;
}
@media (max-width: 1050px) {
  .student-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .staff-nav .ui-disclosure > button,
  .staff-nav .ui-disclosure-inner .ui-button {
    min-height: 44px;
  }
  .student-index .ui-table--responsive .ui-cell-body {
    display: block;
  }
  .student-index .ui-mobile-label {
    display: none;
  }
  .student-index .ui-table--responsive tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }
  .student-index .ui-table--responsive tbody {
    gap: 0;
  }
  .student-index .ui-table--responsive tr {
    border-radius: 0;
    border-width: 0 0 1px;
  }
  .student-index .ui-actions .ui-cell-body > span {
    display: block;
  }
}
.b-course.color-0 {
  border-left-color: var(--ui-category-1);
  background: var(--ui-category-1-soft);
  color: var(--ui-category-1-text);
}
.b-course.color-1 {
  border-left-color: var(--ui-category-2);
  background: var(--ui-category-2-soft);
  color: var(--ui-category-2-text);
}
.b-course.color-2 {
  border-left-color: var(--ui-category-3);
  background: var(--ui-category-3-soft);
  color: var(--ui-category-3-text);
}
.b-course.color-3 {
  border-left-color: var(--ui-category-4);
  background: var(--ui-category-4-soft);
  color: var(--ui-category-4-text);
}
.b-course.color-4 {
  border-left-color: var(--ui-category-5);
  background: var(--ui-category-5-soft);
  color: var(--ui-category-5-text);
}
.b-course.color-5 {
  border-left-color: var(--ui-category-6);
  background: var(--ui-category-6-soft);
  color: var(--ui-category-6-text);
}
.b-course.color-6 {
  border-left-color: var(--ui-category-7);
  background: var(--ui-category-7-soft);
  color: var(--ui-category-7-text);
}
.b-course.color-7 {
  border-left-color: var(--ui-category-8);
  background: var(--ui-category-8-soft);
  color: var(--ui-category-8-text);
}

.ui-more-menu {
  position: fixed;
  position-anchor: auto;
  top: anchor(bottom);
  left: anchor(left);
  margin: 4px 0;
  position-try-fallbacks: flip-block, flip-inline;
}
@media (min-width: 761px) {
  .staff-nav .ui-disclosure-inner .ui-button.button {
    padding: 0;
    min-height: 32px;
  }
  .staff-nav .ui-disclosure-inner .ui-button.button .ui-button-face {
    min-height: 28px;
    padding: 3px 10px;
  }
  .staff-nav .nav-group {
    border: 0;
  }
  .staff-nav .ui-disclosure > button {
    padding: 0 10px;
    min-height: 24px;
  }
}
.staff-nav .nav-group > .ui-disclosure-toggle {
  font-size: 11px;
  font-weight: 400;
  color: var(--ui-muted);
  padding: 0 10px;
  justify-content: space-between;
}
@media (min-width: 761px) {
  .staff-nav .nav-group > .ui-disclosure-toggle {
    min-height: 24px;
  }
}
@media (max-width: 760px) {
  .staff-nav .nav-group > .ui-disclosure-toggle {
    min-height: 44px;
  }
}

/* C1结构层：既有色板、字号、圆角与动效token不变。 */
.c1-content > .ui-page > .ui-page-body > h1,
.c1-content .page-heading > h1 {
  display: none;
}
.c1-content .header-date {
  display: none;
}
.c1-content .ui-page-heading {
  margin-bottom: var(--ui-space-4);
}
.c1-content .ui-page-body {
  min-width: 0;
}
.staff-header .header-tools {
  min-width: 0;
}
.c1-global-search {
  position: relative;
}
.c1-search-results {
  position: fixed;
  position-anchor: auto;
  top: anchor(bottom);
  left: anchor(left);
  margin: var(--ui-space-1) 0;
  max-height: 65vh;
  overflow: auto;
  min-width: 280px;
  max-width: min(420px, 90vw);
  border: 1px solid var(--ui-border);
  background: var(--ui-panel);
  padding: var(--ui-space-4);
  border-radius: var(--ui-radius-panel);
  box-shadow: var(--ui-shadow-panel);
}
.c1-search-results .button {
  display: flex;
  width: 100%;
}
.c1-todo-badge,
.c1-unread-badge {
  background: var(--ui-error);
  color: var(--ui-panel);
  border-radius: var(--ui-radius-tag);
  padding: 0 var(--ui-space-1);
  font-size: var(--ui-font-xs);
  margin-left: auto;
}
.c1-unread-badge {
  position: absolute;
  top: 0;
  right: 0;
}
.staff-header > .ui-button,
.staff-header .header-tools > .ui-button {
  position: relative;
}
.c1-avatar-menu .ui-more-menu {
  max-height: 80vh;
  overflow: auto;
}
.c1-content table {
  max-width: 100%;
}
.c1-content .panel,
.c1-content form {
  min-width: 0;
}
.c1-content input,
.c1-content select,
.c1-content textarea {
  max-width: 100%;
}
.c1-content table {
  min-width: 0;
}
.c1-content .table-wrap,
.c1-content .credit-table {
  overflow-x: auto;
}
.c1-content .row {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.c1-content .student-detail > .panel:first-child h2 {
  display: block;
}
@media (max-width: 760px) {
  .header-tools .c1-global-search {
    display: block;
    max-width: 100px;
  }
  .header-tools .c1-global-search input {
    width: 100%;
    min-width: 0;
    padding: var(--ui-space-2);
    font-size: var(--ui-font-xs);
  }
  .staff-header .header-title {
    max-width: 64px;
  }
  .c1-avatar-menu > .ui-button > .ui-button-face {
    max-width: 72px;
    overflow: hidden;
  }
  .staff-header .header-tools {
    gap: 0;
  }
  .c1-content .ui-page-tabs {
    overflow-wrap: anywhere;
  }
  .c1-content .ui-page-actions {
    flex-wrap: wrap;
  }
  .c1-content .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c1-content .student-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c1-content .ui-select,
  .c1-content .ui-field {
    min-width: 0;
  }
  .c1-content .ui-page-body {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .staff-header .header-tools {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }
  .staff-header .ui-button-face {
    white-space: nowrap;
  }
  .staff-header .c1-global-search {
    flex: 1;
    max-width: 90px;
    min-width: 40px;
  }
  .staff-header .header-title {
    min-width: 30px;
    font-size: var(--ui-font-sm);
  }
  .staff-header .c1-avatar-menu > .ui-button > .ui-button-face {
    max-width: 64px;
    white-space: nowrap;
  }
  .staff-header .ui-button-face {
    padding-inline: var(--ui-space-1);
  }
}

.c1-message-panel {
  position: fixed;
  position-anchor: auto;
  top: anchor(bottom);
  right: anchor(right);
  left: auto;
  margin: var(--ui-space-1) 0;
  width: min(420px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: var(--ui-space-4);
  box-shadow: var(--ui-shadow-panel);
  background: var(--ui-panel);
  position-try-fallbacks: flip-block, flip-inline;
}
.c1-message-panel h1 {
  font-size: var(--ui-font-section);
}

/* Structural composition only; A token values and motion curves stay unchanged. */
.c2-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ui-space-4);
  margin-block: var(--ui-space-4);
}
.c2-metric > strong {
  display: block;
  font-size: var(--ui-font-number);
  font-weight: var(--ui-weight-number);
  font-variant-numeric: tabular-nums;
}
.c2-metric.is-danger {
  background: var(--ui-error-bg);
  color: var(--ui-error);
}
.c2-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: var(--ui-space-6);
}
.c2-home-grid > .ui-card {
  min-width: 0;
}
.c2-home-grid > .ui-card > button {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-block: var(--ui-space-2);
}
.c2-course-line > .ui-button-face {
  display: grid;
  grid-template-columns: 100px minmax(100px, 1fr) 1fr 90px auto;
  gap: var(--ui-space-2);
  width: 100%;
  text-align: left;
}
.c2-week-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--ui-space-2);
}
.c2-week-bars .ui-button-face {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 80px;
  background: var(--ui-primary-soft);
}
.c2-detail-head {
  display: flex;
  align-items: center;
  gap: var(--ui-space-3);
  flex-wrap: wrap;
}
.c2-detail-head > p {
  flex-basis: 100%;
}
.c2-detail-head > .ui-filter-bar {
  margin-left: auto;
}
.c2-task-row,
.c2-attendee {
  display: flex;
  align-items: center;
  gap: var(--ui-space-3);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ui-divider);
  padding-block: var(--ui-space-3);
}
.c2-attendee > small {
  flex-basis: 100%;
  color: var(--ui-muted);
}
.c2-attendance-buttons {
  display: flex;
  gap: var(--ui-space-1);
  margin-left: auto;
}
.c2-attendance-buttons [aria-pressed="true"] .ui-button-face {
  background: var(--ui-primary);
  color: var(--ui-panel);
}
.c2-recent {
  border-bottom: 1px solid var(--ui-divider);
  padding: var(--ui-space-3);
}
.ui-root .ui-filter-bar {
  max-width: 100%;
}
.c1-content .ui-page-body > .ui-data-table {
  width: 100%;
}
.c1-content .ui-table-scroll {
  max-width: 100%;
  overflow: auto;
}
.c2-task-row > input {
  width: 22px;
  height: 22px;
  flex: none;
}
@media (max-width: 760px) {
  .c2-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c2-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .c2-course-line > .ui-button-face {
    grid-template-columns: 1fr 1fr;
  }
  .c2-course-line time {
    grid-column: 1/-1;
  }
  .c2-attendee {
    align-items: flex-start;
  }
  .c2-attendance-buttons {
    margin-left: 0;
  }
  .c2-detail-head > .ui-filter-bar {
    margin-left: 0;
  }
  .c2-week-bars {
    gap: 0;
  }
  .c2-week-bars .ui-button-face {
    padding: var(--ui-space-1);
  }
}

.c2-grid {
  grid-template-columns: 56px repeat(7, minmax(336px, 1fr));
  grid-template-rows: 60px repeat(var(--c2-slot-count), 22px);
  min-width: 2408px;
}
.c2-grid.is-day {
  grid-template-columns: 56px minmax(336px, 1fr);
  min-width: 392px;
}
.c2-grid .cal-background {
  grid-row: 2 / span var(--c2-slot-count);
}
.c2-grid .b-course > strong {
  font-size: var(--ui-font-xs);
  text-align: left;
}
.c2-grid .b-course > span,
.c2-grid .b-course > small {
  text-align: left;
}
.c2-grid .status-completed {
  opacity: 0.6;
}
.b-course.is-unchecked:not([aria-busy="true"]):after {
  content: "";
  position: absolute;
  right: var(--ui-space-1);
  top: var(--ui-space-1);
  width: 6px;
  height: 6px;
  border-radius: var(--ui-radius-tag);
  background: var(--ui-error);
}
.b-course.has-conflict {
  outline: 1px dashed var(--ui-error);
}
.calendar-filter-panel {
  position: fixed;
  top: anchor(bottom);
  right: anchor(right);
  left: auto;
  width: min(620px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  margin: 0;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: var(--ui-space-4);
  background: var(--ui-panel);
  position-try-fallbacks: flip-block, flip-inline;
}
.c2-overflow {
  background: var(--ui-neutral-bg);
  color: var(--ui-primary);
}
.c2-grid .c2-overflow > .ui-button-face {
  display: flex;
}
.c2-grid .b-course {
  padding: var(--ui-space-1);
  min-height: 22px;
}
.b-calendar-page {
  max-width: 100%;
  min-width: 0;
}
.b-calendar-viewport {
  max-width: 100%;
  min-width: 0;
}
.c2-start-0 {
  --c2-slot-start: 0;
}
.c2-count-0 {
  --c2-slot-count: 1;
}
.c2-grid .cal-slot-0 {
  grid-row-start: calc(2 - var(--c2-slot-start));
}
.c2-start-1 {
  --c2-slot-start: 1;
}
.c2-count-1 {
  --c2-slot-count: 1;
}
.c2-grid .cal-slot-1 {
  grid-row-start: calc(3 - var(--c2-slot-start));
}
.c2-start-2 {
  --c2-slot-start: 2;
}
.c2-count-2 {
  --c2-slot-count: 2;
}
.c2-grid .cal-slot-2 {
  grid-row-start: calc(4 - var(--c2-slot-start));
}
.c2-start-3 {
  --c2-slot-start: 3;
}
.c2-count-3 {
  --c2-slot-count: 3;
}
.c2-grid .cal-slot-3 {
  grid-row-start: calc(5 - var(--c2-slot-start));
}
.c2-start-4 {
  --c2-slot-start: 4;
}
.c2-count-4 {
  --c2-slot-count: 4;
}
.c2-grid .cal-slot-4 {
  grid-row-start: calc(6 - var(--c2-slot-start));
}
.c2-start-5 {
  --c2-slot-start: 5;
}
.c2-count-5 {
  --c2-slot-count: 5;
}
.c2-grid .cal-slot-5 {
  grid-row-start: calc(7 - var(--c2-slot-start));
}
.c2-start-6 {
  --c2-slot-start: 6;
}
.c2-count-6 {
  --c2-slot-count: 6;
}
.c2-grid .cal-slot-6 {
  grid-row-start: calc(8 - var(--c2-slot-start));
}
.c2-start-7 {
  --c2-slot-start: 7;
}
.c2-count-7 {
  --c2-slot-count: 7;
}
.c2-grid .cal-slot-7 {
  grid-row-start: calc(9 - var(--c2-slot-start));
}
.c2-start-8 {
  --c2-slot-start: 8;
}
.c2-count-8 {
  --c2-slot-count: 8;
}
.c2-grid .cal-slot-8 {
  grid-row-start: calc(10 - var(--c2-slot-start));
}
.c2-start-9 {
  --c2-slot-start: 9;
}
.c2-count-9 {
  --c2-slot-count: 9;
}
.c2-grid .cal-slot-9 {
  grid-row-start: calc(11 - var(--c2-slot-start));
}
.c2-start-10 {
  --c2-slot-start: 10;
}
.c2-count-10 {
  --c2-slot-count: 10;
}
.c2-grid .cal-slot-10 {
  grid-row-start: calc(12 - var(--c2-slot-start));
}
.c2-start-11 {
  --c2-slot-start: 11;
}
.c2-count-11 {
  --c2-slot-count: 11;
}
.c2-grid .cal-slot-11 {
  grid-row-start: calc(13 - var(--c2-slot-start));
}
.c2-start-12 {
  --c2-slot-start: 12;
}
.c2-count-12 {
  --c2-slot-count: 12;
}
.c2-grid .cal-slot-12 {
  grid-row-start: calc(14 - var(--c2-slot-start));
}
.c2-start-13 {
  --c2-slot-start: 13;
}
.c2-count-13 {
  --c2-slot-count: 13;
}
.c2-grid .cal-slot-13 {
  grid-row-start: calc(15 - var(--c2-slot-start));
}
.c2-start-14 {
  --c2-slot-start: 14;
}
.c2-count-14 {
  --c2-slot-count: 14;
}
.c2-grid .cal-slot-14 {
  grid-row-start: calc(16 - var(--c2-slot-start));
}
.c2-start-15 {
  --c2-slot-start: 15;
}
.c2-count-15 {
  --c2-slot-count: 15;
}
.c2-grid .cal-slot-15 {
  grid-row-start: calc(17 - var(--c2-slot-start));
}
.c2-start-16 {
  --c2-slot-start: 16;
}
.c2-count-16 {
  --c2-slot-count: 16;
}
.c2-grid .cal-slot-16 {
  grid-row-start: calc(18 - var(--c2-slot-start));
}
.c2-start-17 {
  --c2-slot-start: 17;
}
.c2-count-17 {
  --c2-slot-count: 17;
}
.c2-grid .cal-slot-17 {
  grid-row-start: calc(19 - var(--c2-slot-start));
}
.c2-start-18 {
  --c2-slot-start: 18;
}
.c2-count-18 {
  --c2-slot-count: 18;
}
.c2-grid .cal-slot-18 {
  grid-row-start: calc(20 - var(--c2-slot-start));
}
.c2-start-19 {
  --c2-slot-start: 19;
}
.c2-count-19 {
  --c2-slot-count: 19;
}
.c2-grid .cal-slot-19 {
  grid-row-start: calc(21 - var(--c2-slot-start));
}
.c2-start-20 {
  --c2-slot-start: 20;
}
.c2-count-20 {
  --c2-slot-count: 20;
}
.c2-grid .cal-slot-20 {
  grid-row-start: calc(22 - var(--c2-slot-start));
}
.c2-start-21 {
  --c2-slot-start: 21;
}
.c2-count-21 {
  --c2-slot-count: 21;
}
.c2-grid .cal-slot-21 {
  grid-row-start: calc(23 - var(--c2-slot-start));
}
.c2-start-22 {
  --c2-slot-start: 22;
}
.c2-count-22 {
  --c2-slot-count: 22;
}
.c2-grid .cal-slot-22 {
  grid-row-start: calc(24 - var(--c2-slot-start));
}
.c2-start-23 {
  --c2-slot-start: 23;
}
.c2-count-23 {
  --c2-slot-count: 23;
}
.c2-grid .cal-slot-23 {
  grid-row-start: calc(25 - var(--c2-slot-start));
}
.c2-start-24 {
  --c2-slot-start: 24;
}
.c2-count-24 {
  --c2-slot-count: 24;
}
.c2-grid .cal-slot-24 {
  grid-row-start: calc(26 - var(--c2-slot-start));
}
.c2-start-25 {
  --c2-slot-start: 25;
}
.c2-count-25 {
  --c2-slot-count: 25;
}
.c2-grid .cal-slot-25 {
  grid-row-start: calc(27 - var(--c2-slot-start));
}
.c2-start-26 {
  --c2-slot-start: 26;
}
.c2-count-26 {
  --c2-slot-count: 26;
}
.c2-grid .cal-slot-26 {
  grid-row-start: calc(28 - var(--c2-slot-start));
}
.c2-start-27 {
  --c2-slot-start: 27;
}
.c2-count-27 {
  --c2-slot-count: 27;
}
.c2-grid .cal-slot-27 {
  grid-row-start: calc(29 - var(--c2-slot-start));
}
.c2-start-28 {
  --c2-slot-start: 28;
}
.c2-count-28 {
  --c2-slot-count: 28;
}
.c2-grid .cal-slot-28 {
  grid-row-start: calc(30 - var(--c2-slot-start));
}
.c2-start-29 {
  --c2-slot-start: 29;
}
.c2-count-29 {
  --c2-slot-count: 29;
}
.c2-grid .cal-slot-29 {
  grid-row-start: calc(31 - var(--c2-slot-start));
}
.c2-start-30 {
  --c2-slot-start: 30;
}
.c2-count-30 {
  --c2-slot-count: 30;
}
.c2-grid .cal-slot-30 {
  grid-row-start: calc(32 - var(--c2-slot-start));
}
.c2-start-31 {
  --c2-slot-start: 31;
}
.c2-count-31 {
  --c2-slot-count: 31;
}
.c2-grid .cal-slot-31 {
  grid-row-start: calc(33 - var(--c2-slot-start));
}
.c2-start-32 {
  --c2-slot-start: 32;
}
.c2-count-32 {
  --c2-slot-count: 32;
}
.c2-grid .cal-slot-32 {
  grid-row-start: calc(34 - var(--c2-slot-start));
}
.c2-start-33 {
  --c2-slot-start: 33;
}
.c2-count-33 {
  --c2-slot-count: 33;
}
.c2-grid .cal-slot-33 {
  grid-row-start: calc(35 - var(--c2-slot-start));
}
.c2-start-34 {
  --c2-slot-start: 34;
}
.c2-count-34 {
  --c2-slot-count: 34;
}
.c2-grid .cal-slot-34 {
  grid-row-start: calc(36 - var(--c2-slot-start));
}
.c2-start-35 {
  --c2-slot-start: 35;
}
.c2-count-35 {
  --c2-slot-count: 35;
}
.c2-grid .cal-slot-35 {
  grid-row-start: calc(37 - var(--c2-slot-start));
}
.c2-start-36 {
  --c2-slot-start: 36;
}
.c2-count-36 {
  --c2-slot-count: 36;
}
.c2-grid .cal-slot-36 {
  grid-row-start: calc(38 - var(--c2-slot-start));
}
.c2-start-37 {
  --c2-slot-start: 37;
}
.c2-count-37 {
  --c2-slot-count: 37;
}
.c2-grid .cal-slot-37 {
  grid-row-start: calc(39 - var(--c2-slot-start));
}
.c2-start-38 {
  --c2-slot-start: 38;
}
.c2-count-38 {
  --c2-slot-count: 38;
}
.c2-grid .cal-slot-38 {
  grid-row-start: calc(40 - var(--c2-slot-start));
}
.c2-start-39 {
  --c2-slot-start: 39;
}
.c2-count-39 {
  --c2-slot-count: 39;
}
.c2-grid .cal-slot-39 {
  grid-row-start: calc(41 - var(--c2-slot-start));
}
.c2-start-40 {
  --c2-slot-start: 40;
}
.c2-count-40 {
  --c2-slot-count: 40;
}
.c2-grid .cal-slot-40 {
  grid-row-start: calc(42 - var(--c2-slot-start));
}
.c2-start-41 {
  --c2-slot-start: 41;
}
.c2-count-41 {
  --c2-slot-count: 41;
}
.c2-grid .cal-slot-41 {
  grid-row-start: calc(43 - var(--c2-slot-start));
}
.c2-start-42 {
  --c2-slot-start: 42;
}
.c2-count-42 {
  --c2-slot-count: 42;
}
.c2-grid .cal-slot-42 {
  grid-row-start: calc(44 - var(--c2-slot-start));
}
.c2-start-43 {
  --c2-slot-start: 43;
}
.c2-count-43 {
  --c2-slot-count: 43;
}
.c2-grid .cal-slot-43 {
  grid-row-start: calc(45 - var(--c2-slot-start));
}
.c2-start-44 {
  --c2-slot-start: 44;
}
.c2-count-44 {
  --c2-slot-count: 44;
}
.c2-grid .cal-slot-44 {
  grid-row-start: calc(46 - var(--c2-slot-start));
}
.c2-start-45 {
  --c2-slot-start: 45;
}
.c2-count-45 {
  --c2-slot-count: 45;
}
.c2-grid .cal-slot-45 {
  grid-row-start: calc(47 - var(--c2-slot-start));
}
.c2-start-46 {
  --c2-slot-start: 46;
}
.c2-count-46 {
  --c2-slot-count: 46;
}
.c2-grid .cal-slot-46 {
  grid-row-start: calc(48 - var(--c2-slot-start));
}
.c2-start-47 {
  --c2-slot-start: 47;
}
.c2-count-47 {
  --c2-slot-count: 47;
}
.c2-grid .cal-slot-47 {
  grid-row-start: calc(49 - var(--c2-slot-start));
}
.c2-start-48 {
  --c2-slot-start: 48;
}
.c2-count-48 {
  --c2-slot-count: 48;
}
.c2-grid .cal-slot-48 {
  grid-row-start: calc(50 - var(--c2-slot-start));
}
.c2-start-49 {
  --c2-slot-start: 49;
}
.c2-count-49 {
  --c2-slot-count: 49;
}
.c2-grid .cal-slot-49 {
  grid-row-start: calc(51 - var(--c2-slot-start));
}
.c2-start-50 {
  --c2-slot-start: 50;
}
.c2-count-50 {
  --c2-slot-count: 50;
}
.c2-grid .cal-slot-50 {
  grid-row-start: calc(52 - var(--c2-slot-start));
}
.c2-start-51 {
  --c2-slot-start: 51;
}
.c2-count-51 {
  --c2-slot-count: 51;
}
.c2-grid .cal-slot-51 {
  grid-row-start: calc(53 - var(--c2-slot-start));
}
.c2-start-52 {
  --c2-slot-start: 52;
}
.c2-count-52 {
  --c2-slot-count: 52;
}
.c2-grid .cal-slot-52 {
  grid-row-start: calc(54 - var(--c2-slot-start));
}
.c2-start-53 {
  --c2-slot-start: 53;
}
.c2-count-53 {
  --c2-slot-count: 53;
}
.c2-grid .cal-slot-53 {
  grid-row-start: calc(55 - var(--c2-slot-start));
}
.c2-start-54 {
  --c2-slot-start: 54;
}
.c2-count-54 {
  --c2-slot-count: 54;
}
.c2-grid .cal-slot-54 {
  grid-row-start: calc(56 - var(--c2-slot-start));
}
.c2-start-55 {
  --c2-slot-start: 55;
}
.c2-count-55 {
  --c2-slot-count: 55;
}
.c2-grid .cal-slot-55 {
  grid-row-start: calc(57 - var(--c2-slot-start));
}
.c2-start-56 {
  --c2-slot-start: 56;
}
.c2-count-56 {
  --c2-slot-count: 56;
}
.c2-grid .cal-slot-56 {
  grid-row-start: calc(58 - var(--c2-slot-start));
}
.c2-start-57 {
  --c2-slot-start: 57;
}
.c2-count-57 {
  --c2-slot-count: 57;
}
.c2-grid .cal-slot-57 {
  grid-row-start: calc(59 - var(--c2-slot-start));
}
.c2-start-58 {
  --c2-slot-start: 58;
}
.c2-count-58 {
  --c2-slot-count: 58;
}
.c2-grid .cal-slot-58 {
  grid-row-start: calc(60 - var(--c2-slot-start));
}
.c2-start-59 {
  --c2-slot-start: 59;
}
.c2-count-59 {
  --c2-slot-count: 59;
}
.c2-grid .cal-slot-59 {
  grid-row-start: calc(61 - var(--c2-slot-start));
}
.c2-start-60 {
  --c2-slot-start: 60;
}
.c2-count-60 {
  --c2-slot-count: 60;
}
.c2-grid .cal-slot-60 {
  grid-row-start: calc(62 - var(--c2-slot-start));
}
.c2-start-61 {
  --c2-slot-start: 61;
}
.c2-count-61 {
  --c2-slot-count: 61;
}
.c2-grid .cal-slot-61 {
  grid-row-start: calc(63 - var(--c2-slot-start));
}
.c2-start-62 {
  --c2-slot-start: 62;
}
.c2-count-62 {
  --c2-slot-count: 62;
}
.c2-grid .cal-slot-62 {
  grid-row-start: calc(64 - var(--c2-slot-start));
}
.c2-start-63 {
  --c2-slot-start: 63;
}
.c2-count-63 {
  --c2-slot-count: 63;
}
.c2-grid .cal-slot-63 {
  grid-row-start: calc(65 - var(--c2-slot-start));
}
.c2-start-64 {
  --c2-slot-start: 64;
}
.c2-count-64 {
  --c2-slot-count: 64;
}
.c2-grid .cal-slot-64 {
  grid-row-start: calc(66 - var(--c2-slot-start));
}
.c2-start-65 {
  --c2-slot-start: 65;
}
.c2-count-65 {
  --c2-slot-count: 65;
}
.c2-grid .cal-slot-65 {
  grid-row-start: calc(67 - var(--c2-slot-start));
}
.c2-start-66 {
  --c2-slot-start: 66;
}
.c2-count-66 {
  --c2-slot-count: 66;
}
.c2-grid .cal-slot-66 {
  grid-row-start: calc(68 - var(--c2-slot-start));
}
.c2-start-67 {
  --c2-slot-start: 67;
}
.c2-count-67 {
  --c2-slot-count: 67;
}
.c2-grid .cal-slot-67 {
  grid-row-start: calc(69 - var(--c2-slot-start));
}
.c2-start-68 {
  --c2-slot-start: 68;
}
.c2-count-68 {
  --c2-slot-count: 68;
}
.c2-grid .cal-slot-68 {
  grid-row-start: calc(70 - var(--c2-slot-start));
}
.c2-start-69 {
  --c2-slot-start: 69;
}
.c2-count-69 {
  --c2-slot-count: 69;
}
.c2-grid .cal-slot-69 {
  grid-row-start: calc(71 - var(--c2-slot-start));
}
.c2-start-70 {
  --c2-slot-start: 70;
}
.c2-count-70 {
  --c2-slot-count: 70;
}
.c2-grid .cal-slot-70 {
  grid-row-start: calc(72 - var(--c2-slot-start));
}
.c2-start-71 {
  --c2-slot-start: 71;
}
.c2-count-71 {
  --c2-slot-count: 71;
}
.c2-grid .cal-slot-71 {
  grid-row-start: calc(73 - var(--c2-slot-start));
}
.c2-start-72 {
  --c2-slot-start: 72;
}
.c2-count-72 {
  --c2-slot-count: 72;
}
.c2-grid .cal-slot-72 {
  grid-row-start: calc(74 - var(--c2-slot-start));
}
.c2-start-73 {
  --c2-slot-start: 73;
}
.c2-count-73 {
  --c2-slot-count: 73;
}
.c2-grid .cal-slot-73 {
  grid-row-start: calc(75 - var(--c2-slot-start));
}
.c2-start-74 {
  --c2-slot-start: 74;
}
.c2-count-74 {
  --c2-slot-count: 74;
}
.c2-grid .cal-slot-74 {
  grid-row-start: calc(76 - var(--c2-slot-start));
}
.c2-start-75 {
  --c2-slot-start: 75;
}
.c2-count-75 {
  --c2-slot-count: 75;
}
.c2-grid .cal-slot-75 {
  grid-row-start: calc(77 - var(--c2-slot-start));
}
.c2-start-76 {
  --c2-slot-start: 76;
}
.c2-count-76 {
  --c2-slot-count: 76;
}
.c2-grid .cal-slot-76 {
  grid-row-start: calc(78 - var(--c2-slot-start));
}
.c2-start-77 {
  --c2-slot-start: 77;
}
.c2-count-77 {
  --c2-slot-count: 77;
}
.c2-grid .cal-slot-77 {
  grid-row-start: calc(79 - var(--c2-slot-start));
}
.c2-start-78 {
  --c2-slot-start: 78;
}
.c2-count-78 {
  --c2-slot-count: 78;
}
.c2-grid .cal-slot-78 {
  grid-row-start: calc(80 - var(--c2-slot-start));
}
.c2-start-79 {
  --c2-slot-start: 79;
}
.c2-count-79 {
  --c2-slot-count: 79;
}
.c2-grid .cal-slot-79 {
  grid-row-start: calc(81 - var(--c2-slot-start));
}
.c2-start-80 {
  --c2-slot-start: 80;
}
.c2-count-80 {
  --c2-slot-count: 80;
}
.c2-grid .cal-slot-80 {
  grid-row-start: calc(82 - var(--c2-slot-start));
}
.c2-start-81 {
  --c2-slot-start: 81;
}
.c2-count-81 {
  --c2-slot-count: 81;
}
.c2-grid .cal-slot-81 {
  grid-row-start: calc(83 - var(--c2-slot-start));
}
.c2-start-82 {
  --c2-slot-start: 82;
}
.c2-count-82 {
  --c2-slot-count: 82;
}
.c2-grid .cal-slot-82 {
  grid-row-start: calc(84 - var(--c2-slot-start));
}
.c2-start-83 {
  --c2-slot-start: 83;
}
.c2-count-83 {
  --c2-slot-count: 83;
}
.c2-grid .cal-slot-83 {
  grid-row-start: calc(85 - var(--c2-slot-start));
}
.c2-start-84 {
  --c2-slot-start: 84;
}
.c2-count-84 {
  --c2-slot-count: 84;
}
.c2-grid .cal-slot-84 {
  grid-row-start: calc(86 - var(--c2-slot-start));
}
.c2-start-85 {
  --c2-slot-start: 85;
}
.c2-count-85 {
  --c2-slot-count: 85;
}
.c2-grid .cal-slot-85 {
  grid-row-start: calc(87 - var(--c2-slot-start));
}
.c2-start-86 {
  --c2-slot-start: 86;
}
.c2-count-86 {
  --c2-slot-count: 86;
}
.c2-grid .cal-slot-86 {
  grid-row-start: calc(88 - var(--c2-slot-start));
}
.c2-start-87 {
  --c2-slot-start: 87;
}
.c2-count-87 {
  --c2-slot-count: 87;
}
.c2-grid .cal-slot-87 {
  grid-row-start: calc(89 - var(--c2-slot-start));
}
.c2-start-88 {
  --c2-slot-start: 88;
}
.c2-count-88 {
  --c2-slot-count: 88;
}
.c2-grid .cal-slot-88 {
  grid-row-start: calc(90 - var(--c2-slot-start));
}
.c2-start-89 {
  --c2-slot-start: 89;
}
.c2-count-89 {
  --c2-slot-count: 89;
}
.c2-grid .cal-slot-89 {
  grid-row-start: calc(91 - var(--c2-slot-start));
}
.c2-start-90 {
  --c2-slot-start: 90;
}
.c2-count-90 {
  --c2-slot-count: 90;
}
.c2-grid .cal-slot-90 {
  grid-row-start: calc(92 - var(--c2-slot-start));
}
.c2-start-91 {
  --c2-slot-start: 91;
}
.c2-count-91 {
  --c2-slot-count: 91;
}
.c2-grid .cal-slot-91 {
  grid-row-start: calc(93 - var(--c2-slot-start));
}
.c2-start-92 {
  --c2-slot-start: 92;
}
.c2-count-92 {
  --c2-slot-count: 92;
}
.c2-grid .cal-slot-92 {
  grid-row-start: calc(94 - var(--c2-slot-start));
}
.c2-start-93 {
  --c2-slot-start: 93;
}
.c2-count-93 {
  --c2-slot-count: 93;
}
.c2-grid .cal-slot-93 {
  grid-row-start: calc(95 - var(--c2-slot-start));
}
.c2-start-94 {
  --c2-slot-start: 94;
}
.c2-count-94 {
  --c2-slot-count: 94;
}
.c2-grid .cal-slot-94 {
  grid-row-start: calc(96 - var(--c2-slot-start));
}
.c2-start-95 {
  --c2-slot-start: 95;
}
.c2-count-95 {
  --c2-slot-count: 95;
}
.c2-grid .cal-slot-95 {
  grid-row-start: calc(97 - var(--c2-slot-start));
}
.c2-start-96 {
  --c2-slot-start: 96;
}
.c2-count-96 {
  --c2-slot-count: 96;
}
.c2-grid .cal-slot-96 {
  grid-row-start: calc(98 - var(--c2-slot-start));
}

.c2-week-bars .c2-bar {
  display: block;
  width: var(--ui-space-6);
  background: var(--ui-primary);
  border-radius: var(--ui-radius-control);
}
.c2-height-0 {
  height: 0px;
}
.c2-height-1 {
  height: 4px;
}
.c2-height-2 {
  height: 8px;
}
.c2-height-3 {
  height: 12px;
}
.c2-height-4 {
  height: 16px;
}
.c2-height-5 {
  height: 20px;
}
.c2-height-6 {
  height: 24px;
}
.c2-height-7 {
  height: 28px;
}
.c2-height-8 {
  height: 32px;
}
.c2-height-9 {
  height: 36px;
}
.c2-height-10 {
  height: 40px;
}
.c2-height-11 {
  height: 44px;
}
.c2-height-12 {
  height: 48px;
}
.c2-height-13 {
  height: 52px;
}
.c2-height-14 {
  height: 56px;
}
.c2-height-15 {
  height: 60px;
}
.c2-height-16 {
  height: 64px;
}
.c2-height-17 {
  height: 68px;
}
.c2-height-18 {
  height: 72px;
}
.c2-height-19 {
  height: 76px;
}
.c2-height-20 {
  height: 80px;
}

.c2-manual-order .student-split {
  display: block;
}
.c2-manual-order .student-detail {
  display: none;
}
.c2-manual-order .student-index {
  width: 100%;
  min-width: 0;
}
/* C3 structure only; A tokens and timing curves stay unchanged. */
.c3-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ui-space-4);
}
.c3-lead-column {
  min-width: 0;
  padding: var(--ui-space-3);
  background: var(--ui-header);
  border-radius: var(--ui-radius-panel);
}
.c3-lead-column h2 {
  font-size: var(--ui-font-sm);
}
.c3-lead-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--ui-space-2);
  padding: var(--ui-space-4);
  margin-bottom: var(--ui-space-3);
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: var(--ui-touch);
}
.c3-lead-card.is-lost {
  opacity: 0.6;
}
.c3-settings {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
  gap: var(--ui-space-6);
}
.c3-settings > nav {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-2);
  align-items: stretch;
}
.c3-settings > section {
  min-width: 0;
}
.c3-settings > nav [aria-current="page"] {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
.c3-steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: var(--ui-space-4);
}
.c3-steps li {
  padding: var(--ui-space-3);
  border-bottom: 2px solid var(--ui-border);
}
.c3-steps [aria-current="step"] {
  color: var(--ui-primary);
  border-color: var(--ui-primary);
  font-weight: var(--ui-weight-heading);
}
.c3-trend {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--ui-space-3);
}
.c3-trend section {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
.c3-trend-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 81px;
  border-bottom: 1px solid var(--ui-border);
}
.c3-trend-bar {
  display: block;
  width: min(25%, var(--ui-space-6));
  background: var(--ui-primary);
}
.c3-trend-legend,
.c3-trend-legend > span {
  display: flex;
  align-items: center;
  gap: var(--ui-space-2);
}
.c3-trend-legend .c3-trend-bar {
  width: var(--ui-space-3);
  height: var(--ui-space-3);
}
.c3-teacher-student {
  width: 100%;
  text-align: left;
}
.c3-teacher-student > .ui-button-face {
  width: 100%;
  justify-content: space-between;
}
.c3-teacher-student .ui-icon {
  order: 1;
}

.c3-bar-teacher_pay_amount {
  background: var(--ui-warning);
}
.c3-bar-cost_amount {
  background: var(--ui-error);
}
.c3-personal .personal-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--ui-space-1);
  min-height: 56px;
}
.c3-personal-course {
  min-height: 100px;
  gap: var(--ui-space-2);
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
  white-space: normal;
}
.c3-personal-course::before {
  display: none;
}
.c3-personal .personal-content {
  padding-bottom: 100px;
  min-width: 0;
}
.c3-personal .week-strip button {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-inline: var(--ui-space-1);
}
.c3-personal .week-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.c3-pending-callout {
  border: 1px solid var(--ui-error);
  background: var(--ui-error-bg);
}
.c3-pending-callout .personal-course {
  background: var(--ui-panel);
}
.c3-own-pay strong {
  font-size: var(--ui-font-number);
}
.c3-tap-target,
.c3-personal form button {
  min-height: 44px;
}
.c3-personal .personal-content > button {
  margin: var(--ui-space-2);
}
.c3-personal pre,
.c1-content pre {
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .c3-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .c3-board,
  .c3-settings {
    grid-template-columns: minmax(0, 1fr);
  }
  .c3-settings > nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .c3-personal .personal-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.c3-lead-card > .ui-button-face,
.c3-personal-course > .ui-button-face,
.c3-personal .personal-nav button > .ui-button-face,
.c3-personal .week-strip button > .ui-button-face {
  display: none;
}
.c3-lead-card > .ui-button-face:not(:empty) {
  display: contents;
}
.c3-lead-card {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
}
.c3-personal-course {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: var(--ui-space-4);
}
.c3-personal .week-strip button {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
}
.c3-personal .week-strip [aria-current="date"] {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
.c3-personal .ui-table {
  min-width: 0;
  width: 100%;
}
.c3-personal .ui-data-table,
.c3-personal .ui-table-scroll {
  min-width: 0;
  max-width: 100%;
}

/* 第十阶段 C 后视觉微调（Claude）。只引用 tokens.css 变量；不改业务结构。
   动效遵守决定 #19：除侧栏展开与删除行收起外只用位移和透明度，减少动态效果时降级为透明度。 */

/* ---------- 顶栏 ---------- */
.staff-header .ui-menu-holder > .ui-button > .ui-button-face {
  flex-direction: row-reverse;
  gap: var(--ui-space-1);
}
.staff-header .ui-menu-holder > .ui-button svg {
  width: 14px;
  height: 14px;
  color: var(--ui-muted);
}
.staff-header .header-title {
  font-size: var(--ui-font-title);
  font-weight: var(--ui-weight-heading);
  letter-spacing: 0.01em;
}

/* ---------- 页内分页标签 ---------- */
.ui-page-heading {
  margin-bottom: var(--ui-space-2);
}
.ui-page-tabs {
  gap: var(--ui-space-1);
}
.ui-page-tabs > .ui-button {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-inline: var(--ui-space-1);
}
.ui-page-tabs .ui-button-face {
  padding-inline: var(--ui-space-2);
  color: var(--ui-muted);
  font-weight: var(--ui-weight-medium);
}
.ui-page-tabs > .ui-button:hover .ui-button-face {
  color: var(--ui-text);
}
.ui-page-tabs [aria-current="page"] .ui-button-face {
  border-bottom: 0;
  color: var(--ui-primary);
}
.ui-page-tabs [aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--ui-space-2);
  right: var(--ui-space-2);
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--ui-primary);
}
.ui-tab-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-inline-start: 0;
  margin-inline-end: var(--ui-space-2);
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
  font-size: var(--ui-font-xs);
  font-weight: var(--ui-weight-medium);
  line-height: 1;
}
.ui-page-tabs [aria-current="page"] .ui-tab-count {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}

/* ---------- 卡片与关键数字 ---------- */
.c2-metrics {
  gap: var(--ui-space-4);
  margin-block: var(--ui-space-3) var(--ui-space-6);
}
.c2-metric {
  padding: var(--ui-space-4) var(--ui-space-6) var(--ui-space-4);
  min-height: 0;
  text-align: left;
  align-items: flex-start;
}
.c2-metric .ui-card-title {
  margin: 0 0 var(--ui-space-1);
  font-size: var(--ui-font-sm);
  font-weight: var(--ui-weight-regular);
  color: var(--ui-muted);
}
.c2-metric > strong {
  line-height: 1.25;
  color: var(--ui-text);
}
.c2-metric.is-danger {
  background: var(--ui-panel);
  border-color: var(--ui-border);
  box-shadow: inset 3px 0 0 var(--ui-error);
}
.c2-metric.is-danger > strong {
  color: var(--ui-error);
}
.c2-metric.is-danger .ui-card-title {
  color: var(--ui-muted);
}

/* ---------- 今天：今日课程列表 ---------- */
.c2-home-grid {
  gap: var(--ui-space-4);
  align-items: start;
}
.c2-home-grid > .ui-card,
.c2-week {
  padding: var(--ui-space-4) var(--ui-space-6) var(--ui-space-3);
}
.c2-home-grid .ui-card-title,
.c2-week .ui-card-title {
  font-size: var(--ui-font-section);
  font-weight: var(--ui-weight-heading);
  margin-bottom: var(--ui-space-2);
}
.c2-today > .c2-course-line {
  margin: 0;
  min-height: 52px;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--ui-divider);
  background: transparent;
}
.c2-today > .c2-course-line > .ui-button-face {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: var(--ui-space-3) var(--ui-space-2);
  align-items: center;
  grid-template-columns: 96px minmax(96px, 1.1fr) minmax(0, 1fr) 80px auto;
  font-weight: var(--ui-weight-regular);
  min-height: 52px;
}
.c2-today > .c2-course-line:hover > .ui-button-face {
  background: var(--ui-header);
}
.c2-course-line time {
  color: var(--ui-muted);
  font-variant-numeric: tabular-nums;
}
.c2-course-line strong {
  font-weight: var(--ui-weight-heading);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c2-course-line > .ui-button-face > span:not(.ui-badge) {
  color: var(--ui-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c2-course-line .ui-badge {
  justify-self: end;
}

/* ---------- 今天：需要处理 ---------- */
.c2-pending > .c2-pending-item {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--ui-divider);
  border-radius: 0;
  background: transparent;
}
.c2-pending > .c2-pending-item > .ui-button-face {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border: 0;
  border-radius: var(--ui-radius-control);
  background: transparent;
  padding: var(--ui-space-3) var(--ui-space-2) var(--ui-space-3)
    var(--ui-space-4);
  font-weight: var(--ui-weight-regular);
  position: relative;
  white-space: normal;
}
.c2-pending > .c2-pending-item > .ui-button-face::before {
  content: "";
  position: absolute;
  left: var(--ui-space-1);
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 3px;
  background: var(--ui-neutral);
}
.c2-pending > .c2-pending-item.is-overdue > .ui-button-face::before {
  background: var(--ui-error);
}
.c2-pending > .c2-pending-item.is-today > .ui-button-face::before {
  background: var(--ui-warning);
}
.c2-pending > .c2-pending-item:hover > .ui-button-face {
  background: var(--ui-header);
}
.c2-pending > .c2-pending-all {
  margin: var(--ui-space-2) 0 0;
  border-top: 1px solid var(--ui-divider);
  border-radius: 0;
}
.c2-pending > .c2-pending-all > .ui-button-face {
  border: 0;
  background: transparent;
  color: var(--ui-primary);
  justify-content: flex-start;
  padding-inline: var(--ui-space-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 今天：本周概况 ---------- */
.c2-week {
  margin-top: var(--ui-space-4);
}
.c2-week-bars {
  gap: var(--ui-space-3);
  align-items: end;
}
.c2-week-bars > .ui-button {
  border: 0;
  background: transparent;
}
.c2-week-bars .ui-button-face {
  border: 0;
  border-radius: var(--ui-radius-control);
  background: transparent;
  gap: var(--ui-space-1);
  min-height: 112px;
  padding: var(--ui-space-2) var(--ui-space-1);
}
.c2-week-bars > .ui-button:hover .ui-button-face {
  background: var(--ui-header);
}
.c2-week-bars .c2-bar {
  width: 28px;
  border-radius: var(--ui-radius-tag) var(--ui-radius-tag) 2px 2px;
  background: var(--ui-primary);
  opacity: 0.85;
}
.c2-week-bars strong {
  font-size: var(--ui-font-sm);
}
.c2-week-bars .ui-button-face > span:last-child {
  font-size: var(--ui-font-xs);
  color: var(--ui-muted);
}

/* ---------- 周课表：一屏放下 7 天 ---------- */
.c2-grid {
  grid-template-columns: 56px repeat(7, minmax(148px, 1fr));
  min-width: 1092px;
}
.c2-grid.is-day {
  grid-template-columns: 56px minmax(300px, 1fr);
  min-width: 0;
}
.c2-grid .b-course {
  padding: 3px var(--ui-space-1) 3px 6px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 70%);
}
.c2-grid .b-course > strong {
  letter-spacing: -0.01em;
}
.c2-grid .b-course:not(.c2-overflow):hover {
  transform: translateY(-1px);
  box-shadow: var(--ui-shadow-hover);
  z-index: 4;
}
.c2-grid .c2-overflow {
  border-left-color: var(--ui-border);
  border-style: dashed;
  border-width: 1px;
  background: var(--ui-header);
  font-weight: var(--ui-weight-medium);
}
.c2-grid .c2-overflow:hover {
  background: var(--ui-primary-soft);
}
.c2-grid .c2-overflow > .ui-button-face {
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--ui-space-1);
}
.cal-column-head {
  font-weight: var(--ui-weight-heading);
}
.cal-column-head small {
  font-weight: var(--ui-weight-regular);
  color: var(--ui-muted);
}

/* ---------- 线索看板 ---------- */
.c3-board {
  gap: var(--ui-space-3);
}
.c3-lead-column {
  background: var(--ui-header);
  border: 1px solid var(--ui-divider);
  padding: var(--ui-space-3);
}
.c3-lead-column h2 {
  margin: 0 0 var(--ui-space-3);
  font-weight: var(--ui-weight-heading);
  color: var(--ui-secondary);
}
.c3-lead-card {
  padding: var(--ui-space-3) var(--ui-space-3);
  gap: var(--ui-space-1);
  margin-bottom: var(--ui-space-2);
  border-color: var(--ui-border);
  border-radius: var(--ui-radius-control);
  font-weight: var(--ui-weight-regular);
  color: var(--ui-secondary);
  font-size: var(--ui-font-sm);
}
.c3-lead-card strong {
  color: var(--ui-text);
  font-size: var(--ui-font-body);
  font-weight: var(--ui-weight-heading);
}
.c3-lead-card:hover {
  border-color: var(--ui-input-border);
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-1px);
}

/* ---------- 机构设置左侧目录 ---------- */
.c3-settings > nav {
  gap: 2px;
  padding: var(--ui-space-2);
  align-self: start;
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
}
.c3-settings > nav > .ui-button {
  border: 0;
  background: transparent;
  width: 100%;
}
.c3-settings > nav > .ui-button > .ui-button-face {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  font-weight: var(--ui-weight-regular);
  color: var(--ui-secondary);
}
.c3-settings > nav > .ui-button:hover > .ui-button-face {
  background: var(--ui-header);
}
.c3-settings > nav [aria-current="page"] {
  background: transparent;
}
.c3-settings > nav [aria-current="page"] > .ui-button-face {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: var(--ui-weight-heading);
}

/* ---------- 表格 ---------- */
.ui-table-scroll {
  border-radius: var(--ui-radius-panel);
}

/* ---------- 路由切换：淡入加轻微上移 ---------- */
.route-enter,
.ui-page-enter {
  animation-name: polish-page-enter;
}
@keyframes polish-page-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .c2-metric {
    padding: var(--ui-space-3) var(--ui-space-4);
  }
  .c2-home-grid > .ui-card,
  .c2-week {
    padding: var(--ui-space-3) var(--ui-space-4);
  }
  .c2-today > .c2-course-line > .ui-button-face {
    grid-template-columns: 1fr auto;
    row-gap: 2px;
  }
  .c2-week-bars {
    gap: var(--ui-space-1);
  }
  .c2-week-bars .c2-bar {
    width: 18px;
  }
  .c3-settings > nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: var(--ui-space-1);
  }
  .c3-settings > nav > .ui-button {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c2-grid .b-course,
  .c3-lead-card {
    transition-property: opacity;
  }
  .c2-grid .b-course:hover,
  .c3-lead-card:hover {
    transform: none;
  }
}

/* ---------- 周课表卡片：两道并排时首行拆为“时间 / 学生名”两行，名字完整可读 ---------- */
.c2-grid .b-course > strong > time {
  font-variant-numeric: tabular-nums;
}
.c2-grid .b-course.lanes-2 > strong {
  display: flex;
  flex-direction: column;
  white-space: normal;
  line-height: 1.3;
}
.c2-grid .b-course.lanes-2 > strong > time {
  font-weight: var(--ui-weight-medium);
  opacity: 0.8;
}
.c2-grid .b-course.lanes-2 > strong > .b-course-who {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c2-grid .c2-overflow > .ui-button-face {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ui-primary);
  min-height: 0;
  width: 100%;
}

/* 今日课程行高收紧到约 48px */
.c2-today > .c2-course-line,
.c2-today > .c2-course-line > .ui-button-face {
  min-height: 0;
  padding-block: 0;
}
.c2-today > .c2-course-line > .ui-button-face {
  padding: var(--ui-space-3) var(--ui-space-2);
}
.c2-pending > .c2-pending-item,
.c2-pending > .c2-pending-item > .ui-button-face {
  min-height: 0;
}
.c2-pending > .c2-pending-item {
  padding: 0;
}
.c2-grid .b-course > strong {
  flex-shrink: 0;
}
.c2-grid .b-course.lanes-2.status-completed > strong::after {
  content: none;
}
.c2-grid .b-course.lanes-2.status-completed > strong > time::after {
  content: " ✓";
}
.c2-grid .b-course {
  overflow: hidden;
}
.c2-grid .b-course > * {
  flex-shrink: 0;
}
/* 两道并排时高度只够三行：老师（优先级最低）不显示，悬浮提示与课程面板仍有完整信息 */
.c2-grid .b-course.lanes-2 > small {
  display: none;
}

/* ---------- 跟进任务行：学员名用链接样式，系统项与人工项同一行式 ---------- */
.c2-task-row {
  padding-inline: var(--ui-space-2);
  min-height: 48px;
}
.c2-task-row > .ui-button,
.c2-task-row > .ui-button > .ui-button-face {
  border: 0;
  background: transparent;
  min-height: 0;
  padding: 0;
}
.c2-task-row > .ui-button > .ui-button-face {
  color: var(--ui-primary);
  font-weight: var(--ui-weight-heading);
}
.c2-task-row > .ui-button:hover > .ui-button-face {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.c2-task-row > time {
  color: var(--ui-muted);
  font-size: var(--ui-font-sm);
  margin-left: auto;
}
.c2-task-row > small {
  color: var(--ui-muted);
  min-width: 56px;
}
.c2-task-row.is-system > span:last-child {
  color: var(--ui-secondary);
}
.ui-badge--neutral {
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
}
.ui-disclosure-toggle {
  font-weight: var(--ui-weight-heading);
  color: var(--ui-secondary);
}

/* ---------- 数字卡补充说明 ---------- */
.c3-metric-note {
  font-size: var(--ui-font-sm);
  font-weight: var(--ui-weight-medium);
  color: var(--ui-warning);
  white-space: nowrap;
}

/* ---------- “更多”类菜单按钮：箭头放在文字后 ---------- */
.ui-menu-holder > .ui-button > .ui-button-face:has(> span) {
  flex-direction: row-reverse;
  gap: var(--ui-space-1);
}
.ui-menu-holder > .ui-button > .ui-button-face:has(> span) > svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* ---------- 页面操作区与筛选条 ---------- */
.ui-page-body > .ui-filter-bar,
.c1-content .ui-filter-bar {
  row-gap: var(--ui-space-2);
}
.ui-field > label {
  font-size: var(--ui-font-xs);
  color: var(--ui-muted);
}
.c3-board .c3-lead-card.ui-button {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  padding: var(--ui-space-3);
  box-shadow: 0 1px 0 rgb(30 26 38 / 3%);
  transition:
    transform var(--ui-duration-micro) var(--ui-ease-enter),
    box-shadow var(--ui-duration-micro) var(--ui-ease-enter),
    border-color var(--ui-duration-micro) var(--ui-ease-enter);
}
.c3-board .c3-lead-card.ui-button:hover {
  border-color: var(--ui-input-border);
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-1px);
}
.c3-board .c3-lead-card.ui-button.is-lost {
  background: var(--ui-header);
}
.ui-tab-count {
  background: var(--ui-divider);
}
@media (prefers-reduced-motion: reduce) {
  .c3-board .c3-lead-card.ui-button {
    transition-property: opacity;
  }
  .c3-board .c3-lead-card.ui-button:hover {
    transform: none;
  }
}
.c3-lead-column {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-2);
}
.c3-lead-column h2 {
  margin-bottom: var(--ui-space-1);
}
.c3-board .c3-lead-card.ui-button {
  margin: 0;
}

/* ---------- 手机端员工顶栏：两行，搜索框独占第二行 ---------- */
@media (max-width: 760px) {
  .main > .staff-header {
    height: auto;
    flex-wrap: wrap;
    row-gap: var(--ui-space-2);
    padding-bottom: var(--ui-space-3);
  }
  .main > .staff-header > .header-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .main > .staff-header > .header-tools {
    display: contents;
  }
  .main > .staff-header .header-search {
    order: 10;
    flex: 1 1 100%;
    max-width: none;
  }
  .main > .staff-header .header-search input {
    width: 100%;
    max-width: none;
  }
}

/* ---------- 教师/学员手机端课程卡：三行紧凑排列 ---------- */
.c3-personal .c3-personal-course {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--ui-space-2);
  row-gap: 2px;
  width: 100%;
  margin: 0 0 var(--ui-space-2);
  padding: var(--ui-space-3) var(--ui-space-4);
  text-align: left;
  border-radius: var(--ui-radius-panel);
  transition:
    transform var(--ui-duration-press) var(--ui-ease-enter),
    box-shadow var(--ui-duration-micro) var(--ui-ease-enter);
}
.c3-personal .c3-personal-course > time {
  grid-column: 1 / 3;
  grid-row: 1;
  font-size: var(--ui-font-sm);
  color: var(--ui-muted);
  font-variant-numeric: tabular-nums;
}
.c3-personal .c3-personal-course > .ui-badge {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.c3-personal .c3-personal-course > span:not(.ui-badge):not(.ui-sr-only) {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: var(--ui-font-section);
  font-weight: var(--ui-weight-heading);
  color: var(--ui-text);
}
.c3-personal .c3-personal-course > strong {
  grid-column: 1;
  grid-row: 3;
  font-weight: var(--ui-weight-regular);
  color: var(--ui-secondary);
  font-size: var(--ui-font-sm);
}
.c3-personal .c3-personal-course > small {
  grid-column: 2 / -1;
  grid-row: 3;
  color: var(--ui-muted);
  font-size: var(--ui-font-sm);
}
.c3-personal .c3-personal-course > strong + small::before {
  content: "· ";
}
.c3-personal .c3-personal-course:active {
  transform: scale(0.99);
}
.c3-personal .personal-content > h1 {
  font-size: var(--ui-font-title);
  margin-bottom: var(--ui-space-1);
}
.c3-personal .personal-content > h2 {
  font-size: var(--ui-font-section);
  margin: var(--ui-space-6) 0 var(--ui-space-2);
}
.c3-personal .personal-content > p {
  color: var(--ui-muted);
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .c3-personal .c3-personal-course {
    transition-property: opacity;
  }
  .c3-personal .c3-personal-course:active {
    transform: none;
  }
}
.ui-page-tabs:empty {
  display: none;
}
.ui-page-heading:has(> .ui-page-tabs:empty):has(> .ui-page-actions:empty) {
  display: none;
}

/* ---------- 学员详情页头 ---------- */
.c2-detail-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--ui-space-3);
  row-gap: var(--ui-space-1);
  padding: var(--ui-space-4) var(--ui-space-6);
  margin-bottom: var(--ui-space-4);
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
}
.c2-detail-head > .ui-button:first-child {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  background: transparent;
}
.c2-detail-head > .ui-button:first-child > .ui-button-face {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  color: var(--ui-muted);
  font-size: var(--ui-font-sm);
  font-weight: var(--ui-weight-regular);
}
.c2-detail-head > .ui-button:first-child > .ui-button-face::before {
  content: "‹ ";
}
.c2-detail-head > h2 {
  margin: 0;
  font-size: var(--ui-font-title);
  font-weight: var(--ui-weight-heading);
  line-height: 1.3;
}
.c2-detail-head > p {
  grid-column: 1 / 4;
  margin: 0;
  color: var(--ui-muted);
  font-size: var(--ui-font-sm);
}
.c2-detail-head > .ui-filter-bar {
  grid-column: 4;
  grid-row: 2 / span 2;
  margin: 0;
  justify-content: flex-end;
}

/* ---------- 课酬三步进度条 ---------- */
.c3-steps {
  counter-reset: polish-step;
  gap: 0;
  margin: var(--ui-space-4) 0;
  max-width: 640px;
}
.c3-steps li {
  counter-increment: polish-step;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: var(--ui-space-2);
  padding: 0 var(--ui-space-2) 0 0;
  border: 0;
  color: var(--ui-muted);
  font-size: var(--ui-font-sm);
  white-space: nowrap;
}
.c3-steps li::before {
  content: counter(polish-step);
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--ui-input-border);
  background: var(--ui-panel);
  font-size: var(--ui-font-xs);
  font-weight: var(--ui-weight-heading);
}
.c3-steps li:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: var(--ui-space-4);
  background: var(--ui-border);
}
.c3-steps li:has(~ [aria-current="step"]) {
  color: var(--ui-success);
}
.c3-steps li:has(~ [aria-current="step"])::before {
  content: "✓";
  border-color: var(--ui-success);
  background: var(--ui-success-bg);
}
.c3-steps li:has(~ [aria-current="step"])::after {
  background: var(--ui-success);
}
.c3-steps [aria-current="step"] {
  color: var(--ui-primary);
  font-weight: var(--ui-weight-heading);
}
.c3-steps [aria-current="step"]::before {
  border-color: var(--ui-primary);
  background: var(--ui-primary);
  color: var(--ui-panel);
}
@media (max-width: 760px) {
  .c2-detail-head {
    grid-template-columns: auto minmax(0, 1fr);
    padding: var(--ui-space-3) var(--ui-space-4);
  }
  .c2-detail-head > p,
  .c2-detail-head > .ui-filter-bar {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-content: flex-start;
  }
  .c3-steps li {
    white-space: normal;
  }
}
.c2-detail-head ~ .c2-metrics .c2-metric > strong {
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 760px) {
  .c2-detail-head ~ .c2-metrics .c2-metric > strong {
    font-size: 18px;
    white-space: normal;
  }
}

/* ---------- 课程面板（点名销课） ---------- */
.impact-note:empty {
  display: none;
}
.c2-attendee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--ui-space-3);
  row-gap: 2px;
  align-items: center;
}
.c2-attendee > strong {
  grid-column: 1;
  font-size: var(--ui-font-section);
}
.c2-attendee > small {
  grid-column: 1;
  flex-basis: auto;
}
.c2-attendee > .c2-attendance-buttons {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.c2-attendee > :not(strong):not(small):not(.c2-attendance-buttons) {
  grid-column: 1 / -1;
}
.c2-attendance-buttons {
  gap: 0;
  padding: 2px;
  border-radius: var(--ui-radius-control);
  background: var(--ui-neutral-bg);
}
.c2-attendance-buttons > .ui-button > .ui-button-face {
  border: 0;
  background: transparent;
  min-width: 52px;
  transition:
    background-color var(--ui-duration-micro) var(--ui-ease-enter),
    color var(--ui-duration-micro) var(--ui-ease-enter);
}
.c2-attendance-buttons [aria-pressed="true"] .ui-button-face {
  box-shadow: 0 1px 2px rgb(30 26 38 / 12%);
}
.ui-sheet-body > .ui-badge {
  margin-bottom: var(--ui-space-2);
}
.ui-sheet-body > p.ui-muted:first-child {
  margin-top: 0;
}
.c2-attendance-buttons > .ui-button[aria-pressed="true"] > .ui-button-face {
  background: var(--ui-primary);
  color: var(--ui-panel);
}

/* 艺界星途 · 阶段 2 前端（Claude）：登录、选择机构、停用提示、家长端、家长页签。
   颜色与设计稿一致；不引用外部字体（CSP 只允许本站资源）。 */
.yx-login,
.yx-paused {
  --yx-ink: #2b2040;
  --yx-ink-2: #4a4060;
  --yx-muted: #5e5474;
  --yx-line: #dcd3e6;
  --yx-cream: #fbf8f4;
  --yx-violet: #6a35b8;
  --yx-violet-dark: #4e2490;
  --yx-night: #1e162e;
  --yx-soft: #efe9f6;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--yx-ink);
}
.yx-login {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--yx-cream);
}
.yx-login-side {
  position: relative;
  overflow: hidden;
  flex: 0 0 44%;
  max-width: 640px;
  box-sizing: border-box;
}
.yx-login-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  box-sizing: border-box;
}
.yx-login-card {
  width: 100%;
  max-width: 420px;
}
/* 根地址：深色星途面板 */
.yx-login--root .yx-login-side {
  background: var(--yx-night);
  color: #fff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.yx-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.yx-stars-line path {
  fill: none;
  stroke: #6a35b8;
  stroke-width: 1;
  opacity: 0.6;
}
.yx-stars-dot circle {
  fill: #fff;
}
.yx-stars-glow {
  fill: #ffc53d;
  opacity: 0.2;
}
.yx-login-logo,
.yx-login-pitch,
.yx-login-foot {
  position: relative;
}
.yx-login-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.yx-login-logo strong {
  font-size: 22px;
  letter-spacing: 0.1em;
}
.yx-login-pitch {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.yx-login-en {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  color: #f4a85b;
}
.yx-login-pitch h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.35;
  white-space: pre-line;
}
.yx-login-lead {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.8;
  color: #d8cfe4;
}
.yx-login-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.yx-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.yx-tag--coral {
  background: #ff7a59;
  color: #2b2040;
}
.yx-tag--violet {
  background: #8e5fe0;
  color: #fff;
}
.yx-tag--teal {
  background: #16a394;
  color: #fff;
}
.yx-login-foot {
  margin: 0;
  font-size: 13px;
  color: #b9aecb;
}
/* 机构路径：机构背景图 + 标志 */
.yx-login--school .yx-login-side {
  background: linear-gradient(150deg, color-mix(in srgb, var(--theme, #6a35b8) 70%, #fff), color-mix(in srgb, var(--theme, #6a35b8) 25%, #fbf8f4));
}
.yx-login-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yx-login--school .yx-mark.is-tile {
  position: absolute;
  left: 40px;
  bottom: 40px;
}
.yx-login-hero {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 140px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.yx-login-hero strong {
  display: block;
  font-size: 34px;
  line-height: 1.3;
}
.yx-login-hero p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
}
/* 标志 */
.yx-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yx-soft, #efe9f6);
  color: var(--theme, #6a35b8);
  font-weight: 700;
  font-size: 20px;
}
.yx-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.yx-mark.is-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.yx-mark.is-tile {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(43, 32, 64, 0.15);
  font-size: 30px;
}
/* 表单 */
.yx-login-form,
.yx-choose {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.yx-login-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.3;
}
.yx-login-head p {
  margin: 0;
  font-size: 14px;
  color: var(--yx-muted);
}
.yx-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--yx-ink-2);
}
.yx-field input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--yx-line);
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--yx-ink);
  background: #fff;
  box-sizing: border-box;
  width: 100%;
}
.yx-field input:focus-visible {
  outline: 2px solid var(--yx-violet);
  outline-offset: 1px;
  border-color: transparent;
}
.yx-login--school .yx-field input:focus-visible {
  outline-color: var(--theme, #6a35b8);
}
.yx-challenge {
  min-height: 65px;
  font-size: 13px;
  color: var(--yx-muted);
}
.yx-login-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fbe9eb;
  color: #9b2c35;
  font-size: 14px;
}
.yx-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--yx-line, #dcd3e6);
  background: #fff;
  color: var(--yx-ink, #2b2040);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.yx-btn--primary {
  border: 0;
  background: var(--yx-violet, #6a35b8);
  color: #fff;
}
.yx-btn--primary:hover {
  background: var(--yx-violet-dark, #4e2490);
}
.yx-login--school .yx-btn--primary {
  background: var(--yx-ink);
}
.yx-btn--block {
  width: 100%;
  height: 50px;
  font-size: 16px;
}
.yx-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.yx-btn--link {
  border: 0;
  background: none;
  height: auto;
  padding: 4px 0;
  color: var(--yx-violet);
  align-self: flex-start;
}
.yx-btn:focus-visible,
.yx-choose-item:focus-visible {
  outline: 2px solid var(--yx-violet);
  outline-offset: 2px;
}
.yx-login-tip {
  margin: 0;
  border-radius: 12px;
  background: var(--yx-soft);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yx-ink-2);
}
.yx-login-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yx-muted);
}
.yx-login-copy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #7a6e8f;
  text-align: center;
}
/* 选择机构 */
.yx-choose-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yx-choose-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--yx-line);
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.yx-choose-item:hover {
  border-color: var(--yx-violet);
  background: #faf7fe;
}
.yx-choose-item:disabled {
  cursor: default;
  opacity: 0.6;
}
.yx-choose-item.is-busy {
  opacity: 1;
  border-color: var(--yx-violet);
}
.yx-choose-name {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.yx-choose-name strong {
  font-size: 16px;
}
.yx-choose-name small {
  font-size: 12px;
  color: var(--yx-violet);
}
.yx-choose-go {
  font-size: 13px;
  color: var(--yx-muted);
}
.yx-choose-timer {
  font-size: 13px;
  color: var(--yx-muted);
}
/* 手机 */
@media (max-width: 860px) {
  .yx-login {
    flex-direction: column;
  }
  .yx-login-side {
    flex: 0 0 auto;
    max-width: none;
  }
  .yx-login--root .yx-login-side {
    padding: 28px 24px;
    gap: 14px;
  }
  .yx-login--root .yx-login-pitch {
    margin: 0;
    gap: 10px;
  }
  .yx-login--root .yx-login-pitch h1 {
    font-size: 22px;
  }
  .yx-login--root .yx-login-lead,
  .yx-login--root .yx-login-tags,
  .yx-login--root .yx-login-en,
  .yx-login--root .yx-login-foot {
    display: none;
  }
  .yx-login--school .yx-login-side {
    height: 240px;
    overflow: visible;
  }
  .yx-login--school .yx-mark.is-tile {
    left: 24px;
    bottom: -36px;
  }
  .yx-login-hero {
    display: none;
  }
  .yx-login-main {
    align-items: flex-start;
    padding: 32px 24px 24px;
  }
  .yx-login--school .yx-login-main {
    padding-top: 56px;
  }
  .yx-login-head h2 {
    font-size: 24px;
  }
}
/* 机构停用 */
.yx-paused {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: var(--yx-cream);
}
.yx-paused-card {
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(43, 32, 64, 0.06), 0 8px 24px rgba(43, 32, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yx-paused-card h1 {
  margin: 8px 0 0;
  font-size: 22px;
}
.yx-paused-msg {
  margin: 0;
  font-size: 15px;
  color: #8a4506;
  background: #fdf0df;
  border-radius: 10px;
  padding: 10px 14px;
}
.yx-paused-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--yx-muted);
}
.yx-paused-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
/* 家长端 */
.yx-parent-head {
  gap: 10px;
}
.yx-parent-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
.yx-parent .personal-header .yx-child-pick {
  min-height: 0;
  flex: 0 0 auto;
  width: auto;
  height: 36px;
  max-width: 45%;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #dcd3e6;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #2b2040;
}
.yx-child-one {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3eef9;
  color: #2b2040;
  white-space: nowrap;
}
.yx-empty {
  padding: 48px 20px;
  text-align: center;
  color: #5e5474;
}
.yx-empty h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #2b2040;
}
.yx-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
.yx-mine {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.yx-mine h2 {
  margin: 0;
  font-size: 20px;
}
.yx-mine h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #5e5474;
}
.yx-muted {
  color: #6b6476;
  font-size: 13px;
  margin: 0;
}
.yx-kids {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #ece6f2;
}
.yx-kid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f1edf5;
}
.yx-kid:first-of-type {
  border-top: 0;
}
.yx-mine-ops {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yx-mine-ops > * {
  width: 100%;
  justify-content: center;
}
/* 学员档案 · 家长页签 */
.yx-guard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--ui-divider, #efebf3);
}
.yx-guard-who {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.yx-guard-intro {
  line-height: 1.7;
}
.yx-secret-msg {
  background: #f6f3fa;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.7;
  word-break: break-all;
}
/* 员工角色多选 */
.yx-roles {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yx-roles legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}
.yx-role {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--ui-border, #e3deea);
  border-radius: 10px;
  cursor: pointer;
}
.yx-role small {
  margin-left: auto;
  color: var(--ui-muted, #6b6476);
}

/* 艺界星途 · 阶段 3 机构设置（yx-settings.js） */
.yxs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.yxs-bar select,
.yxs-bar input[type="search"] {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--ui-input-border, #d8d2e0);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  min-width: 160px;
  width: auto;
  flex: 0 0 auto;
}
.yxs-bar .yxs-check {
  padding: 0;
}
.yxs-tab[aria-pressed="true"] {
  background: var(--ui-primary-soft, #efe9f6);
  border-color: var(--ui-primary, #6a35b8);
  font-weight: 600;
}
.yxs-table-wrap {
  overflow-x: auto;
}
.yxs-table td {
  white-space: nowrap;
}
.yxs-table td:nth-child(3),
.yxs-table td:nth-child(2) {
  white-space: normal;
}
.yxs-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.yxs-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.yxs-pad {
  padding: 16px;
}
.yxs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.yxs-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.yxs-card p {
  margin: 0;
}
.yxs-card.is-on {
  border-color: #16a394;
}
.yxs-card.is-off {
  opacity: 0.6;
}
.yxs-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}
.yxs-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}
.yxs-check small {
  color: var(--ui-muted, #6b6476);
}
.yxs-check.is-inline {
  padding: 0;
  white-space: nowrap;
}
.yxs-group {
  border: 1px solid var(--ui-divider, #ece6f2);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 12px;
}
.yxs-group legend {
  font-weight: 600;
  padding: 0 4px;
}
.yxs-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.yxs-cal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.yxs-cal-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 150px auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--ui-divider, #ece6f2);
}
.yxs-cal-row input[type="text"],
.yxs-dim input,
.yxs-teacher select,
.yxs-teacher textarea {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--ui-input-border, #d8d2e0);
  border-radius: 8px;
  font: inherit;
  min-width: 0;
}
.yxs-months {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.yxs-month {
  height: 30px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid var(--ui-input-border, #d8d2e0);
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.yxs-month[aria-pressed="true"] {
  background: #16a394;
  border-color: #16a394;
  color: #fff;
  font-weight: 600;
}
.yxs-dim,
.yxs-teacher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.yxs-dim input {
  flex: 1 1 auto;
}
.yxs-teacher textarea {
  flex: 1 1 auto;
  height: auto;
  padding: 8px 10px;
}
.yxs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.yxs-photo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ui-divider, #ece6f2);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  font: inherit;
  text-align: left;
}
.yxs-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3eef9;
  display: block;
}
.yxs-photo figcaption {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yxs-gallery.is-pick .yxs-photo {
  cursor: pointer;
}
.yxs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.yxs-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 12px;
}
.yxs-qr-preview img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid var(--ui-divider, #ece6f2);
  border-radius: 8px;
}
.yxs-color {
  width: 80px;
  height: 40px;
  padding: 2px;
}
.yxs-warn {
  color: #9b2c35;
}
.yxs-ops-list {
  margin: 0;
  padding: 12px 16px 4px 32px;
  line-height: 1.8;
}
@media (max-width: 760px) {
  .yxs-cal-row {
    grid-template-columns: 1fr;
  }
  .yxs-pick {
    grid-template-columns: 1fr;
  }
}

/* 艺界星途 · 阶段 4 课程方案（yx-plans.js） */
.yxp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--ui-divider, #efebf3);
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.yxp-item:hover {
  background: #faf8fc;
}
.yxp-item-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yxp-editor {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #f6f4f1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.yxp-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #ece6f2;
  flex-wrap: wrap;
}
.yxp-title {
  flex: 0 1 360px;
  min-width: 160px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  background: transparent;
}
.yxp-title:hover,
.yxp-title:focus {
  border-color: #d8d2e0;
  background: #fff;
}
.yxp-dirty {
  font-size: 13px;
  color: #8a4506;
}
.yxp-locked {
  margin: 0;
  padding: 10px 20px;
  background: #fdf0df;
  color: #8a4506;
  font-size: 14px;
}
.yxp-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) 280px;
  gap: 16px;
  padding: 16px;
  overflow: auto;
  align-items: start;
}
.yxp-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.yxp-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yxp-sec {
  background: #fff;
  border: 1px solid #ece6f2;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yxp-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yxp-sec-head h2 {
  margin: 0;
  font-size: 16px;
  flex: 1 1 auto;
}
.yxp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #5e5474;
  min-width: 0;
}
.yxp-field input,
.yxp-field select,
.yxp-field textarea,
.yxp-line input,
.yxp-add select,
.yxp-stage-name {
  height: 38px;
  border: 1px solid #d8d2e0;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  color: #2b2040;
  background: #fff;
  min-width: 0;
  box-sizing: border-box;
}
.yxp-field textarea {
  height: auto;
  padding: 8px 10px;
  line-height: 1.6;
}
.yxp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}
.yxp-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.yxp-grid.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.yxp-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.yxp-stage {
  border: 1px solid #ece6f2;
  border-left: 4px solid #16a394;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yxp-stage-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yxp-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #16a394;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.yxp-stage-name {
  flex: 1 1 auto;
  font-weight: 600;
}
.yxp-stage-sum {
  font-size: 13px;
  color: #0d6e63;
  white-space: nowrap;
}
.yxp-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yxp-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 130px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: #faf8fc;
  border-radius: 10px;
}
.yxp-line-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.yxp-qtyw {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.yxp-qty {
  width: 80px;
}
.yxp-sum {
  margin: 0;
  font-size: 14px;
}
.yxp-total {
  background: #2b2040;
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yxp-total strong {
  font-size: 28px;
}
.yxp-total .v-muted {
  color: #d8cfe4;
}
.yxp-side-box {
  background: #fff;
  border: 1px solid #ece6f2;
  border-radius: 12px;
  padding: 12px 14px;
}
.yxp-side-box h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.yxp-kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 4px 0;
}
.yxp-rev {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #efebf3;
}
.yxp-rev > div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.yxp-check-h.is-bad {
  color: #9b2c35;
}
.yxp-check-h.is-warn {
  color: #8a4506;
}
.yxp-check-h.is-ok {
  color: #0d6e63;
}
.yxp-check {
  margin: 0 0 12px;
  padding-left: 20px;
  line-height: 1.8;
}
.yxp-share-new {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  margin-bottom: 12px;
  background: #f2fbf9;
  border-radius: 10px;
  word-break: break-all;
}
.yxp-preview {
  position: sticky;
  top: 0;
  max-height: calc(100vh - 110px);
  overflow: auto;
  border-radius: 14px;
  background: #e9e5ef;
  padding: 10px;
}
.yxp-prev-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 4px 8px;
  font-size: 13px;
}
.yxp-preview .yxp-doc,
.yx-parent .yxp-doc,
.yxp-share .yxp-doc {
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.yxp-preview .yxp-page {
  min-height: 0;
  padding: 18px 16px;
  margin-bottom: 8px;
  box-shadow: none;
}
.yxp-preview .yxp-page.is-cover {
  padding-bottom: 24px;
  border-top-width: 8px;
}
.yxp-preview .yxp-doc h1 {
  font-size: 22px;
}
.yxp-preview .yxp-cols {
  grid-template-columns: 1fr;
}
.yxp-ai input[type="text"] {
  width: 100%;
  height: 36px;
  margin-top: 8px;
  box-sizing: border-box;
  border: 1px solid #d8d2e0;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
}
.yxp-share {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}
.yxp-share-bar {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
.yx-share-body {
  background: #ece8f1;
}
@media (max-width: 1280px) {
  .yxp-body {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .yxp-preview {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    max-height: none;
  }
}
@media (max-width: 900px) {
  .yxp-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .yxp-side {
    position: static;
  }
  .yxp-grid.is-3,
  .yxp-grid.is-4,
  .yxp-line {
    grid-template-columns: 1fr;
  }
}

/* 方案排版（A4） */
.yxp-print-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: auto;
  background: #e9e5ef;
}
.yxp-print-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #ece6f2;
}
.yxp-doc {
  --yxp-primary: #6a35b8;
  --yxp-ink: #2b2040;
  --yxp-paper: #fffdf9;
  --yxp-accent: #f4c08a;
  --yxp-muted: #6b6476;
  color: var(--yxp-ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  margin: 0 auto;
  max-width: 210mm;
  padding: 16px 0 40px;
}
.yxp-page {
  background: var(--yxp-paper);
  box-sizing: border-box;
  min-height: 297mm;
  padding: 22mm 18mm;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(43, 32, 64, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yxp-page.is-cover {
  justify-content: flex-end;
  padding-bottom: 40mm;
  border-top: 14mm solid var(--yxp-primary);
}
.yxp-doc.is-journal .yxp-page.is-cover {
  border-top: 0;
  border-left: 12mm solid var(--yxp-primary);
}
.yxp-doc.is-stage .yxp-page.is-cover {
  border-top: 0;
  background: var(--yxp-primary);
  color: #fff;
}
.yxp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}
.yxp-brand img {
  height: 40px;
  width: auto;
}
.yxp-cover-img {
  width: 100%;
  max-height: 110mm;
  object-fit: cover;
  border-radius: 6px;
}
.yxp-eyebrow {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--yxp-accent);
}
.yxp-doc h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 34px;
  line-height: 1.3;
}
.yxp-subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--yxp-muted);
}
.yxp-doc.is-stage .is-cover .yxp-subtitle,
.yxp-doc.is-stage .is-cover .yxp-for {
  color: rgba(255, 255, 255, 0.85);
}
.yxp-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0;
}
.yxp-nums div {
  display: flex;
  flex-direction: column;
}
.yxp-nums strong {
  font-size: 36px;
  line-height: 1;
}
.yxp-nums small {
  font-size: 12px;
  opacity: 0.75;
}
.yxp-for {
  margin: 0;
  font-size: 14px;
  color: var(--yxp-muted);
}
.yxp-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 22px;
  border-bottom: 2px solid var(--yxp-primary);
  padding-bottom: 6px;
}
.yxp-h-num {
  color: var(--yxp-primary);
  font-size: 15px;
  font-family: Georgia, serif;
}
.yxp-text {
  margin: 0;
  line-height: 1.9;
  font-size: 14px;
}
.yxp-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.yxp-col h3,
.yxp-doc h3 {
  margin: 8px 0 4px;
  font-size: 14px;
  color: var(--yxp-primary);
}
.yxp-col ul,
.yxp-goals,
.yxp-doc ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  font-size: 13px;
}
.yxp-stage-block {
  border-left: 3px solid var(--yxp-primary);
  padding: 4px 0 4px 12px;
  margin-bottom: 8px;
  break-inside: avoid;
}
.yxp-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}
.yxp-stage-top span {
  font-size: 12px;
  color: var(--yxp-muted);
}
.yxp-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 13px;
  break-inside: avoid;
}
.yxp-table td {
  white-space: normal;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.yxp-table td:last-child {
  text-align: right;
}
.yxp-inc td {
  font-size: 12px;
  color: var(--yxp-muted);
}
.yxp-stage-fee {
  margin: 4px 0 0;
  font-size: 12px;
  text-align: right;
  color: var(--yxp-muted);
}
.yxp-total-card {
  background: var(--yxp-primary);
  color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yxp-total-card strong {
  font-size: 30px;
}
.yxp-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--yxp-muted);
  line-height: 1.7;
}
.yxp-teacher {
  break-inside: avoid;
  margin-bottom: 10px;
}
.yxp-teacher p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.8;
}
.yxp-foot {
  text-align: center;
  font-size: 11px;
  color: var(--yxp-muted);
  padding: 8px 0;
}
/* 家长端（手机）：不按 A4 分页 */
.yx-parent .yxp-doc {
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.yxp-stage-top {
  flex-wrap: wrap;
}
.yx-parent .yxp-page {
  min-height: 0;
  padding: 20px 16px;
  margin-bottom: 10px;
  box-shadow: none;
}
.yx-parent .yxp-page.is-cover {
  border-top-width: 8px;
}
.yx-parent .yxp-doc h1 {
  font-size: 24px;
}
.yx-parent .yxp-cols {
  grid-template-columns: 1fr;
}
.yxp-parent-list {
  display: flex;
  flex-direction: column;
}
@media print {
  @page {
    size: A4;
    margin: 0;
  }
  body:not(.yx-share-body) > *:not(.yxp-print-root) {
    display: none !important;
  }
  .yxp-share-bar {
    display: none;
  }
  .yxp-print-root {
    position: static;
    overflow: visible;
    background: none;
  }
  .yxp-print-bar {
    display: none;
  }
  .yxp-doc {
    padding: 0;
    max-width: none;
  }
  .yxp-page {
    box-shadow: none;
    margin: 0;
    break-after: page;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media (max-width: 760px) {
  .yxp-share .yxp-page {
    min-height: 0;
    padding: 20px 16px;
    margin-bottom: 10px;
    box-shadow: none;
  }
  .yxp-share .yxp-page.is-cover {
    padding-bottom: 28px;
    border-top-width: 8px;
  }
  .yxp-share .yxp-doc h1 {
    font-size: 24px;
  }
  .yxp-share .yxp-cols {
    grid-template-columns: 1fr;
  }
}

/* 艺界星途 · 工作台（yx-home.js） */
.yxh-hello h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.yxh-hello p {
  margin: 0 0 16px;
}
.yxh-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.yxh-tool {
  position: relative;
  background: #fff;
  border: 1px solid #ece6f2;
  border-top: 4px solid var(--yxh-tone, #6a35b8);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.yxh-tool.is-coral {
  --yxh-tone: #ff7a59;
}
.yxh-tool.is-violet {
  --yxh-tone: #6a35b8;
}
.yxh-tool.is-teal {
  --yxh-tone: #16a394;
}
.yxh-tool strong {
  font-size: 17px;
}
.yxh-tool p {
  margin: 0;
  line-height: 1.6;
}
.yxh-tool.is-soon {
  opacity: 0.75;
}
.yxh-soon {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3eef9;
  color: #5e5474;
}
.yxh-stat b {
  font-size: 26px;
  color: var(--yxh-tone);
}
.yxh-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.yxh-steps {
  list-style: none;
  margin: 0;
  padding: 8px 16px 14px;
}
.yxh-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}
.yxh-steps li > span:nth-child(2) {
  flex: 1 1 auto;
}
.yxh-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: #f3eef9;
  color: #5e5474;
  flex: 0 0 auto;
}
.yxh-steps li.is-done .yxh-dot {
  background: #16a394;
  color: #fff;
}
.yxh-steps li.is-done {
  color: #6b6476;
}
@media (max-width: 900px) {
  .yxh-tools,
  .yxh-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- AI 助手（阶段 5） ---------- */
.yxai-usage {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--yx-soft);
  color: var(--yx-violet-dark);
  font-size: 12.5px;
  white-space: nowrap;
}
.yxai-usage.is-full {
  background: #fdf0df;
  color: #8a4506;
}
.yxai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yxai-head h3 {
  margin: 0;
  flex: 1 1 auto;
}
.yxai-acts,
.yxai-row,
.yxai-adjust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.yxai-row > select,
.yxai-row > span {
  flex: 1 1 120px;
  min-width: 0;
}
.yxai-adjust {
  padding-top: 10px;
  border-top: 1px dashed var(--yx-line);
}
.yxai-adjust input {
  flex: 1 1 160px;
  min-width: 0;
  height: 36px;
}
.yxai-note {
  margin: 0;
  font-size: 12.5px;
}
.yxai-btn[aria-busy="true"] {
  opacity: 0.75;
}
.yxai-result {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--yx-line);
}
.yxai-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--yx-line);
  border-radius: 12px;
  background: #fff;
}
.yxai-card.is-rec {
  border-color: #16a394;
  box-shadow: 0 0 0 1px #16a394 inset;
}
.yxai-field {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}
.yxai-field input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.yxai-field-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.yxai-field del {
  color: var(--yx-muted);
  font-size: 13px;
}
.yxai-new {
  color: var(--yx-ink);
  white-space: pre-wrap;
}
.yxai-basis {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yxai-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.yxai-miss,
.yxai-warn {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fdf0df;
  color: #8a4506;
  font-size: 13px;
}
.yxai-warn {
  padding-left: 26px;
}
.yxai-miss summary {
  cursor: pointer;
  font-weight: 600;
}
.yxai-miss ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
.yxai-stage {
  color: var(--yx-violet-dark);
  font-weight: 600;
}
.yxai-lines {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.yxai-lines li {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.yxp-hint {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef6ff;
  color: #1d4f8a;
  font-size: 13px;
}

/* ---------- 招生内容 ---------- */
.yxp-body.yxc-body {
  grid-template-columns: 300px minmax(0, 1fr) 360px;
}
.yxc-left,
.yxc-mid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.yxc-left h3,
.yxc-mid h3 {
  margin: 0;
  font-size: 15px;
}
.yxc-left textarea,
.yxc-block textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  line-height: 1.7;
  padding: 8px 10px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  resize: vertical;
}
.yxc-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.yxc-pills > button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
}
.yxc-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
}
.yxc-go {
  position: sticky;
  bottom: 0;
}
.yxc-mid-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yxc-paper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece6f2;
  min-height: 300px;
}
.yxc-paper.is-mini {
  padding: 10px 12px;
  min-height: 0;
  background: var(--yx-cream);
}
.yxc-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 8px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.3s;
}
.yxc-block:hover,
.yxc-block:focus-within {
  border-color: var(--yx-line);
}
.yxc-block.is-flash {
  background: #fff4d6;
}
.yxc-block-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
}
.yxc-block.is-heading input {
  font-size: 18px;
  font-weight: 700;
}
.yxc-block.is-quote textarea {
  border-left: 4px solid var(--yx-violet);
  background: var(--yx-soft);
}
.yxc-row {
  display: flex;
  gap: 8px;
}
.yxc-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
}
.yxc-add {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.yxc-img {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yxc-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  align-self: flex-start;
}
.yxc-pick {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.yxc-pick:hover,
.yxc-pick:focus-visible {
  border-color: var(--yx-violet);
}
.yxc-pick img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.yxc-version {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--yx-line);
}
.yxc-version:last-of-type {
  border-bottom: 0;
}
.yxc-pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 14px;
}
.yxc-outline,
.yxc-facts {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yxc-outline li,
.yxc-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yxc-facts li {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.yxc-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.yxc-imgs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.yxc-offscreen {
  position: fixed;
  left: -9999px;
  top: 0;
}
@media (max-width: 1280px) {
  .yxp-body.yxc-body {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .yxc-side {
    grid-column: 1 / -1;
    position: static;
  }
}
@media (max-width: 900px) {
  .yxp-body.yxc-body {
    grid-template-columns: 1fr;
  }
}
.yxai-result.is-wide {
  border-top: 0;
  padding-top: 0;
}
.yxai-result.is-wide .yxai-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
}
.yxai-result.is-wide .yxc-version {
  padding: 14px;
  border: 1px solid var(--yx-line);
  border-radius: 12px;
  background: #fff;
}
.yxai-result.is-wide .yxc-version .yxc-pre {
  flex: 1 1 auto;
}
.yxai-result.is-wide .yxai-basis {
  grid-column: 1 / -1;
}
@media (max-width: 1100px) {
  .yxai-result.is-wide .yxai-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- 课后反馈（阶段 6） ---------- */
.yxg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yxg-card > select {
  height: 38px;
  max-width: 200px;
}
.yxg-msg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.yxg-seg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--yx-muted);
}
.yxg-seg textarea,
.yxr-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--yx-ink);
  line-height: 1.6;
  padding: 6px 8px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  resize: vertical;
}
.yxg-preview {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eaf7ef;
  color: #17422b;
}
.yxg-submit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  background: var(--yx-cream, #fff);
}
.yxg-submit > button {
  min-height: 44px;
}
.yxg-ask {
  height: 32px;
  min-width: 140px;
  padding: 0 10px;
  border: 1px solid var(--yx-violet);
  border-radius: 16px;
}
@media (max-width: 640px) {
  .yxg-msg {
    grid-template-columns: 1fr;
  }
}

/* ---------- 成长报告 ---------- */
.yxr-stat,
.yxr-score {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.yxr-stat input {
  width: 80px;
  height: 34px;
}
.yxr-score .yxs-months {
  display: flex;
  gap: 4px;
}
.yxr-score .yxs-month {
  min-width: 34px;
}
.yxr-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px dashed var(--yx-line);
  border-radius: 10px;
}
.yxr-mock .yxc-row input {
  height: 34px;
  min-width: 0;
}
.yxr-doc {
  --yxr-primary: var(--yx-violet);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0 28px;
  background: #fffaf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #2b1a16;
}
.yxr-head {
  padding: 24px 24px 20px;
  background: var(--yxr-primary);
  color: #fff;
}
.yxr-head h2 {
  margin: 4px 0;
  font-size: 24px;
}
.yxr-head p,
.yxr-head small {
  margin: 0;
  opacity: 0.85;
}
.yxr-stats {
  display: flex;
  gap: 10px;
  padding: 0 24px;
}
.yxr-stats > div {
  flex: 1 1 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}
.yxr-stats b {
  font-size: 26px;
  color: var(--yxr-primary);
}
.yxr-stats span {
  flex-basis: 100%;
  font-size: 12px;
  color: #7a5a50;
}
.yxr-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 0 24px;
}
.yxr-scores > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.yxr-scores b {
  color: var(--yxr-primary);
  letter-spacing: 1px;
}
.yxr-scores small {
  color: #1f7a4d;
}
.yxr-doc section,
.yxr-mockline,
.yxr-renew {
  padding: 0 24px;
}
.yxr-doc h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--yxr-primary);
}
.yxr-doc section p,
.yxr-doc section ul {
  margin: 0;
  line-height: 1.8;
}
.yxr-mockline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.yxr-renew {
  margin: 0 24px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border-left: 4px solid var(--yxr-primary);
}
@media (max-width: 640px) {
  .yxr-scores {
    grid-template-columns: 1fr;
  }
  .yxr-stats {
    flex-wrap: wrap;
  }
}
@media print {
  .yxr-doc {
    box-shadow: none;
    max-width: none;
  }
}
.yxc-pills > button[aria-pressed="true"],
.yxc-pills > button[aria-pressed="true"] .ui-button-face {
  background: var(--yx-soft);
  border-color: var(--yx-violet);
  color: var(--yx-violet-dark);
}
.yxr-head {
  display: block;
}
.yxr-head > * {
  display: block;
}
.yxg-feed p {
  margin: 0 0 8px;
  line-height: 1.7;
}
.yxg-feed small {
  display: block;
  margin-top: 6px;
}

/* ---------- 界面排查修正（11-16） ---------- */
/* 全屏编辑器顶栏不能被压缩，否则换行后按钮会盖到正文上 */
.yxp-bar {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .yxp-bar {
    padding: 8px 12px;
    gap: 8px;
  }
  .yxp-bar .yxp-title {
    order: -1;
    flex: 1 1 160px;
    min-width: 0;
  }
  .yxp-bar > button:first-child {
    order: -2;
  }
  .yxp-bar .yxai-usage,
  .yxp-bar > .v-spacer {
    display: none;
  }
}
/* 招生工具各列表页统一占满内容区 */
.yx-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.yx-page > * {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}
.yx-page > .yxai-card,
.yx-page > div:has(> button:only-child) {
  width: auto;
}
.yxs-bar > input[type="search"] {
  height: 36px;
  min-width: 180px;
  padding: 0 12px;
  border: 1px solid var(--ui-input-border, #d8d2e0);
  border-radius: 8px;
}
.yxp-item-tags {
  display: flex;
  gap: 6px;
  align-items: center;
}
/* 工作台按设计稿 03 */
.yxh-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.yxh-head .yxh-hello p {
  margin: 0;
}
.yxh-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
button.yxh-tool {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(43, 32, 64, 0.04);
  transition: box-shadow 0.15s, transform 0.15s;
}
button.yxh-tool:hover,
button.yxh-tool:focus-visible {
  box-shadow: 0 6px 18px rgba(43, 32, 64, 0.1);
  transform: translateY(-1px);
}
.yxh-tool-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yxh-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yxh-tone);
  background: color-mix(in srgb, var(--yxh-tone) 12%, #fff);
}
.yxh-icon .ui-icon {
  width: 20px;
  height: 20px;
}
.yxh-stat {
  margin: 0;
  font-size: 13px;
  color: #4a4060;
}
.yxh-stat b {
  font-size: 14px;
  color: #2b2040;
}
.yxh-scenes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.yxh-scene {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fbf3ef;
  color: #6b4b3e;
}
.yxh-recent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid #f0ebf5;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.yxh-recent:last-child {
  border-bottom: 0;
}
.yxh-recent:hover .yxh-recent-title {
  color: var(--yx-violet-dark, #4e2490);
}
.yxh-recent-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.yxh-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}
.yxh-tag.is-content {
  background: #fde9e2;
  color: #b4472a;
}
.yxh-tag.is-plan {
  background: #efe9f6;
  color: #5b2d9e;
}
.yxh-progress {
  height: 8px;
  margin: 4px 16px 6px;
  border-radius: 4px;
  background: #efe9f6;
  overflow: hidden;
}
.yxh-progress > span {
  display: block;
  height: 100%;
  background: #6a35b8;
  border-radius: 4px;
}
.yxh-steps li.is-done > span:nth-child(2) {
  text-decoration: line-through;
}
.yxh-steps li:not(.is-done) .yxh-dot {
  background: #fff;
  border: 2px solid #c9bfd8;
  width: 18px;
  height: 18px;
}
@media (max-width: 640px) {
  .yxh-head {
    flex-direction: column;
  }
  .yxh-recent {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .yxh-recent small {
    grid-column: 2;
  }
}
/* 招生内容：两栏（设计稿 04） */
.yxp-body.yxc-body {
  grid-template-columns: 300px minmax(0, 1fr);
}
.yxc-aizone {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yxc-aizone > .yxai-result {
  border-top: 0;
  padding-top: 0;
}
.yxc-adjust {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid #e3dcec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(43, 32, 64, 0.06);
}
.yxai-result.is-wide .yxc-version .yxai-acts {
  margin-top: auto;
}
@media (max-width: 900px) {
  .yxp-body.yxc-body {
    grid-template-columns: 1fr;
  }
}
/* 成长报告编辑器 */
.yxp-body.yxr-body {
  grid-template-columns: 340px minmax(0, 1fr) 340px;
}
.yxr-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.yxr-nav select {
  height: 36px;
  max-width: 200px;
  font-weight: 600;
}
@media (max-width: 1280px) {
  .yxp-body.yxr-body {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .yxr-body > .yxp-side {
    grid-column: 1 / -1;
    position: static;
  }
}
@media (max-width: 900px) {
  .yxp-body.yxr-body {
    grid-template-columns: 1fr;
  }
}
.yxr-radar {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
.yxr-radar .is-grid {
  fill: none;
  stroke: #e7dccf;
}
.yxr-radar .is-val {
  fill: var(--yxr-primary);
  fill-opacity: 0.22;
  stroke: var(--yxr-primary);
  stroke-width: 2;
}
.yxr-radar text {
  font-size: 11px;
  fill: #6b5a50;
}
/* 老师手机端反馈（设计稿 06） */
.yxg-lessons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.yxg-lesson {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid #e3dcec;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.yxg-lesson small {
  color: #6b6476;
}
.yxg-lesson.is-on {
  border: 2px solid var(--theme, #16a394);
}
.yxg-out {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6efe9;
}
.yxg-out-label {
  color: var(--theme, #16a394);
  font-weight: 600;
}
.yxg-out .yxg-preview {
  margin: 0;
  padding: 0;
  background: none;
  color: #1f2a24;
  line-height: 1.8;
}
.yxg-out .yxg-preview.is-empty {
  color: #8a8496;
}
.yxg-edit summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--theme, #16a394);
}
.yxg-edit[open] summary {
  margin-bottom: 8px;
}
.yxg-submit {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.yxg-submit > button {
  flex: 1 1 160px;
}
.yxg-submit > small {
  flex-basis: 100%;
}
.yxp-who {
  font-size: 13px;
  white-space: nowrap;
}
.yxp-student {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece6f2;
}
.yxp-student > div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.yxp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #5b2d9e;
  background: #efe9f6;
}
.yxai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yxai-quick-chip {
  padding: 4px 10px;
  border: 1px solid #e3dcec;
  border-radius: 999px;
  background: #faf8fc;
  font: inherit;
  font-size: 12px;
  color: #4a4060;
  cursor: pointer;
}
.yxai-quick-chip:hover {
  border-color: var(--yx-violet, #6a35b8);
}
.yxs-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
/* 机构端全局 header 样式定了高度；全屏编辑器的顶栏要能换行 */
.yxp-editor > header.yxp-bar {
  height: auto;
  min-height: 56px;
  max-height: none;
}
@media (max-width: 900px) {
  .yxc-go {
    position: static;
  }
}
.yxs-page-sec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yxs-subjectbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yxs-subject {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--yx-line, #e8e3ee);
}
.yxs-subject.is-on {
  background: var(--yx-ink, #1b1528);
  border-color: var(--yx-ink, #1b1528);
  color: #fff;
}
.yxu-meters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.yxu-meter {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yxu-meter p {
  margin: 0;
}
.yxu-meter b {
  font-size: 30px;
}

/* 艺界星途 · 设计规范 v3（Claude）。打包在 yx.css 之后、v2.css 之前；选择器统一加 html 前缀，优先级高于 v2.css。
深色侧栏做框，纸白做底，墨色做主要按钮；紫色只给 AI；状态用小圆点加文字；
   标签小方角；按钮高 36；关键数字用斜体衬线。机构品牌色只用于家长看到的文件和老师 / 家长手机端。 */

:root {
  --yx-ink: #1b1528;
  --yx-ink-2: #2a2238;
  --yx-text: #211a30;
  --yx-sub: #6b6280;
  --yx-paper: #f6f4f1;
  --yx-line: #e8e3ee;
  --yx-violet: #6a35b8;
  --yx-violet-dark: #4e2490;
  --yx-violet-soft: #f3eefb;
  --yx-amber: #f4a85b;
  --yx-ok: #16a394;
  --yx-warn: #e8913a;
  --yx-bad: #d4483b;
  --yx-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --yx-italic: "Cormorant Garamond", "Cormorant", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

/* ---------- 员工端外壳 ---------- */
html .v-frame,
html .yxp-editor {
  --ui-page: var(--yx-paper);
  --ui-primary: var(--yx-ink);
  --ui-primary-hover: var(--yx-ink-2);
  --ui-primary-soft: #efecf3;
}
html .v-frame {
  background: var(--yx-paper);
}
html .v-side {
  background: var(--yx-ink);
  border-right: 0;
  color: #d9d4e4;
}
html .v-brand {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html .v-brand strong {
  color: #fff;
}
html .v-brand small {
  color: #9a92ad;
}
html .v-nav-label,
html .v-nav .v-nav-label:not(:first-child) {
  color: #8c84a0;
  border-top-color: rgba(255, 255, 255, 0.08);
}
html .v-nav .v-nav-item .ui-button-face {
  color: #cfc9dc;
}
html .v-nav .v-nav-item .ui-icon {
  color: #a59dba;
}
html .v-nav .v-nav-item:hover .ui-button-face {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
html .v-nav .v-nav-item[aria-current="page"] .ui-button-face {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
}
html .v-nav .v-nav-item[aria-current="page"] .ui-icon {
  color: #fff;
}
/* 选中项右侧一个琥珀小圆点 */
html .v-nav .v-nav-item[aria-current="page"] .ui-button-face::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--yx-amber);
  flex: none;
}
html .v-nav .c1-todo-badge {
  background: rgba(244, 168, 91, 0.16);
  color: var(--yx-amber);
}

/* 页面标题用宋体 */
html .v-head h1,
html .yx-page > h1,
html .yxp-sec h2,
html .yxh-hello h2 {
  font-family: var(--yx-serif);
}

/* 按钮高度统一 36，标签小方角 */
html .ui-button {
  --ui-button-visual: 36px;
}
html .v-chip {
  border-radius: 4px;
}

/* ---------- 状态：小圆点加文字（招生工具各页与编辑器） ---------- */
html .yx-page .v-chip-ok,
html .yx-page .v-chip-warn,
html .yx-page .v-chip-bad,
html .yx-page .v-chip-info,
html .yx-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: var(--yx-text);
  font-weight: 400;
}
html .yx-page .v-chip-ok::before,
html .yx-page .v-chip-warn::before,
html .yx-page .v-chip-bad::before,
html .yx-page .v-chip-info::before,
html .yx-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9b2c6;
  flex: none;
}
html .yx-page .v-chip-ok::before,
html .yx-dot.is-ok::before {
  background: var(--yx-ok);
}
html .yx-page .v-chip-warn::before,
html .yx-dot.is-warn::before {
  background: var(--yx-warn);
}
html .yx-page .v-chip-bad::before,
html .yx-dot.is-bad::before {
  background: var(--yx-bad);
}
html .yx-page .v-chip-info::before,
html .yx-dot.is-ai::before {
  background: var(--yx-violet);
}

/* ---------- 紫色只给 AI ---------- */
html .yxai-btn .ui-button-face,
html .yxai-btn.ui-button--primary .ui-button-face {
  background: var(--yx-violet);
  border-color: var(--yx-violet);
  color: #fff;
}
html .yxai-btn:hover:not(:disabled) .ui-button-face {
  background: var(--yx-violet-dark);
  border-color: var(--yx-violet-dark);
}
html .yxp-ai,
html .yxc-aizone,
html .yxai-zone {
  background: var(--yx-violet-soft);
}
html .yxai-card {
  border-color: #e4d9f5;
}
html .yxai-usage {
  background: #fff;
  border: 1px solid var(--yx-line);
  color: var(--yx-text);
}
/* AI 填的格子：淡紫底、紫边；人改过以后变回白底（去掉 is-ai 类） */
html .yx-ai-filled,
html textarea.yx-ai-filled,
html input.yx-ai-filled {
  background: var(--yx-violet-soft);
  border-color: #c9b3ec;
}

/* 关键数字：斜体衬线 */
html .yx-num {
  font-family: var(--yx-italic);
  font-style: italic;
  font-weight: 600;
}
html .yx-eyebrow {
  font-family: var(--yx-italic);
  font-style: italic;
  color: var(--yx-violet);
  font-size: 17px;
}
html .v-side .v-nav .v-nav-item,
html .v-side .v-nav .v-nav-item[aria-current="page"],
html .v-side .v-nav .v-nav-item:hover {
  background: transparent;
  color: #cfc9dc;
}
html .v-side .v-nav .v-nav-item[aria-current="page"] .ui-button-face {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- 招生内容 · 列表（设计稿 v3 第 0 页） ---------- */
html .yxv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
html .yxv-top p { margin: 0 0 4px; }
html .yxv-top-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html .yxv-usage { display: flex; align-items: center; gap: 16px; padding: 8px 14px; background: #fff; border: 1px solid var(--yx-line); border-radius: 8px; font-size: 13px; }
html .yxv-usage-label { color: var(--yx-violet); font-weight: 600; }
html .yxv-usage-item { display: inline-flex; align-items: center; gap: 4px; }
html .yxv-usage-bar { display: inline-block; width: 48px; height: 4px; margin-left: 6px; background: #ece7f3; border-radius: 2px; overflow: hidden; }
html .yxv-usage-bar > span { display: block; height: 100%; background: var(--yx-violet); }
html .yxv-sec-head { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 12px; }
html .yxv-sec-head h2 { margin: 0; font-family: var(--yx-serif); font-size: 18px; }
html .yxv-scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; }
html .yxv-scene { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px; background: #fff; border: 1px solid var(--yx-line); border-radius: 8px; cursor: pointer; font: inherit; color: inherit; }
html .yxv-scene:hover { border-color: #cfc6dc; box-shadow: 0 2px 8px rgba(27, 21, 40, 0.06); }
html .yxv-scene-big { display: flex; flex-direction: column; min-width: 52px; }
html .yxv-scene-big b { font-size: 30px; line-height: 1; color: var(--yx-ink); }
html .yxv-scene-big small { color: var(--yx-sub); font-size: 12px; margin-top: 4px; }
html .yxv-scene strong { display: block; margin-bottom: 4px; }
html .yxv-scene p { margin: 0 0 8px; font-size: 13px; }
html .yxv-link { color: var(--yx-ink); font-size: 13px; font-weight: 600; }
html .yxv-table-box { padding: 0; overflow: hidden; }
html .yxv-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--yx-line); }
html .yxv-filter select { height: 32px; border: 1px solid var(--yx-line); border-radius: 6px; background: #fff; padding: 0 8px; font: inherit; font-size: 13px; }
html .yxv-seg { display: inline-flex; gap: 2px; padding: 3px; background: #efecf3; border-radius: 8px; flex-wrap: wrap; }
html .yxv-seg > button { border: 0; background: transparent; padding: 5px 12px; border-radius: 6px; font: inherit; font-size: 13px; color: var(--yx-sub); cursor: pointer; }
html .yxv-seg > button[aria-pressed="true"] { background: #fff; color: var(--yx-text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
html .yxv-seg-full { display: flex; }
html .yxv-seg-full > button { flex: 1; }
html .yxv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
html .yxv-table th { text-align: left; font-weight: 500; color: var(--yx-sub); font-size: 12px; padding: 10px 16px; border-bottom: 1px solid var(--yx-line); }
html .yxv-table td { padding: 12px 16px; border-bottom: 1px solid #f1eef4; }
html .yxv-table tr:last-child td { border-bottom: 0; }
html .yxv-table tbody tr { cursor: pointer; }
html .yxv-table tbody tr:hover td { background: #faf9fb; }
html .yxv-title-cell { display: flex; align-items: center; gap: 10px; font-weight: 500; }
html .yxv-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #f3f1f6; color: var(--yx-sub); flex: none; }
html .yxv-ico .ui-icon { width: 15px; height: 15px; }
@media (max-width: 720px) {
  html .yxv-table th:nth-child(3), html .yxv-table td:nth-child(3), html .yxv-table th:nth-child(5), html .yxv-table td:nth-child(5) { display: none; }
  html .yxv-table td, html .yxv-table th { padding: 10px; }
}

/* ---------- 招生内容 · 编辑器（设计稿 v3 第 6 页） ---------- */
html .yxv-editor { flex-direction: row; }
html .yxv-rail { width: 56px; flex: none; background: var(--yx-ink); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
html .yxv-rail-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--yx-amber); color: var(--yx-ink); display: grid; place-items: center; font-family: var(--yx-serif); font-weight: 700; margin-bottom: 10px; }
html .yxv-rail-btn { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #a59dba; display: grid; place-items: center; cursor: pointer; }
html .yxv-rail-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
html .yxv-rail-btn.is-on { background: rgba(255, 255, 255, 0.1); color: #fff; }
html .yxv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html .yxv-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--yx-line); }
html .yxv-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; color: var(--yx-sub); }
html .yxv-crumbs .v-link .ui-button-face { padding: 0; color: var(--yx-sub); }
html .yxv-title-input { border: 1px solid transparent; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--yx-text); padding: 4px 6px; border-radius: 6px; min-width: 120px; width: 22ch; }
html .yxv-title-input:hover, html .yxv-title-input:focus { border-color: var(--yx-line); background: #fff; outline: none; }
html .yxv-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: #f1eef4; color: var(--yx-sub); font-size: 12px; white-space: nowrap; }
html .yxv-tag.is-ai { background: var(--yx-violet-soft); color: var(--yx-violet); }
html .yxv-saved { font-size: 12px; color: var(--yx-sub); white-space: nowrap; }
html .yxv-saved.is-dirty { color: var(--yx-warn); }
html .yxv-checks { display: inline-flex; gap: 14px; font-size: 13px; }
html .yxv-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px minmax(0, 1fr) 380px; }
html .yxv-left { overflow: auto; padding: 16px; background: #fff; border-right: 1px solid var(--yx-line); display: flex; flex-direction: column; gap: 4px; }
html .yxv-sec { padding: 14px 0; border-bottom: 1px solid #f1eef4; }
html .yxv-sec:last-child { border-bottom: 0; }
html .yxv-sec-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
html .yxv-sec-h h3 { margin: 0; font-size: 13px; font-weight: 600; }
html .yxv-sec p { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
html .yxv-sec .ui-button { --ui-button-visual: 28px; font-size: 12px; }
html .yxv-danger .ui-button-face { color: var(--yx-bad); }
html .yxv-kv { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13px; }
html .yxv-btnrow { display: flex; gap: 6px; }
html .yxv-styles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html .yxv-style { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--yx-line); border-radius: 6px; background: #fff; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
html .yxv-style.is-on { border-color: var(--yx-ink); box-shadow: inset 0 0 0 1px var(--yx-ink); }
html .yxv-style-sw { display: flex; height: 28px; border-radius: 4px; overflow: hidden; }
html .yxv-style-sw i { flex: 1; }
html .yxv-brandrow { display: flex; align-items: center; gap: 8px; font-size: 13px; }
html .yxv-swatch { width: 20px; height: 20px; border-radius: 4px; flex: none; }
html .yxv-mid { overflow: auto; display: flex; flex-direction: column; align-items: center; padding: 0 16px 40px; }
html .yxv-insert { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; padding: 10px 0; background: var(--yx-paper); width: 100%; font-size: 12px; }
html .yxv-insert > button { border: 1px solid var(--yx-line); background: #fff; border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; color: var(--yx-text); }
html .yxv-insert > button:hover { border-color: #cfc6dc; }
html .yxv-stage { width: 100%; max-width: 440px; }
html .yxv-art { --yxv-primary: var(--yx-violet); background: #fff; border: 1px solid var(--yx-line); border-radius: 8px; padding: 0 0 20px; box-shadow: 0 4px 16px rgba(27, 21, 40, 0.05); font-size: 15px; line-height: 1.8; color: #2a2433; }
html .yxv-art-head { margin: 0; position: relative; cursor: pointer; }
html .yxv-art-head img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px 8px 0 0; }
html .yxv-art-head figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, 0.4); padding: 2px 6px; border-radius: 4px; }
html .yxv-art-head.is-sel { outline: 2px solid var(--yx-violet); outline-offset: -2px; }
html .yxv-art-top { padding: 20px 22px 4px; }
html .yxv-art-top .yx-eyebrow { color: var(--yxv-primary); margin: 0; font-size: 15px; }
html .yxv-art-title { font-family: var(--yx-serif); font-size: 22px; line-height: 1.4; margin: 6px 0; }
html .yxv-art-meta { margin: 0; font-size: 12px; color: var(--yx-sub); }
html .yxv-art-top hr { width: 32px; height: 3px; border: 0; background: var(--yxv-primary); margin: 12px 0 0; }
html .yxv-empty { padding: 16px 22px; font-size: 13px; }
html .yxv-blk { position: relative; margin: 2px 12px; padding: 4px 10px; border-radius: 6px; cursor: text; outline: 1px solid transparent; }
html .yxv-blk:hover { outline-color: #e6dff0; }
html .yxv-blk.is-sel { outline: 2px solid var(--yx-violet); background: #fcfaff; }
html .yxv-blk p, html .yxv-blk ul, html .yxv-blk ol { margin: 4px 0; }
html .yxv-blk [contenteditable] { outline: none; min-height: 1.6em; white-space: pre-wrap; }
html .yxv-h { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
html .yxv-h .yx-num { color: var(--yxv-primary); font-size: 22px; }
html .yxv-h h2 { margin: 0; font-family: var(--yx-serif); font-size: 17px; }
html .yxv-h i { flex: 1; height: 1px; background: var(--yx-line); align-self: center; }
html .yxv-blk blockquote { margin: 6px 0; padding: 10px 14px; background: #f7f5fa; border-left: 3px solid var(--yxv-primary); color: #4a4256; font-size: 14px; }
html .yxv-blk table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0; }
html .yxv-blk th, html .yxv-blk td { border: 1px solid var(--yx-line); padding: 6px 8px; text-align: left; }
html .yxv-blk th { background: #f7f5fa; }
html .yxv-blk figure { margin: 6px 0; }
html .yxv-blk figure img { width: 100%; border-radius: 6px; display: block; }
html .yxv-blk figcaption { font-size: 12px; color: var(--yx-sub); text-align: center; margin-top: 4px; }
html .yxv-blk hr { border: 0; border-top: 1px solid var(--yx-line); margin: 12px 0; }
html .yxv-inline-edit { width: 100%; margin-top: 6px; font-size: 13px; }
html .yxv-miss { margin: 4px 22px 8px; padding: 8px 10px; background: #fff6ea; border: 1px solid #f6d6ac; border-radius: 6px; font-size: 12px; color: #8a5413; display: flex; gap: 8px; align-items: flex-start; }
html .yxv-miss button { margin-left: auto; border: 0; background: transparent; color: #8a5413; text-decoration: underline; cursor: pointer; font: inherit; flex: none; }
html .yxv-art-foot { margin: 16px 22px 0; padding-top: 12px; border-top: 1px dashed var(--yx-line); color: var(--yx-sub); text-align: center; }
html .yxv-ai { overflow: hidden; display: flex; flex-direction: column; background: var(--yx-violet-soft); border-left: 1px solid #e4d9f5; }
html .yxv-ai-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
html .yxv-ai-head small { display: block; font-size: 11px; }
html .yxv-ai-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--yx-violet); color: #fff; display: grid; place-items: center; }
html .yxv-tier { display: inline-flex; padding: 2px; background: #fff; border-radius: 6px; border: 1px solid #e4d9f5; }
html .yxv-tier button { border: 0; background: transparent; padding: 3px 10px; border-radius: 4px; font: inherit; font-size: 12px; cursor: pointer; color: var(--yx-sub); }
html .yxv-tier button[aria-pressed="true"] { background: var(--yx-violet); color: #fff; }
html .yxv-ai-tabs { margin: 0 16px; background: rgba(255, 255, 255, 0.6); }
html .yxv-ai-tabs > button[aria-pressed="true"] { color: var(--yx-violet); }
html .yxv-ai-body { flex: 1; min-height: 0; overflow: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
html .yxv-label { display: block; font-size: 12px; color: var(--yx-sub); margin-top: 6px; }
html .yxv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html .yxv-chips > button:not(.ui-button) { border: 1px solid #e4d9f5; background: #fff; border-radius: 4px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; color: var(--yx-text); }
html .yxv-chips > button[aria-pressed="true"] { border-color: var(--yx-violet); color: var(--yx-violet); background: #fff; box-shadow: inset 0 0 0 1px var(--yx-violet); }
html .yxv-brief { display: grid; grid-template-columns: 1fr 84px; gap: 8px; }
html .yxv-brief input, html .yxv-ai-foot input { width: 100%; height: 34px; border: 1px solid #e4d9f5; border-radius: 6px; padding: 0 10px; font: inherit; font-size: 13px; background: #fff; }
html .yxv-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
html .yxv-src { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #fff; border: 1px solid #ece4f7; border-radius: 6px; font-size: 12px; min-width: 0; }
html .yxv-src span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .yxv-outline, html .yxv-result { background: #fff; border: 1px solid #e4d9f5; border-radius: 8px; padding: 12px; }
html .yxv-out-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #f3eef9; font-size: 13px; }
html .yxv-out-row .ui-button, html .yxv-outline .ui-button, html .yxv-result .ui-button { --ui-button-visual: 28px; font-size: 12px; }
html .yxv-note-warn { display: block; padding: 6px 8px; background: #fff6ea; border-radius: 4px; color: #8a5413; font-size: 12px; }
html .yxv-sug { border-top: 1px solid #f3eef9; padding-top: 8px; margin-top: 8px; font-size: 13px; }
html .yxv-ver { padding: 8px 0; border-bottom: 1px dashed #eee6f7; }
html .yxv-ver p { max-height: 180px; overflow: auto; }
html .yxv-basis { font-size: 12px; color: var(--yx-sub); margin: 6px 0; }
html .yxv-miss-n { color: #b7651b; }
html .yxv-quote { margin: 0; padding: 8px 10px; background: #fff; border-left: 3px solid var(--yx-violet); font-size: 13px; }
html .yxv-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html .yxv-ai-foot { padding: 12px 16px; border-top: 1px solid #e4d9f5; background: rgba(255, 255, 255, 0.5); display: flex; flex-direction: column; gap: 8px; }
html .yxv-ai-foot .yxv-row:first-child { flex-wrap: nowrap; }
@media (max-width: 1280px) {
  html .yxv-body { grid-template-columns: 240px minmax(0, 1fr) 340px; }
}
@media (max-width: 1024px) {
  html .yxv-body { grid-template-columns: minmax(0, 1fr); overflow: auto; display: flex; flex-direction: column; }
  html .yxv-left, html .yxv-mid, html .yxv-ai { overflow: visible; border: 0; }
  html .yxv-left { order: 2; }
  html .yxv-mid { order: 1; }
  html .yxv-ai { order: 3; }
  html .yxv-rail { display: none; }
  html .yxv-checks { width: 100%; order: 10; }
}
@media print {
  html .yxv-rail, html .yxv-bar, html .yxv-left, html .yxv-ai, html .yxv-insert { display: none !important; }
  html .yxv-editor { position: static; }
  html .yxv-blk { outline: 0 !important; background: none !important; }
}
html .yxv-filter select { width: auto; flex: none; }
html .yxv-table-box > .v-pad { padding: 24px 16px; margin: 0; }
html .yxv-crumbs { flex-wrap: nowrap; white-space: nowrap; }
html .yxv-crumbs .ui-button { --ui-button-visual: 24px; }
html .yxv-src { min-height: 0; height: 32px; margin: 0; }
html .yxv-src input { width: 14px; height: 14px; margin: 0; flex: none; }
html .yxv-ai-foot .ui-button { flex: none; }
html .yxv-ai-foot .ui-button-face { white-space: nowrap; }
html .yxv-art-top { display: block; height: auto; border: 0; background: none; }
html .yxv-back { display: none; }
html .yxv-btnrow { flex-wrap: wrap; }
html .yxv-miss strong { font-weight: 600; }
@media (max-width: 1024px) {
  html .yxv-editor { overflow-x: hidden; }
  html .yxv-back { display: inline-flex; }
  html .yxv-crumb { display: none; }
  html .yxv-crumbs { flex: 1 1 100%; min-width: 0; }
  html .yxv-title-input { flex: 1; min-width: 0; width: auto; }
  html .yxv-bar { gap: 8px; padding: 8px 12px; }
  html .yxv-bar .v-spacer { display: none; }
  html .yxv-stage { max-width: 100%; }
}
html .yxv-main > header.yxv-bar { height: auto; min-height: 56px; flex-shrink: 0; }

/* ---------- 课程方案编辑器（设计稿 v3 第 7、8 页） ---------- */
html .yxv-plan .yxv-body { grid-template-columns: 340px minmax(0, 1fr) 400px; }
html .yxv-warn-btn .ui-button-face { background: #fff4e5; border-color: #f6d6ac; color: #8a5413; }
html .yxp-acc { border: 1px solid transparent; border-radius: 8px; margin: 2px 0; }
html .yxp-acc.is-open { border-color: var(--yx-ink); padding-bottom: 12px; }
html .yxp-acc-head { display: flex; align-items: center; gap: 4px; }
html .yxp-acc-btn { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; padding: 12px 10px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; color: var(--yx-text); }
html .yxp-acc-btn .yx-num { width: 14px; color: var(--yx-sub); font-size: 15px; }
html .yxp-acc-btn strong { font-weight: 600; font-size: 14px; flex: none; }
html .yxp-acc-btn .v-muted { margin-left: auto; font-size: 12px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .yxp-acc.is-hidden .yxp-acc-btn strong { color: #a49db0; }
html .yxp-eye { width: 30px; height: 30px; border: 0; background: transparent; color: var(--yx-sub); border-radius: 6px; display: grid; place-items: center; cursor: pointer; flex: none; }
html .yxp-eye:hover { background: #f3f1f6; }
html .yxp-eye[aria-pressed="false"] { color: #c4bdcf; }
html .yxp-acc-body { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
html .yxp-acc-body p { margin: 0; font-size: 12px; }
html .yxp-acc-body .yxp-field { font-size: 12px; color: var(--yx-sub); display: flex; flex-direction: column; gap: 4px; }
html .yxp-acc-body input, html .yxp-acc-body select, html .yxp-acc-body textarea { font: inherit; font-size: 13px; color: var(--yx-text); }
html .yxp-acc-body .yxp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html .yxp-acc-body .yxp-grid.is-inst { grid-template-columns: 1fr 70px 1fr auto; align-items: end; }
html .yxp-acc-body .yxp-stage { border: 1px solid var(--yx-line); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
html .yxp-acc-body .ui-button { --ui-button-visual: 30px; font-size: 12px; }
html .yxp-pills { display: flex; gap: 6px; flex-wrap: wrap; }
html .yxp-pills button { height: 30px; min-width: 30px; padding: 0 10px; border: 1px solid var(--yx-line); border-radius: 6px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
html .yxp-pills button[aria-pressed="true"] { background: var(--yx-ink); border-color: var(--yx-ink); color: #fff; }
html .yxp-acc-body .yxp-line { display: grid; grid-template-columns: minmax(0, 1fr) 76px 92px auto; gap: 6px; align-items: center; }
html .yxp-acc-body .yxp-line .yxp-line-name { display: flex; flex-direction: column; min-width: 0; }
html .yxp-acc-body .yxp-line .yxp-line-name strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .yxp-acc-body .yxp-line input { height: 32px; width: 100%; box-sizing: border-box; }
html .yxp-lines-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html .yxp-lines-foot select { height: 32px; border: 1px dashed #cfc6dc; border-radius: 6px; background: #fff; padding: 0 8px; max-width: 60%; }
html .yxp-lines-foot strong { font-size: 13px; }
html .yxv-styles.is-3 { grid-template-columns: repeat(3, 1fr); }
html .yxp-a4 { background: #e9e6ee; }
html .yxp-a4 .yxp-pages { width: 100%; display: flex; justify-content: center; }
html .yxp-a4 .yxp-doc { zoom: 0.62; padding-top: 0; }
html .yxp-strip { background: #e9e6ee; }
html .yxp-thumb { width: 22px; height: 30px; padding: 0; border: 1px solid #cfc8da; border-radius: 3px; background: #fff; font: inherit; font-size: 11px; color: var(--yx-sub); cursor: pointer; }
html .yxp-thumb:hover { border-color: var(--yx-ink); color: var(--yx-ink); }
html .yxv-scope { margin: 0; padding: 10px 12px; background: #fff; border: 1px solid #e4d9f5; border-radius: 8px; font-size: 13px; line-height: 1.6; }
html .yxp-weeks { display: flex; gap: 2px; height: 26px; border-radius: 4px; overflow: hidden; font-size: 12px; }
html .yxp-weeks span { display: flex; align-items: center; padding: 0 6px; white-space: nowrap; overflow: hidden; color: #fff; min-width: 0; }
html .yxp-weeks .is-0 { background: #d9c9f0; color: var(--yx-violet-dark); }
html .yxp-weeks .is-1 { background: #b597e3; }
html .yxp-weeks .is-2 { background: #8a5fd0; }
html .yxp-weeks .is-3 { background: #5a2a9e; }
html .yxp-sum-card { background: #fff; border: 1px solid #e4d9f5; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
html .yxp-sum-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 80px; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f3eef9; font-size: 13px; }
html .yxp-sum-row strong { text-align: right; }
html .yxp-sum-total { display: flex; align-items: baseline; gap: 8px; padding-top: 8px; flex-wrap: wrap; }
html .yxp-sum-total b { font-size: 24px; }
html .yxp-sum-card p { margin: 4px 0 0; font-size: 12px; }
html .yxv-page-pick { height: 34px; border: 1px solid #e4d9f5; border-radius: 6px; background: #fff; font: inherit; font-size: 12px; flex: none; width: 84px; }
html .yxv-ai-foot .yxv-chips { flex-wrap: wrap; }
html .yxv-ai-foot .yxv-row:nth-child(2) { flex-wrap: nowrap; }
html .yxv-ai-body .yxv-row select { height: 34px; border: 1px solid #e4d9f5; border-radius: 6px; background: #fff; flex: 1; min-width: 0; }
html .yxv-plan .yxp-locked { margin: 0; padding: 8px 16px; background: #fff6ea; color: #8a5413; font-size: 13px; }
@media (max-width: 1280px) {
  html .yxv-plan .yxv-body { grid-template-columns: 300px minmax(0, 1fr) 340px; }
  html .yxp-a4 .yxp-doc { zoom: 0.5; }
}
@media (max-width: 1024px) {
  html .yxv-plan .yxv-body { display: flex; flex-direction: column; }
  html .yxp-a4 .yxp-doc { zoom: 0.44; }
  html .yxv-plan .yxv-mid { order: 2; }
  html .yxv-plan .yxv-left { order: 1; }
}
html .yxp-acc-body .yxp-line { grid-template-columns: 84px minmax(0, 1fr) auto; padding: 8px; background: #faf9fb; border-radius: 6px; }
html .yxp-acc-body .yxp-line .yxp-line-name { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 8px; }
html .yxp-acc-body .yxp-qtyw { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--yx-sub); }
html .yxp-acc-body .yxp-qtyw input { width: 52px; }
html .yxp-pills button { padding: 0 8px; }
html .yxp-a4 .yxp-doc { width: 210mm; flex: none; }
html .yxv-ai-body > *, html .yxv-left > * { flex-shrink: 0; }
html .yxp-pills { gap: 4px; }
html .yxp-pills button { height: 28px; font-size: 12px; }
html .yxv-sec .yxs-check { padding: 6px 0; min-height: 0; margin: 0; border: 0; background: none; font-size: 13px; }
html .yxp-weeks span { min-width: 46px; }

/* ---------- 成长报告编辑器（设计稿 v3 第 9 页） ---------- */
html .yxr-v3 .yxr-grid { grid-template-columns: 260px minmax(0, 1fr) 480px; }
html .yxr-v3 .yxr-grid.is-single { grid-template-columns: minmax(0, 1fr) 480px; }
html .yxr-class { background: #fff; border-right: 1px solid var(--yx-line); display: flex; flex-direction: column; min-height: 0; padding: 16px 12px; }
html .yxr-class-h { display: flex; align-items: baseline; gap: 8px; padding: 0 8px; flex-wrap: wrap; }
html .yxr-class-h strong { font-size: 16px; }
html .yxr-prog { display: flex; height: 4px; margin: 10px 8px 12px; background: #ece9f0; border-radius: 2px; overflow: hidden; }
html .yxr-prog .is-published { background: var(--yx-ok); }
html .yxr-prog .is-ready { background: var(--yx-warn); }
html .yxr-prog .is-draft { background: #b9b2c6; }
html .yxr-class-list { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
html .yxr-class-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; color: var(--yx-text); cursor: pointer; text-align: left; }
html .yxr-class-item:hover { background: #f6f4f8; }
html .yxr-class-item.is-on { background: #f1eef5; font-weight: 600; }
html .yxr-class-item.is-fresh > span:first-child { color: var(--yx-sub); }
html .yxr-class-item .yx-dot { font-size: 13px; }
html .yxr-class-foot { border-top: 1px solid var(--yx-line); padding: 12px 4px 0; display: flex; flex-direction: column; gap: 8px; }
html .yxr-class-foot .ui-button { width: 100%; }
html .yxr-class-foot p { margin: 0; font-size: 12px; line-height: 1.6; }
html .yxr-mid { overflow: auto; padding: 16px 20px 40px; display: flex; flex-direction: column; gap: 12px; }
html .yxe-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html .yxe-head > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
html .yxe-head h1 { margin: 0; font-family: var(--yx-serif); font-size: 22px; }
html .yxe-head .v-muted { font-size: 13px; }
html .yxr-ops { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
html .yxe-card { background: #fff; border: 1px solid var(--yx-line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
html .yxe-card-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html .yxe-card-h h3 { margin: 0; font-size: 15px; font-weight: 600; }
html .yxe-card-h .ui-button { --ui-button-visual: 30px; font-size: 12px; }
html .yxe-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
html .yxe-stat { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--yx-sub); }
html .yxe-statbox { display: flex; align-items: center; gap: 6px; height: 36px; border: 1px solid var(--yx-line); border-radius: 6px; padding: 0 8px 0 10px; background: #fff; }
html .yxe-statbox.is-manual { border-color: var(--yx-ink); }
html .yxe-statbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--yx-text); height: 100%; padding: 0; }
html .yxe-src { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #eef2fb; color: #3a5ba8; white-space: nowrap; }
html .yxe-src.is-manual { background: #f1eef5; color: var(--yx-sub); }
html .yxe-scores { display: flex; flex-direction: column; }
html .yxe-score { display: grid; grid-template-columns: 110px 170px 50px 1fr; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; }
html .yxe-score.is-head { font-size: 12px; color: var(--yx-sub); padding-top: 0; }
html .yxe-dots { display: flex; gap: 6px; }
html .yxe-dots button { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1.5px solid #cfc8d9; background: #fff; cursor: pointer; }
html .yxe-dots button.is-on { background: var(--yx-ok); border-color: var(--yx-ok); }
html .yxe-dots button:disabled { cursor: default; }
html .yxe-delta { font-size: 12px; color: var(--yx-sub); }
html .yxe-delta.is-up { color: var(--yx-ok); }
html .yxe-delta.is-down { color: var(--yx-bad); }
html .yxr-aibar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--yx-violet-soft); border: 1px solid #e4d9f5; border-radius: 10px; flex-shrink: 0; }
html .yxr-aibar input { flex: 1; min-width: 0; height: 34px; border: 1px solid #e4d9f5; border-radius: 6px; padding: 0 10px; font: inherit; font-size: 13px; }
html .yxr-ainote { margin: -4px 0 0; font-size: 12px; }
html .yxe-card textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--yx-line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.7; resize: vertical; }
html .yxr-sug { background: var(--yx-violet-soft); border: 1px solid #e4d9f5; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; }
html .yxr-sug p { margin: 0; }
html .yxr-basis { padding-left: 10px; border-left: 2px solid #d9c9f0; font-size: 12px; color: var(--yx-sub); }
html .yxr-sug .ui-button { --ui-button-visual: 30px; font-size: 12px; }
html .yxr-right { background: #ece9f0; overflow: auto; padding: 16px 24px 40px; }
html .yxr-right-h { text-align: center; font-size: 12px; color: var(--yx-sub); margin: 0 0 12px; }
html .yxr-phone { max-width: 360px; margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(27, 21, 40, 0.1); }
html .yxr-phone .yxr-doc { max-width: none; }
@media (max-width: 1280px) {
  html .yxr-v3 .yxr-grid { grid-template-columns: 220px minmax(0, 1fr) 380px; }
}
@media (max-width: 1024px) {
  html .yxr-v3 .yxr-grid, html .yxr-v3 .yxr-grid.is-single { display: flex; flex-direction: column; }
  html .yxr-class { border-right: 0; border-bottom: 1px solid var(--yx-line); }
  html .yxr-class-list { flex-direction: row; overflow-x: auto; }
  html .yxr-class-item { flex: none; }
  html .yxe-score { grid-template-columns: 1fr auto 30px 44px; }
  html .yxr-mid, html .yxr-right { overflow: visible; }
}
html .yxr-doc .yxr-head { height: auto; display: block; border: 0; }
html .yxr-doc > * { flex-shrink: 0; }
html .yxr-phone .yxr-doc { border-radius: 0; box-shadow: none; }
html .yxe-dots button { flex: none; }
@media (max-width: 1024px) {
  html .yxr-v3 .yxr-grid > * { flex-shrink: 0; }
  html .yxr-class { padding: 12px; }
  html .yxr-class-foot p { display: none; }
  html .yxr-mid { padding: 12px; }
  html .yxr-right { padding: 12px; }
  html .yxe-score { grid-template-columns: 84px auto 24px 1fr; font-size: 13px; }
  html .yxe-dots { gap: 4px; }
  html .yxr-aibar { flex-wrap: wrap; }
  html .yxr-aibar input { flex-basis: 100%; order: 3; }
}

/* ---------- 老师手机端：今天的课 / 课后反馈（设计稿 v3） ---------- */
html .yxg-v3 { gap: 12px; }
html .yxg-hero { background: var(--yx-ink); color: #fff; border-radius: 14px; padding: 18px 20px; }
html .yxg-hero .yx-eyebrow { color: var(--yx-amber); margin: 0; font-size: 15px; }
html .yxg-hero h1 { margin: 6px 0 4px; font-family: var(--yx-serif); font-size: 24px; color: #fff; }
html .yxg-hero-sub { margin: 0; font-size: 12px; color: #c9c2d6; }
html .yxg-today { display: flex; flex-direction: column; gap: 10px; }
html .yxg-lcard { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--yx-line); border-radius: 12px; font: inherit; text-align: left; cursor: pointer; color: var(--yx-text); }
html .yxg-lcard.is-todo { border: 2px solid var(--theme, var(--yx-ok)); }
html .yxg-time { font-size: 20px; width: 56px; flex: none; color: var(--yx-ink); }
html .yxg-lcard-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html .yxg-lcard-main strong { font-size: 15px; }
html .yxg-lcard-main small { font-size: 12px; }
html .yxg-go { flex: none; padding: 6px 12px; border-radius: 6px; background: var(--theme, var(--yx-ok)); color: #fff; font-size: 13px; }
html .yxg-go.is-bad { background: var(--yx-bad); }
html .yxg-lcard > .v-muted, html .yxg-lcard > .yx-dot { flex: none; font-size: 13px; }
html .yxg-h2 { margin: 8px 0 0; font-size: 13px; font-weight: 500; color: var(--yx-sub); }
html .yxg-todo { display: flex; flex-direction: column; gap: 8px; }
html .yxg-todo p { margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--yx-line); border-radius: 10px; font-size: 13px; }
html .yxg-top { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; border-bottom: 1px solid var(--yx-line); }
html .yxg-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html .yxg-top strong { font-size: 16px; }
html .yxg-top small { font-size: 12px; }
html .yxg-back { width: 32px; height: 32px; border: 0; background: transparent; font-size: 22px; color: var(--yx-text); cursor: pointer; flex: none; }
html .yxg-badge { flex: none; font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #f1eef5; color: var(--yx-sub); }
html .yxg-badge.is-ok { background: #e3f5f2; color: #0e7a6e; }
html .yxg-badge.is-warn, html .yxg-badge.is-info { background: #fff4e5; color: #8a5413; }
html .yxg-badge.is-bad { background: #fde8e6; color: var(--yx-bad); }
html .yxg-v3card { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 0; background: none; border: 0; box-shadow: none; }
html .yxg-att { display: flex; gap: 6px; flex-wrap: wrap; }
html .yxg-att button { height: 32px; padding: 0 14px; border: 1px solid var(--yx-line); border-radius: 6px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
html .yxg-att button[aria-checked="true"] { background: var(--yx-ink); border-color: var(--yx-ink); color: #fff; }
html .yxg-label { font-size: 12px; color: var(--yx-sub); margin-top: 6px; }
html .yxg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html .yxg-chip { height: 34px; padding: 0 12px; border: 1px solid var(--yx-line); border-radius: 6px; background: #fff; font: inherit; font-size: 13px; color: var(--yx-text); cursor: pointer; }
html .yxg-chip[aria-pressed="true"] { background: var(--theme, var(--yx-ok)); border-color: var(--theme, var(--yx-ok)); color: #fff; }
html .yxg-chip.is-add { border-style: dashed; color: var(--yx-sub); }
html .yxg-note { height: 42px; border: 1px solid var(--yx-line); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; margin-top: 6px; }
html .yxg-v3 .yxg-out { background: #fff; border: 1px solid #e4d9f5; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; margin-top: 6px; }
html .yxg-out-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 6px; }
html .yxg-out-h strong { font-size: 14px; }
html .yxg-out-h .ui-button { --ui-button-visual: 28px; font-size: 12px; }
html .yxg-spark { color: var(--yx-amber); }
html .yxg-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 0; border-top: 1px solid #f1eef5; }
html .yxg-row > span { font-size: 12px; font-weight: 600; color: var(--theme, var(--yx-ok)); padding-top: 8px; }
html .yxg-row textarea { border: 1px solid transparent; border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 14px; line-height: 1.6; resize: vertical; min-height: 36px; background: transparent; }
html .yxg-row textarea:focus { border-color: var(--yx-line); background: #fff; outline: none; }
html .yxg-row textarea.yx-ai-filled { background: var(--yx-violet-soft); border-color: #e4d9f5; }
html .yxg-v3 .yxg-submit { position: sticky; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 0; background: var(--yx-paper); text-align: center; }
html .yxg-v3 .yxg-submit .ui-button { width: 100%; --ui-button-visual: 48px; font-size: 16px; }
html .yxg-v3 .yxg-submit .ui-button-face { background: var(--theme, var(--yx-ok)); border-color: var(--theme, var(--yx-ok)); }
html .yxg-v3 .yxg-submit small { font-size: 12px; }
html .yxg-v3 .yxg-submit { flex-direction: column; flex-wrap: nowrap; }
html .yxg-v3 .yxg-submit > button { flex: none; width: 100%; }
html .yxg-v3 .yxg-submit .ui-button-face { width: 100%; justify-content: center; }

/* ---------- 设置页：两栏 + 用一句话改设置（设计稿 v3 第 2、3 页） ---------- */
html .yxs-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
html .yxs-split-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
html .yxs-split-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
html .yxs-assist { background: #fff; border: 1px solid var(--yx-line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
html .yxs-assist .yxv-ai-head { padding: 0; }
html .yxs-assist-logo { background: var(--yx-ink); color: var(--yx-amber); }
html .yxs-assist-body { display: flex; flex-direction: column; gap: 10px; }
html .yxs-assist-quote { margin: 0; padding: 12px 14px; border: 1px solid var(--yx-line); border-radius: 8px; font-size: 14px; }
html .yxs-change { border: 1px solid var(--yx-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
html .yxs-change-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
html .yxs-change-h .yx-dot { font-size: 12px; }
html .yxs-change-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.6; padding: 2px 0; }
html .yxs-change-row del { color: var(--yx-sub); }
html .yxs-change .yxv-row { margin-top: 6px; }
html .yxs-change .ui-button, html .yxs-assist-ask .ui-button { --ui-button-visual: 32px; font-size: 13px; }
html .yxs-assist-ask { flex-wrap: nowrap; }
html .yxs-assist-ask input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--yx-line); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 13px; }
html .yxs-assist-note { margin: 0; font-size: 12px; line-height: 1.6; }
html .yxs-legend h3 { margin: 0; font-size: 15px; }
html .yxs-legend .yxs-change-row { grid-template-columns: 56px 1fr; }
html .yxs-course-top { display: flex; gap: 8px; margin: -8px 0 12px; }
html .yxs-course-panel { padding: 0; overflow: hidden; }
html .yxs-course-panel .yxv-filter .yxs-search { height: 32px; width: 160px; border: 1px solid var(--yx-line); border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; }
html .yxs-tools .yxs-check { margin: 0; padding: 0; border: 0; background: none; font-size: 13px; min-height: 0; }
html .yxs-course-panel .yxs-table { border: 0; border-radius: 0; margin: 0; }
html .yxs-course-panel .yxs-table th { background: #faf9fb; }
html .yxs-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html .yxs-foot-note { margin: 0; padding: 12px 16px; border-top: 1px solid var(--yx-line); font-size: 12px; color: var(--yx-sub); }
html .yxs-subjectbar .yxs-subject.is-on { background: var(--yx-ink); color: #fff; border-color: var(--yx-ink); }
/* 节点日历：甘特样式，点格子选月份 */
html .yxs-cal-row.is-head { border-top: 0; padding-bottom: 0; font-size: 12px; }
html .yxs-gantt-head { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 11px; color: var(--yx-sub); }
html .yxs-gantt { display: grid !important; grid-template-columns: repeat(12, 1fr); gap: 0 !important; border-left: 1px solid #efecf2; }
html .yxs-gantt .yxs-month { height: 26px; min-width: 0; margin: 0; padding: 0; border: 0; border-right: 1px solid #efecf2; border-radius: 0; background: transparent; cursor: pointer; }
html .yxs-gantt .yxs-month:hover { background: #f3f1f6; }
html .yxs-gantt .yxs-month[aria-pressed="true"] { background: #c9b3ec; }
html .yxs-gantt.is-c1 .yxs-month[aria-pressed="true"] { background: #8a5fd0; }
html .yxs-gantt.is-c2 .yxs-month[aria-pressed="true"] { background: #f4a85b; }
html .yxs-gantt.is-c3 .yxs-month[aria-pressed="true"] { background: #e2d6f3; }
html .yxs-gantt.is-c4 .yxs-month[aria-pressed="true"] { background: #4e2490; }
@media (max-width: 1100px) {
  html .yxs-split { grid-template-columns: minmax(0, 1fr); }
  html .yxs-split-side { position: static; }
}
html .yxs-course-panel .yxs-table td, html .yxs-course-panel .yxs-table th { white-space: nowrap; padding: 12px 14px; }
html .yxs-course-panel .yxs-table td:first-child { white-space: normal; min-width: 160px; }
html .yxs-course-panel .yxs-ops { display: flex; gap: 12px; flex-wrap: nowrap; }
html .yxs-course-panel { overflow-x: auto; }
html .yxs-course-top { margin-top: -44px; }
html .yxs-cal-row { grid-template-columns: 130px minmax(0, 1fr) 140px 96px 64px; }
html .yxs-gantt .yxs-month { height: 28px; }
html .yxs-gantt-head span { padding-left: 4px; }
@media (max-width: 900px) { html .yxs-cal-row { grid-template-columns: 1fr; } html .yxs-cal-row.is-head { display: none; } }

/* ---------- 成长报告维度（设计稿 v3 第 4 页） ---------- */
html .yxs-dims { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
html .yxs-dims-left { display: flex; flex-direction: column; gap: 10px; }
html .yxs-dims-cap { margin: 0; font-size: 12px; }
html .yxs-dims-class { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--yx-line); border-radius: 10px; text-align: left; font: inherit; cursor: pointer; color: var(--yx-text); }
html .yxs-dims-class.is-on { border: 2px solid var(--yx-ink); padding: 13px 15px; }
html .yxs-dims-class.is-off strong { color: var(--yx-sub); }
html .yxs-dims-class small { font-size: 12px; }
html .yxs-dims-mid { padding: 0; overflow: hidden; }
html .yxs-dims-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--yx-line); }
html .yxs-dims-h h3 { margin: 0; font-family: var(--yx-serif); font-size: 18px; }
html .yxs-dims-h small { font-size: 12px; }
html .yxs-dims-h .ui-button { --ui-button-visual: 32px; font-size: 13px; }
html .yxs-dim-row { display: grid; grid-template-columns: 28px 120px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px 18px; border-bottom: 1px solid #f1eef5; }
html .yxs-dim-row:last-child { border-bottom: 0; }
html .yxs-dim-row.is-head { font-size: 12px; color: var(--yx-sub); background: #faf9fb; }
html .yxs-dim-row input { height: 32px; border: 1px solid transparent; border-radius: 6px; padding: 0 8px; font: inherit; font-size: 14px; background: transparent; min-width: 0; }
html .yxs-dim-row input:hover, html .yxs-dim-row input:focus { border-color: var(--yx-line); background: #fff; outline: none; }
html .yxs-dim-up, html .yxs-dim-del { border: 0; background: transparent; color: var(--yx-sub); cursor: pointer; font: inherit; font-size: 12px; padding: 4px; }
html .yxs-dim-up:disabled { opacity: 0.3; cursor: default; }
html .yxs-dim-del:hover { color: var(--yx-bad); }
html .yxs-dim-tags { display: flex; flex-wrap: wrap; gap: 6px; }
html .yxs-dim-tags .yxg-chip { height: 28px; font-size: 12px; padding: 0 10px; }
html .yxs-dims-right { display: flex; flex-direction: column; gap: 14px; }
html .yxs-dims-right h3 { margin: 0; font-size: 15px; }
html .yxs-stat-pick { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--yx-line); border-radius: 8px; font-size: 13px; cursor: pointer; }
html .yxs-stat-pick.is-on { border-color: var(--yx-ink); }
html .yxs-stat-pick span:nth-child(2) { flex: 1; }
html .yxs-stat-pick input { margin: 0; }
html .yxs-switch { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; padding: 4px 0; cursor: pointer; }
html .yxs-switch input { appearance: none; width: 34px; height: 20px; border-radius: 10px; background: #dcd6e4; position: relative; cursor: pointer; margin: 0; flex: none; transition: background 0.15s; }
html .yxs-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left 0.15s; }
html .yxs-switch input:checked { background: var(--yx-ink); }
html .yxs-switch input:checked::after { left: 16px; }
html .yxs-switch input:focus-visible { outline: 2px solid var(--yx-violet); outline-offset: 2px; }
@media (max-width: 1200px) {
  html .yxs-dims { grid-template-columns: 200px minmax(0, 1fr); }
  html .yxs-dims-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 760px) {
  html .yxs-dims { grid-template-columns: minmax(0, 1fr); }
  html .yxs-dim-row { grid-template-columns: 24px minmax(0, 1fr) 40px; }
  html .yxs-dim-row .yxs-dim-tags { grid-column: 2 / -1; }
  html .yxs-dim-row.is-head { display: none; }
}
html .yxs-dims-right label.yxs-stat-pick, html .yxs-dims-right label.yxs-switch { min-height: 0; height: auto; margin: 0; font-weight: 400; color: var(--yx-text); }
html .yxs-dims-right label.yxs-stat-pick { padding: 8px 10px; }
html .yxs-dims-right .yxs-stat-pick input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; padding: 0; flex: none; }
html .yxs-dims-right .yxs-switch input[type="checkbox"] { width: 34px; height: 20px; min-height: 0; padding: 0; border: 0; border-radius: 10px; box-shadow: none; }
html .yxs-dims-right .yxs-assist { gap: 8px; }
html .yxs-course-panel .yxs-table td, html .yxs-course-panel .yxs-table th { padding: 10px 12px; }
html .yxs-course-panel .yxv-filter input.yxs-search { height: 32px; min-height: 0; }
html .yxs-course-panel .yxs-ops { gap: 10px; }

/* ---------- 方案文件（设计稿 v3：封面三套模版 + 内页） ---------- */
html .yxd { --yxp-ink: #211a30; --yxp-paper: #ffffff; --yxp-muted: #6b6280; --yxp-accent: #f4a85b; --yxd-on-primary: #fff; color: var(--yxp-ink); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html .yxd .yxd-page { position: relative; display: flex; flex-direction: column; background: var(--yxp-paper); padding: 16mm 15mm 14mm; box-shadow: 0 2px 10px rgba(27, 21, 40, 0.06); }
html .yxd .yxd-latin { font-family: "Cormorant Garamond", "Cormorant", Georgia, serif; font-style: italic; font-size: 17px; color: var(--yxp-accent); margin: 0; display: block; }
html .yxd .yxd-num { font-family: "Cormorant Garamond", "Cormorant", Georgia, serif; font-style: italic; font-weight: 600; }
html .yxd h1, html .yxd h2 { font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif; }
/* 封面通用 */
html .yxd .yxd-cover { padding: 0; overflow: hidden; color: var(--yxp-ink); }
html .yxd .yxd-cover-text h1 { font-size: 34px; line-height: 1.3; margin: 8px 0 10px; }
html .yxd .yxd-sub { margin: 0; font-size: 14px; opacity: 0.85; }
html .yxd .yxd-rule { display: block; width: 36px; height: 2px; background: var(--yxp-accent); margin: 18px 0; }
html .yxd .yxd-nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid currentColor; border-color: rgba(127, 127, 127, 0.35); padding-top: 14px; margin-top: 4px; }
html .yxd .yxd-nums > div { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; border-left: 1px solid rgba(127, 127, 127, 0.3); }
html .yxd .yxd-nums > div:first-child { border-left: 0; padding-left: 0; }
html .yxd .yxd-nums small { font-size: 11px; opacity: 0.75; }
html .yxd .yxd-nums b { font-size: 30px; line-height: 1.1; }
html .yxd .yxd-nums span { font-size: 12px; }
html .yxd .yxd-meta { margin: 16px 0 0; font-size: 11px; opacity: 0.7; }
html .yxd .yxd-logo { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border: 1px dashed currentColor; border-radius: 4px; font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; }
html .yxd .yxd-logo img { max-height: 32px; max-width: 120px; }
html .yxd .yxd-cover-top { display: flex; align-items: center; justify-content: space-between; padding: 14mm 15mm 0; position: relative; z-index: 2; }
html .yxd .yxd-kicker { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
html .yxd .yxd-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
html .yxd .yxd-photo-empty { width: 100%; height: 100%; background: linear-gradient(160deg, #ece8f1, #d9d2e3); }
html .yxd .yxd-corner { position: absolute; right: 0; top: 0; width: 30%; pointer-events: none; z-index: 1; }
/* 画册 */
html .yxd.is-folio .yxd-cover { background: #f7f4ef; }
html .yxd .yxd-arch { flex: 1; margin: 12mm 15mm 0; border-radius: 999px 999px 0 0; overflow: hidden; min-height: 0; }
html .yxd .yxd-band { background: var(--yxp-primary); color: var(--yxd-on-primary); padding: 12mm 15mm 10mm; }
html .yxd .yxd-band-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
html .yxd .yxd-band .yxd-rule { display: none; }
/* 舞台：主图铺满，文字在底部 */
html .yxd.is-stage .yxd-cover { background: #1b1528; color: #fff; justify-content: space-between; }
html .yxd .yxd-stage-bg { position: absolute; inset: 0; }
html .yxd .yxd-stage-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 14, 30, 0) 35%, rgba(20, 14, 30, 0.88) 78%); }
html .yxd.is-stage .yxd-cover-text { position: relative; z-index: 2; margin-top: auto; padding: 0 15mm 12mm; }
html .yxd .yxd-cover[data-text="dark"] { color: var(--yxp-ink); }
html .yxd .yxd-cover[data-text="dark"] .yxd-stage-bg::after { background: linear-gradient(to top, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.9) 85%); }
html .yxd.is-stage .yxd-cover[data-text="dark"] .yxd-cover-text { margin-top: 0; order: -1; padding-top: 30mm; }
html .yxd.is-stage .yxd-cover[data-text="dark"] .yxd-cover-top { order: -2; }
html .yxd .yxd-cover[data-text="panel"] .yxd-stage-bg::after { background: none; }
html .yxd .yxd-cover[data-text="panel"] .yxd-cover-text { margin: auto 10mm 10mm; padding: 8mm 10mm; border-radius: 10px; background: color-mix(in srgb, var(--yxp-primary) 82%, #000 18%); color: var(--yxd-on-primary); }
/* 手札：纸张 + 拍立得 + 色块 */
html .yxd.is-journal .yxd-cover { background: #f8f1e6; }
html .yxd .yxd-blob { position: absolute; border-radius: 50%; }
html .yxd .yxd-blob.a { width: 55%; aspect-ratio: 1; left: -18%; top: -14%; background: var(--yxp-accent); opacity: 0.9; }
html .yxd .yxd-blob.b { width: 40%; aspect-ratio: 1; right: -14%; top: 48%; background: color-mix(in srgb, var(--yxp-primary) 25%, #fff); }
html .yxd .yxd-polaroid { position: relative; z-index: 1; width: 56%; margin: 0 12mm 0 auto; background: #fff; padding: 10px 10px 30px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14); transform: rotate(3deg); }
html .yxd .yxd-polaroid img, html .yxd .yxd-polaroid .yxd-photo-empty { aspect-ratio: 4 / 5; height: auto; }
html .yxd .yxd-polaroid figcaption { position: absolute; left: 12px; bottom: 8px; font-size: 10px; color: #8a8296; }
html .yxd.is-journal .yxd-cover-text { position: relative; z-index: 1; padding: 10mm 15mm 0; }
html .yxd.is-journal .yxd-cover-text h1 { color: var(--yxp-ink); }
html .yxd.is-journal .yxd-latin { color: var(--yxp-primary); }
html .yxd.is-journal .yxd-meta { padding: 0 15mm 12mm; margin-top: auto; }
/* 内页 */
html .yxd .yxd-phead { display: flex; justify-content: space-between; font-size: 10px; color: var(--yxp-muted); margin-bottom: 12mm; }
html .yxd .yxd-phead-l::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--yxp-primary); margin-right: 8px; vertical-align: 1px; }
html .yxd .yxd-pfoot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 8mm; border-top: 1px solid #ece8f0; font-size: 10px; color: var(--yxp-muted); }
html .yxd .yxd-h { display: flex; align-items: flex-end; gap: 10px; margin: 6mm 0 4mm; }
html .yxd .yxd-h-num { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 40px; line-height: 0.8; color: color-mix(in srgb, var(--yxp-primary) 22%, #fff); }
html .yxd.sh-plain .yxd-h-num { display: none; }
html .yxd .yxd-h small.yxd-latin { font-size: 12px; color: var(--yxp-primary); }
html .yxd .yxd-h h2 { margin: 0; font-size: 20px; }
html .yxd .yxd-text { font-size: 13px; line-height: 1.9; margin: 0 0 4mm; }
html .yxd .yxd-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
html .yxd .yxd-card { background: #f6f4f8; border-radius: 6px; padding: 10px 12px; }
html .yxd .yxd-card h3 { margin: 0 0 6px; font-size: 12px; }
html .yxd .yxd-card ul, html .yxd .yxd-path-r ul { margin: 0; padding-left: 14px; font-size: 11.5px; line-height: 1.8; }
html .yxd .yxd-note { font-size: 10.5px; color: var(--yxp-muted); margin: 3mm 0 0; }
html .yxd .yxd-path { display: flex; flex-direction: column; }
html .yxd .yxd-path-row { display: grid; grid-template-columns: 30mm minmax(0, 1fr); gap: 6mm; }
html .yxd .yxd-path-l { padding-bottom: 5mm; }
html .yxd .yxd-path-l small { color: var(--yxp-primary); font-size: 10.5px; }
html .yxd .yxd-path-l strong { display: block; font-size: 14px; margin: 2px 0; }
html .yxd .yxd-path-l p { margin: 0; font-size: 11px; color: var(--yxp-muted); }
html .yxd .yxd-path-l b { font-size: 20px; color: var(--yxp-ink); }
html .yxd .yxd-path-r { position: relative; padding: 0 0 5mm 6mm; border-left: 1.5px solid #e2dcea; }
html .yxd .yxd-path-r::before { content: ""; position: absolute; left: -5px; top: 3px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--yxp-primary); background: #fff; }
html .yxd .yxd-path-r.is-last::before { background: var(--yxp-primary); }
html .yxd .yxd-path-when { margin: 0 0 4px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
html .yxd .yxd-chip { font-size: 10px; padding: 1px 8px; border-radius: 10px; background: color-mix(in srgb, var(--yxp-primary) 12%, #fff); color: var(--yxp-primary); }
html .yxd .yxd-target { margin: 2mm 0 0; padding: 8px 12px; background: #f6f4f8; border-radius: 6px; font-size: 12px; }
html .yxd .yxd-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
html .yxd .yxd-table th { text-align: left; font-weight: 500; color: var(--yxp-muted); font-size: 10.5px; padding: 6px 8px; background: #f6f4f8; }
html .yxd .yxd-table td { padding: 7px 8px; border-bottom: 1px solid #efebf3; vertical-align: top; }
html .yxd .yxd-table td small { display: block; color: var(--yxp-muted); font-size: 10px; margin-top: 2px; }
html .yxd .yxd-r { text-align: right; }
html .yxd .yxd-stage-row td { padding: 0; border: 0; }
html .yxd .yxd-stage-row td > div { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; padding: 8px 10px; background: color-mix(in srgb, var(--yxp-primary) 9%, #fff); }
html .yxd.sb-card .yxd-stage-row td > div { background: #fff; border: 1px solid #e6e0ec; border-left: 3px solid var(--yxp-primary); border-radius: 4px; }
html .yxd .yxd-stage-row strong { font-size: 12.5px; }
html .yxd .yxd-stage-row small { color: var(--yxp-muted); font-size: 10.5px; }
html .yxd .yxd-sp { flex: 1; }
html .yxd .yxd-sum { display: flex; align-items: baseline; gap: 10px; margin-top: 4mm; padding-top: 3mm; border-top: 2px solid var(--yxp-ink); font-size: 12px; }
html .yxd .yxd-sum b { font-size: 22px; }
html .yxd .yxd-fees { display: grid; grid-template-columns: minmax(0, 1fr) 50mm; gap: 8mm; align-items: start; }
html .yxd .yxd-table.is-plain th { background: none; border-bottom: 1px solid #e2dcea; padding-left: 0; }
html .yxd .yxd-table.is-plain td { padding-left: 0; }
html .yxd .yxd-total { background: var(--yxp-primary); color: var(--yxd-on-primary); border-radius: 6px; padding: 12px 14px; }
html .yxd.tc-outline .yxd-total { background: #fff; color: var(--yxp-ink); border: 1.5px solid var(--yxp-primary); }
html .yxd .yxd-total small { font-size: 10.5px; opacity: 0.8; }
html .yxd .yxd-total b { display: block; font-size: 30px; margin: 4px 0; }
html .yxd .yxd-total p { margin: 0; font-size: 10.5px; line-height: 1.6; opacity: 0.85; }
html .yxd .yxd-teachers { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
html .yxd .yxd-teacher { display: flex; gap: 10px; }
html .yxd .yxd-avatar { width: 15mm; height: 18mm; flex: none; border-radius: 4px; background: color-mix(in srgb, var(--yxp-primary) 14%, #fff); color: var(--yxp-primary); display: grid; place-items: center; font-family: "Noto Serif SC", serif; font-size: 20px; }
html .yxd .yxd-teacher strong { font-size: 12.5px; }
html .yxd .yxd-teacher p { margin: 4px 0 0; font-size: 11px; line-height: 1.7; color: var(--yxp-muted); }
html .yxd .yxd-contact { display: flex; justify-content: space-between; gap: 10mm; margin-top: auto; padding: 8mm 10mm; border-radius: 8px; background: #1b1528; color: #fff; }
html .yxd .yxd-contact strong { font-size: 15px; font-family: "Noto Serif SC", serif; }
html .yxd .yxd-contact p { margin: 4px 0 0; font-size: 11px; color: #cfc8db; }
html .yxd .yxd-qr { margin: 0; background: #fff; padding: 6px; border-radius: 6px; text-align: center; color: #6b6280; font-size: 9px; }
html .yxd .yxd-qr img { width: 22mm; height: 22mm; display: block; }
html .yxd .yxd-contact + .yxd-pfoot { margin-top: 6mm; }
html .yxd .yxd-legal { text-align: center; font-size: 10px; color: var(--yxp-muted); margin: 4px 0 0; }
@media print {
  html .yxd .yxd-page { box-shadow: none; margin: 0; break-after: page; }
}
html .yxd .yxd-fees { grid-template-columns: minmax(0, 1fr); }
html .yxd .yxd-total { order: -1; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
html .yxd .yxd-total b { grid-row: span 2; margin: 0; }
html .yxd .yxd-cover h1, html .yxd .yxd-band h1, html .yxd.is-stage h1 { color: inherit; }
html .yxd.is-journal .yxd-cover h1 { color: var(--yxp-ink); }
html .yxd .yxd-arch .yxd-photo-empty { background: linear-gradient(170deg, color-mix(in srgb, var(--yxp-primary) 8%, #fff), color-mix(in srgb, var(--yxp-primary) 22%, #fff)); }
html .yxd .yxd-arch { min-height: 120mm; }
html .yxd .yxd-cover > .yxd-arch { display: flex; width: calc(100% - 30mm); align-self: center; margin-top: 12mm; border-radius: 999px 999px 0 0; overflow: hidden; }
html .yxd .yxd-arch > * { flex: 1; min-height: 100%; }
html .yxd .yxd-cover > .yxd-arch { position: relative; }
html .yxd .yxd-arch > .yxd-photo, html .yxd .yxd-arch > .yxd-photo-empty { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
html .yxd .yxd-band .yxd-latin { color: var(--yxd-on-primary); opacity: 0.85; }

/* ---------- 成长报告文件（设计稿 v3 第 13、14 页） ---------- */
html .yxrd { --yxr-primary: #16a394; display: flex; flex-direction: column; gap: 0; padding: 0; background: #fff; color: #211a30; max-width: 420px; margin: 0 auto; font-family: "Noto Sans SC", "PingFang SC", sans-serif; }
html .yxrd .yxrd-head { position: relative; display: flex; flex-direction: column; background: color-mix(in srgb, var(--yxr-primary) 7%, #fff); padding: 0 0 20px; }
html .yxrd .yxrd-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
html .yxrd .yxrd-head.is-band { background: var(--yxr-primary); color: var(--yxr-on-primary); padding-top: 18px; }
html .yxrd .yxrd-logo { position: absolute; left: 20px; top: 16px; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.75); color: #3b3346; font-size: 11px; }
html .yxrd .yxrd-head.is-band .yxrd-logo { position: static; align-self: flex-start; margin: 0 20px 18px; }
html .yxrd .yxrd-logo img { max-height: 24px; display: block; }
html .yxrd .yxrd-title { padding: 0 20px; }
html .yxrd .yxrd-latin, html .yxrd .yxrd-eyebrow { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 15px; margin: 0; color: var(--yxr-accent-text); }
html .yxrd .yxrd-head.is-band .yxrd-latin { color: inherit; opacity: 0.85; }
html .yxrd .yxrd-title h2 { margin: 6px 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 24px; line-height: 1.35; color: inherit; }
html .yxrd .yxrd-meta { margin: 0; font-size: 12px; opacity: 0.75; }
html .yxrd .yxrd-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 20px 0; padding: 12px 0; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(27, 21, 40, 0.06); color: #211a30; }
html .yxrd .yxrd-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; border-left: 1px solid #efebf3; }
html .yxrd .yxrd-stats > div:first-child { border-left: 0; }
html .yxrd .yxrd-stats b { font-size: 24px; line-height: 1.1; }
html .yxrd .yxrd-stats span { font-size: 11px; color: #6b6280; }
html .yxrd .yxrd-sec { padding: 22px 20px 0; }
html .yxrd .yxrd-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; }
html .yxrd .yxrd-eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--yxr-primary); }
html .yxrd .yxrd-sec h3 { margin: 4px 0 12px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 18px; }
html .yxrd .yxrd-text { margin: 0; font-size: 14px; line-height: 1.9; }
html .yxrd .yxrd-list, html .yxrd .yxrd-box ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 2; }
html .yxrd .yxrd-list li::marker, html .yxrd .yxrd-box li::marker { color: var(--yxr-primary); }
html .yxrd .yxr-radar { width: 100%; max-width: 320px; display: block; margin: 0 auto; }
html .yxrd .yxr-radar .is-grid { fill: none; stroke: #e6e1ec; }
html .yxrd .yxr-radar .is-axis { stroke: #ece8f0; }
html .yxrd .yxr-radar .is-val { fill: color-mix(in srgb, var(--yxr-primary) 18%, transparent); stroke: var(--yxr-primary); stroke-width: 2; }
html .yxrd .yxr-radar .is-prev { fill: none; stroke: #8a8296; stroke-width: 1.2; stroke-dasharray: 4 3; }
html .yxrd .yxr-radar .is-dot { fill: var(--yxr-primary); }
html .yxrd .yxr-radar text { font-size: 11px; fill: #3b3346; }
html .yxrd .yxrd-legend { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 11px; color: #6b6280; margin: 4px 0 10px; }
html .yxrd .yxrd-legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--yxr-primary); margin-left: 10px; }
html .yxrd .yxrd-legend i.is-prev { border-top: 1.5px dashed #8a8296; }
html .yxrd .yxrd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html .yxrd .yxrd-chips span { font-size: 11px; padding: 3px 10px; border-radius: 12px; background: color-mix(in srgb, var(--yxr-primary) 12%, #fff); color: #211a30; }
html .yxrd .yxrd-note { font-size: 11px; color: #8a8296; margin: 10px 0 0; }
html .yxrd .yxrd-bars > div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f1eef5; font-size: 13px; }
html .yxrd .yxrd-bars b { color: var(--yxr-primary); letter-spacing: 2px; font-weight: 400; }
html .yxrd .yxrd-table { width: 100%; border-collapse: collapse; font-size: 12px; }
html .yxrd .yxrd-table th { text-align: left; font-weight: 500; color: #6b6280; padding: 6px 4px; border-bottom: 1px solid #e6e1ec; }
html .yxrd .yxrd-table td { padding: 8px 4px; border-bottom: 1px solid #f1eef5; }
html .yxrd .yxrd-table .is-total { font-weight: 600; }
html .yxrd .yxrd-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
html .yxrd .yxrd-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
html .yxrd .yxrd-box { background: #f6f5f3; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
html .yxrd .yxrd-box strong { font-size: 13px; color: var(--yxr-accent-text); }
html .yxrd .yxrd-quote { margin: 0; padding: 16px 18px; background: #faf6f0; border-radius: 10px; }
html .yxrd .yxrd-quote p { margin: 0; font-size: 14px; line-height: 1.9; font-weight: 600; }
html .yxrd .yxrd-quote cite { display: block; text-align: right; margin-top: 8px; font-style: normal; font-size: 12px; color: #6b6280; }
html .yxrd .yxrd-foot { display: flex; justify-content: space-between; margin: 24px 20px 0; padding: 12px 0 20px; border-top: 1px solid #ece8f0; font-size: 11px; color: #8a8296; }
html .yxrd .yxrd-sec h3 { color: #211a30; }

/* ---------- 课后反馈卡片（家长端，设计稿 v3 第 15 页） ---------- */
html .yxfc { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(27, 21, 40, 0.07); margin-bottom: 14px; }
html .yxfc-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 18px; background: var(--theme, #16a394); color: var(--fc-on, #fff); }
html .yxfc-head > div { display: flex; flex-direction: column; gap: 2px; }
html .yxfc-head small { font-size: 11px; opacity: 0.85; }
html .yxfc-head strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; }
html .yxfc-head span { font-size: 12px; opacity: 0.9; }
html .yxfc-no { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 16px; }
html .yxfc-body { padding: 6px 18px 16px; }
html .yxfc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
html .yxfc-tags span { font-size: 12px; padding: 2px 10px; border-radius: 4px; background: color-mix(in srgb, var(--theme, #16a394) 12%, #fff); }
html .yxfc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1eef5; }
html .yxfc-row:last-child { border-bottom: 0; }
html .yxfc-row b { font-size: 13px; color: color-mix(in srgb, var(--theme, #16a394) 80%, #000); }
html .yxfc-row p { margin: 0; font-size: 14px; line-height: 1.75; }
html .yxfc-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; }
html .yxfc-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
html .yxv-field { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; min-height: 0; padding: 0; font-weight: 400; }
html .yxv-field input { height: 32px; border: 1px solid var(--yx-line); border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; background: #fff; min-height: 0; }
html .yxv-toggle { cursor: pointer; min-height: 0; margin: 0; font-weight: 400; }
html .yxv-toggle input { width: 14px; height: 14px; margin: 0; min-height: 0; vertical-align: -2px; }
html .yxv-art-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
html .yxv-foot-addr p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--yx-sub); }
html .yxv-foot-qr { margin: 0; text-align: center; font-size: 11px; color: var(--yx-sub); }
html .yxv-foot-qr img { width: 76px; height: 76px; display: block; }

/* v0.4.0：内容 AI 语气 / 参考素材 / 提醒；新建方案三种来源；转为正式学员 */
html .yxv-refs { display: flex; flex-direction: column; gap: 4px; }
html .yxv-refs textarea { width: 100%; border: 1px solid #e4d9f5; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 12px; background: #fff; resize: vertical; min-height: 64px; }
html .yxv-refs small.v-muted { align-self: flex-end; font-size: 11px; }
html .yxv-flagnote { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 22px 8px; }
html .yxv-sug .yxv-flagnote { margin: 8px 0 0; }
html .yxv-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; line-height: 18px; padding: 1px 8px; border-radius: 999px; background: #fff6ea; color: #8a5413; border: 1px solid #f6d6ac; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .yxv-flag.is-bad { background: #fdeeee; color: #9b2c2c; border-color: #f2c5c5; }
html .yxv-flagnote > button { margin-left: auto; border: 0; background: transparent; color: var(--yx-sub); text-decoration: underline; cursor: pointer; font: inherit; font-size: 11px; }
html .yxh-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; background: #f1eef5; border-radius: 8px; margin-bottom: 12px; }
html .yxh-seg-b { border: 0; background: transparent; padding: 7px 8px; border-radius: 6px; font: inherit; font-size: 13px; color: var(--yx-sub); cursor: pointer; }
html .yxh-seg-b[aria-checked="true"] { background: #fff; color: var(--yx-ink); box-shadow: 0 1px 2px rgba(27, 21, 40, 0.12); font-weight: 600; }
html .yxh-part[hidden] { display: none; }
html .yxh-hint { font-size: 12px; margin: 4px 0 8px; }
html .yxh-party { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 500; line-height: 16px; padding: 0 6px; border-radius: 4px; background: #fff6ea; color: #8a5413; border: 1px solid #f6d6ac; vertical-align: 1px; }
html .yxh-party-filter { height: 34px; border: 1px solid var(--yx-line); border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; background: #fff; }
html .yxp-dup { margin: 12px 0; padding: 12px; border: 1px solid #f6d6ac; background: #fff6ea; border-radius: 8px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
html .yxp-dup p { margin: 0; font-size: 12px; }

/* v0.4.1：表格长文字不撑出页面 */
html .yxv-blk table { table-layout: fixed; min-width: 0; }
html .yxv-blk table td, html .yxv-blk table th { overflow-wrap: anywhere; word-break: break-word; vertical-align: top; }
html .yxv-blk.is-table { max-width: 100%; overflow-x: auto; }

/* v0.4.1 日期输入 */
.yx-date { position: relative; display: inline-flex; align-items: stretch; min-width: 9.5em; }
.yx-date.is-block { display: flex; width: 100%; }
.yx-date > input[type="text"] { flex: 1 1 auto; min-width: 0; padding-right: 30px; }
.yx-date > .yx-date-pick { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; background: transparent; color: var(--yx-sub, #6b6478); cursor: pointer; font-size: 12px; border-radius: 4px; }
.yx-date > .yx-date-pick:hover { background: rgba(27, 21, 40, 0.06); }
.yx-date > .yx-date-pick:disabled { display: none; }
.yx-date > .yx-date-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; margin: 0; }
html .yxs-storage { font-size: 12px; color: var(--yx-sub, #6b6478); white-space: nowrap; }
html .yxs-storage.is-warn { color: #9b2c2c; font-weight: 600; }
/* v0.4.1 大纲行按钮：小号描边，不和主按钮抢视觉 */
html .yxv-out-row { flex-wrap: nowrap; min-height: 40px; }
html .yxv-out-row > span:first-child { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
html .yxv-out-row .yxai-btn { flex: none; min-height: 0; height: 28px; }
html .yxv-out-row .yxai-btn .ui-button-face { min-height: 0; height: 28px; padding: 0 12px; font-size: 12px; background: #fff; color: var(--yx-violet); border: 1px solid #d9cdee; box-shadow: none; }
html .yxv-out-row .yxai-btn:hover:not(:disabled) .ui-button-face { background: #f6f1fd; }
html .yxv-sug ol, html .yxv-sug ul { padding-left: 1.4em; margin: 4px 0; }
@media print {
  html .yxd .yxd-page:last-of-type { break-after: auto; }
  html .yxd .yxd-legal { break-before: avoid; }
}

/* 第十阶段重构（v2）：外壳与按画板重做的页面。放在样式最后，只作用于 v- 前缀和明确列出的旧部件。 */

/* ---------- 外壳 ---------- */
.v-frame {
  display: grid;
  grid-template-columns: var(--ui-sidebar, 232px) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--ui-page);
  color: var(--ui-text);
}
.v-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--ui-panel);
  border-right: 1px solid var(--ui-border);
  display: flex;
  flex-direction: column;
}
.v-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--ui-border);
}
.v-brand > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.v-brand strong {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-brand small {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-brand .logo,
.v-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}
.v-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
}
.v-nav-label {
  margin: 14px 12px 6px;
  font-size: 12px;
  color: var(--ui-muted);
}
.v-nav-label:first-child {
  margin-top: 8px;
}
.v-nav-label + .v-nav-item {
  margin-top: 0;
}
.v-nav .v-nav-label:not(:first-child) {
  border-top: 1px solid var(--ui-border);
  margin: 12px -10px 6px;
  padding: 14px 22px 0;
}
.v-nav .v-nav-item {
  display: flex;
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  padding: 0 12px;
  border: 0;
  border-radius: var(--ui-radius-control);
  background: transparent;
  color: var(--ui-secondary);
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
}
.v-nav .v-nav-item .ui-button-face {
  width: 100%;
  justify-content: flex-start;
}
.v-nav .v-nav-item:hover {
  background: var(--ui-header);
}
.v-nav .v-nav-item[aria-current="page"] {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
}
.v-nav .c1-todo-badge,
.v-tab .c1-todo-badge {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--ui-error-bg);
  color: var(--ui-error);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.v-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.v-head {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: var(--ui-panel);
  border-bottom: 1px solid var(--ui-border);
}
.v-head-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.v-head-title h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}
.v-head-sub {
  color: var(--ui-muted);
  font-size: 13px;
  white-space: nowrap;
}
.v-head-tabs {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.v-head-tabs .ui-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ui-muted);
  font-size: 14px;
}
.v-head-tabs .ui-button:hover {
  color: var(--ui-text);
  background: var(--ui-header);
}
.v-head-tabs .ui-button[aria-current="page"] {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
}
.v-head-tabs .ui-tab-count {
  margin-left: 6px;
  font-size: 12px;
  color: inherit;
  opacity: 0.8;
}
.v-spacer {
  flex: 1;
}
.v-head-actions,
.v-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v-head-actions:empty {
  display: none;
}
.v-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
  color: var(--ui-muted);
}
.v-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}
.v-search input:focus {
  outline: none;
  box-shadow: none;
}
.v-search:focus-within {
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 3px var(--ui-primary-soft);
}
.v-search .ui-icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.v-search-toggle {
  display: none;
}
.v-create .ui-icon {
  width: 16px;
  height: 16px;
}
.v-bell {
  position: relative;
}
.v-bell .c1-unread-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ui-error);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}
.v-avatar > .ui-button {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 4px;
  min-height: 44px;
}
.v-avatar .ui-button-face {
  gap: 10px;
}
.v-avatar-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v-avatar-who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.v-avatar-who strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-text);
}
.v-avatar-who small {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-avatar .ui-button-face > .ui-icon {
  display: none;
}
.content.v-content {
  max-width: none;
  margin: 0;
  padding: 24px 28px 40px;
}
.v-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v-tabbar {
  display: none;
}
.v-more-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.v-more-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 84px;
  justify-content: center;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-panel);
  color: var(--ui-secondary);
  font-size: 13px;
}
.v-more-item .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--ui-primary);
}

/* 弹层：右侧抽屉 560，中间弹窗 480 */
.ui-c1-drawer .ui-sheet {
  width: min(560px, 100vw);
}
.ui-overlay--modal .ui-sheet {
  width: min(480px, calc(100vw - 32px));
}

@media (max-width: 760px) {
  .v-frame {
    grid-template-columns: minmax(0, 1fr);
  }
  .v-side {
    display: none;
  }
  .v-head {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 12px 16px;
    min-height: 0;
    position: static;
  }
  .v-head-title {
    flex-direction: column;
    gap: 2px;
    flex: 1;
  }
  .v-head-title h1 {
    font-size: 20px;
  }
  .v-head-sub {
    font-size: 12px;
  }
  .v-spacer,
  .v-avatar,
  .v-bell {
    display: none;
  }
  .v-head-tools {
    order: 2;
  }
  .v-head-tabs {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .v-toolbar {
    padding: 12px 16px 0;
    gap: 8px;
  }
  .v-toolbar > .v-head-actions {
    margin-left: 0;
    justify-content: flex-start;
  }
  .v-search {
    display: none;
  }
  .v-search-open .v-search {
    display: flex;
    order: 5;
    width: 100%;
  }
  .v-search-toggle {
    display: inline-flex;
  }
  .v-create > .ui-button > .ui-button-face > span:not(.ui-icon) {
    font-size: 0;
  }
  .v-create > .ui-button > .ui-button-face > .ui-icon:last-child {
    display: none;
  }
  .content.v-content {
    padding: 16px 16px calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .v-tabbar {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 6px max(8px, env(safe-area-inset-left, 0px))
      calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--ui-panel);
    border-top: 1px solid var(--ui-border);
  }
  .v-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 52px;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ui-muted);
    font-size: 11px;
  }
  .v-tab .ui-icon {
    width: 22px;
    height: 22px;
  }
  .v-tab[aria-current="page"] {
    color: var(--ui-primary);
    font-weight: 600;
  }
  .v-tab .c1-todo-badge {
    position: absolute;
    top: 1px;
    left: calc(50% + 8px);
    box-shadow: 0 0 0 2px var(--ui-panel);
    margin: 0;
    min-width: 18px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ui-error);
    color: #fff;
    font-size: 11px;
  }
}

/* ---------- 通用面板与标签 ---------- */
.v-panel {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: 18px 22px;
  min-width: 0;
}
.v-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-panel-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.v-panel-meta {
  font-size: 13px;
  color: var(--ui-muted);
}
.v-count {
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--ui-error-bg);
  color: var(--ui-error);
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}
.v-link.ui-button {
  border: 0;
  background: none;
  box-shadow: none;
  min-height: 32px;
  padding: 0 2px;
  color: var(--ui-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.v-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--ui-radius-tag);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.v-chip-ok { background: var(--ui-success-bg); color: var(--ui-success); }
.v-chip-bad { background: var(--ui-error-bg); color: var(--ui-error); }
.v-chip-warn { background: var(--ui-warning-bg); color: var(--ui-warning); }
.v-chip-info { background: var(--ui-info-bg); color: var(--ui-info); }
.v-chip-muted { background: var(--ui-neutral-bg); color: var(--ui-neutral); }
.v-tone-text-bad { color: var(--ui-error); }
.v-tone-text-warn { color: var(--ui-warning); }
.v-tone-text-info { color: var(--ui-muted); }
.v-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  margin-top: 7px;
}
.v-dot-bad { background: var(--ui-error); }
.v-dot-warn { background: #c97a24; }
.v-dot-info { background: var(--ui-primary); }
.v-empty-line {
  margin: 16px 0 4px;
  color: var(--ui-muted);
}
.v-c0 { --v-cat: var(--ui-category-1); --v-cat-soft: var(--ui-category-1-soft); --v-cat-text: var(--ui-category-1-text); }
.v-c1 { --v-cat: var(--ui-category-2); --v-cat-soft: var(--ui-category-2-soft); --v-cat-text: var(--ui-category-2-text); }
.v-c2 { --v-cat: var(--ui-category-3); --v-cat-soft: var(--ui-category-3-soft); --v-cat-text: var(--ui-category-3-text); }
.v-c3 { --v-cat: var(--ui-category-4); --v-cat-soft: var(--ui-category-4-soft); --v-cat-text: var(--ui-category-4-text); }
.v-c4 { --v-cat: var(--ui-category-5); --v-cat-soft: var(--ui-category-5-soft); --v-cat-text: var(--ui-category-5-text); }
.v-c5 { --v-cat: var(--ui-category-6); --v-cat-soft: var(--ui-category-6-soft); --v-cat-text: var(--ui-category-6-text); }
.v-c6 { --v-cat: var(--ui-category-7); --v-cat-soft: var(--ui-category-7-soft); --v-cat-text: var(--ui-category-7-text); }
.v-c7 { --v-cat: var(--ui-category-8); --v-cat-soft: var(--ui-category-8-soft); --v-cat-text: var(--ui-category-8-text); }

/* ---------- 今天 ---------- */
.v-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.v-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 20px 18px;
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  text-align: left;
  font: inherit;
  color: var(--ui-text);
  transition:
    transform var(--ui-duration-micro, 120ms) var(--ui-ease-enter, ease),
    box-shadow var(--ui-duration-micro, 120ms) var(--ui-ease-enter, ease);
}
button.v-metric {
  cursor: pointer;
}
button.v-metric:hover {
  transform: translateY(-1px);
  box-shadow: var(--ui-shadow-hover);
}
.v-metric-label {
  font-size: 13px;
  color: var(--ui-secondary);
}
.v-metric-value {
  margin: 2px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.v-metric-value strong {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.v-metric-value span {
  font-size: 14px;
  color: var(--ui-secondary);
}
.v-metric small {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-tone-bad .v-metric-value strong { color: var(--ui-error); }
.v-tone-warn .v-metric-value strong { color: var(--ui-warning); }
.v-tone-money .v-metric-value strong { color: var(--ui-primary); }
.v-today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}
.v-today-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.v-lesson-row {
  display: grid;
  grid-template-columns: 110px 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-divider);
  cursor: pointer;
}
.v-lesson-row:last-child {
  border-bottom: 0;
}
.v-lesson-row time {
  font-size: 14px;
  color: var(--ui-secondary);
  font-variant-numeric: tabular-nums;
}
.v-lesson-row.is-late time {
  color: var(--ui-error);
  font-weight: 600;
}
.v-bar {
  width: 4px;
  height: 36px;
  border-radius: 2px;
  background: var(--v-cat, var(--ui-category-2));
}
.v-lesson-who p {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v-lesson-who strong {
  font-weight: 600;
}
.v-lesson-who span {
  color: var(--ui-secondary);
}
.v-lesson-who small {
  display: block;
  font-size: 12px;
  color: var(--ui-muted);
}
.v-lesson-tail {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-lesson-tail .ui-button,
.v-todo-row .ui-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
.v-todo-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-todo-row:last-child {
  border-bottom: 0;
}
.v-todo-text {
  flex: 1;
  min-width: 0;
}
.v-todo-text p {
  margin: 0;
  font-size: 14px;
}
.v-todo-text small {
  font-size: 12px;
}
.v-week-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}
.v-week-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--ui-muted);
  font-size: 12px;
}
.v-week-bar strong {
  font-size: 12px;
  color: var(--ui-text);
  font-variant-numeric: tabular-nums;
}
.v-week-bar svg {
  width: 24px;
  height: 80px;
}
.v-week-bar rect {
  fill: #c9d3e3;
}
.v-week-bar.is-today rect {
  fill: var(--ui-primary);
}
.v-week-bar.is-today span {
  color: var(--ui-primary);
  font-weight: 600;
}
.v-week-bar:hover rect {
  fill: #a9b8d0;
}
.v-week-bar.is-today:hover rect {
  fill: var(--ui-primary-hover);
}

@media (max-width: 1100px) {
  .v-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v-today-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .v-metrics {
    gap: 10px;
  }
  .v-metric {
    padding: 12px 14px;
  }
  .v-metric small {
    display: none;
  }
  .v-metric-value strong {
    font-size: 22px;
  }
  .v-today-lessons {
    background: none;
    border: 0;
    padding: 0;
  }
  .v-today-lessons .v-panel-head {
    border: 0;
    padding-bottom: 4px;
  }
  .v-today-lessons .v-panel-head .v-link {
    display: none;
  }
  .v-lesson-row {
    grid-template-columns: 4px minmax(0, 1fr) auto;
    grid-template-areas: "bar time tail" "bar who tail";
    gap: 2px 12px;
    margin-top: 10px;
    padding: 12px 14px;
    background: var(--ui-panel);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius-panel);
  }
  .v-lesson-row:last-child {
    border-bottom: 1px solid var(--ui-border);
  }
  .v-lesson-row time { grid-area: time; }
  .v-lesson-row .v-bar { grid-area: bar; height: 100%; }
  .v-lesson-row .v-lesson-who { grid-area: who; }
  .v-lesson-row .v-lesson-tail { grid-area: tail; }
  .v-lesson-row.is-late .v-chip { display: none; }
  .v-today-side {
    display: none;
  }
}

/* 抵消旧样式里的元素级规则（aside / header / .content） */
aside.v-side {
  padding: 0;
}
header.v-panel-head {
  height: auto;
  background: none;
  padding: 0 0 12px;
}
header.v-head {
  height: auto;
}
.content.v-content {
  font-size: 14px;
}
.v-avatar .ui-button-face {
  flex-direction: row;
}
.v-avatar-mark {
  order: -1;
}
.v-avatar-who {
  order: 0;
}
.v-head .v-avatar .ui-button {
  border: 0;
  background: transparent;
}

/* 按钮的视觉在 .ui-button-face 上：外层只是触控区 */
.v-nav .v-nav-item .ui-button-face,
.v-head-tabs .ui-button .ui-button-face,
.v-head .v-avatar > .ui-button .ui-button-face {
  border-color: transparent;
  background: transparent;
  font-size: 14px;
}
.v-nav .v-nav-item .ui-button-face {
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  padding: 0 12px;
  color: var(--ui-secondary);
  font-weight: 400;
}
.v-nav .v-nav-item:hover .ui-button-face {
  background: var(--ui-header);
}
.v-nav .v-nav-item[aria-current="page"] .ui-button-face {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
}
.v-nav .v-nav-item {
  min-height: 40px;
  padding: 0;
}
/* 顶栏分页：下划线样式，选中项蓝色粗体＋底线 */
.v-head-tabs {
  align-self: stretch;
  gap: 20px;
  margin-left: 16px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.v-head-tabs .ui-button {
  min-height: 64px;
  padding: 0;
  border-radius: 0;
}
.v-head-tabs .ui-button .ui-button-face {
  color: var(--ui-muted);
  padding: 0 2px;
  min-height: 64px;
  border-radius: 0;
  background: transparent;
}
@media (hover: hover) {
  .v-head-tabs .ui-button:hover .ui-button-face {
    color: var(--ui-text);
    background: transparent;
    border-color: transparent;
  }
}
.v-head-tabs .ui-button[aria-current="page"] .ui-button-face {
  background: transparent;
  color: var(--ui-primary);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--ui-primary);
}
.v-head-tabs .ui-tab-count {
  padding: 0 6px;
  border-radius: 6px;
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
  opacity: 1;
  font-weight: 500;
}
.v-head-tabs .ui-button[aria-current="page"] .ui-tab-count {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
@media (max-width: 760px) {
  .v-head-tabs {
    margin: 0;
    gap: 16px;
    align-self: auto;
  }
  .v-head-tabs .ui-button,
  .v-head-tabs .ui-button .ui-button-face {
    min-height: 40px;
  }
}
.v-head .v-avatar > .ui-button .ui-button-face {
  padding: 0 4px;
  gap: 10px;
}
.v-head .v-create > .ui-button .ui-button-face {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.v-head .v-create > .ui-button > .ui-button-face > .ui-icon:nth-child(2) {
  display: none;
}
.v-head .v-create > .ui-button,
.v-head .v-create > .ui-button:hover {
  background: transparent;
  border: 0;
}
.v-lesson-tail .ui-button .ui-button-face,
.v-todo-row .ui-button .ui-button-face {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
}
@media (max-width: 760px) {
  .v-frame > aside.v-side {
    display: none;
  }
  .v-lesson-row.is-late .ui-button .ui-button-face {
    background: var(--ui-primary);
    border-color: var(--ui-primary);
    color: #fff;
    font-weight: 600;
    min-height: 40px;
    padding: 0 16px;
  }
  .v-lesson-row.is-late .ui-button {
    background: transparent;
    border: 0;
  }
  .v-head .v-create > .ui-button .ui-button-face {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .v-head .v-create > .ui-button .ui-button-face > span {
    display: none;
  }
}
.v-head .v-create .ui-button-face > .ui-icon:first-child {
  order: -1;
}
.v-metrics {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
@media (max-width: 760px) {
  .v-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 课表（周） ---------- */
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-date-nav {
  display: inline-flex;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
  overflow: hidden;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-date-nav .ui-button {
  min-height: 40px;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-date-nav .ui-button .ui-button-face {
  border: 0;
  border-radius: 0;
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-date-nav .ui-button + .ui-button .ui-button-face {
  border-left: 1px solid var(--ui-border);
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-range {
  font-size: 17px;
  font-weight: 600;
  margin-left: 4px;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-stats {
  font-size: 13px;
  color: var(--ui-muted);
  margin-right: auto;
}
.calendar-late {
  color: var(--ui-error);
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--ui-radius-control);
  background: var(--ui-neutral-bg);
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs .ui-button .ui-button-face {
  border: 0;
  background: transparent;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ui-secondary);
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs .ui-button[aria-pressed="true"] .ui-button-face,
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs .ui-button[aria-current="true"] .ui-button-face,
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs .ui-button[aria-current="page"] .ui-button-face {
  background: var(--ui-panel);
  color: var(--ui-text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(30 26 38 / 8%);
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 0;
  border: 0;
  background: none;
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters .ui-field-label,
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters label > span:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters .calendar-search {
  display: none;
}
:is(.v-content, .v-toolbar, .v-head-sub) .calendar-filter-button {
  display: none;
}
.v-content .calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ui-secondary);
}
.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calendar-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--v-swatch, var(--ui-category-2));
}
.calendar-swatch.color-0 { --v-swatch: var(--ui-category-1); }
.calendar-swatch.color-1 { --v-swatch: var(--ui-category-2); }
.calendar-swatch.color-2 { --v-swatch: var(--ui-category-3); }
.calendar-swatch.color-3 { --v-swatch: var(--ui-category-4); }
.calendar-swatch.color-4 { --v-swatch: var(--ui-category-5); }
.calendar-swatch.color-5 { --v-swatch: var(--ui-category-6); }
.calendar-swatch.color-6 { --v-swatch: var(--ui-category-7); }
.calendar-swatch.color-7 { --v-swatch: var(--ui-category-8); }
.calendar-legend-note {
  color: var(--ui-muted);
}
.v-content .calendar-help {
  display: none;
}
@media (max-width: 760px) {
  :is(.v-content, .v-toolbar, .v-head-sub) .calendar-filter-button {
    display: inline-flex;
  }
  :is(.v-content, .v-toolbar, .v-head-sub) .calendar-stats {
    display: none;
  }
}
/* 页面按钮行：顶栏下面单独一行，左边筛选、右边本页按钮；两边都空时整行不占位 */
.v-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 28px 0;
}
.v-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.v-toolbar-left:empty {
  display: none;
}
.v-toolbar > .v-head-actions {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.v-toolbar:has(> .v-toolbar-left:empty):has(> .v-head-actions:empty) {
  display: none;
}
.v-head-actions .ui-button,
.v-head-tabs .ui-button {
  white-space: nowrap;
  flex: none;
}
.v-head-actions .ui-button .ui-button-face {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters > :nth-child(n + 3) {
  display: none;
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters .ui-select,
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters > * {
  min-width: 0;
  width: auto;
}
:is(.v-content, .v-toolbar, .v-head-sub) .b-calendar-toolbar > .calendar-filters button {
  min-height: 40px;
}
.b-calendar-page > .page-heading:empty {
  display: none;
}
/* ---------- 课表：手机日视图 ---------- */
.v-daystrip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.v-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ui-secondary);
  font: inherit;
}
.v-day small { font-size: 12px; color: var(--ui-muted); }
.v-day strong { font-size: 17px; font-weight: 600; }
.v-day span { font-size: 11px; color: var(--ui-muted); }
.v-day.is-on {
  background: var(--ui-primary);
  color: #fff;
}
.v-day.is-on small,
.v-day.is-on span { color: rgb(255 255 255 / 80%); }
.v-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.v-filter-chip {
  flex: none;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--ui-border);
  border-radius: 16px;
  background: var(--ui-panel);
  color: var(--ui-secondary);
  font: inherit;
  font-size: 13px;
}
.v-filter-chip.is-on {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-weight: 600;
}
.v-daylist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--ui-border);
  padding-top: 14px;
}
.v-daylist-group {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}
.v-daylist-group time {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-secondary);
  font-variant-numeric: tabular-nums;
}
.v-daylist-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.v-daycard {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 0;
  border-left: 3px solid var(--v-cat);
  border-radius: 10px;
  background: var(--v-cat-soft);
  color: var(--v-cat-text);
  text-align: left;
  font: inherit;
}
.v-daycard-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.v-daycard-text strong {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-daycard-text small {
  font-size: 12px;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-daycard em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.v-daycard em.is-bad { color: var(--ui-error); }
.v-daycard.is-done,
.v-daycard.is-off {
  opacity: 0.62;
}
.v-daycard.is-done em { color: var(--ui-success); }
.v-fab .ui-button-face {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--ui-primary);
  border-color: var(--ui-primary);
  color: #fff;
}
.v-sheet-line {
  width: 100%;
}
.v-sheet-line .ui-button-face {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .v-frame[data-route^="schedule"] .v-head-actions {
    width: auto;
    order: 2;
  }
}

/* ---------- 课程面板（点名销课）---------- */
.v-lesson .ui-sheet-header {
  position: relative;
  padding-left: 40px;
}
.v-lesson .ui-sheet-header::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 20px;
  bottom: 18px;
  width: 4px;
  border-radius: 2px;
  background: var(--v-cat, var(--ui-primary));
}
.v-lesson .ui-sheet-body > .ui-muted:first-child {
  margin-top: -6px;
}
.v-lesson-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.v-lesson-top:empty {
  display: none;
}
.v-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.v-banner[hidden] {
  display: none;
}
.v-banner-warn {
  background: var(--ui-warning-bg);
  color: var(--ui-warning);
}
.v-banner-warn .v-chip {
  background: var(--ui-panel);
}
.v-banner-bad {
  background: var(--ui-error-bg);
  color: var(--ui-error);
  justify-content: space-between;
}
.v-banner-bad .ui-button .ui-button-face {
  border-color: #e8aab0;
  color: var(--ui-error);
  min-height: 32px;
  padding: 0 12px;
}
.v-lesson-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.v-lesson-section h3,
.v-lesson-summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.v-lesson-section .ui-button .ui-button-face {
  min-height: 32px;
  padding: 0 12px;
}
.v-lesson-comments {
  flex-direction: column;
  align-items: stretch;
}
.v-lesson-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.v-lesson-section-head small {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-roster {
  display: flex;
  flex-direction: column;
}
.v-roster-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px 72px;
  align-items: center;
  gap: 4px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-roster-head {
  padding: 6px 0 8px;
  font-size: 12px;
  color: var(--ui-muted);
}
.v-roster-head span:nth-child(n + 2) {
  text-align: right;
}
.v-roster-head span:nth-child(2) {
  text-align: right;
  padding-right: 4px;
}
.v-roster-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.v-roster-who strong {
  font-size: 15px;
  font-weight: 600;
}
.v-roster-who small {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-roster-row.is-short .v-roster-who small {
  color: var(--ui-error);
}
.v-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.v-num.is-bad {
  color: var(--ui-error);
}
.v-roster-extra {
  grid-column: 1 / -1;
  justify-self: start;
}
.v-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--ui-neutral-bg);
}
.v-seg-item {
  min-width: 48px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ui-secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--ui-duration-micro, 120ms) ease;
}
.v-seg-item[aria-pressed="true"] {
  background: var(--ui-primary);
  color: #fff;
  font-weight: 600;
}
.v-seg-item.v-seg-student_leave[aria-pressed="true"] {
  background: var(--ui-warning-bg);
  color: var(--ui-warning);
}
.v-seg-item.v-seg-no_show[aria-pressed="true"] {
  background: var(--ui-error-bg);
  color: var(--ui-error);
}
.v-seg-read {
  padding: 0 10px;
  font-size: 13px;
}
.v-lesson-summary {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ui-header);
  border: 1px solid var(--ui-divider);
}
.v-lesson-summary ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ui-secondary);
}
.v-lesson-summary li.is-bad {
  color: var(--ui-error);
}
.v-lesson .ui-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v-foot-left {
  display: flex;
  gap: 8px;
}
.v-lesson-main .ui-button-face {
  min-height: 44px;
  padding: 0 28px;
  font-size: 15px;
}
@media (prefers-reduced-motion: reduce) {
  .v-seg-item,
  .v-metric {
    transition: none;
  }
}

/* 手机：抽屉和弹窗都从底部升起，按钮在拇指够得到的底部 */
@media (max-width: 760px) {
  .ui-overlay .ui-sheet,
  .ui-overlay--modal .ui-sheet {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 92dvh;
    max-width: none;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }
  .ui-overlay.is-open .ui-sheet,
  .ui-overlay--modal.is-open .ui-sheet {
    transform: translateY(0);
  }
  .ui-overlay .ui-sheet::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: var(--ui-border);
  }
  .ui-c1-drawer .ui-sheet {
    width: 100%;
  }
  .v-roster-head {
    display: none;
  }
  .v-roster-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .v-roster-who {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  .v-roster-row .v-seg {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .v-roster-row > .v-num {
    display: none;
  }
  .v-seg-item {
    height: 40px;
    font-size: 15px;
  }
  .v-lesson-main {
    flex: 1;
  }
  .v-lesson-main .ui-button-face {
    width: 100%;
    min-height: 48px;
  }
  .v-lesson .ui-sheet-footer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}
.v-lesson .ui-sheet-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v-lesson-section-head:empty { display: none; }
.calendar-legend-note.calendar-late {
  color: var(--ui-error);
}
.v-content .b-calendar-page > :empty {
  display: none;
}
.v-content .b-calendar-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- 学员 / 教师：左列表、右详情 ---------- */
.v-split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.v-list {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  overflow: hidden;
  position: sticky;
  top: 16px;
  max-height: calc(100dvh - 112px);
  display: flex;
  flex-direction: column;
}
.v-list-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-list-search {
  height: 40px;
  border: 1px solid var(--ui-input-border);
  border-radius: 9px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ui-text);
  background: var(--ui-panel);
}
.v-list-search:focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: 1px;
}
.v-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.v-filter-chips > .v-filter-chip {
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: var(--ui-neutral-bg);
  color: var(--ui-secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.v-filter-chips > .v-filter-chip.is-bad { background: var(--ui-error-bg); color: var(--ui-error); }
.v-filter-chips > .v-filter-chip.is-warn { background: var(--ui-warning-bg); color: var(--ui-warning); }
.v-filter-chips > .v-filter-chip.is-on {
  background: var(--ui-info-bg);
  color: var(--ui-primary);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--ui-primary);
}
.v-list-rows {
  overflow-y: auto;
  flex: 1 1 auto;
}
.v-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--ui-divider);
  background: var(--ui-panel);
  font: inherit;
  text-align: left;
  color: var(--ui-text);
  cursor: pointer;
}
.v-list-row:hover { background: var(--ui-header); }
.v-list-row.is-on {
  background: var(--ui-primary-soft);
  box-shadow: inset 3px 0 0 var(--ui-primary);
}
.v-list-row.is-gone strong { color: var(--ui-muted); }
.v-list-row .v-avatar-mark { width: 34px; height: 34px; flex: none; }
.v-list-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.v-list-main strong {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.v-list-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--ui-warning-bg);
  color: var(--ui-warning);
}
.v-list-sub {
  font-size: 12px;
  color: var(--ui-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v-list-tail {
  font-size: 13px;
  white-space: nowrap;
  flex: none;
}
.v-list-count {
  text-align: right;
  color: var(--ui-muted);
  font-size: 12px;
}
.v-list-count strong { color: var(--ui-text); font-size: 14px; }
.v-list-count small { display: block; }
.v-tone-text-bad { color: var(--ui-error); font-weight: 600; }
.v-tone-text-warn { color: var(--ui-warning); font-weight: 600; }
.v-tone-text-muted { color: var(--ui-muted); }
.v-list-empty {
  padding: 24px 14px;
  color: var(--ui-muted);
  font-size: 13px;
  margin: 0;
}
.v-list-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ui-muted);
  border-top: 1px solid var(--ui-divider);
}

.v-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.v-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.v-avatar-mark.is-big {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 22px;
  flex: none;
}
.v-detail-title {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v-detail-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.v-detail-name h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}
.v-detail-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ui-muted);
}
.v-reveal { color: var(--ui-text); }
.v-detail-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.v-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.v-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  min-width: 0;
}
.v-kpi-label { font-size: 13px; color: var(--ui-muted); }
.v-kpi-value {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.v-kpi small { font-size: 12px; color: var(--ui-muted); }
.v-kpi.v-tone-bad .v-kpi-value { color: var(--ui-error); }
.v-kpi.v-tone-warn .v-kpi-value { color: var(--ui-warning); }
.v-kpi.v-tone-money .v-kpi-value { color: var(--ui-primary); }
.v-ptabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--ui-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.v-ptab {
  flex: none;
  padding: 10px 14px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--ui-muted);
  cursor: pointer;
}
.v-ptab.is-on {
  color: var(--ui-primary);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--ui-primary);
}
.v-ptab-body { min-width: 0; }
.v-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.v-detail-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.v-recent {
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-recent:last-child { border-bottom: 0; }
.v-recent-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.v-recent-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ui-secondary);
}
.v-muted { color: var(--ui-muted); }
.v-small { font-size: 12px; margin: 0; }
.v-pad { padding: 12px 0 0; margin: 0; font-size: 13px; }
.v-pack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-pack:last-child { border-bottom: 0; }
.v-pack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.v-pack-bar {
  appearance: none;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 3px;
  background: var(--ui-neutral-bg);
  overflow: hidden;
}
.v-pack-bar::-webkit-progress-bar { background: var(--ui-neutral-bg); border-radius: 3px; }
.v-pack-bar::-webkit-progress-value { background: var(--ui-primary); border-radius: 3px; }
.v-pack-bar::-moz-progress-bar { background: var(--ui-primary); border-radius: 3px; }
.v-pack-low::-webkit-progress-value { background: var(--ui-warning); }
.v-pack-low::-moz-progress-bar { background: var(--ui-warning); }
.v-pack-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.v-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-task:last-child { border-bottom: 0; }
.v-task input { width: 18px; height: 18px; accent-color: var(--ui-primary); }
.v-section-title {
  margin: 8px 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.v-week-line {
  display: grid;
  grid-template-columns: 96px 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ui-divider);
  background: none;
  font: inherit;
  font-size: 14px;
  text-align: left;
  color: var(--ui-text);
  cursor: pointer;
}
.v-week-line:last-child { border-bottom: 0; }
.v-week-line > span:first-child { font-size: 13px; }
.v-week-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-rate {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0 6px;
  font-size: 14px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
}
.v-tag {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: var(--ui-neutral-bg);
  color: var(--ui-secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.v-tag:hover { background: var(--ui-primary-soft); color: var(--ui-primary); }
.v-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 8px;
  width: 100%;
}
.v-quick .ui-button-face { width: 100%; min-height: 44px; }
@media (max-width: 1100px) {
  .v-split { grid-template-columns: 260px minmax(0, 1fr); }
  .v-detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .v-split { grid-template-columns: minmax(0, 1fr); }
  .v-list {
    position: static;
    max-height: none;
  }
  .v-list-row { min-height: 56px; }
  .v-detail { gap: 12px; }
  .v-detail-head { gap: 12px; }
  .v-detail-head > .v-link { flex-basis: 100%; }
  .v-avatar-mark.is-big { width: 44px; height: 44px; font-size: 18px; }
  .v-detail-name h2 { font-size: 20px; }
  .v-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v-kpi { padding: 12px 14px; }
  .v-kpi-value { font-size: 18px; }
  .v-week-line { grid-template-columns: 84px 48px minmax(0, 1fr) auto; font-size: 13px; }
}
.v-back {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-recent-card {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.v-recent-card:last-child { border-bottom: 1px solid var(--ui-border); }
@media (max-width: 760px) {
  .v-detail-head > .v-avatar-mark.is-big { display: none; }
}
.v-back > :last-child:not(:first-child) { margin-left: auto; }

/* ===== 细节打磨（2026-11-06）：对齐、悬停、按压反馈 ===== */
/* 学员筛选：四个一排、文字与数字分开，数字等宽 */
.v-filter-chips.is-even { flex-wrap: nowrap; }
.v-filter-chips.is-even > .v-filter-chip { flex: 1 1 0; min-width: 0; padding: 0 6px; white-space: nowrap; }
.v-chip-count { font-variant-numeric: tabular-nums; font-weight: 600; }
/* 联系方式：每一段整体换行，不把“学员”拆成两行 */
.v-csegs { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 4px; }
.v-csegs > .v-cseg { white-space: nowrap; }
.v-csegs > .v-link.ui-button { min-height: 22px; padding: 0; margin-left: -6px; }
.v-csegs > .v-link.ui-button .ui-button-face { min-height: 22px; padding: 0 4px; line-height: 22px; }
.v-num { font-variant-numeric: tabular-nums; }
/* 文字链接：悬停时去掉下划线、加浅底，让可点区域看得见 */
.v-link.ui-button .ui-button-face { border-radius: 6px; }
/* 按压反馈：只用 transform */
.v-filter-chip,
.v-ptab,
.v-week-bar,
.v-tag,
.calendar-view-tabs .ui-button-face {
  transition: transform var(--ui-duration-press, 90ms) var(--ui-ease-enter, ease-out);
}
.v-filter-chip:active,
.v-tag:active { transform: scale(0.96); }
.v-week-bar:active svg { transform: scaleY(0.97); transform-origin: bottom; }
.v-ptab:active { transform: translateY(1px); }
.v-list-row:active,
.v-week-line:active { opacity: 0.85; }
@media (hover: hover) {
  .v-link.ui-button:hover:not(:disabled) .ui-button-face {
    border-color: transparent;
    background: var(--ui-primary-soft);
    color: var(--ui-primary-hover);
  }
  .v-link.ui-button:hover { text-decoration-color: transparent; }
  .v-filter-chip:hover:not(.is-on) { box-shadow: inset 0 0 0 1px var(--ui-input-border); color: var(--ui-text); }
  .v-filter-chips > .v-filter-chip.is-bad:hover:not(.is-on) { box-shadow: inset 0 0 0 1px var(--ui-error); color: var(--ui-error); }
  .v-filter-chips > .v-filter-chip.is-warn:hover:not(.is-on) { box-shadow: inset 0 0 0 1px var(--ui-warning); color: var(--ui-warning); }
  .v-ptab:hover:not(.is-on) { color: var(--ui-text); box-shadow: inset 0 -2px 0 var(--ui-border); }
  .v-list-row.is-on:hover { background: var(--ui-primary-soft); }
  .v-week-line:hover { background: var(--ui-header); }
  :is(.v-content, .v-toolbar, .v-head-sub) .calendar-view-tabs .ui-button:not([aria-pressed="true"]):not([aria-current]):hover .ui-button-face {
    background: rgb(255 255 255 / 55%);
    color: var(--ui-text);
  }
  .ui-picker-trigger:hover:not(:disabled) { border-color: var(--ui-primary); }
}
.v-week-line { border-radius: 6px; padding-inline: 6px; }
@media (prefers-reduced-motion: reduce) {
  .v-filter-chip:active,
  .v-tag:active,
  .v-ptab:active,
  .v-week-bar:active svg { transform: none; }
}
/* 顶栏：分页多时（待办 5 个）搜索框收成放大镜，标题和“新建”不再被挤断 */
.v-head-title { flex: none; }
.v-head-tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.v-head-tabs .ui-button { flex: none; white-space: nowrap; }
.v-head-tools { flex: none; }
.v-head-tools .ui-button-face { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1365px) {
  .v-head:has(.v-head-tabs > :nth-child(4)) .v-search { display: none; }
  .v-head:has(.v-head-tabs > :nth-child(4)) .v-search-toggle { display: inline-flex; }
  .v-search-open .v-head:has(.v-head-tabs > :nth-child(4)) .v-search {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    right: 28px;
    width: 340px;
    box-shadow: var(--ui-shadow-panel);
    animation: ui-fade var(--ui-duration-micro) var(--ui-ease-enter);
  }
}

/* ===== 第 4 组：待办 · 续费提醒 ===== */
.v-renew {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}
.v-renew-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v-renew-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v-renew-rule { margin: 0; display: flex; align-items: center; gap: 4px; color: var(--ui-secondary); font-size: 13px; }
.v-renew-picked { font-size: 13px; }
.v-renew-table { padding: 0; overflow-x: auto; }
.v-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.v-table th {
  padding: 10px 12px;
  background: var(--ui-header);
  color: var(--ui-secondary);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--ui-border);
}
.v-table td { padding: 10px 12px; border-bottom: 1px solid var(--ui-divider); vertical-align: middle; }
.v-table tr:last-child td { border-bottom: 0; }
.v-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-table .is-act { text-align: right; }
.v-table .is-check { width: 36px; padding-right: 0; }
.v-table td small { display: block; color: var(--ui-muted); font-size: 12px; }
.v-table tbody tr.is-focus { background: var(--ui-primary-soft); }
.v-table tbody tr.is-focus td:first-child { box-shadow: inset 3px 0 0 var(--ui-primary); }
.v-bal-zero { color: var(--ui-error); font-weight: 600; }
.v-bal-low { color: var(--ui-warning); font-weight: 600; }
.v-cell-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--ui-text);
  cursor: pointer;
}
.v-renew-acts { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.v-renew-acts .ui-menu-holder .ui-button { min-height: 32px; }
.v-renew-acts .ui-menu-holder .ui-button-face { min-height: 30px; padding: 2px 10px; }
.v-renew-side {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-panel);
  min-width: 0;
}
.v-renew-side h3, .v-rn h3 { margin: 0; font-size: 15px; }
.v-rn-head { display: flex; align-items: center; gap: 8px; }
.v-rn-head h3 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-rn-nav { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.v-rn-nav .ui-button { min-width: 32px; min-height: 32px; }
.v-rn-nav .ui-button-face { min-height: 28px; padding: 0 8px; }
/* 复用原“续费提醒”卡片：去掉卡片外框和重复标题，只留图、复制和保存 */
.v-rn-body > .panel { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; display: flex; flex-wrap: wrap; gap: 8px; }
.v-rn-body > .panel > :first-child:not(img):not(p):not(a):not(button) { display: none; }
.v-rn-body > .panel > .preserve-text { display: none; }
.v-rn-body > .panel > img { order: -1; width: 100%; border-radius: 10px; border: 1px solid var(--ui-border); }
.v-rn-body > .panel > .ui-button, .v-rn-body > .panel > a.button { flex: 1 1 0; }
.v-rn-body > .panel > .ui-button:last-child { display: none; }
.v-rn-foot { margin: 0; color: var(--ui-muted); font-size: 12px; line-height: 1.6; }
.v-renew-cards { display: flex; flex-direction: column; gap: 10px; }
.v-renew-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-panel);
}
.v-renew-card p { margin: 0; font-size: 13px; }
.v-renew-card-top { display: flex; align-items: center; gap: 8px; }
.v-renew-card-top strong { flex: 1; }
.v-renew-card .v-renew-acts { justify-content: flex-start; margin-top: 4px; }

/* ===== 第 4 组：请假待补课 ===== */
.v-mk-note { margin: 0 0 14px; color: var(--ui-secondary); font-size: 13px; }
.v-mk-note strong { color: var(--ui-text); font-variant-numeric: tabular-nums; }
.v-mk-rows { display: flex; flex-direction: column; }
.v-mk-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-mk-row:last-child { border-bottom: 0; }
.v-mk-when { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ui-secondary); }
.v-mk-who { display: flex; flex-direction: column; min-width: 0; }
.v-mk-who span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 第 4 组：招生线索看板 ===== */
.v-lead-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 4px;
}
.v-lead-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: var(--ui-radius-panel);
  background: var(--ui-neutral-bg);
  min-width: 0;
}
.v-lead-col.is-over { box-shadow: inset 0 0 0 2px var(--ui-primary); }
.v-lead-col > header { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.v-lead-col h3 { margin: 0; font-size: 14px; }
.v-lead-count { font-size: 12px; color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.v-lead-list { display: flex; flex-direction: column; gap: 8px; }
.v-lead-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: var(--ui-panel);
  cursor: pointer;
  transition:
    transform var(--ui-duration-micro) var(--ui-ease-enter),
    opacity var(--ui-duration-micro) var(--ui-ease-enter);
}
.v-lead-card[draggable="true"] { cursor: grab; }
.v-lead-card.is-drag { opacity: 0.5; }
.v-lead-card.is-lost { opacity: 0.72; }
.v-lead-card p { margin: 0; font-size: 12px; }
.v-lead-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.v-lead-top strong { font-size: 15px; }
.v-lead-top span { font-size: 12px; white-space: nowrap; }
.v-lead-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v-lead-due { font-weight: 600; }
.v-lead-due.is-today { color: var(--ui-warning); }
.v-lead-due.is-late { color: var(--ui-error); }
.v-lead-card > .v-link.ui-button { align-self: flex-start; min-height: 24px; text-decoration: none; }
.v-lead-card > .v-link.ui-button .ui-button-face { min-height: 24px; padding: 0 4px; margin-left: -4px; font-weight: 600; }
.v-lead-empty { margin: 0; padding: 10px 4px; color: var(--ui-muted); font-size: 12px; }
.v-lead-hint { margin: 14px 0 0; font-size: 12px; }
.v-lead-table { padding: 0; }
@media (hover: hover) {
  .v-lead-card:hover { transform: translateY(-2px); border-color: var(--ui-input-border); box-shadow: var(--ui-shadow-hover); }
  .v-table tbody tr:not(.is-focus):hover { background: var(--ui-header); }
  .v-cell-link:hover { color: var(--ui-primary); text-decoration: underline; text-underline-offset: 3px; }
  .v-mk-row:hover { background: var(--ui-header); }
}
.v-lead-card:focus-visible { outline: 2px solid var(--ui-focus, var(--ui-primary)); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .v-lead-card { transition-property: opacity; }
  .v-lead-card:hover { transform: none; }
}
@media (max-width: 1100px) {
  .v-renew { grid-template-columns: minmax(0, 1fr); }
  .v-renew-side { position: static; }
}
@media (max-width: 760px) {
  .v-renew-side { display: none; }
  .v-lead-board {
    grid-template-columns: repeat(5, 78%);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .v-lead-col { scroll-snap-align: start; }
  .v-mk-row { grid-template-columns: minmax(0, 1fr) auto; }
  .v-mk-when { grid-column: 1 / -1; }
}
.v-table input[type="checkbox"],
.v-renew-card input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--ui-primary); cursor: pointer; }
.v-rn-body > .panel > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 3px 0;
  padding: 0 14px;
  border: 1px solid var(--ui-primary);
  border-radius: var(--ui-radius-control);
  background: var(--ui-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) {
  .v-rn-body > .panel > a.button:hover { background: var(--ui-primary-hover); border-color: var(--ui-primary-hover); }
}
.v-lead-col > header {
  position: static;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  background: none;
  box-shadow: none;
}

/* ===== 第 5 组：财务 ===== */
.v-fin-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v-fin-bar.is-tools { margin-top: 4px; }
.v-fin-bar .ui-month-picker { flex: none; }
.v-fin-cut { font-size: 13px; }
.v-head-actions a.v-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
  color: var(--ui-secondary);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.v-fin-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 220px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
}
.v-fin-search .ui-icon { width: 15px; height: 15px; flex: none; color: var(--ui-muted); }
.v-fin-search input { flex: 1; min-width: 0; height: 30px; border: 0; padding: 0; background: transparent; box-shadow: none; font-size: 13px; }
.v-fin-search input:focus { outline: none; box-shadow: none; }
.v-fin-search:focus-within { border-color: var(--ui-primary); box-shadow: 0 0 0 3px var(--ui-primary-soft); }
.v-fin-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--ui-radius-panel);
  background: var(--ui-neutral-bg);
  color: var(--ui-secondary);
  font-size: 13px;
}
.v-fin-banner p { flex: 1; margin: 0; line-height: 1.6; }
.v-fin-banner.is-pending { background: var(--ui-warning-bg); color: var(--ui-warning); }
.v-fin-banner.is-locked { background: var(--ui-success-bg); color: var(--ui-success); }
.v-fin-banner-acts { display: flex; gap: 8px; flex: none; }
.v-fin-banner-acts:empty { display: none; }
.v-fin-note { margin: 10px 0 0; font-size: 12px; }
.v-body > .v-fin-note { margin-top: -8px; }
.v-fin-sub { display: block; color: var(--ui-muted); font-size: 11px; font-weight: 400; }
.v-fin-note-cell { max-width: 240px; color: var(--ui-secondary); font-size: 13px; }
.v-fin-body { margin-top: -4px; }
.v-fin-table { margin-top: 0; }
.v-fin-table.is-flat { border: 0; border-radius: 0; margin-top: 8px; }
.v-table tfoot td { padding: 10px 12px; background: var(--ui-header); font-weight: 600; border-top: 1px solid var(--ui-border); font-variant-numeric: tabular-nums; }
.v-table tbody tr.is-click { cursor: pointer; }
.v-pk-bal { white-space: nowrap; }
.v-pk-bal strong { font-variant-numeric: tabular-nums; }
.v-pk-bal small { color: var(--ui-muted); font-size: 12px; }
.v-pk-empty strong { color: var(--ui-error); }
.v-pk-low strong { color: var(--ui-warning); }
.v-fin-ops {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-panel);
}
.v-fin-op { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; }
.v-fin-op + .v-fin-op { border-left: 1px solid var(--ui-divider); }
.v-fin-op span { font-size: 12px; color: var(--ui-secondary); }
.v-fin-op strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.v-fin-op small { font-size: 11px; color: var(--ui-muted); }
.v-trend-box { display: flex; flex-direction: column; gap: 8px; }
.v-trend { width: 100%; height: auto; }
.v-trend-grid { stroke: var(--ui-divider); stroke-width: 1; }
.v-trend-label { fill: var(--ui-muted); font-size: 12px; }
.v-trend-legend { display: flex; gap: 16px; font-size: 12px; color: var(--ui-secondary); }
.v-trend-legend span { display: inline-flex; align-items: center; gap: 6px; }
.v-trend-legend i { width: 10px; height: 10px; border-radius: 3px; }
.v-s-income { fill: var(--ui-primary); background: var(--ui-primary); }
.v-s-pay { fill: var(--ui-category-4); background: var(--ui-category-4); }
.v-s-cost { fill: var(--ui-error); background: var(--ui-error); }
.v-trend-bar { opacity: 0.92; transition: opacity var(--ui-duration-micro) var(--ui-ease-enter); }
@media (hover: hover) {
  .v-head-actions a.v-export:hover { border-color: var(--ui-primary); color: var(--ui-primary); background: var(--ui-primary-soft); }
  .v-trend-bar:hover { opacity: 0.7; }
}
@media (max-width: 760px) {
  .v-fin-search { width: 100%; }
  .v-fin-banner { flex-direction: column; align-items: stretch; }
  .v-fin-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-fin-op:nth-child(3) { border-left: 0; }
  .v-fin-op:nth-child(n + 3) { border-top: 1px solid var(--ui-divider); }
}
/* 手机：财务表格每行变成一张小卡片（左标签右数值），不需要横向滑动 */
@media (max-width: 760px) {
  .v-fin-table { overflow: visible; }
  .v-fin-table .v-table thead { display: none; }
  .v-fin-table .v-table, .v-fin-table .v-table tbody, .v-fin-table .v-table tfoot { display: block; width: 100%; min-width: 0; }
  .v-fin-table .v-table tr { display: flex; flex-direction: column; padding: 10px 14px; border-bottom: 1px solid var(--ui-divider); }
  .v-fin-table .v-table tbody tr:last-child { border-bottom: 0; }
  .v-fin-table .v-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 3px 0; border: 0; text-align: right; }
  .v-fin-table .v-table td::before { content: attr(data-label); color: var(--ui-muted); font-size: 12px; text-align: left; flex: none; }
  .v-fin-table .v-table td[data-label=""]::before { content: none; }
  .v-fin-table .v-table tbody td:first-child { font-weight: 600; justify-content: flex-start; font-size: 15px; }
  .v-fin-table .v-table tbody td:first-child::before { content: none; }
  .v-fin-table .v-table td.is-act { justify-content: flex-end; }
  .v-fin-table .v-table td:empty, .v-fin-table .v-table tfoot td.is-blank { display: none; }
  .v-fin-table .v-table tfoot tr { background: var(--ui-header); }
  .v-fin-table .v-table tfoot td { background: none; border: 0; padding: 3px 0; }
  .v-fin-note-cell { max-width: none; }
}

/* ===== 第 6 组：班级 ===== */
.v-cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.v-cl-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-panel);
  font: inherit;
  text-align: left;
  color: var(--ui-text);
  cursor: pointer;
  transition: transform var(--ui-duration-micro) var(--ui-ease-enter);
}
.v-cl-card strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.v-cl-card > span { font-size: 12px; }
.v-cl-card.is-on { border-color: var(--ui-primary); box-shadow: inset 0 0 0 1px var(--ui-primary); }
.v-cl-card.is-gone { opacity: 0.7; }
.v-cl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v-cat, var(--ui-primary)); flex: none; }
.v-cl-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ui-secondary); }
.v-cl-head { display: flex; align-items: flex-start; gap: 16px; }
.v-cl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.v-cl-title { display: flex; align-items: center; gap: 10px; }
.v-cl-title h2 { margin: 0; font-size: 20px; }
.v-cl-note { margin: 0; font-size: 13px; }
.v-cl-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.v-cl-roster { overflow-x: auto; margin: 0 -22px; }
.v-cl-roster .v-table th:first-child, .v-cl-roster .v-table td:first-child { padding-left: 22px; }
.v-cl-roster .v-table th:last-child, .v-cl-roster .v-table td:last-child { padding-right: 22px; }
.v-att-dots { display: inline-flex; gap: 4px; align-items: center; }
.v-att {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  height: 10px;
  border-radius: 5px;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
}
.v-att:not(:empty) { min-width: 20px; height: 18px; padding: 0 4px; border-radius: 9px; }
.v-att-ok { background: var(--ui-success); }
.v-att-warn { background: var(--ui-warning-bg); color: var(--ui-warning); }
.v-att-bad { background: var(--ui-error-bg); color: var(--ui-error); }
.v-att-muted { background: var(--ui-neutral-bg); color: var(--ui-muted); }
.v-cl-week {
  display: grid;
  grid-template-columns: 44px 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 8px 11px 12px;
  border: 0;
  border-bottom: 1px solid var(--ui-divider);
  box-shadow: inset 3px 0 0 var(--v-cat, var(--ui-primary));
  background: none;
  font: inherit;
  font-size: 14px;
  text-align: left;
  color: var(--ui-text);
  cursor: pointer;
}
.v-cl-week .v-muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-cl-time { font-variant-numeric: tabular-nums; }
.v-cl-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.v-cl-empty h2 { margin: 0; }
.v-cl-empty p { margin: 0; max-width: 60ch; }
.v-pick-form { display: flex; flex-direction: column; gap: 10px; }
.v-pick-search { height: 38px; }
.v-pick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; max-height: 50vh; overflow-y: auto; padding: 4px 0; }
.v-pick-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.v-pick-row input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--ui-primary); }
.v-pick-row[hidden] { display: none; }

/* ===== 第 6 组：固定排课按周看板 ===== */
.v-tp-sum { margin: 0; font-size: 13px; }
.v-tp-board { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 10px; align-items: start; overflow-x: auto; padding-bottom: 4px; }
.v-tp-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border-radius: var(--ui-radius-panel); background: var(--ui-neutral-bg); }
.v-tp-col > header { display: flex; justify-content: space-between; align-items: center; height: auto; min-height: 0; padding: 2px 4px; border: 0; background: none; position: static; }
.v-tp-col h3 { margin: 0; font-size: 14px; }
.v-tp-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ui-panel);
  box-shadow: inset 3px 0 0 var(--v-cat, var(--ui-primary));
  border: 1px solid var(--ui-border);
  cursor: pointer;
  transition: transform var(--ui-duration-micro) var(--ui-ease-enter);
}
.v-tp-card strong { font-size: 14px; color: var(--v-cat-text, var(--ui-text)); }
.v-tp-card .v-muted { font-size: 12px; }
.v-tp-card.is-off { opacity: 0.6; }
.v-tp-time { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ui-secondary); }
.v-tp-foot { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--ui-secondary); white-space: nowrap; }
.v-tp-card:focus-visible, .v-cl-card:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }
.v-tp-ops { margin-top: 16px; }

/* ===== 第 6 组：课程与教室 ===== */
.v-set-body { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.v-set-body > .v-fin-note { margin: 0; }
.v-set-head { display: flex; align-items: baseline; gap: 12px; }
.v-set-head h2 { margin: 0; font-size: 18px; }
.v-set-head span { font-size: 13px; }
.v-set-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

@media (hover: hover) {
  .v-cl-card:hover, .v-tp-card:hover { transform: translateY(-2px); box-shadow: var(--ui-shadow-hover); }
  .v-tp-card:hover { box-shadow: inset 3px 0 0 var(--v-cat, var(--ui-primary)), var(--ui-shadow-hover); }
  .v-cl-card.is-on:hover { box-shadow: inset 0 0 0 1px var(--ui-primary), var(--ui-shadow-hover); }
  .v-cl-week:hover, .v-pick-row:hover { background: var(--ui-header); }
}
@media (prefers-reduced-motion: reduce) {
  .v-cl-card, .v-tp-card { transition: none; }
  .v-cl-card:hover, .v-tp-card:hover { transform: none; }
}
@media (max-width: 1100px) {
  .v-cl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .v-cl-head { flex-direction: column; }
  .v-tp-board { grid-template-columns: repeat(7, 72%); scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .v-tp-col { scroll-snap-align: start; }
  .v-pick-list { grid-template-columns: minmax(0, 1fr); }
  .v-cl-week { grid-template-columns: 40px 90px minmax(0, 1fr); }
}
.v-table .ui-menu-holder .ui-button { min-height: 32px; }
.v-table .ui-menu-holder .ui-button-face { min-height: 30px; padding: 2px 10px; }
/* 表单里的开关（启用、校外地点、对外课表图显示）：被通用的 44px 输入框高度撑成了方块，恢复成开关 */
.ui-control.ui-input-switch { height: 26px; min-height: 0; padding: 3px; border-radius: 13px; box-shadow: none; }
.ui-control.ui-input-switch::before { border-radius: 10px; box-shadow: 0 1px 2px rgb(30 26 38 / 20%); transition: transform var(--ui-duration-micro) var(--ui-ease-enter); }
.ui-control.ui-input-switch:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ui-control.ui-input-switch::before { transition: none; } }

/* ===== 第 7 组：账号、机构设置、操作记录 ===== */
.v-ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.v-ac-note { margin: 0 0 10px; font-size: 13px; line-height: 1.7; color: var(--ui-secondary); }
.v-rights-form { display: flex; flex-direction: column; gap: 14px; }
.v-set-hint { margin: -4px 0 4px; font-size: 13px; max-width: 70ch; }
.v-set-body fieldset { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius-panel); background: var(--ui-panel); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.v-set-body fieldset legend { padding: 0 4px; font-weight: 600; font-size: 14px; }
.v-set-body > .ui-switch, .v-set-body > .ui-field, .v-set-body > div > .ui-switch { max-width: 640px; }
.v-brand-card { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.v-brand-top { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.v-brand-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: var(--ui-neutral-bg); }
.v-brand-logo.is-text { display: inline-flex; align-items: center; justify-content: center; background: var(--ui-primary); color: #fff; font-weight: 700; font-size: 22px; }
.v-brand-dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 14px; }
.v-brand-dl dt { color: var(--ui-muted); }
.v-brand-dl dd { margin: 0; display: flex; align-items: center; gap: 8px; white-space: pre-wrap; }
.v-brand-swatch { width: 16px; height: 16px; flex: none; }
.v-brand-qr { width: 120px; height: 120px; object-fit: contain; border: 1px solid var(--ui-border); border-radius: 10px; }
.v-log-bar { gap: 10px; align-items: flex-end; }
.v-log-bar > .v-filter-chips { padding-bottom: 6px; }
.v-log-bar .ui-select, .v-log-bar .ui-field { min-width: 160px; }
.v-log-bar .ui-field { width: 170px; }
.v-log-range { display: flex; gap: 8px; align-items: flex-end; }
.v-log-range .ui-field { min-width: 150px; }
.v-log-pre { max-height: 320px; overflow: auto; font-size: 12px; background: var(--ui-neutral-bg); padding: 10px; border-radius: 8px; }
@media (max-width: 1100px) { .v-ac-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .v-log-actor { width: 100%; } .v-log-range { width: 100%; } }
/* 文字链接放在行首时，抵消按钮内边距，和同列文字左对齐 */
.v-table td > .v-link.ui-button:first-child,
.v-panel > .v-link.ui-button { margin-left: -8px; }
.v-table td > .v-link.ui-button { min-height: 28px; padding: 0; }

/* ===== 第 8 组：教师端、学员端（手机） ===== */
.v-personal .personal-content { display: flex; flex-direction: column; gap: 12px; }
.v-m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v-m-head h1 { margin: 0; font-size: 22px; }
.v-m-head p { margin: 4px 0 0; font-size: 13px; }
.v-m-weeknav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v-m-weeknav .ui-button { min-height: 36px; }
.v-m-weeknav .ui-button-face { min-height: 32px; padding: 2px 12px; }
.v-m-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.v-m-day {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px; border: 0; border-radius: 12px; background: var(--ui-panel);
  font: inherit; color: var(--ui-secondary); cursor: pointer;
  transition: transform var(--ui-duration-press, 90ms) var(--ui-ease-enter);
}
.v-m-day span { font-size: 11px; }
.v-m-day strong { font-size: 17px; color: var(--ui-text); font-variant-numeric: tabular-nums; }
.v-m-day.is-today strong { color: var(--ui-primary); }
.v-m-day.is-on { background: var(--ui-primary); color: rgb(255 255 255 / 80%); }
.v-m-day.is-on strong { color: #fff; }
.v-m-day:active { transform: scale(0.95); }
.v-m-dots { display: block; height: 4px; width: 4px; border-radius: 2px; background: transparent; }
.v-m-dots-1 { background: var(--ui-primary); }
.v-m-dots-2 { width: 10px; background: var(--ui-primary); }
.v-m-dots-3 { width: 16px; background: var(--ui-primary); }
.v-m-day.is-on .v-m-dots { background: #fff; }
.v-m-daytitle { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.v-m-daytitle h2 { margin: 0; font-size: 16px; }
.v-m-daytitle span { font-size: 12px; }
.v-m-lesson {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px;
  width: 100%; padding: 14px 14px 14px 12px;
  border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-panel);
  box-shadow: inset 3px 0 0 var(--v-cat, var(--ui-primary));
  font: inherit; text-align: left; color: var(--ui-text); cursor: pointer;
  transition: transform var(--ui-duration-press, 90ms) var(--ui-ease-enter);
}
.v-m-lesson:active { transform: scale(0.985); }
.v-m-time { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.v-m-time strong { font-size: 15px; }
.v-m-time small { font-size: 12px; color: var(--ui-muted); }
.v-m-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v-m-body > strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-m-body > small { font-size: 12px; color: var(--ui-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-m-tags { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.v-m-go { font-size: 13px; font-weight: 600; color: var(--ui-primary); }
.v-m-week { display: flex; flex-direction: column; gap: 8px; }
.v-m-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--ui-neutral-bg); }
.v-m-seg button { height: 38px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14px; color: var(--ui-secondary); cursor: pointer; }
.v-m-seg button.is-on { background: var(--ui-panel); color: var(--ui-text); font-weight: 600; box-shadow: 0 1px 2px rgb(30 26 38 / 10%); }
.v-m-hero { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--ui-primary); color: #fff; }
.v-m-hero-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgb(255 255 255 / 85%); }
.v-m-badge { padding: 2px 10px; border-radius: 10px; background: rgb(255 255 255 / 18%); color: #fff; font-size: 12px; }
.v-m-big { font-size: 32px; font-variant-numeric: tabular-nums; }
.v-m-hero-foot { display: flex; gap: 18px; font-size: 13px; color: rgb(255 255 255 / 90%); font-variant-numeric: tabular-nums; }
.v-m-hero.is-next .v-m-hero-label { font-size: 12px; color: rgb(255 255 255 / 80%); }
.v-m-hero-time { font-size: 20px; font-variant-numeric: tabular-nums; }
.v-m-hero.is-next > span:not(.v-m-hero-label) { font-size: 14px; color: rgb(255 255 255 / 92%); }
.v-m-hero.is-next small { font-size: 12px; color: rgb(255 255 255 / 70%); }
.v-m-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ui-divider); font-size: 14px; font-variant-numeric: tabular-nums; }
.v-m-line small { color: var(--ui-muted); font-size: 12px; }
.v-m-line.is-total { border-bottom: 0; font-weight: 600; }
.v-m-line.is-due { color: var(--ui-warning); border-bottom: 0; }
.v-m-note { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.v-m-record { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-panel); }
.v-m-record-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v-m-record p { margin: 0; font-size: 13px; }
.v-m-comment { font-size: 14px !important; line-height: 1.7; }
.v-m-homework { padding: 10px 12px; border-radius: 10px; background: var(--ui-neutral-bg); font-size: 13px !important; }
.v-m-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.v-m-chips .v-filter-chip { flex: none; }
.v-m-pkg { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-panel); }
.v-m-pkg .v-m-record-top span { font-size: 12px; }
.v-m-pkg-num { margin: 0; color: var(--ui-secondary); font-size: 13px; }
.v-m-pkg-num strong { font-size: 26px; color: var(--ui-primary); font-variant-numeric: tabular-nums; }
.v-m-progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: var(--ui-neutral-bg); }
.v-m-progress::-webkit-progress-bar { background: var(--ui-neutral-bg); border-radius: 4px; }
.v-m-progress::-webkit-progress-value { background: var(--ui-primary); border-radius: 4px; }
.v-m-progress::-moz-progress-bar { background: var(--ui-primary); }
.v-m-me { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: var(--ui-panel); border: 1px solid var(--ui-border); }
.v-m-me div { display: flex; flex-direction: column; gap: 2px; }
.v-m-me strong { font-size: 18px; }
.v-m-me span.v-muted { font-size: 13px; }
.v-m-menu { display: flex; flex-direction: column; border-radius: 16px; background: var(--ui-panel); border: 1px solid var(--ui-border); overflow: hidden; }
.v-m-menu-item { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--ui-divider); background: none; font: inherit; font-size: 15px; color: var(--ui-text); text-align: left; cursor: pointer; }
.v-m-menu-item:last-child { border-bottom: 0; }
.v-m-menu-item.is-danger span:first-child { color: var(--ui-error); }
.v-personal .v-panel { padding: 16px; border-radius: 14px; }
.v-personal .v-panel-head h2 { font-size: 15px; }
@media (hover: hover) {
  .v-m-lesson:hover, .v-m-day:not(.is-on):hover { border-color: var(--ui-input-border); background: var(--ui-header); }
  .v-m-menu-item:hover { background: var(--ui-header); }
}
@media (prefers-reduced-motion: reduce) {
  .v-m-day, .v-m-lesson { transition: none; }
  .v-m-day:active, .v-m-lesson:active { transform: none; }
}
/* 底部标签按实际个数平分（学员没开课时缴费时只有 3 个） */
.v-personal .personal-nav,
.c3-personal.v-personal .personal-nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
/* 原有个人页（课程详情、点名、我的学生）放进新框架后：返回靠左，间距交给外层统一 */
.v-personal .personal-content > * { margin-top: 0; margin-bottom: 0; }
.v-personal .personal-content > .ui-button:first-child,
.v-personal .personal-content > .button:first-child { align-self: flex-start; }
.v-personal .personal-content > h1 { margin: 4px 0 0; font-size: 22px; }
/* 手机：原表格组件自带“卡片”样式，但被旧的 table{min-width:680px} 撑宽了屏幕，这里解除 */
@media (max-width: 760px) {
  .ui-table--responsive { min-width: 0; }
}

/* ===== 推广中心（机构端） ===== */
.v-pr-alert {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border: 1px solid var(--ui-warning); border-radius: var(--ui-radius-panel);
  background: var(--ui-warning-bg); color: var(--ui-warning);
}
.v-pr-alert > .ui-icon { width: 20px; height: 20px; flex: none; }
.v-pr-alert p { flex: 1; min-width: 240px; margin: 0; font-size: 14px; color: var(--ui-text); }
.v-pr-alert p strong { color: var(--ui-warning); margin-right: 4px; }
.v-pr-sec { display: flex; flex-direction: column; gap: 12px; }
.v-pr-sec > h2, .v-pr-sec-head h2 { margin: 0; font-size: 17px; }
.v-pr-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-pr-sec-head h2 small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--ui-muted); }
.v-pr-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.v-pr-course {
  display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px;
  border: 1px solid var(--ui-border); border-radius: var(--ui-radius-panel); background: var(--ui-panel);
  box-shadow: inset 0 6px 0 var(--v-pr-stripe, var(--ui-primary));
}
.v-pr-s1 { --v-pr-stripe: #8B76AE; } .v-pr-s2 { --v-pr-stripe: #5B8DB8; } .v-pr-s3 { --v-pr-stripe: #5FA48E; } .v-pr-s4 { --v-pr-stripe: #C29A5B; }
.v-pr-course h3 { margin: 0; font-size: 17px; }
.v-pr-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v-pr-free { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--ui-success); color: #fff; font-size: 12px; font-weight: 700; }
.v-pr-dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 10px; margin: 0; font-size: 14px; }
.v-pr-dl dt { color: var(--ui-muted); }
.v-pr-dl dd { margin: 0; min-width: 0; }
.v-pr-green { color: var(--ui-success); font-weight: 600; }
.v-pr-red { color: var(--ui-error); }
.v-pr-deadline { margin: 0; font-size: 13px; color: var(--ui-error); }
.v-pr-reason { margin: 0; font-size: 13px; }
.v-pr-ops { display: flex; gap: 8px; margin-top: auto; }
.v-pr-ops > .ui-button:first-child { flex: 1; }
.v-pr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.v-pr-steps li { padding-top: 8px; border-top: 3px solid var(--ui-divider); font-size: 12px; color: var(--ui-muted); }
.v-pr-steps li.is-done { border-top-color: var(--ui-primary); color: var(--ui-primary); font-weight: 600; }
.v-pr-meet { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ui-neutral-bg); font-size: 14px; font-variant-numeric: tabular-nums; }
.v-pr-meet .ui-button { min-height: 32px; }
.v-pr-meet .ui-button-face { min-height: 30px; padding: 2px 10px; }
.v-pr-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.v-pr-poster { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius-panel); background: var(--ui-panel); }
.v-pr-poster-img { aspect-ratio: 9 / 16; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--ui-neutral-bg); cursor: zoom-in; }
.v-pr-poster-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-pr-poster-img.is-loading { animation: ui-pulse 1.4s ease-in-out infinite; }
.v-pr-poster-name { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; }
.v-pr-poster-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-pr-msgs { padding: 4px 20px; }
.v-pr-msg { display: grid; grid-template-columns: 8px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ui-divider); background: none; font: inherit; text-align: left; color: var(--ui-text); cursor: pointer; }
.v-pr-msg:last-child { border-bottom: 0; }
.v-pr-msg i { width: 8px; height: 8px; border-radius: 4px; background: var(--ui-divider); }
.v-pr-msg.is-new i { background: var(--ui-primary); }
.v-pr-msg span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-pr-crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v-pr-crumb h2 { margin: 0; font-size: 19px; }
.v-pr-crumb > .v-link.ui-button { margin-left: -8px; }
.v-pr-crumb-ops { display: flex; gap: 8px; margin-left: auto; }
.v-pr-intro { display: grid; grid-template-columns: minmax(0, 480px) minmax(280px, 380px); gap: 28px; justify-content: center; align-items: start; }
.v-pr-intro.is-single { grid-template-columns: minmax(0, 720px); }
.v-pr-longwrap { min-width: 0; }
.v-pr-long { display: block; width: 100%; max-width: 480px; border-radius: 16px; box-shadow: 0 12px 32px rgb(30 26 38 / 14%); background: var(--ui-panel); }
.v-pr-long.is-empty { padding: 80px 24px; text-align: center; color: var(--ui-muted); }
.v-pr-long.is-drawer { max-width: 100%; box-shadow: none; border: 1px solid var(--ui-border); }
.v-pr-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.v-pr-info { display: flex; flex-direction: column; gap: 14px; }
.v-pr-info h3 { margin: 0; font-size: 19px; }
.v-pr-side-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.v-pr-side-ops.is-col { flex-direction: column; }
.v-pr-side-ops.is-col > .ui-button { width: 100%; }
.v-pr-note { margin: 0; font-size: 12px; line-height: 1.7; }
.v-pr-how { margin: 0; padding-left: 20px; font-size: 13px; line-height: 2; color: var(--ui-secondary); }
.v-pr-body { margin: 0; font-size: 14px; line-height: 1.8; }
.v-pr-mbar { display: none; }
.v-pr-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.v-pr-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v-pr-introcard { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
.v-pr-introcard p { margin: 6px 0 0; font-size: 14px; line-height: 1.8; }
.v-panel-head h2 small { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--ui-muted); }
.v-pr-table { overflow-x: auto; margin: 0 -22px -22px; }
.v-pr-table .v-table th:first-child, .v-pr-table .v-table td:first-child { padding-left: 22px; }
.v-pr-table .v-table th:last-child, .v-pr-table .v-table td:last-child { padding-right: 22px; }
.v-pr-meetlink { display: block; font-size: 12px; }
.v-pr-noticepre { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--ui-neutral-bg); font: inherit; font-size: 13px; line-height: 1.8; white-space: pre-wrap; }
.v-pr-progress { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; padding: 0 0 14px; list-style: none; border-bottom: 1px solid var(--ui-divider); }
.v-pr-progress li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; color: var(--ui-muted); }
.v-pr-progress li i { width: 20px; height: 20px; border-radius: 10px; border: 2px solid var(--ui-divider); }
.v-pr-progress li.is-done { color: var(--ui-text); }
.v-pr-progress li.is-done i { border-color: var(--ui-success); background: var(--ui-success); }
.v-pr-dl.is-money { grid-template-columns: 1fr auto; margin-bottom: 10px; }
.v-pr-dl.is-money dd { text-align: right; }
.v-pr-dl .is-strong { font-weight: 700; color: var(--ui-text); }
.v-pr-person { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ui-divider); font-size: 14px; }
.v-pr-brand { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.v-pr-assets { display: flex; flex-direction: column; gap: 14px; }
.v-pr-assets h3 { margin: 0; font-size: 16px; }
.v-pr-asset { display: flex; flex-direction: column; gap: 8px; }
.v-pr-asset-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.v-pr-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 1.5px dashed var(--ui-input-border); border-radius: 12px; background: var(--ui-header); text-align: center; font-size: 14px; cursor: pointer; }
.v-pr-drop .ui-icon { width: 22px; height: 22px; color: var(--ui-primary); }
.v-pr-drop small { font-size: 12px; line-height: 1.6; }
.v-pr-drop.is-missing { border-color: var(--ui-warning); background: var(--ui-warning-bg); color: var(--ui-warning); }
.v-pr-drop.is-over { border-color: var(--ui-primary); background: var(--ui-primary-soft); }
.v-pr-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.v-pr-gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v-pr-gallery-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.v-pr-big { display: flex; flex-direction: column; gap: 12px; }
.v-pr-bigimg { width: 100%; border-radius: 10px; }
.v-pr-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v-pr-thumb { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 2px solid transparent; border-radius: 12px; background: none; font: inherit; text-align: left; color: var(--ui-text); cursor: pointer; }
.v-pr-thumb.is-on { border-color: var(--ui-primary); }
.v-pr-thumb-img { display: block; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--ui-neutral-bg); }
.v-pr-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-pr-thumb-img.is-loading { animation: ui-pulse 1.4s ease-in-out infinite; }
.v-pr-thumb strong { font-size: 13px; font-weight: 500; }
@media (hover: hover) {
  .v-pr-msg:hover { background: var(--ui-header); }
  .v-pr-thumb:not(.is-on):hover { border-color: var(--ui-border); }
  .v-pr-drop:hover { border-color: var(--ui-primary); }
}
@media (prefers-reduced-motion: reduce) { .v-pr-poster-img.is-loading, .v-pr-thumb-img.is-loading { animation: none; } }
@media (max-width: 1100px) {
  .v-pr-detail, .v-pr-brand { grid-template-columns: minmax(0, 1fr); }
  .v-pr-intro { grid-template-columns: minmax(0, 1fr); }
  .v-pr-side { position: static; }
}
@media (max-width: 760px) {
  .v-pr-intro .v-pr-side .v-pr-side-ops, .v-pr-intro .v-pr-side > .v-panel:last-child { display: none; }
  .v-pr-long { max-width: none; border-radius: 0; margin-inline: -16px; width: calc(100% + 32px); box-shadow: none; }
  .v-pr-mbar {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 20;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--ui-border); background: var(--ui-panel); box-shadow: 0 -6px 16px rgb(30 26 38 / 8%);
  }
  .v-pr-mbar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .v-pr-mbar small { font-size: 11px; color: var(--ui-error); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v-pr-intro { padding-bottom: 80px; }
  .v-pr-introcard { grid-template-columns: minmax(0, 1fr); }
  .v-pr-gallery-body { grid-template-columns: minmax(0, 1fr); }
  .v-pr-crumb-ops { margin-left: 0; width: 100%; }
  .v-pr-crumb-ops > .ui-button { flex: 1; }
  .v-pr-msg { grid-template-columns: 8px minmax(0, 1fr) auto; }
  .v-pr-msg span { display: none; }
}
/* 推广中心：按钮撑满所在位置；面板标题右侧按钮靠右；进度打勾 */
.v-pr-ops .ui-button, .v-pr-poster-ops .ui-button, .v-pr-side-ops.is-col .ui-button, .v-pr-mbar .ui-button { display: flex; }
.v-pr-ops .ui-button-face, .v-pr-poster-ops .ui-button-face, .v-pr-side-ops.is-col .ui-button-face { width: 100%; justify-content: center; }
.v-pr-col .v-panel-head, .v-pr-side .v-panel-head { justify-content: space-between; }
.v-pr-progress li i { display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: #fff; }
.v-pr-progress li.is-done i::after { content: "✓"; }
/* 课程详情 / 点名（手机） */
.v-m-backbar { display: flex; align-items: center; gap: 6px; margin: -4px 0 0 -8px; }
.v-m-backbar h1 { margin: 0; font-size: 18px; }
.v-m-back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--ui-text); cursor: pointer; }
.v-m-back .ui-icon { width: 22px; height: 22px; }
.v-m-sum { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-panel); box-shadow: inset 3px 0 0 var(--v-cat, var(--ui-primary)); }
.v-m-sum h2 { margin: 0 0 2px; font-size: 18px; }
.v-m-sum p { margin: 0; font-size: 14px; color: var(--ui-secondary); }
.v-m-sum-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px !important; color: var(--ui-muted) !important; }
.v-personal form.v-m-checkin { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; box-shadow: none; }
.v-m-roll, .v-m-review { display: flex; flex-direction: column; padding: 4px 16px 12px; border: 1px solid var(--ui-border); border-radius: 14px; background: var(--ui-panel); }
.v-m-roll-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.v-m-roll-head h2 { margin: 0; font-size: 16px; }
.v-m-roll-head span { font-size: 12px; }
.v-m-roll-head .ui-button { min-height: 34px; }
.v-m-roll-head .ui-button-face { min-height: 32px; padding: 2px 12px; }
.v-m-checkin .c3-checkin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--ui-divider); border-bottom: 0; margin: 0; background: none; }
.v-m-checkin .c3-checkin-row > strong { font-size: 15px; font-weight: 500; }
.v-m-checkin .c3-checkin-row > small { grid-column: 1 / -1; order: 3; font-size: 12px; color: var(--ui-muted); }
.v-m-checkin .c3-checkin-row > section, .v-m-checkin .c3-checkin-row > .ui-menu-holder { grid-column: 1 / -1; }
.v-m-checkin .c2-attendance-buttons { display: inline-grid; grid-template-columns: repeat(3, 48px); padding: 0; gap: 0; border: 1px solid var(--ui-input-border); border-radius: 10px; overflow: hidden; background: var(--ui-panel); }
.v-m-checkin .c2-attendance-buttons .ui-button { min-height: 36px; min-width: 0; border-radius: 0; }
.v-m-checkin .c2-attendance-buttons .ui-button-face { min-height: 36px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ui-secondary); font-size: 13px; box-shadow: none; justify-content: center; }
.v-m-checkin .c2-attendance-buttons [data-attendance="attended"][aria-pressed="true"] .ui-button-face { background: var(--ui-success-bg); color: var(--ui-success); font-weight: 700; }
.v-m-checkin .c2-attendance-buttons [data-attendance="student_leave"][aria-pressed="true"] .ui-button-face { background: var(--ui-warning-bg); color: var(--ui-warning); font-weight: 700; }
.v-m-checkin .c2-attendance-buttons [data-attendance="no_show"][aria-pressed="true"] .ui-button-face { background: var(--ui-error-bg); color: var(--ui-error); font-weight: 700; }
.v-m-checkin .c3-checkin-row .ui-disclosure, .v-m-checkin .c3-checkin-row details { font-size: 13px; }
.v-m-checkin .c3-checkin-row .ui-menu-holder .ui-button { min-height: 30px; }
.v-m-checkin .c3-checkin-row .ui-menu-holder .ui-button-face { min-height: 28px; padding: 0 10px; font-size: 12px; }
.v-m-review label { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 10px; font-size: 13px; color: var(--ui-muted); }
.v-m-review textarea { min-height: 96px; font-size: 15px; line-height: 1.6; }
.v-m-submitbar {
  /* 停在底部导航栏上方（导航高 = 65px + 安全区，至少 8px） */
  position: sticky; bottom: calc(65px + max(8px, env(safe-area-inset-bottom, 0px))); z-index: 5; display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  margin: 0 -16px -16px; padding: 12px 16px;
  background: var(--ui-panel); border-top: 1px solid var(--ui-border);
}
.v-m-submitbar .ui-button { display: flex; width: 100%; min-height: 50px; }
.v-m-submitbar .ui-button-face { width: 100%; justify-content: center; min-height: 50px; font-size: 16px; border-radius: 12px; }
.v-m-submitbar small { text-align: center; font-size: 12px; color: var(--ui-muted); }
/* 有提交栏时，页面底部留白正好等于底部导航高度，提交栏贴着导航栏 */
.v-personal .personal-content:has(.v-m-submitbar) { padding-bottom: calc(81px + max(8px, env(safe-area-inset-bottom, 0px))); }
.v-personal:has(.v-m-submitbar) { padding-bottom: 0; }

/* ===== 推广推送：今天页“枫琴推荐”、铃铛分组、招生“新 N” ===== */
.v-pr-thumb {
  flex: none; display: block; width: 40px; height: 52px; border-radius: 6px; overflow: hidden;
  background: var(--ui-category-2-soft); border: 1px solid var(--ui-divider);
}
.v-pr-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v-pr-thumb--rec { width: 64px; height: 84px; border-radius: 8px; }
.v-pr-rec {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--ui-page); border: 1px solid var(--ui-border); box-shadow: none;
  transition: opacity var(--ui-duration-panel) var(--ui-ease-exit), transform var(--ui-duration-panel) var(--ui-ease-exit);
}
.v-pr-rec.is-leaving { opacity: 0; transform: translateY(-4px); }
.v-pr-rec-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.v-pr-rec-tags { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--ui-font-xs); color: var(--ui-muted); }
.v-pr-rec h3 { margin: 0; font-size: 15px; line-height: 1.45; font-weight: var(--ui-weight-heading); text-wrap: balance; }
.v-pr-rec-meta { margin: 0; font-size: var(--ui-font-xs); color: var(--ui-muted); }
.v-pr-rec-meta.is-soon { color: var(--ui-warning); font-weight: var(--ui-weight-medium); }
.v-pr-rec-sum {
  margin: 0; font-size: var(--ui-font-xs); color: var(--ui-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v-pr-rec-ops { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.v-pr-rec-ops .ui-button:not(.ui-button--primary) .ui-button-face { border-color: transparent; background: transparent; color: var(--ui-muted); }

.v-nav-new {
  margin-left: auto; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px;
  background: var(--ui-warning-bg); color: var(--ui-warning); font-size: 12px; font-weight: var(--ui-weight-medium); white-space: nowrap;
}

.c1-message-panel.v-msgs { padding: 0; width: min(380px, calc(100vw - 32px)); }
.v-msgs-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--ui-divider); }
.v-msgs-head h1, .v-msgs-head h2 { margin: 0; font-size: 15px; }
.v-msgs-group { display: flex; flex-direction: column; padding: 4px 0 8px; }
.v-msgs-group h3 { margin: 6px 16px 4px; font-size: var(--ui-font-xs); font-weight: var(--ui-weight-medium); color: var(--ui-muted); }
.v-msg {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 16px; border: 0; margin: 0;
  background: transparent; color: var(--ui-text); text-align: left; font: inherit; cursor: pointer;
}
.v-msg.is-unread { background: var(--ui-primary-soft); }
.v-msg-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.v-msg-text strong { font-size: 14px; font-weight: var(--ui-weight-medium); line-height: 1.45; }
.v-msg-text small { font-size: 12px; color: var(--ui-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-msg-time { flex: none; font-size: 12px; color: var(--ui-muted); padding-top: 2px; }
.v-msg-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: transparent; }
.v-msg.is-unread .v-msg-dot { background: var(--ui-primary); }
.v-msg:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: -2px; }
@media (hover: hover) {
  .v-msg:hover { background: var(--ui-neutral-bg); }
}
.v-content .v-msgs-head { padding-left: 0; padding-right: 0; }
.v-content .v-msgs-group h3 { margin-left: 0; }
.v-content .v-msg { padding-left: 12px; padding-right: 12px; border-radius: var(--ui-radius-control); }
@media (prefers-reduced-motion: reduce) {
  .v-pr-rec { transition: none; }
}
.v-pr-thumb.is-icon { display: grid; place-items: center; color: var(--ui-primary); background: var(--ui-primary-soft); }
.v-pr-thumb.is-icon svg { width: 18px; height: 18px; }

/* ===== 局部刷新：等待新内容时旧内容变淡（快于 120ms 的响应不会闪） ===== */
.v-detail.is-loading, .v-list-rows.is-loading, .v-tab-body.is-loading, .v-loading-dim.is-loading {
  opacity: 0.5;
  transition: opacity 0.15s ease 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .v-detail.is-loading, .v-list-rows.is-loading, .v-tab-body.is-loading, .v-loading-dim.is-loading { transition: none; }
}

/* ===== 页面内部左侧小菜单 → 顶部分页 ===== */
.c3-settings.is-hoisted {
  display: block;
}
.c3-settings.is-hoisted > nav {
  display: none;
}
.v-inner-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: var(--ui-radius-control);
  background: var(--ui-neutral-bg);
}
.v-inner-tabs > .ui-button,
.v-inner-tabs > .ui-button > .ui-button-face {
  min-height: 30px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.v-inner-tabs > .ui-button > .ui-button-face {
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ui-neutral);
}
.v-inner-tabs > .ui-button[aria-current="page"] > .ui-button-face {
  background: var(--ui-panel);
  color: var(--ui-text);
  font-weight: 500;
  box-shadow: 0 1px 2px rgb(30 26 38 / 10%);
}
.v-head-tabs .ui-button,
.v-head-tabs .ui-button[aria-current="page"] {
  background: transparent;
}
@media (hover: hover) {
  .v-head-tabs .ui-button:hover {
    background: transparent;
  }
}
@media (max-width: 760px) {
  .v-toolbar {
    padding: 12px 16px 0;
    gap: 8px;
  }
}

/* ===== 按钮等待：点下后外观不变，0.3 秒后才变浅 ===== */
.ui-root .ui-button[aria-busy="true"],
.ui-root button.ui-button[aria-busy="true"]:disabled {
  opacity: 1;
  cursor: progress;
}
.ui-root .ui-button.is-busy,
.ui-root button.ui-button.is-busy:disabled {
  opacity: 0.7;
}

/* ===== “更多”菜单：紧贴按钮；按钮靠右就向左展开，靠底就向上展开 ===== */
.ui-root.ui-more-menu {
  position: fixed;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  min-width: 180px;
  max-width: min(280px, calc(100vw - 16px));
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: var(--ui-panel);
  box-shadow: 0 12px 32px rgb(30 26 38 / 14%);
}
@supports (position-area: block-end) {
  .ui-root.ui-more-menu {
    inset: auto;
    margin: 4px 0;
    position-anchor: auto;
    position-area: block-end span-inline-start;
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  }
}
.ui-root.ui-more-menu:popover-open {
  display: flex;
  flex-direction: column;
  animation: ui-fade var(--ui-duration-micro) var(--ui-ease-enter);
}
.ui-root.ui-more-menu > .ui-button,
.ui-root.ui-more-menu > .ui-button > .ui-button-face {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  justify-content: flex-start;
  font-weight: 400;
}
.ui-root.ui-more-menu > .ui-button > .ui-button-face {
  padding: 0 10px;
  color: var(--ui-text);
  font-size: 14px;
}
@media (hover: hover) {
  .ui-root.ui-more-menu > .ui-button:hover:not(:disabled) > .ui-button-face {
    background: var(--ui-page);
  }
}
.ui-root.ui-more-menu > .ui-button:focus-visible {
  outline-offset: -2px;
}
.ui-root.ui-more-menu > .ui-button--danger > .ui-button-face {
  color: var(--ui-error);
}
.ui-root.ui-more-menu > .ui-button:not(.ui-button--danger) + .ui-button--danger {
  margin-top: 7px;
}
.ui-root.ui-more-menu > .ui-button:not(.ui-button--danger) + .ui-button--danger::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 4px;
  right: 4px;
  border-top: 1px solid var(--ui-divider);
}
.ui-root.ui-more-menu > .ui-button {
  position: relative;
}

/* 铃铛通知、搜索结果：同样紧贴触发按钮 */
@supports (position-area: block-end) {
  .ui-root.c1-message-panel {
    inset: auto;
    margin: 6px 0;
    position-anchor: auto;
    position-area: block-end span-inline-start;
    position-try-fallbacks: flip-inline;
  }
  .ui-root.c1-search-results {
    inset: auto;
    margin: 6px 0;
    position-anchor: auto;
    position-area: block-end span-inline-end;
    position-try-fallbacks: flip-inline;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-root.ui-more-menu:popover-open {
    animation: none;
  }
}

/* 铃铛面板加载占位 */
.v-msg-skel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  min-height: 180px;
}
.v-msg-skel > span {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: var(--ui-divider);
}
.v-msg-skel > span:nth-child(1) { width: 40%; height: 14px; }
.v-msg-skel > span:nth-child(3) { width: 85%; }
.v-msg-skel > span:nth-child(4) { width: 65%; }

/* 小对话框：居中；表单里的保存按钮放到右下角 */
.ui-overlay--modal .ui-form-grid > .ui-button:last-child {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 4px;
}

/* ===== 表单侧边栏统一规范 ===== */
.v-std-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}
.v-fgroup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-fgroup:first-child {
  padding-top: 4px;
}
.v-fgroup > h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-primary);
  letter-spacing: 0.04em;
}
.v-fgroup > .is-wide {
  grid-column: 1 / -1;
}
.v-fgroup > .ui-field,
.v-fgroup > .field {
  margin: 0;
  min-width: 0;
}
.v-std-form .ui-field > label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ui-secondary);
}
.v-std-form .is-required > label:first-child::after {
  content: " *";
  color: var(--ui-error);
}
.v-fadv {
  padding: 12px 0;
}
.v-fadv > summary {
  cursor: pointer;
  color: var(--ui-muted);
  font-size: 13px;
  list-style-position: inside;
}
.v-fgroup.is-flat {
  border-bottom: 0;
  padding-bottom: 0;
}
.v-form-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid var(--ui-border);
  background: var(--ui-panel);
}
.v-form-foot > :first-child {
  flex: 1;
  color: var(--ui-muted);
  font-size: 12px;
}
.v-form-foot b {
  color: var(--ui-error);
}
.v-form-foot > .ui-button {
  margin: 0;
}
.v-color-field .v-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.v-swatch {
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
}
.v-swatch[aria-checked="true"] {
  border-color: var(--ui-text);
  box-shadow: inset 0 0 0 2px var(--ui-panel);
}
.v-swatch-1 { background: var(--ui-category-1); }
.v-swatch-2 { background: var(--ui-category-2); }
.v-swatch-3 { background: var(--ui-category-3); }
.v-swatch-4 { background: var(--ui-category-4); }
.v-swatch-5 { background: var(--ui-category-5); }
.v-swatch-6 { background: var(--ui-category-6); }
.v-swatch-7 { background: var(--ui-category-7); }
.v-swatch-8 { background: var(--ui-category-8); }
@media (max-width: 560px) {
  .v-fgroup {
    grid-template-columns: minmax(0, 1fr);
  }
}
.v-fgroup {
  flex: none;
  align-content: start;
  align-items: start;
}
.v-std-form .ui-field-hint:empty,
.v-std-form .ui-field-error:empty {
  display: none;
}
.business-drawer form.v-std-form,
form.v-std-form {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 0;
}
.v-std-form .ui-date > .ui-control,
.v-std-form .ui-date > button {
  width: 100%;
  justify-content: space-between;
}

/* ===== 待办 · 跟进任务 ===== */
.v-inner-count {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.8;
}
.v-fu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: start;
}
.v-fu-list,
.v-fu-side {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  min-width: 0;
}
.v-fu-list {
  overflow: hidden;
}
.v-fu-side {
  position: sticky;
  top: 80px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v-fu-gh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-secondary);
}
.v-fu-gh.is-bad {
  color: var(--ui-error);
}
.v-fu-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--ui-divider);
  cursor: pointer;
}
.v-fu-row.is-on {
  background: var(--ui-primary-soft);
  box-shadow: inset 3px 0 0 var(--ui-primary);
}
.v-fu-row.is-done .v-fu-title {
  color: var(--ui-muted);
  text-decoration: line-through;
}
@media (hover: hover) {
  .v-fu-row:hover:not(.is-on) {
    background: var(--ui-header);
  }
}
.v-fu-ck {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ui-primary);
}
.v-fu-main {
  min-width: 0;
}
.v-fu-title {
  font-weight: 500;
}
.v-fu-who {
  color: var(--ui-primary);
}
.v-fu-meta {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-fu-meta.is-late {
  color: var(--ui-error);
}
.v-fu-row.is-system {
  cursor: default;
  color: var(--ui-info);
}
.v-fu-row.is-system .v-fu-title {
  color: var(--ui-text);
}
.v-fu-tail {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-fu-mini .ui-button-face {
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.v-fu-stage-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 12px 50px;
}
.v-fu-stage-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.v-fu-done > summary {
  list-style: none;
  cursor: pointer;
  border-top: 1px solid var(--ui-divider);
}
.v-fu-done > summary::-webkit-details-marker {
  display: none;
}
.v-fu-done > summary .v-fu-gh {
  color: var(--ui-muted);
}
.v-fu-dhead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.v-fu-dhead > div {
  flex: 1;
  min-width: 0;
}
.v-fu-dhead h3 {
  margin: 0;
  font-size: 16px;
}
.v-fu-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--ui-radius-avatar);
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
}
.v-fu-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  row-gap: 8px;
  font-size: 13px;
}
.v-fu-dl dt {
  color: var(--ui-muted);
}
.v-fu-dl dd {
  margin: 0;
}
.v-fu-log {
  border-top: 1px solid var(--ui-divider);
  padding-top: 14px;
}
.v-fu-log h4 {
  margin: 0 0 10px;
  font-size: 13px;
}
.v-fu-log ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--ui-divider);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.v-fu-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.v-fu-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v-fu-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v-fu-people > .ui-button[aria-current="true"] .ui-button-face {
  border-color: var(--ui-primary);
  color: var(--ui-primary);
}
.v-fu-side.is-loading {
  opacity: 0.5;
  transition: opacity 0.15s ease 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .v-fu-side.is-loading {
    transition: none;
  }
}
@media (max-width: 1100px) {
  .v-fu {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
@media (max-width: 760px) {
  .v-fu {
    grid-template-columns: minmax(0, 1fr);
  }
  .v-fu-side {
    display: none;
  }
}
/* 按钮行里的下拉：标签只给读屏，高度与按钮一致 */
.v-toolbar-left .ui-select {
  flex-direction: row;
  gap: 0;
  min-width: 150px;
}
.v-toolbar-left .ui-select > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.v-toolbar-left .ui-select > .ui-picker-trigger {
  min-height: 36px;
  height: 36px;
  font-size: 13px;
}

/* ===== 固定排课：每天一列的快速添加、详情里的报名学员 ===== */
.v-tp-add {
  display: block;
  width: 100%;
  min-height: 34px;
  margin-top: 6px;
  border: 1px dashed var(--ui-input-border);
  border-radius: 8px;
  background: transparent;
  color: var(--ui-primary);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
@media (hover: hover) {
  .v-tp-add:hover {
    border-color: var(--ui-primary);
    background: var(--ui-primary-soft);
  }
}
.v-panel-head .v-tp-addstu {
  margin-left: auto;
}
.v-tp-roster {
  display: flex;
  flex-direction: column;
}
.v-tp-rr {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--ui-divider);
}
.v-tp-rr .v-muted {
  font-size: 12px;
}
.v-tp-racts {
  display: flex;
  gap: 12px;
}

/* ===== 教师 · 课酬标准 ===== */
.v-rate-search {
  width: 220px;
  min-height: 36px;
}
.v-rate-note {
  margin: 0 0 12px;
  font-size: 13px;
}
.v-rates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 16px;
  align-items: start;
}
.v-rate-card {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
  padding: 16px 20px 8px;
}
.v-rate-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.v-rate-card > header > .v-muted {
  margin-left: auto;
  font-size: 12px;
}
.v-rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--ui-divider);
  font-size: 13px;
}
.v-rate-row.is-old {
  opacity: 0.6;
}
.v-rate-acts {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 560px) {
  .v-rate-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.v-rate-card > header {
  height: auto;
  min-height: 0;
  padding: 0 0 10px;
  background: none;
  border: 0;
  position: static;
}

/* ===== 账号与权限 · 角色权限矩阵 ===== */
.v-rg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.v-rg-table {
  overflow-x: auto;
  padding: 0;
}
.v-rg-table table {
  width: 100%;
  border-collapse: collapse;
}
.v-rg-table thead th {
  position: sticky;
  top: 0;
  background: var(--ui-header);
  text-align: left;
  font-size: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ui-border);
}
.v-rg-table tbody th {
  text-align: left;
  font-weight: 500;
  padding: 10px 16px;
  white-space: nowrap;
  width: 150px;
}
.v-rg-table td {
  padding: 8px 16px;
  border-top: 1px solid var(--ui-divider);
}
.v-rg-table tbody tr:not(.v-rg-group) th {
  border-top: 1px solid var(--ui-divider);
}
.v-rg-group th {
  background: var(--ui-header);
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-top: 1px solid var(--ui-border);
}
.v-rg-table td.is-changed {
  background: var(--ui-warning-bg);
}
.v-rg-cells {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.v-rg-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ui-secondary);
  cursor: pointer;
}
.v-rg-cell input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ui-primary);
}
.v-rg-cell.is-changed span {
  color: var(--ui-warning);
  font-weight: 600;
}
.v-rg-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-rg-change {
  margin: 0 0 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ui-warning-bg);
  font-size: 13px;
}
@media (max-width: 1100px) {
  .v-rg {
    grid-template-columns: minmax(0, 1fr);
  }
}
.v-rg-table tbody tr:not(.v-rg-group) th {
  background: var(--ui-panel);
}
aside.v-rg-side {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/* ===== 安排补课面板 ===== */
.ui-c1-drawer.v-mkp .ui-sheet {
  width: min(660px, 100vw);
}
.v-mkp-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-mkp-sec:last-child {
  border-bottom: 0;
}
.v-mkp-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
}
.v-mkp-no {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-size: 12px;
  display: grid;
  place-items: center;
}
.v-mkp-hint {
  font-size: 12px;
  font-weight: 400;
}
.v-mkp-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.v-mkp-grid > .ui-field {
  min-width: 0;
  margin: 0;
}
.v-mkp-grid .ui-date > .ui-control,
.v-mkp-grid .ui-date > button {
  width: 100%;
}
.v-mkp-endv {
  display: flex;
  align-items: center;
  background: var(--ui-header);
  color: var(--ui-muted);
}
.v-tl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-header);
}
.v-tl.is-loading {
  opacity: 0.5;
  transition: opacity 0.15s ease 0.12s;
}
.v-tl-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.v-tl-head .v-muted {
  font-size: 12px;
}
.v-tl-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 26px;
}
.v-tl-label {
  font-size: 12px;
  color: var(--ui-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-tl-axis,
.v-tl-track {
  display: grid;
  grid-template-columns: repeat(52, minmax(0, 1fr));
  grid-template-rows: 22px;
  position: relative;
}
.v-tl-axis > span {
  grid-row: 1;
  font-size: 11px;
  color: var(--ui-muted);
  white-space: nowrap;
}
.v-tl-track {
  border-radius: 6px;
  background: var(--ui-panel);
}
.v-tl-track > span {
  grid-row: 1;
  min-width: 0;
}
.v-tl-usual {
  background: var(--ui-info-bg);
  border-radius: 6px;
}
.v-tl-busy {
  z-index: 1;
  border-radius: 6px;
  background: var(--ui-border);
  color: var(--ui-neutral);
  font-size: 11px;
  line-height: 22px;
  padding: 0 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.v-tl-pick {
  z-index: 2;
  margin: -3px 0;
  border: 2px solid var(--ui-primary);
  border-radius: 7px;
  background: rgb(43 76 126 / 16%);
}
.v-mkp-verdict {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--ui-radius-control);
  font-size: 13px;
}
.v-mkp-verdict.is-ok {
  background: var(--ui-success-bg);
  color: var(--ui-success);
}
.v-mkp-verdict.is-bad {
  background: var(--ui-warning-bg);
  color: var(--ui-warning);
}
.v-mkp-verdict.is-wait {
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
}
.v-mkp-fixes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v-mkp-fixes:empty {
  display: none;
}
.v-mkp-day {
  font-size: 12px;
  font-weight: 600;
  color: var(--ui-secondary);
  margin-top: 4px;
}
.v-mkp-rec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-control);
  background: var(--ui-panel);
  color: var(--ui-text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.v-mkp-rec .v-muted {
  font-size: 12px;
}
.v-mkp-rec.is-on {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
}
@media (hover: hover) {
  .v-mkp-rec:hover:not(.is-on) {
    border-color: var(--ui-primary);
  }
}
.v-mkp-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.v-mkp-sum {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}
@media (max-width: 560px) {
  .v-mkp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v-mkp-foot {
    flex-wrap: wrap;
  }
  .v-mkp-sum {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v-tl.is-loading {
    transition: none;
  }
}
/* 时间轴定位：08:00–21:00，每 15 分钟一列 */

.tl-s-1 { grid-column-start: 1; }
.tl-s-2 { grid-column-start: 2; }
.tl-s-3 { grid-column-start: 3; }
.tl-s-4 { grid-column-start: 4; }
.tl-s-5 { grid-column-start: 5; }
.tl-s-6 { grid-column-start: 6; }
.tl-s-7 { grid-column-start: 7; }
.tl-s-8 { grid-column-start: 8; }
.tl-s-9 { grid-column-start: 9; }
.tl-s-10 { grid-column-start: 10; }
.tl-s-11 { grid-column-start: 11; }
.tl-s-12 { grid-column-start: 12; }
.tl-s-13 { grid-column-start: 13; }
.tl-s-14 { grid-column-start: 14; }
.tl-s-15 { grid-column-start: 15; }
.tl-s-16 { grid-column-start: 16; }
.tl-s-17 { grid-column-start: 17; }
.tl-s-18 { grid-column-start: 18; }
.tl-s-19 { grid-column-start: 19; }
.tl-s-20 { grid-column-start: 20; }
.tl-s-21 { grid-column-start: 21; }
.tl-s-22 { grid-column-start: 22; }
.tl-s-23 { grid-column-start: 23; }
.tl-s-24 { grid-column-start: 24; }
.tl-s-25 { grid-column-start: 25; }
.tl-s-26 { grid-column-start: 26; }
.tl-s-27 { grid-column-start: 27; }
.tl-s-28 { grid-column-start: 28; }
.tl-s-29 { grid-column-start: 29; }
.tl-s-30 { grid-column-start: 30; }
.tl-s-31 { grid-column-start: 31; }
.tl-s-32 { grid-column-start: 32; }
.tl-s-33 { grid-column-start: 33; }
.tl-s-34 { grid-column-start: 34; }
.tl-s-35 { grid-column-start: 35; }
.tl-s-36 { grid-column-start: 36; }
.tl-s-37 { grid-column-start: 37; }
.tl-s-38 { grid-column-start: 38; }
.tl-s-39 { grid-column-start: 39; }
.tl-s-40 { grid-column-start: 40; }
.tl-s-41 { grid-column-start: 41; }
.tl-s-42 { grid-column-start: 42; }
.tl-s-43 { grid-column-start: 43; }
.tl-s-44 { grid-column-start: 44; }
.tl-s-45 { grid-column-start: 45; }
.tl-s-46 { grid-column-start: 46; }
.tl-s-47 { grid-column-start: 47; }
.tl-s-48 { grid-column-start: 48; }
.tl-s-49 { grid-column-start: 49; }
.tl-s-50 { grid-column-start: 50; }
.tl-s-51 { grid-column-start: 51; }
.tl-s-52 { grid-column-start: 52; }
.tl-s-53 { grid-column-start: 53; }
.tl-w-1 { grid-column-end: span 1; }
.tl-w-2 { grid-column-end: span 2; }
.tl-w-3 { grid-column-end: span 3; }
.tl-w-4 { grid-column-end: span 4; }
.tl-w-5 { grid-column-end: span 5; }
.tl-w-6 { grid-column-end: span 6; }
.tl-w-7 { grid-column-end: span 7; }
.tl-w-8 { grid-column-end: span 8; }
.tl-w-9 { grid-column-end: span 9; }
.tl-w-10 { grid-column-end: span 10; }
.tl-w-11 { grid-column-end: span 11; }
.tl-w-12 { grid-column-end: span 12; }
.tl-w-13 { grid-column-end: span 13; }
.tl-w-14 { grid-column-end: span 14; }
.tl-w-15 { grid-column-end: span 15; }
.tl-w-16 { grid-column-end: span 16; }
.tl-w-17 { grid-column-end: span 17; }
.tl-w-18 { grid-column-end: span 18; }
.tl-w-19 { grid-column-end: span 19; }
.tl-w-20 { grid-column-end: span 20; }
.tl-w-21 { grid-column-end: span 21; }
.tl-w-22 { grid-column-end: span 22; }
.tl-w-23 { grid-column-end: span 23; }
.tl-w-24 { grid-column-end: span 24; }
.tl-w-25 { grid-column-end: span 25; }
.tl-w-26 { grid-column-end: span 26; }
.tl-w-27 { grid-column-end: span 27; }
.tl-w-28 { grid-column-end: span 28; }
.tl-w-29 { grid-column-end: span 29; }
.tl-w-30 { grid-column-end: span 30; }
.tl-w-31 { grid-column-end: span 31; }
.tl-w-32 { grid-column-end: span 32; }
.tl-w-33 { grid-column-end: span 33; }
.tl-w-34 { grid-column-end: span 34; }
.tl-w-35 { grid-column-end: span 35; }
.tl-w-36 { grid-column-end: span 36; }
.tl-w-37 { grid-column-end: span 37; }
.tl-w-38 { grid-column-end: span 38; }
.tl-w-39 { grid-column-end: span 39; }
.tl-w-40 { grid-column-end: span 40; }
.tl-w-41 { grid-column-end: span 41; }
.tl-w-42 { grid-column-end: span 42; }
.tl-w-43 { grid-column-end: span 43; }
.tl-w-44 { grid-column-end: span 44; }
.tl-w-45 { grid-column-end: span 45; }
.tl-w-46 { grid-column-end: span 46; }
.tl-w-47 { grid-column-end: span 47; }
.tl-w-48 { grid-column-end: span 48; }
.tl-w-49 { grid-column-end: span 49; }
.tl-w-50 { grid-column-end: span 50; }
.tl-w-51 { grid-column-end: span 51; }
.tl-w-52 { grid-column-end: span 52; }
.v-tl.is-bad .v-tl-pick {
  border-color: var(--ui-error);
  background: rgb(155 44 53 / 14%);
}
.v-more-rows {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-top: 1px solid var(--ui-divider);
  background: var(--ui-header);
  color: var(--ui-primary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
@media (hover: hover) {
  .v-more-rows:hover {
    background: var(--ui-primary-soft);
  }
}

/* ===== 数据导入导出 ===== */
.v-content[data-route="settings-import"] .v-body > h1:first-child {
  display: none;
}
.v-ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.v-ex-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-panel);
}
.v-ex-card h3 {
  margin: 0;
  font-size: 16px;
}
.v-ex-card p {
  margin: 0;
  font-size: 13px;
  flex: 1;
}
.v-ex-month {
  font-size: 12px;
  color: var(--ui-muted);
}
.v-ex-dl {
  align-self: flex-start;
  text-decoration: none;
  padding: 0 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--ui-radius-control);
  background: var(--ui-primary);
  color: #fff;
  font-weight: 500;
}

/* ===== 招生 · 线索详情 ===== */
.v-ld-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}
.v-ld-step > button,
.v-ld-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ui-muted);
}
.v-ld-step > button {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.v-ld-step i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--ui-divider);
}
.v-ld-step.is-done i {
  background: var(--ui-category-2);
}
.v-ld-step.is-on i {
  background: var(--ui-primary);
}
.v-ld-step.is-on {
  color: var(--ui-primary);
  font-weight: 600;
}
.v-ld-step.is-lost i {
  background: var(--ui-divider);
}
@media (hover: hover) {
  .v-ld-step > button:hover {
    color: var(--ui-primary);
  }
}
.v-ld-lost {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: var(--ui-radius-control);
  background: var(--ui-neutral-bg);
  color: var(--ui-neutral);
  font-size: 13px;
}
.v-ld-dl {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ui-divider);
}
.v-ld-sec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-divider);
}
.v-ld-sec h4 {
  margin: 0;
  font-size: 13px;
}
.v-ld-sec textarea {
  width: 100%;
}
.v-ld-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.v-ld-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

/* ===== 周课表：“＋N 节”小列表 ===== */
.ui-root.v-cal-pop {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 300px;
  height: max-content;
  max-height: min(70vh, 460px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: var(--ui-panel);
  box-shadow: 0 12px 32px rgb(30 26 38 / 14%);
}
@supports (position-area: block-end) {
  .ui-root.v-cal-pop {
    inset: auto;
    margin: 4px;
    position-anchor: auto;
    position-area: block-end span-inline-end;
    position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
  }
}
.ui-root.v-cal-pop:popover-open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v-cal-pop-head {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ui-muted);
}
.v-cal-pop-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 10px;
  border: 0;
  border-left: 3px solid var(--v-swatch, var(--ui-primary));
  border-radius: 6px;
  background: var(--ui-header);
  color: var(--ui-text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.v-cal-pop-item small {
  color: var(--ui-muted);
  font-size: 12px;
}
.v-cal-pop-item.color-0 { border-left-color: var(--ui-category-1); }
.v-cal-pop-item.color-1 { border-left-color: var(--ui-category-2); }
.v-cal-pop-item.color-2 { border-left-color: var(--ui-category-3); }
.v-cal-pop-item.color-3 { border-left-color: var(--ui-category-4); }
.v-cal-pop-item.color-4 { border-left-color: var(--ui-category-5); }
.v-cal-pop-item.color-5 { border-left-color: var(--ui-category-6); }
.v-cal-pop-item.color-6 { border-left-color: var(--ui-category-7); }
.v-cal-pop-item.color-7 { border-left-color: var(--ui-category-8); }
.v-cal-pop-item.status-cancelled strong,
.v-cal-pop-item.status-cancelled span {
  text-decoration: line-through;
  color: var(--ui-muted);
}
@media (hover: hover) {
  .v-cal-pop-item:hover {
    background: var(--ui-primary-soft);
  }
}
/* “＋N 节”本身：柔和的虚线块，文字居中 */
.v-content .c2-overflow .ui-button-face {
  justify-content: center;
  color: var(--ui-primary);
  font-weight: 600;
}
.ui-root.v-cal-pop .v-cal-pop-item {
  min-height: 0;
  line-height: 1.45;
}

/* ---------- B1 缴费 / 待核对 / 预收余额 / 欠课时 ---------- */
.v-tone-text-ok { color: var(--ui-success); }
.v-pay-drawer .ui-overlay-body, .v-pay-drawer [class*="body"] { display: flex; flex-direction: column; gap: 0; }
.v-pay-group { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ui-divider); min-width: 0; }
.v-pay-group:last-child { border-bottom: 0; }
.v-pay-group h3, .v-pay-h { margin: 0; font-size: 14px; color: var(--ui-primary); }
.v-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .v-pay-grid { grid-template-columns: 1fr; } }
.v-pay-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; }
.v-pay-label { font-weight: 500; color: var(--ui-secondary); }
.v-pay-field input, .v-pay-field select { height: 38px; padding: 0 10px; border: 1px solid var(--ui-input-border); border-radius: var(--ui-radius-control); background: var(--ui-panel); color: var(--ui-text); font: inherit; font-size: 14px; min-width: 0; box-sizing: border-box; width: 100%; }
.v-pay-kind { align-self: flex-start; flex-wrap: wrap; }
.v-pay-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.v-pay-list, .v-pay-new-list { display: flex; flex-direction: column; gap: 8px; }
.v-pay-pk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--ui-border); border-radius: 12px; }
.v-pay-pk.is-on { border-color: var(--ui-primary); background: var(--ui-primary-soft); }
.v-pay-pk > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.v-pay-pk small { font-size: 12px; }
.v-pay-amt { display: flex; align-items: center; gap: 8px; }
.v-pay-amt input { width: 120px; height: 36px; padding: 0 10px; border: 1px solid var(--ui-input-border); border-radius: var(--ui-radius-control); font: inherit; background: var(--ui-panel); color: var(--ui-text); box-sizing: border-box; }
.v-pay-over { grid-column: 1 / -1; color: var(--ui-warning); font-size: 12px; }
.v-link-btn { border: 0; background: none; padding: 0; color: var(--ui-primary); font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.v-pay-new { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 10px; align-items: end; padding: 12px; border: 1px dashed var(--ui-input-border); border-radius: 12px; background: var(--ui-neutral-bg); }
.v-pay-new-title { grid-column: 1 / -1; font-size: 13px; }
.v-pay-new > small, .v-pay-new > .v-link-btn { grid-column: span 2; }
.v-pay-new > .v-link-btn { justify-self: end; }
@media (max-width: 760px) { .v-pay-new { grid-template-columns: 1fr 1fr; } }
.v-pay-add { align-self: flex-start; }
.v-pay-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0 auto 0 0; font-size: 13px; min-width: 0; }
.v-pay-drawer .ui-overlay-footer, .v-pay-drawer footer { flex-wrap: wrap; }
.v-pay-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.v-pay-pending { display: flex; flex-direction: column; gap: 12px; }
.v-pay-baltab { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.v-pay-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.v-pay-balance, .v-pay-debt { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius-panel); background: var(--ui-panel); }
.v-pay-debt { flex-direction: row; flex-wrap: wrap; align-items: center; border-color: var(--ui-error); background: var(--ui-error-bg); }
.v-pay-debt strong { font-size: 20px; color: var(--ui-error); }
.v-pay-balance-top { display: flex; align-items: baseline; gap: 10px; }
.v-pay-balance-top strong { font-size: 22px; }
.v-pay-ledger summary { cursor: pointer; font-size: 13px; color: var(--ui-muted); }
.v-pay-ledger ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.v-pay-reverse { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 12px; }
.v-roster-row.is-debt .v-num.is-bad { color: var(--ui-warning); }
.v-debt-note { color: var(--ui-warning); font-size: 12px; }
.v-debt-note.is-bad { color: var(--ui-error); }
.v-pay-drawer .v-pay-sum { flex: 1 0 100%; margin: 0 0 4px; }
.v-pay-alloc { display: flex; flex-direction: column; gap: 8px; }
.v-pay-strip { align-items: flex-start; }
.v-pay-debt { flex: 0 1 auto; }

/* 周课表的周切换和筛选放进顶栏下那一行；本周范围和统计在标题旁。 */
.v-toolbar .b-calendar-toolbar.is-in-bar { gap: 10px; }
.v-head-sub .calendar-range { font-size: 14px; font-weight: 600; color: var(--ui-text); margin: 0 10px 0 0; }
.v-head-sub .calendar-stats { margin: 0; }
.b-calendar-page { gap: 12px; }
.b-course.lanes-2 .b-course-room, .b-course.lanes-3 .b-course-room { display: none; }
/* 顶栏下的按钮行收紧（原来连同页面上边距约 106px 高）。 */
.v-toolbar .b-calendar-toolbar { margin: 0; align-items: center; }
.v-toolbar .calendar-date-nav .ui-button,
.v-toolbar .calendar-date-nav .ui-button .ui-button-face { min-height: 36px; }
.v-toolbar .calendar-view-tabs .ui-button .ui-button-face { min-height: 30px; }
.v-toolbar .calendar-filters button { min-height: 36px; }
.v-toolbar .calendar-range { font-size: 15px; }
@media (min-width: 761px) {
  .v-toolbar { padding-top: 12px; }
  .v-toolbar:not([hidden]) + .v-content { padding-top: 16px; }
}
.v-toolbar .calendar-view-tabs .ui-button,
.v-toolbar .calendar-date-nav .ui-button { min-height: 0; }
.v-toolbar-left > .b-calendar-toolbar { padding: 0; margin: 0; border: 0; background: none; }
.v-toolbar .b-calendar-toolbar > .calendar-filters { margin: 0; }
/* 排课选学员：搜索 + 已选姓名卡片 + 按班级 / 课程一键加入 */
.v-spick { border: 0; margin: 0; padding: 16px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; grid-column: 1 / -1; }
.v-spick > legend { display: flex; align-items: baseline; gap: 10px; padding: 0; font-size: 13px; font-weight: 600; color: var(--ui-primary); }
.v-spick-count { font-weight: 400; color: var(--ui-muted); font-size: 12px; }
.v-spick-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: relative; }
.v-spick-search { position: relative; flex: 1 1 220px; min-width: 0; }
.v-spick-search input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px; border: 1px solid var(--ui-input-border); border-radius: var(--ui-radius-control); font: inherit; background: var(--ui-panel); color: var(--ui-text); }
.v-spick-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--ui-panel); border: 1px solid var(--ui-border); border-radius: 12px; box-shadow: var(--ui-shadow-panel, 0 8px 24px rgb(30 26 38 / 12%)); max-height: 280px; overflow: auto; }
.v-spick-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.v-spick-list li[aria-selected="true"] { color: var(--ui-primary); font-weight: 600; }
@media (hover: hover) { .v-spick-list li[role="option"]:hover { background: var(--ui-primary-soft); } }
.v-spick-quick { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.v-spick-cards { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; align-items: center; }
.v-spick-card { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 4px 0 10px; border-radius: 8px; background: var(--ui-primary-soft); color: var(--ui-primary); font-size: 13px; font-weight: 500; max-width: 100%; }
.v-spick-card > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-spick-card button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .v-spick-card button:hover { background: rgb(0 0 0 / 6%); } }
.v-force-row { padding: 10px 12px; border-radius: 10px; background: var(--ui-warning-bg); }
/* 侧边栏表单：底部按钮条贴住最底边，后面的内容不再从按钮下面露出来。 */
.ui-sheet-body:has(> form.v-std-form), .ui-sheet-body:has(> * > form.v-std-form) { padding-bottom: 0; }
/* 手工补课：加入已有课程 */
.v-mm-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-mm-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow: auto; }
.v-mm-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid var(--ui-border); border-radius: 12px; background: var(--ui-panel); color: var(--ui-text); font: inherit; text-align: left; cursor: pointer; }
.v-mm-card span { font-size: 13px; color: var(--ui-muted); }
.v-mm-card[aria-checked="true"] { border-color: var(--ui-primary); background: var(--ui-primary-soft); box-shadow: inset 0 0 0 1px var(--ui-primary); }
.ui-c1-drawer .ui-sheet-body > .v-pay-h { margin: 8px 0 0; }
/* 手机：上周 / 本周 / 下周 连成一组；课程卡片不再左右超出屏幕 */
.v-m-weeknav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 3px; border-radius: 12px; background: var(--ui-neutral-bg); }
.v-m-weeknav .ui-button { margin: 0; min-height: 36px; }
.v-m-weeknav .ui-button .ui-button-face { width: 100%; border: 0; background: transparent; min-height: 34px; font-size: 14px; }
.v-m-weeknav .ui-button:nth-child(2) .ui-button-face { background: var(--ui-panel); font-weight: 600; box-shadow: 0 1px 2px rgb(30 26 38 / 8%); }
.v-m-lesson { margin: 0; box-sizing: border-box; max-width: 100%; }
.v-search-field { position: relative; }
.v-search-field > .ui-icon, .v-search-field > svg { position: absolute; left: 12px; bottom: 12px; width: 18px; height: 18px; color: var(--ui-muted); pointer-events: none; }
.v-search-field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v-search-field input { padding-left: 38px; }
.personal-content > .v-m-lesson, .c3-personal .personal-content > .v-m-lesson { margin: 0; width: 100%; }
/* 筛选条统一字号：小块按钮、下拉、日期、搜索框都用 14px，高 36px。 */
:is(.v-fin-bar, .v-log-bar, .v-toolbar-left) :is(.ui-picker-trigger, .ui-control, select, input[type="search"]) { font-size: 14px; }
:is(.v-fin-bar, .v-log-bar, .v-toolbar-left) .v-filter-chip { font-size: 14px; height: 34px; }
:is(.v-fin-bar, .v-log-bar) :is(.ui-picker-trigger, .ui-control) { min-height: 36px; }

/* ---------- 今天页（设计稿 10）：接下来要做为主 ---------- */
.v-td-notice { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; background: var(--ui-warning-bg); border: 1px solid color-mix(in srgb, var(--ui-warning) 30%, transparent); font-size: 13px; min-width: 0; }
.v-td-notice-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-td-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .v-td-grid { grid-template-columns: minmax(0, 1fr); } }
.v-td-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v-td-main { padding-bottom: 6px; min-width: 0; }
.v-td-main > .v-panel-head { flex-wrap: wrap; gap: 10px; }
.v-td-who { margin-left: 6px; }
.v-td-types { padding: 0 20px 10px; flex-wrap: wrap; }
.v-td-group { display: flex; align-items: center; gap: 10px; padding: 8px 20px 6px; font-size: 12px; font-weight: 700; color: var(--ui-muted); letter-spacing: 0.04em; background: var(--ui-header); border-top: 1px solid var(--ui-divider); }
.v-td-group .v-link-btn { margin-left: auto; font-weight: 500; letter-spacing: 0; }
.v-td-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 20px; border-top: 1px solid var(--ui-divider); }
.v-td-row > .v-chip { justify-self: start; }
.v-td-text { min-width: 0; }
.v-td-text p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.v-td-text small { font-size: 12px; }
.v-td-ops { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.v-td-ops .ui-button { white-space: nowrap; }
@media (max-width: 760px) {
  .v-td-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 16px; }
  .v-td-ops { justify-content: flex-start; }
  .v-td-ops .ui-button { flex: 1; }
  .v-td-types { padding: 0 16px 10px; }
  .v-td-group { padding: 8px 16px 6px; }
}
.v-td-inline { margin: 0 20px 12px; padding: 12px 14px; border: 1px solid var(--ui-primary); border-radius: 12px; background: var(--ui-primary-soft); display: flex; flex-direction: column; gap: 10px; }
.v-td-inline-title { margin: 0; font-size: 13px; font-weight: 700; }
.v-td-inline textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--ui-input-border); border-radius: var(--ui-radius-control); padding: 8px 10px; font: inherit; background: var(--ui-panel); color: var(--ui-text); }
.v-td-inline-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v-td-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v-td-chip { height: 30px; padding: 0 10px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-panel); color: var(--ui-text); font: inherit; font-size: 13px; cursor: pointer; }
.v-td-chip[aria-pressed="true"] { border-color: var(--ui-primary); color: var(--ui-primary); font-weight: 600; background: var(--ui-panel); box-shadow: inset 0 0 0 1px var(--ui-primary); }
.v-td-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-td-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius-panel); background: var(--ui-panel); font: inherit; color: var(--ui-text); text-align: left; cursor: pointer; min-width: 0; }
.v-td-metric span { font-size: 12px; }
.v-td-metric strong { font-size: 22px; line-height: 1.2; }
.v-td-metric small { font-size: 12px; color: var(--ui-muted); }
.v-td-lessons .v-panel-head, .v-td-msgs .v-panel-head { padding-bottom: 4px; }
.v-td-lesson { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; padding: 8px 16px; border: 0; border-top: 1px solid var(--ui-divider); background: none; font: inherit; font-size: 13px; color: var(--ui-text); text-align: left; cursor: pointer; }
.v-td-lesson time { font-weight: 600; font-variant-numeric: tabular-nums; }
.v-td-lesson.is-late time { color: var(--ui-error); }
.v-td-lesson-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .v-td-lesson:hover { background: var(--ui-header); } }
.v-td-now { padding: 6px 16px; font-size: 12px; font-weight: 600; color: var(--ui-primary); background: var(--ui-primary-soft); border-top: 1px solid var(--ui-divider); }
.v-td-msg { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--ui-divider); font-size: 13px; }
.v-td-msg strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .v-td-ops .ui-button.v-link { flex: none; }
  .v-td-ops { justify-content: space-between; }
  .v-td-ops .ui-button:not(.v-link) { flex: 0 1 160px; }
  .v-td-main .v-panel-head { padding-inline: 16px; }
  .v-td-inline { margin: 0 12px 12px; }
}

.v-head .v-create > .ui-button.ui-button--primary svg {
  color: #fff;
  opacity: 1;
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

@media (max-width: 760px) {
  .v-head-title {
    flex: 1 1 0;
    min-width: 0;
  }
  .v-head-title h1,
  .v-head-sub {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .v-head-tools {
    display: contents;
  }
  .v-head .v-search-toggle,
  .v-head .v-create {
    order: 1;
    flex: none;
    margin: 0;
  }
  .v-frame.v-search-open .v-head .v-search {
    order: 2;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .v-head .v-search input {
    min-width: 0;
    width: 100%;
  }
  .v-head-tabs {
    order: 3;
  }
  .v-toolbar > .v-head-actions {
    width: 100%;
    margin: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .v-toolbar > .v-head-actions .ui-button,
  .v-toolbar > .v-head-actions .ui-button-face,
  .v-toolbar > .v-head-actions .ui-menu-holder {
    width: 100%;
  }
  .v-frame[data-route="schedule-week"] .v-head-actions {
    position: fixed;
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 15;
    width: auto;
    order: 0;
  }
  .v-fab {
    filter: drop-shadow(0 6px 14px rgb(43 76 126 / 35%));
  }
  .v-fab .ui-button-face {
    width: 52px;
    height: 52px;
    border-radius: 26px;
  }
}

.v-frame.is-refreshing::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 38%;
  height: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--ui-primary);
  z-index: 70;
  animation: v-loadbar 1.1s ease-in-out infinite;
}
@keyframes v-loadbar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(270%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .v-frame.is-refreshing::before {
    animation: none;
    width: 100%;
    opacity: 0.5;
  }
}

.v-spick-input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ui-input-border);
  border-radius: var(--ui-radius-control);
  font: inherit;
  background: var(--ui-panel);
  color: var(--ui-text);
}
.v-spick-meta {
  font-size: 12px;
}
.v-spick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding: 2px;
}
@media (max-width: 760px) {
  .v-spick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 46vh;
  }
}
.v-spick-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  padding: 5px 9px;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: var(--ui-panel);
  color: var(--ui-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.v-spick-tile[hidden] {
  display: none;
}
.v-spick-tile.is-on {
  background: var(--ui-primary-soft);
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 1px var(--ui-primary);
}
.v-spick-av {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
  font-size: 13px;
  font-weight: 700;
}
.v-spick-tile.is-on .v-spick-av {
  background: var(--ui-primary);
  color: #fff;
}
.v-spick-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.v-spick-clear {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ui-primary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.v-spick-empty[hidden] {
  display: none;
}

/* ---------- 手机：卡片时间表（位置全部用类名，不写行内样式） ---------- */
.vg-cols1{grid-template-columns:44px repeat(1,minmax(112px,1fr))}
.vg-cols2{grid-template-columns:44px repeat(2,minmax(112px,1fr))}
.vg-cols3{grid-template-columns:44px repeat(3,minmax(112px,1fr))}
.vg-cols4{grid-template-columns:44px repeat(4,minmax(112px,1fr))}
.vg-cols5{grid-template-columns:44px repeat(5,minmax(112px,1fr))}
.vg-cols6{grid-template-columns:44px repeat(6,minmax(112px,1fr))}
.vg-cols7{grid-template-columns:44px repeat(7,minmax(112px,1fr))}
.vg-cols8{grid-template-columns:44px repeat(8,minmax(112px,1fr))}
.vg-cols9{grid-template-columns:44px repeat(9,minmax(112px,1fr))}
.vg-cols10{grid-template-columns:44px repeat(10,minmax(112px,1fr))}
.vg-cols11{grid-template-columns:44px repeat(11,minmax(112px,1fr))}
.vg-cols12{grid-template-columns:44px repeat(12,minmax(112px,1fr))}
.vg-q1{grid-template-rows:32px repeat(1,20px)}
.vg-q2{grid-template-rows:32px repeat(2,20px)}
.vg-q3{grid-template-rows:32px repeat(3,20px)}
.vg-q4{grid-template-rows:32px repeat(4,20px)}
.vg-q5{grid-template-rows:32px repeat(5,20px)}
.vg-q6{grid-template-rows:32px repeat(6,20px)}
.vg-q7{grid-template-rows:32px repeat(7,20px)}
.vg-q8{grid-template-rows:32px repeat(8,20px)}
.vg-q9{grid-template-rows:32px repeat(9,20px)}
.vg-q10{grid-template-rows:32px repeat(10,20px)}
.vg-q11{grid-template-rows:32px repeat(11,20px)}
.vg-q12{grid-template-rows:32px repeat(12,20px)}
.vg-q13{grid-template-rows:32px repeat(13,20px)}
.vg-q14{grid-template-rows:32px repeat(14,20px)}
.vg-q15{grid-template-rows:32px repeat(15,20px)}
.vg-q16{grid-template-rows:32px repeat(16,20px)}
.vg-q17{grid-template-rows:32px repeat(17,20px)}
.vg-q18{grid-template-rows:32px repeat(18,20px)}
.vg-q19{grid-template-rows:32px repeat(19,20px)}
.vg-q20{grid-template-rows:32px repeat(20,20px)}
.vg-q21{grid-template-rows:32px repeat(21,20px)}
.vg-q22{grid-template-rows:32px repeat(22,20px)}
.vg-q23{grid-template-rows:32px repeat(23,20px)}
.vg-q24{grid-template-rows:32px repeat(24,20px)}
.vg-q25{grid-template-rows:32px repeat(25,20px)}
.vg-q26{grid-template-rows:32px repeat(26,20px)}
.vg-q27{grid-template-rows:32px repeat(27,20px)}
.vg-q28{grid-template-rows:32px repeat(28,20px)}
.vg-q29{grid-template-rows:32px repeat(29,20px)}
.vg-q30{grid-template-rows:32px repeat(30,20px)}
.vg-q31{grid-template-rows:32px repeat(31,20px)}
.vg-q32{grid-template-rows:32px repeat(32,20px)}
.vg-q33{grid-template-rows:32px repeat(33,20px)}
.vg-q34{grid-template-rows:32px repeat(34,20px)}
.vg-q35{grid-template-rows:32px repeat(35,20px)}
.vg-q36{grid-template-rows:32px repeat(36,20px)}
.vg-q37{grid-template-rows:32px repeat(37,20px)}
.vg-q38{grid-template-rows:32px repeat(38,20px)}
.vg-q39{grid-template-rows:32px repeat(39,20px)}
.vg-q40{grid-template-rows:32px repeat(40,20px)}
.vg-q41{grid-template-rows:32px repeat(41,20px)}
.vg-q42{grid-template-rows:32px repeat(42,20px)}
.vg-q43{grid-template-rows:32px repeat(43,20px)}
.vg-q44{grid-template-rows:32px repeat(44,20px)}
.vg-q45{grid-template-rows:32px repeat(45,20px)}
.vg-q46{grid-template-rows:32px repeat(46,20px)}
.vg-q47{grid-template-rows:32px repeat(47,20px)}
.vg-q48{grid-template-rows:32px repeat(48,20px)}
.vg-q49{grid-template-rows:32px repeat(49,20px)}
.vg-q50{grid-template-rows:32px repeat(50,20px)}
.vg-q51{grid-template-rows:32px repeat(51,20px)}
.vg-q52{grid-template-rows:32px repeat(52,20px)}
.vg-q53{grid-template-rows:32px repeat(53,20px)}
.vg-q54{grid-template-rows:32px repeat(54,20px)}
.vg-q55{grid-template-rows:32px repeat(55,20px)}
.vg-q56{grid-template-rows:32px repeat(56,20px)}
.vg-q57{grid-template-rows:32px repeat(57,20px)}
.vg-q58{grid-template-rows:32px repeat(58,20px)}
.vg-q59{grid-template-rows:32px repeat(59,20px)}
.vg-q60{grid-template-rows:32px repeat(60,20px)}
.vg-q61{grid-template-rows:32px repeat(61,20px)}
.vg-q62{grid-template-rows:32px repeat(62,20px)}
.vg-q63{grid-template-rows:32px repeat(63,20px)}
.vg-q64{grid-template-rows:32px repeat(64,20px)}
.vg-q65{grid-template-rows:32px repeat(65,20px)}
.vg-q66{grid-template-rows:32px repeat(66,20px)}
.vg-q67{grid-template-rows:32px repeat(67,20px)}
.vg-q68{grid-template-rows:32px repeat(68,20px)}
.vg-q69{grid-template-rows:32px repeat(69,20px)}
.vg-q70{grid-template-rows:32px repeat(70,20px)}
.vg-q71{grid-template-rows:32px repeat(71,20px)}
.vg-q72{grid-template-rows:32px repeat(72,20px)}
.vg-q73{grid-template-rows:32px repeat(73,20px)}
.vg-q74{grid-template-rows:32px repeat(74,20px)}
.vg-q75{grid-template-rows:32px repeat(75,20px)}
.vg-q76{grid-template-rows:32px repeat(76,20px)}
.vg-q77{grid-template-rows:32px repeat(77,20px)}
.vg-q78{grid-template-rows:32px repeat(78,20px)}
.vg-q79{grid-template-rows:32px repeat(79,20px)}
.vg-q80{grid-template-rows:32px repeat(80,20px)}
.vg-q81{grid-template-rows:32px repeat(81,20px)}
.vg-q82{grid-template-rows:32px repeat(82,20px)}
.vg-q83{grid-template-rows:32px repeat(83,20px)}
.vg-q84{grid-template-rows:32px repeat(84,20px)}
.vg-q85{grid-template-rows:32px repeat(85,20px)}
.vg-q86{grid-template-rows:32px repeat(86,20px)}
.vg-q87{grid-template-rows:32px repeat(87,20px)}
.vg-q88{grid-template-rows:32px repeat(88,20px)}
.vg-q89{grid-template-rows:32px repeat(89,20px)}
.vg-q90{grid-template-rows:32px repeat(90,20px)}
.vg-q91{grid-template-rows:32px repeat(91,20px)}
.vg-q92{grid-template-rows:32px repeat(92,20px)}
.vg-q93{grid-template-rows:32px repeat(93,20px)}
.vg-q94{grid-template-rows:32px repeat(94,20px)}
.vg-q95{grid-template-rows:32px repeat(95,20px)}
.vg-q96{grid-template-rows:32px repeat(96,20px)}
.vg-r2{grid-row-start:2}
.vg-r3{grid-row-start:3}
.vg-r4{grid-row-start:4}
.vg-r5{grid-row-start:5}
.vg-r6{grid-row-start:6}
.vg-r7{grid-row-start:7}
.vg-r8{grid-row-start:8}
.vg-r9{grid-row-start:9}
.vg-r10{grid-row-start:10}
.vg-r11{grid-row-start:11}
.vg-r12{grid-row-start:12}
.vg-r13{grid-row-start:13}
.vg-r14{grid-row-start:14}
.vg-r15{grid-row-start:15}
.vg-r16{grid-row-start:16}
.vg-r17{grid-row-start:17}
.vg-r18{grid-row-start:18}
.vg-r19{grid-row-start:19}
.vg-r20{grid-row-start:20}
.vg-r21{grid-row-start:21}
.vg-r22{grid-row-start:22}
.vg-r23{grid-row-start:23}
.vg-r24{grid-row-start:24}
.vg-r25{grid-row-start:25}
.vg-r26{grid-row-start:26}
.vg-r27{grid-row-start:27}
.vg-r28{grid-row-start:28}
.vg-r29{grid-row-start:29}
.vg-r30{grid-row-start:30}
.vg-r31{grid-row-start:31}
.vg-r32{grid-row-start:32}
.vg-r33{grid-row-start:33}
.vg-r34{grid-row-start:34}
.vg-r35{grid-row-start:35}
.vg-r36{grid-row-start:36}
.vg-r37{grid-row-start:37}
.vg-r38{grid-row-start:38}
.vg-r39{grid-row-start:39}
.vg-r40{grid-row-start:40}
.vg-r41{grid-row-start:41}
.vg-r42{grid-row-start:42}
.vg-r43{grid-row-start:43}
.vg-r44{grid-row-start:44}
.vg-r45{grid-row-start:45}
.vg-r46{grid-row-start:46}
.vg-r47{grid-row-start:47}
.vg-r48{grid-row-start:48}
.vg-r49{grid-row-start:49}
.vg-r50{grid-row-start:50}
.vg-r51{grid-row-start:51}
.vg-r52{grid-row-start:52}
.vg-r53{grid-row-start:53}
.vg-r54{grid-row-start:54}
.vg-r55{grid-row-start:55}
.vg-r56{grid-row-start:56}
.vg-r57{grid-row-start:57}
.vg-r58{grid-row-start:58}
.vg-r59{grid-row-start:59}
.vg-r60{grid-row-start:60}
.vg-r61{grid-row-start:61}
.vg-r62{grid-row-start:62}
.vg-r63{grid-row-start:63}
.vg-r64{grid-row-start:64}
.vg-r65{grid-row-start:65}
.vg-r66{grid-row-start:66}
.vg-r67{grid-row-start:67}
.vg-r68{grid-row-start:68}
.vg-r69{grid-row-start:69}
.vg-r70{grid-row-start:70}
.vg-r71{grid-row-start:71}
.vg-r72{grid-row-start:72}
.vg-r73{grid-row-start:73}
.vg-r74{grid-row-start:74}
.vg-r75{grid-row-start:75}
.vg-r76{grid-row-start:76}
.vg-r77{grid-row-start:77}
.vg-r78{grid-row-start:78}
.vg-r79{grid-row-start:79}
.vg-r80{grid-row-start:80}
.vg-r81{grid-row-start:81}
.vg-r82{grid-row-start:82}
.vg-r83{grid-row-start:83}
.vg-r84{grid-row-start:84}
.vg-r85{grid-row-start:85}
.vg-r86{grid-row-start:86}
.vg-r87{grid-row-start:87}
.vg-r88{grid-row-start:88}
.vg-r89{grid-row-start:89}
.vg-r90{grid-row-start:90}
.vg-r91{grid-row-start:91}
.vg-r92{grid-row-start:92}
.vg-r93{grid-row-start:93}
.vg-r94{grid-row-start:94}
.vg-r95{grid-row-start:95}
.vg-r96{grid-row-start:96}
.vg-r97{grid-row-start:97}
.vg-r98{grid-row-start:98}
.vg-r99{grid-row-start:99}
.vg-s1{grid-row-end:span 1}
.vg-s2{grid-row-end:span 2}
.vg-s3{grid-row-end:span 3}
.vg-s4{grid-row-end:span 4}
.vg-s5{grid-row-end:span 5}
.vg-s6{grid-row-end:span 6}
.vg-s7{grid-row-end:span 7}
.vg-s8{grid-row-end:span 8}
.vg-s9{grid-row-end:span 9}
.vg-s10{grid-row-end:span 10}
.vg-s11{grid-row-end:span 11}
.vg-s12{grid-row-end:span 12}
.vg-s13{grid-row-end:span 13}
.vg-s14{grid-row-end:span 14}
.vg-s15{grid-row-end:span 15}
.vg-s16{grid-row-end:span 16}
.vg-s17{grid-row-end:span 17}
.vg-s18{grid-row-end:span 18}
.vg-s19{grid-row-end:span 19}
.vg-s20{grid-row-end:span 20}
.vg-s21{grid-row-end:span 21}
.vg-s22{grid-row-end:span 22}
.vg-s23{grid-row-end:span 23}
.vg-s24{grid-row-end:span 24}
.vg-c2{grid-column:2}
.vg-c3{grid-column:3}
.vg-c4{grid-column:4}
.vg-c5{grid-column:5}
.vg-c6{grid-column:6}
.vg-c7{grid-column:7}
.vg-c8{grid-column:8}
.vg-c9{grid-column:9}
.vg-c10{grid-column:10}
.vg-c11{grid-column:11}
.vg-c12{grid-column:12}
.vg-c13{grid-column:13}
.vg-c14{grid-column:14}
.vg-end{grid-row-end:-1}
.v-phone-bar{display:flex;align-items:center;gap:10px;min-width:0;margin:10px 0}
.v-phone-bar .v-chips-row{flex:1;min-width:0}
.v-grid-wrap{overflow:auto;max-height:calc(100dvh - 300px);border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-panel);-webkit-overflow-scrolling:touch}
.v-grid{display:grid;width:max-content;min-width:100%}
.v-grid-corner{grid-row:1;grid-column:1;position:sticky;top:0;left:0;z-index:4;background:var(--ui-panel);border-bottom:1px solid var(--ui-border)}
.v-grid-head{grid-row:1;position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:0 6px;background:var(--ui-panel);border-bottom:1px solid var(--ui-border);border-left:1px solid var(--ui-border);font-size:13px;font-weight:600;white-space:nowrap}
.v-grid-time{grid-column:1;position:sticky;left:0;z-index:2;padding:2px 4px;background:var(--ui-panel);border-top:1px solid var(--ui-border);font-size:11px;color:var(--ui-muted);font-variant-numeric:tabular-nums}
.v-grid-col{border-left:1px solid var(--ui-border);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 79px,var(--ui-border) 79px,var(--ui-border) 80px)}
.v-grid-card{position:relative;z-index:1;display:flex;flex-direction:column;gap:1px;min-width:0;margin:1px 3px;padding:3px 6px;overflow:hidden;border:0;border-left:3px solid var(--v-cat);border-radius:8px;background:var(--v-cat-soft);color:var(--v-cat-text);font:inherit;text-align:left}
.v-grid-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.v-grid-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;opacity:.85}
.v-grid-card em{font-style:normal;font-size:10px;font-weight:600}
.v-grid-card.is-late{border-left-color:var(--ui-error)}
.v-grid-card.is-late em{color:var(--ui-error)}
.v-grid-card.is-done,.v-grid-card.is-off{opacity:.6}


@media (max-width: 760px) {
  .v-tp-board {
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .v-td-main {
    padding: 12px 0 4px;
  }
  .v-td-main > .v-panel-head {
    padding: 0 16px 10px;
  }
  .v-td-types {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .v-td-types .v-filter-chip {
    flex: none;
    height: 34px;
  }
  .v-td-row {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 6px;
  }
  .v-td-row > .v-td-ops {
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 16px;
  }
  .v-td-ops .ui-button:not(.v-link) {
    flex: none;
    min-width: 88px;
  }
}

@media (max-width: 760px) {
  .v-content .ui-button,
  .v-content .ui-button .ui-button-face {
    min-height: 32px;
  }
}

@media (max-width: 760px) {
  .ui-table--responsive tr {
    padding: 6px 0;
  }
  .ui-table--responsive td {
    padding: 4px 14px;
    min-height: 0;
    height: auto;
  }
  .ui-table--responsive .ui-cell-body {
    min-height: 0;
    gap: 2px 8px;
  }
}

.v-sweek {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.v-sweek-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.v-sweek-range {
  font-size: 15px;
}
.v-sweek-view {
  min-width: 0;
}
.v-sweek-view .v-grid-wrap {
  max-height: 640px;
}
.v-sweek-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-sweek-rule {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  background: var(--ui-panel);
  font-size: 13px;
}
@media (max-width: 760px) {
  .v-sweek-rule {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .v-sweek-view .v-grid-wrap {
    max-height: calc(100dvh - 320px);
  }
}
.v-ss-head {
  margin-bottom: 14px;
}
.v-ss-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: var(--ui-panel);
}
.v-ss-form .v-spick {
  padding: 0;
}
.v-sweek-view .v-grid{width:100%;min-width:700px}
.v-sweek-view .v-grid.vg-cols7{grid-template-columns:44px repeat(7,minmax(0,1fr))}
.v-fin-block{flex-basis:100%;margin-top:10px;padding:12px 14px;border-radius:10px;background:var(--ui-warning-bg);color:var(--ui-warning);display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.v-fin-block ul{margin:0;padding-left:18px;font-size:13px;line-height:1.7}
.v-fin-block-title{margin:0;font-weight:600}
.v-fin-banner:has(.v-fin-block){flex-wrap:wrap}
.v-td-notice-slot{display:contents}
/* 推广详情打开中的占位 */
.v-skel { display: block; background: var(--ui-divider); border-radius: 12px; animation: ui-pulse 1200ms ease-in-out infinite alternate; }
.v-skel-long { height: 560px; max-height: 70vh; }
.v-skel-side { height: 260px; }
/* 排课表单：实时冲突预查 */
.v-live-check { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.6; }
.v-live-check:empty { display: none; }
.v-live-check.is-wait { background: var(--ui-neutral-bg); color: var(--ui-neutral); }
.v-live-check.is-ok { background: var(--ui-success-bg); color: var(--ui-success); }
.v-live-check.is-bad { background: var(--ui-error-bg); color: var(--ui-error); }
.v-live-check ul { margin: 0; padding-left: 18px; }
.v-live-check.is-stale { opacity: .55; }
.v-live-check { transition: opacity .15s ease; }
.v-mkp-verdict.is-stale, .v-mkp-fixes.is-stale { opacity: .55; transition: opacity .15s ease; }
.v-mkp-verdict, .v-mkp-fixes { transition: opacity .15s ease; }
/* 二级菜单：选中横线滑动（只用 transform）。横线基准宽 100px，按选中项宽度缩放。 */
.v-head-tabs { position: relative; }
.v-head-tabs > .v-tab-ink { position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--ui-primary); transform-origin: 0 50%; pointer-events: none; transition: transform var(--ui-duration-panel) var(--ui-ease-enter); }
.v-head-tabs > .v-tab-ink.is-instant { transition: none; }
.v-head-tabs > .v-tab-ink.is-hidden { opacity: 0; }
.v-head-tabs.has-ink .ui-button[aria-current="page"] .ui-button-face { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .v-head-tabs > .v-tab-ink { transition: none; } }
/* 页面切换：旧页面变淡等待，新页面淡入（只用 opacity / transform）。 */
.v-content > .v-leaving { opacity: .5; transition: opacity .15s ease .12s; }
.v-body.v-enter { animation: v-enter var(--ui-duration-page) var(--ui-ease-enter); }
@keyframes v-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .v-body.v-enter { animation: ui-fade var(--ui-duration-micro) linear; }
  .v-content > .v-leaving { transition: none; }
}
/* 同页内换内容（换学员、筛选列表、换分页）：新内容淡入，等待时旧内容变淡。 */
.v-split > .v-detail, .v-list-rows, .v-tab-body { animation: ui-fade var(--ui-duration-micro) var(--ui-ease-enter); }
.v-pr-poster-img > img, .v-pr-long, .v-pr-thumb > img { animation: ui-fade var(--ui-duration-page) var(--ui-ease-enter); }
