.annotated { padding: 36px 40px; border-radius: 24px; background: var(--aubergine); }
.annotated-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.annotated-row + .annotated-row { margin-top: 12px; }
.annotated-row.gap { margin-top: 26px; }
.annotation { padding: 2px 0 2px 16px; border-left: 2px solid var(--magenta-hot); }
.annotation b { display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-hot); }
.annotation span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted-on-dark); }
.annotated .bubble { max-width: 78%; font-size: 16px; }
.annotated .root-cause { margin-top: 0; }
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mode { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.mode-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.mode-icon .icon { width: 15px; height: 15px; }

@media (max-width: 1100px) {
  .annotated-row { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
  .annotated { padding: 22px 14px; border-radius: 20px; }
  .annotated-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .annotated-row.gap { margin-top: 22px; }
  .annotated-row > span:empty { display: none; }
  .annotated .bubble { max-width: 86%; font-size: 14.5px; }
  .modes { gap: 8px; }
  .mode { gap: 7px; padding: 5px 11px 5px 5px; font-size: 13px; }
  .mode-icon { width: 24px; height: 24px; }
}

/* The interview, live: ask-engine.js arms the conversation and shows it turn by turn; the markup itself is the finished conversation */
.annotated.is-armed :is(.annotation, .turn, .root-cause):not(.is-on) { opacity: 0; transform: translateY(10px); }
.annotated.is-armed .annotation:not(.is-on) { transform: translateX(-10px); }
.annotated.is-armed .root-cause:not(.is-on) { transform: translateY(12px) scale(.96); }
.annotated.is-armed .turn.is-typing { opacity: 1; transform: none; transition: opacity .3s; }
.annotated.is-armed .is-on { transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.annotated.is-armed .turn.is-on .bubble { transition: opacity .3s; }
