.ai-workflow-card {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 1.55rem 1.6rem;
  border: 1px solid rgba(212, 162, 72, 0.22);
  background:
    radial-gradient(circle at top right, rgba(212, 162, 72, 0.09), transparent 34%),
    radial-gradient(circle at 12% 8%, rgba(20, 27, 38, 0.045), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(250,247,241,0.95));
  box-shadow: 0 24px 48px rgba(34, 28, 18, 0.08);
  overflow: hidden;
}

[data-theme="dark"] .ai-workflow-card {
  border-color: rgba(212, 162, 72, 0.3);
  background:
    radial-gradient(circle at top right, rgba(212, 162, 72, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(23, 30, 43, 0.96), rgba(17, 24, 38, 0.94));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.ai-workflow-card::after {
  content: '';
  position: absolute;
  inset: auto 1.4rem 0 1.4rem;
  height: 3px;
  background: linear-gradient(90deg, rgba(212, 162, 72, 0.1), rgba(212, 162, 72, 0.9), rgba(212, 162, 72, 0.1));
  opacity: 0.72;
}

.ai-workflow-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-workflow-atmosphere::before,
.ai-workflow-atmosphere::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  opacity: 0.55;
  filter: blur(0.5px);
}

.ai-workflow-atmosphere::before {
  top: -3rem;
  right: -3.5rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(212, 162, 72, 0.18), rgba(212, 162, 72, 0));
}

.ai-workflow-atmosphere::after {
  left: -4rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(24, 31, 45, 0.08), rgba(24, 31, 45, 0));
}

.ai-workflow-header {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.ai-workflow-stage-badge {
  width: fit-content;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ai-workflow-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 0.96;
  color: var(--text-main);
}

.ai-workflow-prompt {
  margin: 0;
  font-family: var(--garamond);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-main);
}

.ai-workflow-progress-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.ai-workflow-progress-step {
  display: grid;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(15, 18, 28, 0.08);
  background: rgba(255,255,255,0.62);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

[data-theme="dark"] .ai-workflow-progress-step {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.ai-workflow-progress-step.is-current {
  border-color: rgba(212, 162, 72, 0.46);
  background: rgba(212, 162, 72, 0.12);
  transform: translateY(-1px);
}

.ai-workflow-progress-step.is-complete {
  border-color: rgba(66, 168, 120, 0.28);
  background: rgba(66, 168, 120, 0.08);
}

.ai-workflow-progress-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(15, 18, 28, 0.16);
  box-shadow: 0 0 0 5px rgba(15, 18, 28, 0.04);
}

.ai-workflow-progress-step.is-current .ai-workflow-progress-dot {
  background: rgba(212, 162, 72, 0.95);
  box-shadow: 0 0 0 6px rgba(212, 162, 72, 0.12);
}

.ai-workflow-progress-step.is-complete .ai-workflow-progress-dot {
  background: rgba(66, 168, 120, 0.9);
  box-shadow: 0 0 0 6px rgba(66, 168, 120, 0.12);
}

.ai-workflow-progress-label {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ai-workflow-lead {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid rgba(212, 162, 72, 0.8);
  background: linear-gradient(90deg, rgba(212, 162, 72, 0.12), rgba(255,255,255,0.04));
  font-family: var(--garamond);
  font-size: 1rem;
  line-height: 1.58;
  color: var(--text-main);
}

.ai-workflow-body {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ai-workflow-meta {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.45);
}

[data-theme="dark"] .ai-workflow-meta {
  background: rgba(255,255,255,0.03);
}

.ai-workflow-meta-line {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.ai-workflow-meta-label {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.ai-workflow-meta-value {
  font-family: var(--garamond);
  font-size: 1rem;
  color: var(--text-main);
}

.ai-workflow-draft-grid {
  display: grid;
  gap: 0.95rem;
  align-items: start;
}

.ai-workflow-draft-grid.has-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-workflow-draft-option {
  display: grid;
  gap: 0.8rem;
  position: relative;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid rgba(15, 18, 28, 0.08);
  background: rgba(255,255,255,0.74);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.22,1,.36,1), opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

[data-theme="dark"] .ai-workflow-draft-option {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.ai-workflow-draft-option.is-selected {
  border-color: rgba(212, 162, 72, 0.55);
  box-shadow: 0 18px 34px rgba(212, 162, 72, 0.12);
  transform: translateY(-2px);
}

.ai-workflow-draft-option::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(212, 162, 72, 0.18), rgba(212, 162, 72, 0.88), rgba(212, 162, 72, 0.1));
  opacity: 0.7;
}

.ai-workflow-draft-option.is-recessive {
  opacity: 0.5;
  transform: translateY(10px) scale(0.975);
  filter: saturate(0.8);
}

.ai-workflow-draft-option.is-recessive::before {
  opacity: 0.18;
}

.ai-workflow-draft-option.is-rewritten::after {
  content: 'revision ready';
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  padding: 0.28rem 0.45rem;
  background: rgba(212, 162, 72, 0.12);
  border: 1px solid rgba(212, 162, 72, 0.28);
  font-family: var(--sans);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ai-workflow-draft-option.is-committed {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(248,244,235,0.86)),
    rgba(255,255,255,0.76);
}

.ai-workflow-option-header {
  display: grid;
  gap: 0.35rem;
}

.ai-workflow-option-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ai-workflow-option-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
}

.ai-workflow-option-descriptor {
  font-family: var(--garamond);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

.ai-workflow-option-pill-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.ai-workflow-option-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(15, 18, 28, 0.12);
  background: rgba(255,255,255,0.72);
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

[data-theme="dark"] .ai-workflow-option-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.ai-workflow-option-pill.is-selected-marker {
  border-color: rgba(212, 162, 72, 0.35);
  background: rgba(212, 162, 72, 0.14);
  color: var(--accent);
}

.ai-workflow-option-pill.is-muted-marker {
  opacity: 0.82;
}

.ai-workflow-option-body {
  display: grid;
  gap: 0.8rem;
  position: relative;
}

.ai-workflow-option-paragraph {
  margin: 0;
  font-family: var(--garamond);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-main);
}

.ai-workflow-option-actions,
.ai-workflow-footer-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ai-workflow-btn {
  appearance: none;
  border: 1px solid rgba(15, 18, 28, 0.16);
  background: rgba(255,255,255,0.78);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

[data-theme="dark"] .ai-workflow-btn {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.ai-workflow-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(212, 162, 72, 0.4);
  box-shadow: 0 12px 24px rgba(15, 18, 28, 0.08);
}

.ai-workflow-btn.is-primary {
  background: rgba(212, 162, 72, 0.18);
  border-color: rgba(212, 162, 72, 0.52);
  color: var(--accent);
}

.ai-workflow-btn.is-subtle {
  opacity: 0.86;
}

.ai-workflow-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.ai-workflow-transfer-note,
.ai-workflow-summary {
  font-family: var(--garamond);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
}

.ai-workflow-transfer-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(212, 162, 72, 0.85);
  background: rgba(212, 162, 72, 0.08);
}

.ai-workflow-sent-note {
  border-left-color: rgba(66, 168, 120, 0.88);
  background: linear-gradient(90deg, rgba(66, 168, 120, 0.12), rgba(255,255,255,0.04));
}

.ai-workflow-summary {
  color: var(--text-muted);
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(15, 18, 28, 0.12);
  background: rgba(255,255,255,0.42);
}

[data-theme="dark"] .ai-workflow-summary {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}

.ai-workflow-transfer-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(212, 162, 72, 0.18);
  background:
    linear-gradient(135deg, rgba(212, 162, 72, 0.08), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.58);
}

[data-theme="dark"] .ai-workflow-transfer-stage {
  background:
    linear-gradient(135deg, rgba(212, 162, 72, 0.08), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
}

.ai-workflow-transfer-stage.is-sent {
  border-color: rgba(66, 168, 120, 0.24);
  background:
    linear-gradient(135deg, rgba(66, 168, 120, 0.11), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.58);
}

.ai-workflow-transfer-preview,
.ai-workflow-composer-well {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 18, 28, 0.08);
  background: rgba(255,255,255,0.66);
}

[data-theme="dark"] .ai-workflow-transfer-preview,
[data-theme="dark"] .ai-workflow-composer-well {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.ai-workflow-transfer-kicker,
.ai-workflow-composer-kicker {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ai-workflow-transfer-title,
.ai-workflow-composer-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 0.96;
  color: var(--text-main);
}

.ai-workflow-transfer-body,
.ai-workflow-composer-body {
  margin: 0;
  font-family: var(--garamond);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-main);
}

.ai-workflow-transfer-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 72, 0.28);
  background: rgba(212, 162, 72, 0.12);
  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--accent);
}

.msg-wrapper.ai.is-entering .ai-workflow-card[data-workflow-animation="summon_draft_sheet"] {
  animation: aiWorkflowSummon 520ms cubic-bezier(.22,1,.36,1);
}

.msg-wrapper.ai.is-entering .ai-workflow-card[data-workflow-animation="summon_draft_sheet"] .ai-workflow-draft-option {
  opacity: 0;
  transform: translateY(18px) scale(0.986);
  animation: aiWorkflowOptionReveal 580ms cubic-bezier(.22,1,.36,1) forwards;
}

.msg-wrapper.ai.is-entering .ai-workflow-card[data-workflow-animation="summon_draft_sheet"] .ai-workflow-draft-option:nth-child(2) {
  animation-delay: 90ms;
}

.ai-workflow-card[data-workflow-animation="rewrite_swap"] .ai-workflow-draft-option.is-rewritten {
  animation: aiWorkflowRewritePulse 820ms cubic-bezier(.22,1,.36,1);
}

.ai-workflow-card[data-workflow-animation="discard_unselected"] .ai-workflow-draft-option.is-recessive {
  opacity: 0.42;
  transform: translateY(12px) scale(0.965);
  filter: saturate(0.7);
}

.ai-workflow-card[data-workflow-animation="flow_to_composer"] .ai-workflow-transfer-preview {
  animation: aiWorkflowComposerFlow 900ms cubic-bezier(.22,1,.36,1);
}

.ai-workflow-card[data-workflow-animation="flow_to_composer"] .ai-workflow-transfer-arrow {
  animation: aiWorkflowArrowPulse 900ms cubic-bezier(.22,1,.36,1);
}

.msg-wrapper.ai.is-entering .ai-workflow-card[data-workflow-animation="thread_condense"] {
  animation: aiWorkflowThreadCondense 560ms cubic-bezier(.22,1,.36,1);
}

.msg-wrapper.ai.is-entering .ai-workflow-card[data-workflow-animation="thread_condense"] .ai-workflow-transfer-stage.is-sent {
  animation: aiWorkflowThreadCondense 620ms cubic-bezier(.22,1,.36,1);
}

.mail-workflow-sent-strip {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.45rem;
  border: 1px solid rgba(66, 168, 120, 0.28);
  background: linear-gradient(90deg, rgba(66, 168, 120, 0.11), rgba(255,255,255,0.03));
  animation: aiWorkflowThreadCondense 460ms cubic-bezier(.22,1,.36,1);
}

.mail-workflow-sent-kicker {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--complete);
}

.mail-workflow-sent-body {
  font-family: var(--garamond);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-main);
}

.inbox-reader-content.is-workflow-condensed .editorial-body-content {
  opacity: 0.88;
  transition: opacity 260ms ease;
}

@keyframes aiWorkflowSummon {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aiWorkflowOptionReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.986);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.006);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aiWorkflowRewritePulse {
  0% {
    opacity: 0.74;
    filter: blur(1.5px);
    transform: translateY(1px) scale(0.992);
  }
  55% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-2px) scale(1);
  }
}

@keyframes aiWorkflowComposerFlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 18px 34px rgba(212, 162, 72, 0.12);
  }
  52% {
    transform: translate3d(24px, -10px, 0) scale(0.985);
    box-shadow: 0 22px 42px rgba(212, 162, 72, 0.18);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 18px 34px rgba(212, 162, 72, 0.12);
  }
}

@keyframes aiWorkflowArrowPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.92);
  }
  45% {
    opacity: 1;
    transform: translateX(3px) scale(1.06);
  }
  100% {
    opacity: 0.9;
    transform: translateX(0) scale(1);
  }
}

@keyframes aiWorkflowThreadCondense {
  from {
    opacity: 0.24;
    transform: translateY(16px) scale(0.992);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.004);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mock-draft-cinematic {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.75rem;
  padding: 1.7rem;
  border: 1px solid rgba(212, 162, 72, 0.18);
  background:
    radial-gradient(circle at top right, rgba(212, 162, 72, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,245,238,0.96));
  box-shadow: 0 24px 48px rgba(34, 28, 18, 0.08);
}

.mock-draft-cinematic__eyebrow {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-draft-cinematic__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 0.95;
  color: var(--text-main);
}

.mock-draft-cinematic__lead {
  max-width: 58rem;
  font-family: var(--garamond);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-main);
}

.mock-draft-cinematic__scene {
  position: relative;
  padding: 1rem 0 0.4rem;
}

.mock-draft-cinematic__thread {
  position: relative;
  min-height: 49rem;
  padding: 2.3rem 2.4rem 2rem;
  border: 1px solid rgba(15, 18, 28, 0.08);
  background: rgba(255,255,255,0.92);
  overflow: hidden;
}

.mock-draft-cinematic__thread-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(15, 18, 28, 0.12);
  background: rgba(248, 245, 238, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.mock-draft-cinematic__thread-summary.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mock-draft-cinematic__thread-summary-kicker,
.mock-draft-cinematic__meta-kicker {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-draft-cinematic__thread-summary-title,
.mock-draft-cinematic__meta-title {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
}

.mock-draft-cinematic__thread-summary-meta,
.mock-draft-cinematic__meta-date {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-draft-cinematic__thread-body {
  display: grid;
  gap: 1.3rem;
  padding-bottom: 2rem;
  transition: max-height 560ms cubic-bezier(.22,1,.36,1), opacity 360ms ease, transform 360ms ease, padding 360ms ease;
  max-height: 40rem;
  opacity: 1;
}

.mock-draft-cinematic__thread-body.is-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-bottom: 0;
  transform: translateY(-10px);
}

.mock-draft-cinematic__meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mock-draft-cinematic__subject {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  color: #111;
}

.mock-draft-cinematic__thread-paragraph,
.mock-draft-cinematic__composer-paragraph,
.mock-draft-cinematic__draft-paragraph,
.mock-draft-cinematic__draft-revision,
.mock-draft-cinematic__draft-strike,
.mock-draft-cinematic__transfer-body {
  margin: 0;
  font-family: var(--garamond);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--text-main);
}

.mock-draft-cinematic__composer {
  position: relative;
  width: 100%;
  margin-top: 2.2rem;
  border: 1px solid rgba(15, 18, 28, 0.14);
  background: rgba(247, 244, 237, 0.9);
  transition: border-color 360ms ease, box-shadow 360ms ease, background 360ms ease, transform 360ms ease;
}

.mock-draft-cinematic__composer.is-active {
  border-color: rgba(212, 162, 72, 0.45);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 20px 42px rgba(212, 162, 72, 0.12);
}

.mock-draft-cinematic__composer.is-sent {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.mock-draft-cinematic__composer-shell {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}

.mock-draft-cinematic__composer-placeholder {
  font-family: var(--garamond);
  font-size: 1.32rem;
  font-style: italic;
  color: var(--text-muted);
}

.mock-draft-cinematic__composer-placeholder.is-hidden {
  display: none;
}

.mock-draft-cinematic__composer-content {
  display: grid;
  gap: 0.9rem;
}

.mock-draft-cinematic__confirm {
  display: inline-flex;
  width: fit-content;
  padding: 0.48rem 0.9rem;
  border: 1px solid rgba(212, 162, 72, 0.55);
  background: transparent;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

.mock-draft-cinematic__confirm.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mock-draft-cinematic__sent-stamp {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(10px);
}

.mock-draft-cinematic__sent-stamp.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mock-draft-cinematic__transfer-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(212, 162, 72, 0.22);
  background: rgba(255,255,255,0.72);
}

.mock-draft-cinematic__transfer-preview {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 18, 28, 0.08);
  background: rgba(255,255,255,0.88);
}

.mock-draft-cinematic__transfer-preview.is-composer-target {
  background: rgba(248, 245, 238, 0.94);
}

.mock-draft-cinematic__transfer-kicker {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-draft-cinematic__transfer-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 0.98;
  color: var(--text-main);
}

.mock-draft-cinematic__transfer-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 162, 72, 0.32);
  background: rgba(212, 162, 72, 0.12);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 1.2rem;
}

.mock-draft-cinematic__vellum {
  position: absolute;
  top: 16%;
  right: -1rem;
  width: min(84%, 50rem);
  padding: 2rem 2.2rem;
  border: 1px solid rgba(15, 18, 28, 0.14);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 26px 52px rgba(34, 28, 18, 0.12);
}

.mock-draft-cinematic__vellum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-draft-cinematic__draft-columns {
  display: flex;
  gap: 2rem;
}

.mock-draft-cinematic__draft-option {
  position: relative;
  flex: 1;
  padding: 1rem 1.15rem 1rem;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  transition: flex 480ms cubic-bezier(.22,1,.36,1), opacity 320ms ease, transform 320ms ease, padding 320ms ease, border-color 220ms ease;
}

.mock-draft-cinematic__draft-option:hover {
  border-color: rgba(15, 18, 28, 0.12);
  background: rgba(248, 245, 238, 0.9);
}

.mock-draft-cinematic__draft-option.is-selected {
  cursor: default;
  transform: translateY(-2px);
}

.mock-draft-cinematic__draft-option.is-discarded {
  flex: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.mock-draft-cinematic__rewrite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.mock-draft-cinematic__draft-badge {
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-draft-cinematic__draft-typography {
  display: grid;
  gap: 0.7rem;
}

.mock-draft-cinematic__draft-strike {
  position: relative;
  display: inline-block;
  color: var(--text-main);
}

.mock-draft-cinematic__draft-strike-line {
  position: absolute;
  top: 55%;
  left: 0;
  width: 0;
  height: 2px;
  background: #d9381e;
  transition: width 520ms cubic-bezier(.22,1,.36,1);
}

.mock-draft-cinematic__draft-strike.is-struck {
  color: var(--text-muted);
}

.mock-draft-cinematic__draft-strike.is-struck .mock-draft-cinematic__draft-strike-line {
  width: 100%;
}

.mock-draft-cinematic__draft-revision {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-style: italic;
  transition: max-height 620ms cubic-bezier(.22,1,.36,1), opacity 420ms ease, margin 420ms ease;
}

.mock-draft-cinematic__draft-revision.is-visible {
  max-height: 8rem;
  opacity: 1;
}

.mock-draft-cinematic__action-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mock-draft-cinematic__action-pill {
  appearance: none;
  border: 1px solid rgba(15, 18, 28, 0.16);
  background: rgba(255,255,255,0.84);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.mock-draft-cinematic__action-pill.is-primary {
  border-color: rgba(212, 162, 72, 0.52);
  background: rgba(212, 162, 72, 0.16);
  color: var(--accent);
}

.mock-draft-spatial-hint {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(212, 162, 72, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(249,245,238,0.9));
}

.mock-draft-spatial-hint__eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.mock-draft-spatial-hint__title {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.05;
  color: var(--text-main);
}

.mock-draft-spatial-hint__body {
  margin: 0;
  font-family: var(--garamond);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
}

.mock-draft-workflow-overlay {
  display: none !important;
}

.pane.gen-pane.is-mock-cinematic-plunged {
  transform: translateZ(-200px) translateY(30px) scale(0.9) !important;
  filter: blur(8px) brightness(0.7) !important;
  pointer-events: none !important;
  opacity: 0.8;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease !important;
}

.pane.gen-pane.is-mock-attachment-cinematic-plunged {
  transform: translateZ(-200px) translateY(30px) scale(0.9) !important;
  filter: blur(12px) brightness(0.6) !important;
  pointer-events: none !important;
  opacity: 0.8;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease !important;
}

.home-orb-shell .chatbot-button.mock-cinematic-motion {
  will-change: left, transform, filter, box-shadow;
  transition:
    left 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    box-shadow 0.45s ease !important;
}

.home-orb-shell .chatbot-button.mock-cinematic-shifted {
  left: calc(100% - 3rem) !important;
  transform: translateX(-100%) scale(1) !important;
}

.mock-draft-orb-popover {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  width: min(440px, 90vw);
  background: var(--bg-panel);
  border-radius: 16px;
  box-shadow: var(--shadow-heavy);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--border-strong);
  z-index: 13001;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition:
    left 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-draft-orb-header {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-main);
  line-height: 1;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.mock-draft-orb-header-title {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.mock-draft-orb-header-meta {
  font-family: var(--sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
}

.mock-draft-orb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.mock-draft-orb-header-btn {
  border: 1px solid var(--border-strong);
  background: var(--glass-strong);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-draft-orb-header-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--glass);
  transform: translateY(-1px);
}

.mock-draft-orb-header-btn.is-danger:hover {
  border-color: rgba(239, 68, 68, 0.45);
  color: #ef4444;
}

.mock-draft-orb-header-btn.is-close {
  background: transparent;
}

.mock-attachment-cinematic-stage {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  perspective: 1500px;
}

.mock-attachment-cinematic-stage.is-active {
  pointer-events: auto;
}

.pane.gen-pane.is-attachment-cinematic-hero {
  margin: 0 !important;
  width: min(1000px, 90vw) !important;
  min-width: min(1000px, 90vw) !important;
  height: min(700px, 85vh) !important;
  min-height: min(700px, 85vh) !important;
  box-shadow: 0 60px 150px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transform: translateZ(400px) translateY(-50px) scale(1.3);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
  background: var(--bg-panel);
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
}

.mock-attachment-cinematic-stage.is-active .pane.gen-pane.is-attachment-cinematic-hero {
  transform: translateZ(0) translateY(0) scale(1);
  opacity: 1;
}

.intel-split {
  display: flex;
  height: calc(100% - 70px);
}

.intel-bleed {
  width: 40%;
  height: 100%;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.intel-bento {
  width: 60%;
  padding: 4rem;
  overflow-y: auto;
  scrollbar-width: none;
  background: var(--bg-base);
}

.intel-bento::-webkit-scrollbar {
  display: none;
}

.mock-attachment-intel-bleed-sheet {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.75rem;
  background:
    radial-gradient(circle at top left, rgba(180, 140, 70, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(244, 243, 240, 0.04), rgba(0, 0, 0, 0.22)),
    #171717;
  color: #f4f3f0;
}

.mock-attachment-intel-bleed-kicker {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 243, 240, 0.7);
  margin-bottom: 1rem;
}

.mock-attachment-intel-bleed-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.mock-attachment-intel-bleed-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.mock-attachment-intel-preview {
  margin-top: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.mock-attachment-intel-preview-title {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(244, 243, 240, 0.54);
  margin-bottom: 0.9rem;
}

.mock-attachment-intel-preview-line {
  font-family: var(--garamond);
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(244, 243, 240, 0.9);
}

.mock-attachment-intel-preview-line + .mock-attachment-intel-preview-line {
  margin-top: 0.55rem;
}

.mock-draft-orb-popover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mock-draft-orb-popover.is-cinematic-shifted {
  left: calc(100% - 2rem);
  transform: translate(-100%, 20px);
}

.mock-draft-orb-popover.is-visible.is-cinematic-shifted {
  transform: translate(-100%, 0);
  transition-delay: 0.16s, 0.16s, 0.16s;
}

.mock-draft-orb-history {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 0.5rem;
}

.mock-draft-orb-history::-webkit-scrollbar {
  display: none;
}

.mock-draft-orb-bubble {
  max-width: 100%;
}

.mock-draft-orb-bubble.user {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--glass-strong);
  color: var(--text-main);
  align-self: flex-end;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border-bottom-right-radius: 2px;
}

.mock-draft-orb-bubble.ai {
  font-family: var(--garamond);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  align-self: flex-start;
  padding: 0;
  background: transparent;
  border: none;
}

.mock-draft-orb-bubble.ai p {
  margin-bottom: 1rem;
}

.mock-draft-orb-bubble.ai p:last-child {
  margin-bottom: 0;
}

.mock-draft-orb-bubble.ai h3 {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-main);
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem;
  display: inline-block;
}

.mock-draft-orb-bubble.ai h3:first-child {
  margin-top: 0;
}

.mock-draft-orb-bubble.ai ul {
  margin: 0.5rem 0 1.5rem 0;
  padding-left: 1.2rem;
  list-style-type: none;
}

.mock-draft-orb-bubble.ai li {
  margin-bottom: 0.6rem;
  position: relative;
}

.mock-draft-orb-bubble.ai li::before {
  content: "✦";
  position: absolute;
  left: -1.2rem;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.35rem;
}

.mock-draft-orb-bubble.ai strong {
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.mock-draft-orb-bubble.ai blockquote {
  border-left: 2px solid var(--accent);
  margin: 1rem 0;
  padding-left: 1rem;
  font-style: italic;
  color: var(--text-main);
}

.mock-draft-orb-bubble.ai code {
  font-family: var(--sans);
  font-size: 0.85em;
  background: var(--glass-strong);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  color: var(--accent);
}

.mock-draft-orb-bubble.ai a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
  transition: all 0.2s;
}

.mock-draft-orb-bubble.ai a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.mock-draft-orb-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mock-draft-orb-action-chip {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-soft);
}

.mock-draft-orb-action-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--glass-strong);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 140, 70, 0.15);
}

.mock-draft-orb-input-row {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-strong);
  padding-top: 1rem;
  gap: 0.5rem;
}

.mock-draft-orb-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  padding: 0.5rem 0;
}

.mock-draft-orb-input::placeholder {
  color: var(--text-ghost);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.mock-draft-cinematic-stage {
  position: absolute;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  perspective: 1500px;
}

.mock-draft-cinematic-stage.is-active {
  pointer-events: auto;
}

.mock-draft-cinematic-hero {
  width: min(1000px, 90vw);
  height: min(700px, 85vh);
  box-shadow: 0 60px 150px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
  transform: translateZ(400px) translateY(-50px) scale(1.1);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
  background: var(--bg-panel);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.mock-draft-cinematic-stage.is-active .mock-draft-cinematic-hero {
  transform: translateZ(0) translateY(0) scale(1);
  opacity: 1;
}

.mock-draft-cinematic-stage.is-dispatching .mock-draft-cinematic-hero {
  transform: translateZ(0) translateY(-20px) scale(0.95);
  opacity: 0;
}

.mock-draft-editor-split {
  display: flex;
  height: calc(100% - 80px);
}

.mock-draft-chips-col {
  width: 32%;
  border-right: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--glass-strong);
}

.mock-draft-tone-chip {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  padding: 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.mock-draft-tone-chip:hover:not(.is-active) {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
}

.mock-draft-tone-chip.is-active {
  background: var(--text-main);
  color: var(--bg-panel);
  border-color: var(--text-main);
  box-shadow: var(--shadow-heavy);
  cursor: default;
}

.mock-draft-chip-lbl {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  transition: color 0.3s;
}

.mock-draft-tone-chip.is-active .mock-draft-chip-lbl {
  color: var(--accent);
}

.mock-draft-chip-desc {
  font-family: var(--garamond);
  font-size: 0.95rem;
  color: var(--text-ghost);
  transition: color 0.3s;
}

.mock-draft-tone-chip.is-active .mock-draft-chip-desc {
  color: rgba(255, 255, 255, 0.6);
}

.mock-draft-editor-desk-col {
  width: 68%;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
}

.mock-draft-hero-textarea {
  border: none;
  outline: none;
  font-family: var(--garamond);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-main);
  background: transparent;
  width: 100%;
  height: 100%;
  resize: none;
  transition: opacity 0.3s ease;
}

.mock-draft-generating-state {
  position: absolute;
  inset: 0;
  background: var(--bg-panel);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--text-ghost);
  transition: opacity 0.6s ease;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 920px) {
  .ai-workflow-progress-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-workflow-draft-grid.has-two {
    grid-template-columns: 1fr;
  }

  .ai-workflow-transfer-stage {
    grid-template-columns: 1fr;
  }

  .ai-workflow-transfer-arrow {
    width: 100%;
    height: 2.2rem;
    border-radius: 999px;
  }

  .mock-draft-cinematic__thread {
    min-height: auto;
    padding: 1.4rem;
  }

  .mock-draft-cinematic__meta-row,
  .mock-draft-cinematic__thread-summary,
  .mock-draft-cinematic__vellum-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mock-draft-cinematic__vellum {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 1.4rem;
  }

  .mock-draft-cinematic__draft-columns,
  .mock-draft-cinematic__transfer-deck {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mock-draft-cinematic__transfer-arrow {
    width: 100%;
    height: 2.2rem;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-workflow-card,
  .ai-workflow-draft-option,
  .ai-workflow-btn,
  .mock-draft-cinematic *,
  .mock-draft-cinematic__draft-option {
    transition: none !important;
    animation: none !important;
  }
}
