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

:root {
    /* Dark Theme (Default) */
    --bg-dark: #0f172a;
    --bg-sidebar: #1e293b;
    --bg-active: #334155;
    --bg-hover: #334155;
    --accent: #64ffda;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --script-bg: rgba(255, 255, 255, 0.03);
    --player-bg: rgba(15, 23, 42, 0.95);
    --group-header-color: #64ffda;
    --group-header-bg: rgba(100, 255, 218, 0.05);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-dark: #f8fafc;
    --bg-sidebar: #f1f5f9;
    --bg-active: #e2e8f0;
    --bg-hover: #e2e8f0;
    --accent: #0f766e;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: rgba(0, 0, 0, 0.1);
    --script-bg: rgba(0, 0, 0, 0.03);
    --player-bg: rgba(248, 250, 252, 0.95);
    --group-header-color: #0f766e;
    --group-header-bg: rgba(15, 118, 110, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.app-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 340px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 30;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.header-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
}

.sidebar-header h2 {
    font-size: 1.3rem;
    color: var(--text-main);
    white-space: nowrap;
    flex: 1;
}

.sidebar-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sidebar Category Nav */
.category-nav {
    display: flex;
    padding: 0 12px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.cat-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 4px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.cat-btn:hover {
    color: var(--text-main);
}

.cat-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.playlist-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* Playlist Group Headers */
.playlist-group-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--group-header-color);
    padding: 16px 12px 8px 12px;
    margin-top: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.playlist-group-header:hover {
    background-color: var(--group-header-bg);
}

.playlist-group-header .chevron-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.playlist-group.collapsed .chevron-icon {
    transform: rotate(-90deg);
}

.playlist-group-items {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.playlist-group.collapsed .playlist-group-items {
    max-height: 0;
}

.playlist-group-header:first-child {
    margin-top: 0;
}

.playlist-item {
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background-color: var(--bg-hover);
}

.playlist-item.active {
    background-color: var(--bg-active);
    border-color: rgba(100, 255, 218, 0.3);
}

.playlist-item .title {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item.active .title {
    color: var(--accent);
}

.playlist-item .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
}

.sidebar-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.sidebar-footer a:hover {
    color: var(--accent);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    min-width: 0;
}

/* Player Bar */
.player-bar {
    background: var(--player-bg);
    border-bottom: 1px solid var(--border);
    padding: 15px 30px;
    z-index: 10;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.player-bar.hidden {
    display: none;
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.track-info-minimal h2 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.track-info-minimal p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.track-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="light"] .btn-icon {
    background: rgba(0, 0, 0, 0.05);
}

.btn-icon:hover {
    background: var(--accent);
    color: #000;
}

.btn-icon.active {
    color: var(--accent);
    background: rgba(100, 255, 218, 0.1);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-icon-small {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-small:hover {
    color: var(--accent);
    background: var(--bg-hover);
}

.btn-icon-small svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

#audio-player {
    width: 100%;
    height: 36px;
}

/* Scroll Area */
.script-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 40px 20px;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

.script-content, .writing-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.script-content {
    gap: 12px;
}

/* Chat Bubbles */
.section-divider {
    width: 100%;
    text-align: center;
    margin: 40px 0 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 1;
}

.section-divider span {
    background: var(--bg-dark);
    padding: 0 15px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.script-line {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 18px;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
    animation: fadeIn 0.3s ease;
}

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

.script-line.interviewer, .script-line.recruiter, .script-line.alex, .script-line.dave, .script-line.lisa, .script-line.ravi, .script-line.marcus, .script-line.tom, .script-line.dr-chen, .script-line.sarah, .script-line.brian, .script-line.david, .script-line.elizabeth, .script-line.mike, .script-line.karen, .script-line.team-lead, .script-line.colleague, .script-line.intro, .script-line.the-problem, .script-line.the-impact, .script-line.experience, .script-line.the-challenge, .script-line.the-solution, .script-line.technical-depth, .script-line.strategic-impact, .script-line.governance, .script-line.compliance, .script-line.optimization, .script-line.reality, .script-line.automation, .script-line.visibility, .script-line.context, .script-line.scale {
    align-self: flex-start;
    background: var(--bg-sidebar);
    border-bottom-left-radius: 4px;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.script-line.code {
    align-self: stretch;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    padding: 16px;
    border-radius: 8px;
    color: var(--text-main);
}

.script-line.code .speaker {
    color: var(--accent);
    margin-bottom: 8px;
}

.script-line.code .text {
    white-space: pre;
    overflow-x: auto;
}

.script-line.silent {
    opacity: 0.9;
    border-style: dashed;
}

.script-line.mark, .script-line.liam, .script-line.raj {
    align-self: flex-end;
    background: var(--accent);
    color: #0f172a;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

[data-theme="light"] .script-line.mark {
    color: #ffffff;
    background: #0f766e;
}

.script-line .speaker {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.7;
}

.script-line .text {
    word-break: break-word;
    white-space: pre-wrap;
}

/* Writing Mode */
.writing-content {
    padding-bottom: 100px;
}

.writing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}

.writing-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.segmented-control {
    display: flex;
    background: var(--bg-active);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.segment-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.segment-btn.active {
    background: var(--accent);
    color: #000;
}

.writing-line-unit {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.original-text-container {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
    padding: 12px 16px;
    background: var(--bg-sidebar);
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.original-text-container.blurred, .paper-line-item .text.blurred {
    filter: blur(5px);
    user-select: none;
}

.original-text-container.blurred:hover, .paper-line-item .text.blurred:hover {
    filter: blur(2px);
}

.transcription-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: none;
    transition: border-color 0.2s ease;
}

.transcription-input:focus {
    outline: none;
    border-color: var(--accent);
}

.writing-paper-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.paper-line-item {
    padding: 16px;
    border-radius: 12px;
    background: var(--script-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.paper-line-item.written {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    opacity: 0.6;
}

.paper-line-item.written::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    color: #10b981;
    font-weight: bold;
}

.btn-text {
    background: var(--bg-active);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-text:hover {
    background: var(--accent);
    color: #000;
}

/* Empty State */
.empty-state-message {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
}

.empty-state-message svg {
    width: 80px;
    height: 80px;
    fill: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 20px;
}

.empty-state-message h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* Landing Page */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.landing-page.landing-fade-out {
    opacity: 0;
    pointer-events: none;
}

.landing-content {
    text-align: center;
    max-width: 480px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.landing-logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.landing-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.landing-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.landing-features {
    display: flex;
    gap: 24px;
    margin: 12px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-feature svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.landing-btn {
    margin-top: 12px;
    padding: 14px 48px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #0f172a;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.3);
}

[data-theme="light"] .landing-btn {
    color: #ffffff;
}

.hidden {
    display: none !important;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-sidebar);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--accent);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-body section {
    margin-bottom: 24px;
}

.modal-body h3 { font-size: 1rem; margin-bottom: 10px; color: var(--text-main); }
.modal-body p, .modal-body li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.modal-body ol, .modal-body ul { padding-left: 24px; margin-bottom: 16px; }
.modal-body pre { background: rgba(0, 0, 0, 0.3); padding: 12px; border-radius: 8px; font-size: 0.85rem; overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); }
.modal-body code { color: var(--accent); font-family: monospace; }
.modal-body a { color: var(--accent); text-decoration: none; }

/* Calendar View Styles */
.calendar-content {
    width: 100%;
    max-width: 600px;
    margin: auto auto; /* Center vertically and horizontally in flex container */
    padding-bottom: 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.calendar-title h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 2px;
}

.calendar-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day.today {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
}

.calendar-day.studied {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

.calendar-day.studied::after {
    content: '★';
    position: absolute;
    bottom: 1px;
    font-size: 0.5rem;
}

/* Mobile Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 100;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.sidebar-toggle svg {
    width: 24px;
    height: 24px;
    fill: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .script-scroll-area {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
    }

    .player-bar {
        padding: 12px 15px;
    }

    .script-line {
        max-width: 95%;
    }

    .speaking-controls {
        flex-direction: column;
        align-items: center;
    }

    .speaking-card {
        padding: 20px;
    }
}

/* Speaking Mode */
.speaking-content {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 100px;
}

.speaking-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.speaking-progress strong {
    color: var(--accent);
}

.speaking-card {
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#speaking-speaker {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

#speaking-original-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    transition: filter 0.3s ease;
}

#speaking-original-text.blurred {
    filter: blur(6px);
    user-select: none;
}

#speaking-interim-text {
    min-height: 40px;
    padding: 12px 16px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    transition: border-color 0.2s ease;
}

#speaking-interim-text.listening {
    border-color: var(--accent);
    color: var(--text-main);
}

#speaking-diff-result {
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 12px 0;
}

.word-correct {
    color: #10b981;
}

.word-missing {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.8;
}

.word-extra {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 3px;
    padding: 0 3px;
}

.speaking-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.speaking-mic-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-sidebar);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.speaking-mic-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.speaking-mic-btn.listening {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    animation: mic-pulse 1.5s ease-in-out infinite;
}

.speaking-mic-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@keyframes mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

.speaking-action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-active);
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.speaking-action-btn:hover {
    background: var(--accent);
    color: #000;
}

.speaking-summary {
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.speaking-summary h3 {
    font-size: 1.3rem;
    color: var(--accent);
}

.speaking-summary .score-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.speaking-unsupported {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.speaking-unsupported h3 {
    color: #ef4444;
    margin-bottom: 8px;
}

/* Cache Status (sidebar footer) */
.cache-status {
    padding: 8px 0;
    transition: opacity 0.5s ease;
}

.cache-status.hidden {
    display: none;
}

.cache-status.fade-out {
    opacity: 0;
}

.cache-status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
}

#cache-status-text {
    color: var(--text-muted);
}

#cache-status-count {
    color: var(--accent);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cache-status-bar-bg {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.cache-status-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}