/* Audit engagements IA 06/08, écart E3 — « Rédiger avec Auguste ».
   Feuille autonome (aucune variable de page) : le CTA vit dans le composeur
   d'offre ET dans les modales de décision, qui ont chacune leur propre palette
   scopée. Chargée par `content_for :head` sur les pages hôtes. */

.aug-draft { margin-top: 0.65rem; }

.aug-draft-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(180, 140, 35, 0.28);
  border-radius: 6px;
  background: rgba(180, 140, 35, 0.06);
  color: var(--gold-500);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, opacity 0.18s;
}
.aug-draft-btn:hover:not(:disabled) {
  background: rgba(180, 140, 35, 0.13);
  border-color: rgba(180, 140, 35, 0.45);
}
.aug-draft-btn:disabled { opacity: 0.55; cursor: progress; }

.aug-draft-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(60, 44, 10, 0.45);
  background: var(--gold-fill);
}

.aug-draft-status {
  margin-top: 0.45rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #7A7060;
}
.aug-draft-status[data-state="error"] { color: #A2402F; }
.aug-draft-status[data-state="done"] { color: #4B7A52; }

.aug-draft-hint {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: #9A9184;
}
