/* Modern Design System - Linear/Notion Inspired */
:root {
    /* Primary palette - Soft indigo/violet */
    --primary-color: #5e6ad2;
    --primary-hover: #4f5bc7;
    --primary-light: rgba(94, 106, 210, 0.1);
    
    /* Backgrounds */
    --background-color: #f8f9fc;
    --surface-color: #ffffff;
    --secondary-bg: #f1f3f9;
    --elevated-bg: #ffffff;
    
    /* Text colors */
    --text-color: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Borders & dividers */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
    
    /* Semantic colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & sizing */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --button-radius: 10px;
    
    /* Shadows - layered for depth */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 24px rgba(0, 0, 0, 0.06);
    --shadow-focus: 0 0 0 3px rgba(94, 106, 210, 0.15);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: var(--background-color);
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(94, 106, 210, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 0%, rgba(139, 92, 246, 0.02) 0%, transparent 40%);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 24px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Tab Styling - Hidden (using bottom toolbar) */
.tab-bar {
    display: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
.section {
    margin-bottom: 24px;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.heading {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Elements */
.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

input[type="text"],
select {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--button-radius);
    outline: none;
    transition: all 0.2s ease;
    background-color: var(--surface-color);
    color: var(--text-color);
    font-family: var(--font-family);
}

input[type="text"]:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-focus);
}

input[type="text"]::placeholder {
    color: var(--text-muted);
}

button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 106, 210, 0.3);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background-color: var(--secondary-bg);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Results Area */
.results {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.7;
}

.results h1 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    color: var(--text-color);
}

.results h2 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 14px;
    color: var(--text-color);
}

.results h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 12px;
    color: var(--text-color);
}

.results h4, .rt-summary-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 6px;
    color: var(--text-color);
}

.results h5, .rt-summary-content h5 {
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 4px;
    color: var(--text-color);
}

/* Markdown styling for AI results */
.results ul, .results ol,
.rt-summary-content ul, .rt-summary-content ol,
.summary-section ul, .summary-section ol {
    margin: 4px 0 8px 0;
    padding-left: 20px;
    list-style: none;
}

.results li, .rt-summary-content li, .summary-section li {
    margin: 2px 0;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.results li::before, .rt-summary-content li::before, .summary-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
}

.results code, .rt-summary-content code, .summary-section code {
    background-color: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.results strong, .rt-summary-content strong, .summary-section strong {
    font-weight: 600;
    color: var(--text-color);
}

.results em, .rt-summary-content em, .summary-section em {
    font-style: italic;
}

.results p, .summary-section p {
    margin: 8px 0;
    line-height: 1.7;
}

.summary-section {
    margin-bottom: 12px;
}

/* Participants Panel */
.panel-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant-count-badge {
    background: var(--secondary-bg);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.rt-participants-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.participant-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--secondary-bg);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.participant-card.active {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.participant-card:hover {
    transform: translateX(4px);
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.participant-info {
    flex: 1;
    min-width: 0;
}

.participant-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participant-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.participant-status {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participant-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.participant-status.inactive {
    background: var(--secondary-bg);
    color: var(--text-muted);
}

.participant-card.active .participant-status.inactive {
    background: rgba(255, 255, 255, 0.5);
}

/* Introduced participants (detected via AI from introductions) */
.participant-card.introduced {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.participant-status.introduced {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

/* Mentioned participants (referenced in conversation) */
.participant-card.mentioned {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.08) 0%, rgba(107, 114, 128, 0.02) 100%);
    border-color: rgba(107, 114, 128, 0.15);
    opacity: 0.85;
}

.participant-status.mentioned {
    background: rgba(107, 114, 128, 0.12);
    color: var(--text-muted);
}

/* SDK participants (from Zoom Apps SDK - haven't spoken yet) */
.participant-card.sdk {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.participant-status.sdk {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
}

.participant-messages {
    font-size: 11px;
    color: var(--text-secondary);
}

.participant-context {
    font-size: 11px;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.source-icon {
    margin-left: 4px;
    font-size: 12px;
}

/* Pulse animation for active speakers */
.participant-card.active .participant-avatar {
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 106, 210, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(94, 106, 210, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(94, 106, 210, 0);
    }
}

/* Real-time Dashboard */
.realtime-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.rt-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rt-row:last-child {
    grid-template-columns: 1fr;
}

.rt-panel {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    min-width: 0; /* Prevent overflow */
    box-sizing: border-box;
}

.rt-panel:hover {
    box-shadow: var(--shadow);
}

.rt-panel h4 {
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.rt-panel h4::after {
    content: '▼';
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.rt-panel.collapsed h4::after {
    transform: rotate(-90deg);
}

.rt-panel.collapsed .rt-transcript-content,
.rt-panel.collapsed .rt-dialog-content,
.rt-panel.collapsed #rt-sentiment-container,
.rt-panel.collapsed #rt-query-interface {
    display: none;
}

.rt-panel.collapsed {
    padding-bottom: 16px;
}

.rt-transcript-content {
    background-color: var(--secondary-bg);
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px;
    height: 280px;
    overflow-y: auto;
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    flex-grow: 1;
    white-space: pre-wrap;
}

/* Dialog Suggestions */
.rt-dialog-content {
    background-color: var(--primary-light);
    color: var(--text-color);
    border: 1px solid rgba(94, 106, 210, 0.15);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 280px;
    max-height: 400px;
    overflow-y: auto;
    font-family: var(--font-family);
    font-size: 13px;
}

.rt-dialog-content p:not(.empty-state-panel p) {
    margin: 0 0 10px 0;
    font-style: normal;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}


/* Connection Status Header */
.status-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.connection-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-disconnected {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-disconnected .status-dot {
    background-color: var(--danger-color);
}

.status-connected {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-connected .status-dot {
    background-color: var(--success-color);
    animation: pulse-green 2s ease-in-out infinite;
}

.status-connecting {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-connecting .status-dot {
    background-color: var(--warning-color);
    animation: pulse-yellow 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 1; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Zoom SDK Output */
#zoom-output {
    background: var(--secondary-bg);
    color: var(--text-color);
    padding: 20px;
    border-radius: var(--radius);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    border: 1px solid var(--border-color);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#zoom-output h2 {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
}

#zoom-output h2:first-child {
    margin-top: 0;
}

#zoom-output pre {
    margin: 0;
    background: var(--surface-color);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: auto;
    max-width: 100%;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Segmented Control Navigation */
.segment-control {
    display: inline-flex;
    background: var(--secondary-bg);
    border-radius: var(--radius);
    padding: 4px;
    gap: 4px;
}

.segment-control.bottom {
    margin-top: 24px;
    margin-bottom: 0;
}

.segment-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.segment-btn:hover {
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.04);
}

.segment-btn.active {
    background: var(--surface-color);
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
}

/* Empty State for Panels */
.empty-state-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    padding: 30px 16px;
    height: 100%;
    box-sizing: border-box;
}

.empty-state-panel .empty-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    opacity: 0.4;
    stroke: currentColor;
    flex-shrink: 0;
}

.empty-state-panel p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    max-width: 160px;
    /* Override any parent container styling */
    background: none !important;
    border-left: none !important;
    padding: 0 !important;
    color: var(--text-muted) !important;
}

/* Ensure containers with empty states display them properly */
.rt-transcript-content:has(.empty-state-panel),
.rt-dialog-content:has(.empty-state-panel),
.rt-participants-list:has(.empty-state-panel),
#rt-sentiment-chart:has(.empty-state-panel) {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Clean white background for empty states */
    background-color: var(--surface-color);
    border: none;
}

/* Sentiment Analysis - Horizontal Progress Bars */
#rt-sentiment-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
}

.sentiment-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sentiment-user {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    flex-shrink: 0;
}

.sentiment-emoji {
    font-size: 16px;
}

.sentiment-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.sentiment-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sentiment-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--secondary-bg);
}

.sentiment-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.sentiment-segment.positive {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.sentiment-segment.neutral {
    background: linear-gradient(90deg, #94a3b8, #64748b);
}

.sentiment-segment.negative {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

.sentiment-percent {
    font-size: 11px;
    color: var(--text-secondary);
}

.sentiment-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.positive {
    background: #22c55e;
}

.legend-dot.neutral {
    background: #94a3b8;
}

.legend-dot.negative {
    background: #ef4444;
}

/* Inline Query Box */
.inline-query-box {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.inline-query-box input {
    flex: 1;
    margin: 0;
}

.inline-query-box button {
    padding: 12px 24px;
    white-space: nowrap;
}

/* Query Results - Hide when empty */
#rt-query-results:empty {
    display: none;
}

#rt-query-results {
    margin-top: 16px;
}

/* Suggestion Bubbles */
.suggestion-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: var(--secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.suggestion-chip:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: rgba(94, 106, 210, 0.3);
    transform: translateY(-1px);
}

.suggestion-chip:active {
    transform: translateY(0);
}

/* Static Suggestion Chips (Non-clickable) */
.suggestion-chip.static {
    cursor: default;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(94, 106, 210, 0.2);
}

.suggestion-chip.static:hover {
    background-color: var(--primary-light);
    transform: none;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: var(--text-secondary);
}

.spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s ease-in-out infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Chat Bubbles for Live Transcript */
.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    align-items: flex-start;
    animation: fadeIn 0.3s ease-out;
}

.chat-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    margin-left: 4px;
    font-weight: 500;
}

.chat-bubble {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 12px 16px;
    max-width: 85%;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .section {
        padding: 16px;
        margin-bottom: 16px;
    }

    .heading {
        font-size: 16px;
    }

    .rt-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rt-row:last-child {
        grid-template-columns: 1fr;
    }

    .rt-panel {
        padding: 16px;
    }

    .rt-transcript-content,
    .rt-dialog-content {
        height: 200px;
        min-height: 200px;
    }

    .inline-query-box {
        flex-direction: column;
    }

    .inline-query-box button {
        width: 100%;
    }

    .segment-control {
        width: 100%;
        display: flex;
    }

    .segment-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Video & Transcript (if used) */
.video-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

video {
    flex: 2;
    min-width: 300px;
    background-color: black;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.transcript-container {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transcript {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    height: 300px;
    overflow-y: auto;
    font-size: 13px;
    color: var(--text-color);
}

.transcript-line {
    cursor: pointer;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    margin-bottom: 6px;
    line-height: 1.5;
}

.transcript-line:hover {
    background: var(--primary-light);
}

.transcript-line.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}

/* Speaker Timeline */
#speaker-timeline-container {
    background: var(--surface-color);
    padding: 0;
    margin-bottom: 16px;
}

#speaker-timeline {
    height: 80px;
    background-color: var(--secondary-bg);
    border-radius: var(--radius);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}
