/* Super Admin -> AI Models catalog control page (super_admin/ai_models#index).
   Loaded globally via the :app glob (like every file here). Scoped by the aim-
   prefix so nothing bleeds onto other surfaces. Design tokens only — no raw
   colors beyond the shared variables. */

.aim-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
}

/* Rollout switch card: status + help on the left, the toggle on the right. */
.aim-switch {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.aim-switch-help {
  margin: 4px 0 0;
  font-size: 12px;
}

.aim-display-name {
  font-size: 11px;
}

.aim-shape {
  font-size: 11px;
  white-space: nowrap;
}

.aim-open-items {
  margin-bottom: 14px;
  font-size: 13px;
}

.aim-open-list {
  margin: 6px 0 0 1.25rem;
  padding: 0;
}

.aim-lastrun {
  margin-bottom: 14px;
  font-size: 13px;
}

.aim-lastrun-error {
  margin-top: 6px;
  color: var(--amber);
  font-size: 12px;
}

.aim-seen {
  font-size: 11px;
  white-space: nowrap;
}

/* Compact per-row edit form living in the last table cell. Wraps to keep the
   controls readable at narrow widths. */
.aim-edit-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
}

.aim-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.aim-default-set {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  text-transform: none;
  font-weight: 600;
  padding-bottom: 4px;
}

.aim-edit-form .form-control {
  padding: 4px 8px;
  font-size: 12px;
}

.aim-status { width: 140px; }
.aim-forced { width: 110px; }
.aim-successor { width: 210px; }
.aim-sort { width: 70px; }
.aim-notes { width: 220px; }

.aim-empty {
  color: var(--muted);
  padding: 1rem;
}

.aim-footnote {
  margin-top: 1rem;
  font-size: 12px;
}
