html, body {
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.agent-card {
    height: 100%;
}

.agent-stream {
    white-space: pre-wrap;
    line-height: 1.55;
    min-height: 7rem;
    max-height: 22rem;
    overflow: auto;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #f6f7f9;
}

.agent-stream-empty {
    color: #667085;
}

.tool-snippet {
    white-space: pre-wrap;
    max-height: 8rem;
    overflow: auto;
    margin-top: 0.35rem;
    font-size: 0.82rem;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    margin: 0.8rem 0 0.4rem;
    line-height: 1.3;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol {
    margin: 0.4rem 0 0.8rem;
}

.markdown-body pre {
    overflow: auto;
    padding: 0.75rem;
    background: #f6f7f9;
    border-radius: 8px;
}

.markdown-body code {
    font-family: Consolas, "Courier New", monospace;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
