/* The invisible measure and live ink share a grid cell and the same wrapping. */
#try-workspace .fz-typed-text {
  display: grid;
  position: relative;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#try-workspace .fz-type-size,
#try-workspace .fz-type-ink {
  grid-area: 1 / 1;
  min-width: 0;
}
#try-workspace .fz-type-size { visibility: hidden; }
#try-workspace .fz-type-readable {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#try-workspace .fz-type-ink[data-caret=true]::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .95em;
  margin-left: 2px;
  margin-right: -4px;
  vertical-align: -.12em;
  background: currentColor;
}
#try-workspace .fz-chat-body[data-phase="-1"] .fz-ai-reply,
#try-workspace .fz-chat-body[data-phase="-1"] .fz-hero-source-trail {
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  #try-workspace .fz-chat-body[data-phase="0"] .fz-reply-progress,
  #try-workspace .fz-chat-body[data-phase="0"] .fz-hero-source-trail,
  #try-workspace .fz-chat-body[data-animated=true][data-phase="3"] .fz-delivery-choice {
    animation: fz-evidence-arrive .32s var(--ease-enter, ease-out) both;
  }
}
/* When a direct link lands on the demo, let hydration start the first line
   before showing the static fallback. The fallback still appears on a slow
   or failed client load. With scripting disabled the server view is immediate. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  #try-workspace .fz-chat-body[data-animated=false] :is(.fz-user-request .fz-type-ink, .fz-hero-source-trail, .fz-ai-reply) {
    animation: fz-show-static-transcript .01s linear 1.4s backwards;
  }
}
@keyframes fz-show-static-transcript {
  from { opacity: 0; }
  to { opacity: 1; }
}
