:root {
    /* Base Colors - Zinc Palette */
    --bg-color: #09090b;
    --panel-bg: rgba(24, 24, 27, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);

    /* Primary Accent - Electric Blue */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;

    /* Text Colors */
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-tertiary: #52525b;

    /* Functional Colors */
    --accent-bg: rgba(59, 130, 246, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.03);
    --line-number-color: #3f3f46;
    --highlight-match: rgba(234, 179, 8, 0.3);

    /* Glass Effect */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] {
    /* Base Colors - Light Zinc Palette */
    --bg-color: #f4f4f5;
    /* Zinc 100 */
    --panel-bg: rgba(255, 255, 255, 0.85);
    --border-color: #e4e4e7;
    /* Zinc 200 */

    /* Text Colors */
    --text-primary: #18181b;
    /* Zinc 900 */
    --text-secondary: #52525b;
    /* Zinc 600 */
    --text-tertiary: #a1a1aa;
    /* Zinc 400 */

    /* Functional Colors */
    --accent-bg: rgba(59, 130, 246, 0.1);
    --hover-bg: rgba(24, 24, 27, 0.05);
    --line-number-color: #a1a1aa;
    --highlight-match: rgba(250, 204, 21, 0.4);

    /* Variables for Chat */
    --chat-bg: #f4f4f5;
    --chat-bubble-user: #3b82f6;
    --chat-bubble-assistant: #ffffff;

    /* Glass Effect */
    --glass-border: 1px solid rgba(24, 24, 27, 0.06);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[v-cloak] {
    display: none;
}

#app {
    height: 100vh;
    width: 100vw;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}


.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.dragging-active {
    background-color: var(--accent-bg) !important;
    border: 2px dashed var(--primary-color) !important;
    inset: 12px;
    border-radius: 12px;
    position: relative;
    z-index: 50;
}

.dragging-active::after {
    content: 'Release to Open Log File';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    pointer-events: none;
}

.toolbar {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 24px;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.tools-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.separator {
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
    margin-left: 4px;
    /* visual balance */
}

/* Inputs & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-primary);
    height: 36px;
}

.btn:hover {
    background-color: var(--hover-bg);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: transparent;
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-icon {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
    border: none;
    border-radius: 6px;
    width: 36px;
}

.btn-icon:hover {
    background-color: var(--hover-bg);
    color: var(--text-primary);
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.select-input,
.small-input,
.search-box input,
.chat-input-area textarea {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
    height: 36px;
    font-family: inherit;
}

.select-input:focus,
.small-input:focus,
.search-box input:focus,
.chat-input-area textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding-left: 32px;
}

.search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.filter-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.small-input {
    width: 70px;
}

.range-dash {
    color: var(--text-secondary);
}


/* Content Area */
.log-viewport {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    background-color: var(--bg-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    padding-bottom: 32px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    padding: 32px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.8;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.empty-state h2 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.log-line {
    display: flex;
    white-space: pre;
    transition: background-color 0.1s ease;
}

.log-line:hover {
    background-color: var(--hover-bg);
}

.line-number {
    width: 60px;
    min-width: 60px;
    text-align: right;
    padding-right: 16px;
    color: var(--line-number-color);
    user-select: none;
    background-color: var(--bg-color);
    border-right: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.7;
}

.line-content {
    padding-left: 12px;
    color: var(--text-secondary);
}

/* Highlights */
.highlight-match {
    background-color: rgba(234, 179, 8, 0.2);
    border-bottom: 2px solid rgba(234, 179, 8, 0.5);
    color: #fef08a;
    border-radius: 0;
}

/* Syntax Highlighting - refined colors */
.log-date {
    color: #71717a;
}

/* Zinc 500 */
.log-thread {
    color: #3b82f6;
}

/* Blue 500 */
.log-level-info {
    color: #22c55e;
    font-weight: 600;
}

/* Green 500 */
.log-level-warn {
    color: #eab308;
    font-weight: 600;
}

/* Yellow 500 */
.log-level-error {
    color: #ef4444;
    font-weight: 600;
}

/* Red 500 */
.log-level-debug {
    color: #a855f7;
    font-weight: 600;
}

/* Purple 500 */
.log-class {
    color: #2dd4bf;
}

/* Teal 400 */
.log-keyword {
    color: #f472b6;
}

/* Pink 400 */

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border: 3px solid var(--bg-color);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}


/* Chat Drawer */
.chat-drawer {
    position: fixed;
    top: 80px;
    /* Below toolbar + gap */
    right: 16px;
    /* Floating from right */
    bottom: 16px;
    /* Floating from bottom */
    width: 400px;
    min-width: 320px;
    max-width: 90vw;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    z-index: 100;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
}

.chat-drawer.open {
    transform: translateX(0);
    opacity: 1;
}

.chat-drawer.resizing {
    transition: none;
    user-select: none;
}

.resize-handle {
    position: absolute;
    left: -8px;
    top: 0;
    bottom: 0;
    width: 16px;
    cursor: ew-resize;
    z-index: 101;
    background-color: transparent;
}

.resize-handle::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.resize-handle:hover::after {
    background: var(--primary-color);
}

.chat-header {
    height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    flex-shrink: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.chat-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--bg-color);
    /* Was #09090b */
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 92%;
    animation: slideUpFade 0.3s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.assistant {
    align-self: flex-start;
}

/* Body Container (below header) */
.chat-body-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Chat Main Column (Messages + Input) */
.chat-main-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Session List (Side View) */
.session-drawer {
    width: 240px;
    background: var(--bg-color);
    /* Was #121215 */
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.session-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.session-item {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.session-item:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.session-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Copy Button */
.message-wrapper {
    position: relative;
    max-width: 100%;
}

.copy-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    color: var(--text-secondary);
    opacity: 0;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

[data-theme="light"] .copy-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.message-content:hover .copy-btn,
.message-wrapper:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    background: black;
    color: white;
}

.message-content {
    padding: 14px 18px;
    padding-bottom: 14px;
    /* balance */
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 2px;
}

[data-theme="light"] .user .message-content {
    /* Softer blue in light mode for better aesthetics */
    background-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.assistant .message-content {
    background-color: var(--panel-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
}

/* Markdown Styles in Chat */
.message-content p {
    margin: 12px 0;
}

.message-content p:first-child {
    margin-top: 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 85%;
    font-family: 'JetBrains Mono', monospace;
}

.message-content pre {
    background-color: #000;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 12px 0;
    border: 1px solid var(--border-color);
}

[data-theme="light"] .message-content pre {
    background-color: #27272a;
    /* Zinc 800 - nicer than pure black */
    border-color: rgba(0, 0, 0, 0.1);
}

.assistant .message-content.error {
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    background-color: rgba(239, 68, 68, 0.1);
}

.message-time {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 6px;
    align-self: flex-end;
}

.assistant .message-time {
    align-self: flex-start;
}

.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}


.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--panel-bg);
    /* Was rgba(22, 27, 34, 0.8) */
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.chat-context-options {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.chat-context-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.chat-context-options input[type="checkbox"] {
    accent-color: var(--primary-color);
}

.chat-input-area textarea {
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    padding: 8px;
    font-size: 13px;
    resize: none;
    font-family: inherit;
}

[data-theme="light"] .chat-input-area textarea {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Context Menu */
.context-menu {
    position: fixed;
    z-index: 1000;
    width: 180px;
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .context-menu {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.context-menu-item {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-menu-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.context-menu-item svg {
    opacity: 0.7;
}

.context-menu-item:hover svg {
    opacity: 1;
}



.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-actions {
    display: flex;
    justify-content: flex-end;
}

/* Modal adjustments */
.modal-overlay {
    z-index: 200;
    /* Higher than chat drawer */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}


.modal {
    background-color: var(--bg-color);
    /* Was #121215 */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    width: 440px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.large-modal {
    width: 800px;
    height: 80vh;
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.full-width {
    width: 100%;
}

/* Loading State */
.loading-overlay {
    position: absolute;
    top: 56px;
    /* Below toolbar */
    left: 0;
    right: 0;
    bottom: 0;
    bottom: 0;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
    color: var(--text-secondary);
    gap: 16px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Refined Markdown Styles (AI Reports)
   ========================================= */

/* Use a container class for safety, though .message-content handles most */
.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
}

.message-content h1:first-child,
.message-content h2:first-child,
.message-content h3:first-child {
    margin-top: 0;
}

.message-content h1 {
    font-size: 1.5em;
    /* 24px */
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--border-color);
}

.message-content h2 {
    font-size: 1.25em;
    /* 20px */
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--border-color);
}

.message-content h3 {
    font-size: 1.1em;
    /* 17.6px */
}

.message-content h4 {
    font-size: 1em;
}

/* Paragraphs & Lists */
.message-content p {
    line-height: 1.6;
    margin-bottom: 16px;
}

.message-content ul,
.message-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    /* Standard indentation */
}

.message-content li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.message-content li>p {
    margin-bottom: 8px;
    /* Less space within list items */
}

/* Blockquotes */
.message-content blockquote {
    padding: 12px 16px;
    margin: 0 0 16px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--accent-bg);
    /* Use semi-transparent accent */
    border-radius: 4px;
    /* Slight roundness on right */
    color: var(--text-secondary);
}

.message-content blockquote> :first-child {
    margin-top: 0;
}

.message-content blockquote> :last-child {
    margin-bottom: 0;
}

/* Tables - The main missing piece */
.message-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    /* Rounded corners optional usually on container, but let's try */
    overflow: hidden;
    /* For radius */
}

.message-content th,
.message-content td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.message-content th {
    font-weight: 600;
    background-color: var(--hover-bg);
    /* Slight background for headers */
    white-space: nowrap;
    /* Prevent headers breaking too easily */
}

.message-content tr:nth-child(2n) {
    background-color: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .message-content tr:nth-child(2n) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Handle NULL or special badges in tables via generic HTML if AI outputs them */
/* If AI outputs `null` as code, it matches code styling. */
/* If we want to style specific text content, we'd need JS post-processing or specific classes. 
   css :has() could work but text content matching is limited. 
   For now, standard table styles are huge upgrade. */

/* Inline Code & Code Blocks */
.message-content code {
    /* Existing: background-color: rgba(0, 0, 0, 0.3); padding: 2px 5px; ... */
    /* Refine alignment */
    vertical-align: middle;
    color: #e6e9ef;
    /* Lighter text for code */
}

[data-theme="light"] .message-content code {
    color: #24292f;
    background-color: rgba(175, 184, 193, 0.2);
}

.message-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-size: 13px;
}

/* Links */
.message-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.message-content a:hover {
    text-decoration: underline;
}

/* Strong / Bold */
.message-content strong,
.message-content b {
    font-weight: 600;
    color: var(--text-primary);
}

/* Horizontal Rule */
.message-content hr {
    height: 1px;
    border: none;
    background-color: var(--border-color);
    margin: 24px 0;
}

/* Responsive Tables */
@media screen and (max-width: 600px) {
    .message-content table {
        display: block;
        overflow-x: auto;
    }
}