body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #131314;
    color: #f1f5f9;
}

.font-mono-code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prose {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.prose p {
    margin-bottom: 1.15rem;
    line-height: 1.8;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose h1 { font-size: 1.4rem; border-bottom: 1px solid #28282c; padding-bottom: 0.4rem; }
.prose h2 { font-size: 1.2rem; border-bottom: 1px solid #28282c; padding-bottom: 0.3rem; }
.prose h3 { font-size: 1.05rem; color: #60a5fa; }

.prose ul {
    list-style-type: disc;
    margin-left: 1.35rem;
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prose ol {
    list-style-type: decimal;
    margin-left: 1.35rem;
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prose li {
    line-height: 1.7;
}

.prose blockquote {
    border-left: 3px solid #3b82f6;
    padding: 0.6rem 1rem;
    margin: 1.15rem 0;
    color: #94a3b8;
    font-style: italic;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose pre {
    background-color: #030712 !important;
    color: #f8fafc;
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    border: 1px solid #28282c;
    margin: 1.15rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.prose code:not(pre code) {
    background-color: #222226;
    color: #93c5fd;
    padding: 0.18rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.875em;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #2e2e32;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.15rem 0;
    font-size: 0.875rem;
}

.prose th, .prose td {
    border: 1px solid #2e2e32;
    padding: 0.65rem 0.9rem;
    text-align: left;
}

.prose th {
    background-color: #222226;
    color: #f8fafc;
    font-weight: 600;
}

.prose tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2e2e32;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #3e3e44;
}

#sessions-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.skill-chip {
    white-space: nowrap;
    flex-shrink: 0;
    height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.skill-chip.active {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.8);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.skill-chip[data-skill="direct_answer"].active {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.7);
    color: #a7f3d0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.skill-chip[data-skill="reflection"].active {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.7);
    color: #e9d5ff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.skill-chip[data-skill="sandbox_environment"].active {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.7);
    color: #c7d2fe;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.skill-chip[data-skill="code_execution"].active {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.7);
    color: #bfdbfe;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.skill-chip[data-skill="code_output"].active {
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(6, 182, 212, 0.7);
    color: #a5f3fc;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.skill-chip[data-skill="web_search"].active {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(20, 184, 166, 0.7);
    color: #99f6e4;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.25);
}

.hidden {
    display: none !important;
}

#mobile-blocker-wall {
    display: none !important;
}

#chat-container {
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    min-height: 0;
}
