/* Draft: one proposal awaiting a decision. */

.draft {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.draft:first-child { border-top: 0; }

.draft__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--photo-placeholder);
}

.draft__body { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

/* The slot line says which publication these words were written for. It sits
   above the text rather than beside the actions: it is what the merchant reads
   BEFORE deciding, not a detail they check afterwards. */
.draft__slot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.draft__when {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.draft__theme,
.slot__theme {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 2rem;
}

/* Slots: the coming publications no proposal covers yet. */

.slots { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }

.slots__head {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.slot:first-of-type { border-top: 0; }

.slot__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.slot__when { font-size: 0.9375rem; color: var(--ink); }

/* The badge marks a text a human rewrote, so their own words are never
   mistaken for the generated ones. */
.draft__badge {
  align-self: start;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2rem;
}

.draft__caption { display: flex; flex-direction: column; gap: 0.25rem; }

.draft__channel {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.draft__text { margin: 0; font-size: 1rem; line-height: 1.55; }

.draft__hashtags { margin: 0; font-size: 0.875rem; color: var(--ink-muted); }

.draft__actions { display: flex; gap: 0.5rem; margin-top: 0.25rem; }

.draft__edit { margin-top: 0.25rem; }

.draft__edit-toggle {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.draft__edit-toggle:hover { color: var(--accent); }

.draft__edit-form { margin-top: 1rem; gap: 1rem; }
