* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --border-light: #e5e5e6;
    --text-primary: #2f2f2f;
    --text-secondary: #656565;
    --text-muted: #8e8ea0;
    --accent-orange: #cc785c;
    --accent-orange-hover: #b8684f;
    --message-user-bg: #f7f7f8;
    --message-assistant-bg: #ffffff;
    --focus-ring: rgba(204, 120, 92, 0.2);
    --artifact-bg: #fafafa;
    --artifact-border: #e0e0e0;
    --code-bg: #2d3748;
    --code-border: #4a5568;
    --toggle-bg: #e2e8f0;
    --toggle-active: #cc785c;
    --validation-bg: #f0fdf4;
    --validation-border: #bbf7d0;
    --validation-text: #166534;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.new-conversation-btn {
    width: calc(100% - 32px);
    padding: 10px 16px;
    margin: 16px 16px 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.new-conversation-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-orange);
}

.conversation-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.conversation-item {
    padding: 10px 16px;
    margin: 2px 0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.conversation-item.active {
    background-color: rgba(204, 120, 92, 0.1);
    color: var(--accent-orange);
    font-weight: 500;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: all 0.3s ease;
    width: 100%;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.main-content.with-artifact {
    flex: 0 0 calc(50% - 130px);
    width: calc(50% - 130px);
    max-width: calc(50% - 130px);
    min-width: 400px;
}

/* Chat Header */
.chat-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 65px;
}

.chat-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Model Selector */
.model-selector {
    position: relative;
}

.model-dropdown {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    min-width: 160px;
}

.model-dropdown:hover {
    background: var(--bg-primary);
    border-color: var(--accent-orange);
}

.model-dropdown-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.15s ease;
    margin-left: auto;
}

.model-dropdown.open .model-dropdown-icon {
    transform: rotate(180deg);
}

.model-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.model-menu.show {
    display: block;
}

.model-menu-item {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.15s ease;
}

.model-menu-item:last-child {
    border-bottom: none;
}

.model-menu-item:hover {
    background-color: var(--bg-secondary);
}

.model-menu-item.active {
    background-color: rgba(204, 120, 92, 0.1);
}

.model-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.model-description {
    font-size: 12px;
    color: var(--text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text-secondary);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

.welcome-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.welcome-content {
    max-width: 480px;
}

.welcome-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.welcome-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.message-group {
    border-bottom: 1px solid var(--border-light);
}

.message-group:last-child {
    border-bottom: none;
}

.message-container {
    padding: 24px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.message-container.user {
    background-color: var(--message-user-bg);
}

.message-container.assistant {
    background-color: var(--message-assistant-bg);
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.message-container.user .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.message-container.assistant .message-avatar {
    background: linear-gradient(135deg, #cc785c 0%, #b8684f 100%);
}

.message-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.message-timestamp {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.message-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-left: 44px;
}

/* Typing Indicator */
.typing-indicator {
    border-bottom: 1px solid var(--border-light);
    background-color: var(--message-assistant-bg);
    display: none;
}

.typing-indicator.show {
    display: block;
}

.typing-container {
    padding: 24px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.typing-content {
    margin-left: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Chat Input Area */
.chat-input-area {
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    padding: 20px 24px;
    flex-shrink: 0;
}

.input-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.selected-files {
    margin-bottom: 12px;
    display: none;
}

.selected-files.show {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #1e40af;
}

.selected-file-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.remove-file {
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
    font-size: 18px;
    line-height: 1;
}

.remove-file:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 8px 8px 8px 16px;
    background: var(--bg-primary);
    transition: all 0.2s ease;
    position: relative;
}

.input-wrapper:focus-within {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.file-upload-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.file-upload-btn:hover {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

.message-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    max-height: 120px;
    min-height: 24px;
    font-family: inherit;
    background: transparent;
    color: var(--text-primary);
}

.message-input::placeholder {
    color: var(--text-muted);
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 4px;
}

.mode-toggle-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 28px;
    background-color: var(--toggle-bg);
    border-radius: 28px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background-color: var(--toggle-active);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

.toggle-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.mode-toggle:hover .toggle-tooltip {
    opacity: 1;
}

.toggle-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.9);
}

.send-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.send-btn:hover:not(:disabled) {
    background-color: var(--accent-orange-hover);
    transform: scale(1.05);
}

.send-btn:disabled {
    background-color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.file-input {
    display: none;
}

/* Artifact Panel */
.artifact-panel {
    flex: 1;
    width: auto;
    min-width: 400px;
    background-color: var(--artifact-bg);
    border-left: 1px solid var(--artifact-border);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.artifact-panel.show {
    display: flex;
}

.artifact-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--artifact-border);
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.artifact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.artifact-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artifact-close:hover {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

/* Artifact content */
.artifact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    color: var(--text-primary);
}

.artifact-button:hover {
    background: var(--bg-primary);
    border-color: var(--accent-orange);
}

.artifact-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
}

/* View Switch */
.view-switch {
    display: flex;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.view-switch-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.view-switch-btn.active {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Version selector */
.version-selector {
    position: relative;
}

.version-dropdown {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.version-dropdown:hover {
    background: var(--bg-primary);
    border-color: var(--accent-orange);
}

.version-dropdown-icon {
    width: 10px;
    height: 10px;
    transition: transform 0.15s ease;
}

.version-dropdown.open .version-dropdown-icon {
    transform: rotate(180deg);
}

.version-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.version-menu.show {
    display: block;
}

.version-menu-item {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.15s ease;
}

.version-menu-item:last-child {
    border-bottom: none;
}

.version-menu-item:hover {
    background-color: var(--bg-secondary);
}

.version-menu-item.active {
    background-color: rgba(204, 120, 92, 0.1);
    color: var(--accent-orange);
}

/* Artifact content areas */
.artifact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.code-view {
    flex: 1;
    overflow: auto;
    padding: 20px;
    background-color: #2d3748;
}

.code-view pre {
    margin: 0;
    background: transparent !important;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.code-view code {
    background: transparent !important;
    font-family: inherit;
}

.viewer-3d {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#three-canvas {
    width: 100%;
    height: 100%;
    outline: none;
    touch-action: none;
}

.viewer-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.control-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Message content styling */
.message-content p {
    margin: 0 0 16px 0;
}

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

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.message-content h1 { font-size: 2em; }
.message-content h2 { font-size: 1.5em; }
.message-content h3 { font-size: 1.25em; }
.message-content h4 { font-size: 1em; }
.message-content h5 { font-size: 0.875em; }
.message-content h6 { font-size: 0.85em; }

.message-content ul,
.message-content ol {
    margin: 0 0 16px 0;
    padding-left: 2em;
}

.message-content li {
    margin-bottom: 4px;
}

.message-content code {
    background-color: rgba(204, 120, 92, 0.1);
    color: var(--accent-orange);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875em;
}

.message-content pre {
    margin: 16px 0;
    padding: 16px;
    overflow-x: auto;
    background-color: var(--code-bg);
    border-radius: 8px;
    border: 1px solid var(--code-border);
}

.message-content pre code {
    background-color: transparent;
    color: #d4d4d4;
    padding: 0;
    font-size: 0.875em;
    line-height: 1.5;
}

/* File attachments */
.file-attachments {
    margin: 16px 0 0 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 250px;
}

.file-attachment-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-attachment-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Validation status */
.validation-status {
    background-color: var(--validation-bg);
    border: 1px solid var(--validation-border);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    color: var(--validation-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-status svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1366px) {
    .sidebar {
        width: 220px;
    }

    .main-content.with-artifact {
        min-width: 350px;
    }

    .artifact-panel {
        min-width: 350px;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        width: 200px;
    }

    .app-container {
        flex-wrap: nowrap;
    }

    .main-content.with-artifact {
        flex: 0 0 45%;
        min-width: 300px;
    }

    .artifact-panel {
        flex: 1;
        min-width: 300px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        position: absolute;
        left: -260px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .main-content.with-artifact {
        flex: 0 0 40%;
        min-width: 280px;
    }

    .artifact-panel {
        flex: 1;
        position: relative;
        width: auto;
        height: 100vh;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .artifact-panel {
        width: 100%;
    }

    .message-container {
        padding: 20px 16px;
    }

    .chat-input-area {
        padding: 16px;
    }

    .mode-toggle-label {
        display: none;
    }

    .message-content {
        margin-left: 0;
    }

    .file-attachments {
        margin-left: 0;
    }

    .typing-content {
        margin-left: 0;
    }
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar,
.conversation-list::-webkit-scrollbar,
.code-view::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track,
.conversation-list::-webkit-scrollbar-track,
.code-view::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb,
.conversation-list::-webkit-scrollbar-thumb,
.code-view::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.conversation-list::-webkit-scrollbar-thumb:hover,
.code-view::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Prism Theme Overrides */
.code-view .token.comment,
.code-view .token.prolog,
.code-view .token.doctype,
.code-view .token.cdata {
    color: #6a9955;
}

.code-view .token.punctuation {
    color: #d4d4d4;
}

.code-view .token.property,
.code-view .token.tag,
.code-view .token.boolean,
.code-view .token.number,
.code-view .token.constant,
.code-view .token.symbol,
.code-view .token.deleted {
    color: #b5cea8;
}

.code-view .token.selector,
.code-view .token.attr-name,
.code-view .token.string,
.code-view .token.char,
.code-view .token.builtin,
.code-view .token.inserted {
    color: #ce9178;
}

.code-view .token.operator,
.code-view .token.entity,
.code-view .token.url,
.code-view .language-css .token.string,
.code-view .style .token.string {
    color: #d4d4d4;
}

.code-view .token.atrule,
.code-view .token.attr-value,
.code-view .token.keyword {
    color: #569cd6;
}

.code-view .token.function,
.code-view .token.class-name {
    color: #dcdcaa;
}

.code-view .token.regex,
.code-view .token.important,
.code-view .token.variable {
    color: #d16969;
}

/* Message content Python syntax highlighting */
.message-content .language-python .token.comment,
.message-content .language-python .token.triple-quoted-string {
    color: #6a9955;
}

.message-content .language-python .token.string {
    color: #ce9178;
}

.message-content .language-python .token.function {
    color: #dcdcaa;
}

.message-content .language-python .token.keyword {
    color: #569cd6;
}

.message-content .language-python .token.builtin {
    color: #4ec9b0;
}

.message-content .language-python .token.number {
    color: #b5cea8;
}

.message-content .language-python .token.operator {
    color: #d4d4d4;
}

.message-content .language-python .token.punctuation {
    color: #d4d4d4;
}

.message-content .language-python .token.decorator {
    color: #c586c0;
}

.message-content .language-python .token.class-name {
    color: #4ec9b0;
}

.message-content .language-python .token.boolean {
    color: #569cd6;
}