/* BAND-000981 platform copy: per-target drafting surface. */

.platform-copy-grid {
  display: grid;
  gap: var(--space-2);
}


.platform-copy-surface > h3 {
  margin: 0 0 var(--space-1-5);
}

.platform-copy-surface label {
  display: block;
  margin-top: var(--space-1-5);
  font-size: var(--font-size-md);
}

.platform-copy-surface textarea,
.platform-copy-surface input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

.platform-copy-state {
  font-weight: var(--font-weight-semibold);
}

/* The gate's verdict is the loudest thing on the card. "Not approved" and
   "approval invalidated by an edit" must never look like "ready to publish". */
.platform-copy-state[data-platform-copy-approval="approved"] {
  color: var(--color-success);
}

.platform-copy-state[data-platform-copy-approval="unapproved"],
.platform-copy-state[data-platform-copy-approval="stale"] {
  color: var(--color-warning);
}

/* The text to publish is prose, so it is set in the UI face, never the mono one, which the brand
   keeps for codes and raw data (Velanum.Brand TYPOGRAPHY.md, "Monospace"); a long link wraps
   rather than cutting words. */
.platform-copy-preview {
  font-size: var(--font-size-sm);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.platform-copy-provenance {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
