/* === 29-settings-automation.css ===
   自动化子页:运行中 / 已暂停 / 已取消 tab 筛选条 + 已取消卡片弱化。
   卡片本体沿用 09-settings.css 的 .platform-card / .schedule-* 样式,本分片只加增量。 */

.automation-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.automation-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transit-fast), color var(--transit-fast), border-color var(--transit-fast);
}
.automation-tab:hover { background: var(--bg-hover); color: var(--text-main); }
.automation-tab.is-active {
  background: var(--brand-bg-light);
  border-color: var(--brand-border);
  color: var(--text-main);
  font-weight: 600;
}
.automation-tab-count {
  font-size: 11px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--bg-active);
  color: var(--text-muted);
}
.automation-tab.is-active .automation-tab-count {
  background: var(--brand-bg);
  color: var(--brand-primary);
}

/* 已取消卡片:整体弱化,只读历史 */
.schedule-card.is-cancelled { opacity: 0.62; }
.schedule-card.is-cancelled .schedule-name { color: var(--text-muted); }
