.aicli-23cdf791-terminal {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Courier New', monospace;
}

.aicli-23cdf791-header {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    flex-shrink: 0;
    gap: 12px;
    min-height: 42px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.aicli-23cdf791-header-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.aicli-23cdf791-header-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.aicli-23cdf791-dot-r { background: #ff5f56; }
.aicli-23cdf791-dot-y { background: #ffbd2e; }
.aicli-23cdf791-dot-g { background: #27c93f; }

.aicli-23cdf791-header-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aicli-23cdf791-header-model {
    font-size: 11px;
    opacity: 0.5;
    flex-shrink: 0;
    user-select: none;
}

.aicli-23cdf791-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    min-height: 0;
}

.aicli-23cdf791-body::-webkit-scrollbar {
    width: 6px;
}

.aicli-23cdf791-body::-webkit-scrollbar-track {
    background: transparent;
}

.aicli-23cdf791-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
}

.aicli-23cdf791-msg {
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

.aicli-23cdf791-msg-label {
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aicli-23cdf791-msg-user .aicli-23cdf791-msg-label {
    display: inline;
}

.aicli-23cdf791-msg-user .aicli-23cdf791-msg-content {
    display: inline;
}

.aicli-23cdf791-msg-tool {
    border-radius: 6px;
    padding: 10px 14px;
    margin: 6px 0;
    font-size: 0.92em;
    overflow-x: auto;
}

.aicli-23cdf791-msg-info {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 6px;
}

.aicli-23cdf791-msg-blank {
    height: 1.2em;
}

.aicli-23cdf791-separator {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 10px 0;
}

.aicli-23cdf791-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    vertical-align: text-bottom;
    animation: aicli-23cdf791-blink 1s step-end infinite;
}

@keyframes aicli-23cdf791-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.aicli-23cdf791-thinking {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin: 4px 0;
}

.aicli-23cdf791-thinking-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: aicli-23cdf791-pulse 1.4s ease-in-out infinite;
}

.aicli-23cdf791-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.aicli-23cdf791-thinking-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes aicli-23cdf791-pulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.1); }
}
