.automation-page .automation-workspace { min-width: 0; }
.automation-page .automation-workspace-panel { display: grid; gap: 16px; min-width: 0; }
.automation-page .automation-workspace-panel[hidden] { display: none; }
.automation-page .automation-workspace-muted {
  color: var(--enh-muted, var(--text-secondary, #64748b));
  font-size: .875rem;
  margin: 8px 0;
}
.automation-page .automation-workspace-freshness { margin: 0 0 14px; }
.automation-page .automation-workspace-list-heading { margin: 0; flex-wrap: wrap; }
.automation-page .automation-workspace-list-heading h2 { color: var(--enh-ink, var(--text-primary, currentColor)); }
.automation-page .automation-card-actions .automation-ghost-button { background: var(--enh-surface, #f8fafc); color: var(--enh-ink, #1e293b); border-color: var(--enh-line, #dbeafe); box-shadow: none; }
.automation-page .automation-side-panel .automation-ghost-button { margin-top: 12px; }
.automation-page .automation-event details { margin-top: 8px; overflow-wrap: anywhere; }
.automation-page .automation-event summary { color: var(--enh-ink, currentColor); cursor: pointer; font-size: .8125rem; font-weight: 750; }
.automation-page .automation-workspace-confirm { box-shadow: none; color: var(--enh-ink, currentColor); }
.automation-page .automation-workspace-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.automation-page .automation-workspace-filters label { display: grid; gap: 5px; flex: 1 1 13rem; min-width: 0; font-size: .8125rem; font-weight: 800; color: var(--enh-ink, currentColor); }
.automation-page .automation-workspace-filters input,
.automation-page .automation-workspace-filters select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--enh-line, #cbd5e1);
  border-radius: 12px;
  background: var(--enh-surface, #f8fafc);
  color: var(--enh-ink, #1e293b);
  font: inherit;
}
.automation-page .automation-workspace-filters input::placeholder { color: var(--enh-muted, #64748b); }
.automation-page .automation-workspace :is(button, input, select, summary):focus-visible { outline: 2px solid var(--enh-accent, #7c3aed); outline-offset: 2px; }
.automation-page .automation-workspace :is(.automation-scheduler-list,.automation-timing-grid,.automation-metric-row) strong { white-space: normal; overflow-wrap: anywhere; }
.automation-page .automation-scheduler-list div > span { color: var(--enh-muted, #64748b); display: block; font-size: 12px; font-weight: 800; }
.automation-page .automation-header .automation-ghost-button:disabled { opacity: .75; cursor: wait; transform: none; }
@media (max-width: 760px) {
  .automation-page .automation-workspace :is(.automation-workspace-filters select, .automation-workspace-filters input, .automation-workspace-filters button) { min-height: 44px; }
  .automation-page .automation-workspace .automation-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .automation-page .automation-workspace .automation-kpi { align-items: start; grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
