/* ====== 日程系统专属样式 ====== */
.sch-tab-item {
  flex: 1; text-align: center; padding: 8px 0; font-size: 14px; font-weight: 500;
  color: var(--gm); cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s;
}
.sch-tab-item.active { color: var(--blue); border-bottom-color: var(--blue); }

.sch-card { background: var(--card); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.sch-card-header { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: .5px solid var(--gl); }
.sch-card-title { font-size: 15px; font-weight: 600; }
.sch-card-desc { font-size: 12px; color: var(--gm); margin-top: 2px; }

.sch-gen-btn {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #007AFF, #5856D6);
  color: white; border: none; border-radius: 14px; font-size: 16px; font-weight: 600;
  cursor: pointer; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sch-gen-btn:active { opacity: .85; }
.sch-gen-btn.loading { opacity: .7; }

.sch-slot-list { padding: 0 16px 8px; }
.sch-slot-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: .5px solid var(--bg); }
.sch-slot-item:last-child { border-bottom: none; }
.sch-slot-time { font-size: 13px; color: var(--gm); width: 96px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.sch-slot-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sch-dot-online { background: #34C759; }
.sch-dot-busy { background: #FF9500; }
.sch-dot-away { background: #FFD60A; }
.sch-dot-offline { background: #8E8E93; }
.sch-slot-info { flex: 1; min-width: 0; }
.sch-slot-activity { font-size: 15px; font-weight: 500; }
.sch-slot-status { font-size: 12px; color: var(--gm); margin-top: 2px; }
.sch-slot-actions { display: flex; gap: 6px; flex-shrink: 0; }
.sch-icon-btn { width: 30px; height: 30px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sch-btn-edit { background: rgba(0,122,255,.1); color: var(--blue); }
.sch-btn-del { background: rgba(255,59,48,.1); color: var(--red); }

.sch-add-btn { width: 100%; padding: 12px; background: transparent; border: 1.5px dashed var(--gm); border-radius: 12px; color: var(--gm); font-size: 15px; cursor: pointer; margin: 8px 0 16px; }
.sch-add-btn:active { background: var(--bg); }

.sch-week-tabs { display: flex; padding: 10px 16px; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sch-week-tabs::-webkit-scrollbar { display: none; }
.sch-week-tab { flex-shrink: 0; padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: 500; cursor: pointer; background: var(--bg); color: var(--gm); border: none; transition: all .2s; }
.sch-week-tab.active { background: var(--blue); color: white; }

.sch-course-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: .5px solid var(--bg); }
.sch-course-time { font-size: 12px; color: var(--gm); width: 80px; flex-shrink: 0; }
.sch-course-dot { width: 4px; height: 40px; border-radius: 2px; background: var(--blue); flex-shrink: 0; }
.sch-course-info { flex: 1; }
.sch-course-name { font-size: 15px; font-weight: 600; }
.sch-course-loc { font-size: 12px; color: var(--gm); margin-top: 3px; }

.sch-status-opt { padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--gl); font-size: 14px; cursor: pointer; background: var(--card); color: var(--b); }
.sch-status-opt.sel { border-color: var(--blue); background: rgba(0,122,255,.06); color: var(--blue); font-weight: 600; }
