/* ==================== REASONING BLOCK ==================== */
.reasoning-block {
    margin: 4px 0 2px 0;
    padding: 0 8px;
}

.reasoning-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.reasoning-toggle:hover {
    background: rgba(241, 245, 249, 0.8);
}

.reasoning-chevron {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.reasoning-block.expanded .reasoning-chevron {
    transform: rotate(90deg);
}

.reasoning-steps {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 6px;
    border-left: 2px solid #e2e8f0;
    padding-left: 12px;
}

.reasoning-block.expanded .reasoning-steps {
    max-height: 500px;
}

.reasoning-step {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 3px 0;
}

.reasoning-step-icon {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 1px;
}

.reasoning-step-icon.tool {
    color: #94a3b8;
}

.reasoning-step-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.reasoning-step-text strong {
    font-weight: 600;
    color: #475569;
}

/* ==================== LIVE STREAMING TIMELINE ==================== */
.live-timeline {
    margin: 4px 0 2px 0;
    padding: 0 12px 0 16px;
}

.lt-step {
    display: flex;
    align-items: stretch;
    gap: 10px;
    min-height: 28px;
}

.lt-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14px;
    flex-shrink: 0;
    padding-top: 6px;
}

.lt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-dot-pulse {
    background: #64748b;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.lt-dot-pulse.lt-dot-tool {
    background: #3b82f6;
}

.lt-dot-check {
    width: 14px;
    height: 14px;
    background: #94a3b8;
    border-radius: 50%;
}

.lt-dot-check svg {
    width: 9px;
    height: 9px;
    stroke: #fff;
}

.lt-dot-check.lt-dot-tool {
    background: #94a3b8;
}

.lt-line {
    flex: 1;
    width: 2px;
    background: #e2e8f0;
    min-height: 8px;
    margin: 3px 0;
}

.lt-content {
    flex: 1;
    padding: 3px 0 6px 0;
    min-width: 0;
}

.lt-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.lt-text strong {
    font-weight: 600;
    color: #475569;
}

.lt-sub {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
    margin: 1px 0 0 0;
    transition: opacity 0.2s ease;
}

.lt-step-done .lt-text {
    color: #94a3b8;
}

.lt-step-done .lt-sub {
    color: #cbd5e1;
}
