/* Direct model stream. Content in these surfaces comes only from provider events. */
.studio-stream-bubble {
    min-height: 24px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.studio-answer-stream {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.58;
}

.studio-mind-rail {
    margin: 0 0 12px;
    border-left: 1px solid color-mix(in srgb, var(--accent, #8b7cff) 55%, transparent);
    padding-left: 12px;
    color: var(--text-muted, #9a9aa2);
}

.studio-mind-rail summary {
    width: fit-content;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: inherit;
}

.studio-mind-stream {
    margin-top: 8px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.55;
}

.studio-agent-row.is-live .agent-avatar-wrap {
    opacity: 1;
}

.studio-agent-row[data-live-run] {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.studio-agent-row[data-live-run].is-finishing {
    opacity: 0;
    transform: translateY(-3px);
}
