/*!***********************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./frontend/shared/components/sr-dashboard.css ***!
  \***********************************************************************************************/
/* ================================================================
   SR Dashboard – Spaced Repetition Visual Dashboard
   CSS custom property prefix: --srd-*
   ================================================================ */

:root {
    --srd-bg: #ffffff;
    --srd-bg-alt: #f9fafb;
    --srd-border: #e5e7eb;
    --srd-text: #111827;
    --srd-text-muted: #6b7280;
    --srd-radius: 12px;
    --srd-radius-sm: 8px;
    --srd-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --srd-heat-0: #ebedf0;
    --srd-heat-1: #9be9a8;
    --srd-heat-2: #40c463;
    --srd-heat-3: #30a14e;
    --srd-heat-4: #216e39;
    --srd-urgency-overdue: #ef4444;
    --srd-urgency-today: #f59e0b;
    --srd-urgency-week: #3b82f6;
    --srd-accent: #2563eb;
    --srd-bar-bg: #e5e7eb;
    --srd-bar-fill: #3b82f6;
    --srd-forecast-fill: #8b5cf6;
}

/* ── Layout ──────────────────────────────────────────────────── */

.srd-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--srd-text);
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.srd-dashboard.srd-compact {
    gap: 16px;
    padding: 16px;
}

.srd-section-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--srd-text);
    letter-spacing: 0.01em;
}

/* ── Loading / Error / Empty ─────────────────────────────────── */

.srd-loading,
.srd-error,
.srd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    color: var(--srd-text-muted);
}

.srd-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--srd-border);
    border-top-color: var(--srd-accent);
    border-radius: 50%;
    animation: srd-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

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

.srd-error-detail {
    font-size: 13px;
    color: var(--srd-urgency-overdue);
    margin-top: 4px;
}

/* ── Stats Row ───────────────────────────────────────────────── */

.srd-stats-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.srd-stat {
    flex: 1;
    min-width: 100px;
    background: var(--srd-bg);
    border: 1px solid var(--srd-border);
    border-radius: var(--srd-radius-sm);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--srd-shadow);
}

.srd-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--srd-accent);
    line-height: 1.1;
}

.srd-stat-label {
    display: block;
    font-size: 12px;
    color: var(--srd-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Heatmap ─────────────────────────────────────────────────── */

.srd-heatmap-container {
    background: var(--srd-bg);
    border: 1px solid var(--srd-border);
    border-radius: var(--srd-radius);
    padding: 20px;
    box-shadow: var(--srd-shadow);
    overflow-x: auto;
}

.srd-heatmap-svg {
    display: block;
    min-width: 700px;
}

.srd-heatmap-label {
    font-size: 10px;
    fill: var(--srd-text-muted);
    font-family: inherit;
}

.srd-heatmap-cell {
    transition: opacity 0.15s;
}

.srd-heatmap-cell:hover {
    opacity: 0.8;
    stroke: var(--srd-text);
    stroke-width: 1;
}

.srd-heatmap-legend {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    justify-content: flex-end;
}

.srd-legend-label {
    font-size: 11px;
    color: var(--srd-text-muted);
    margin: 0 4px;
}

.srd-legend-cell {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* ── Due Cards Panel ─────────────────────────────────────────── */

.srd-due-panel {
    background: var(--srd-bg);
    border: 1px solid var(--srd-border);
    border-radius: var(--srd-radius);
    padding: 20px;
    box-shadow: var(--srd-shadow);
}

.srd-due-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.srd-compact .srd-due-summary {
    margin-bottom: 0;
    justify-content: center;
}

.srd-due-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.srd-due-overdue { background: var(--srd-urgency-overdue); }
.srd-due-today   { background: var(--srd-urgency-today); color: #1a1a1a; }
.srd-due-week    { background: var(--srd-urgency-week); }

.srd-due-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.srd-due-group {
    border-left: 3px solid var(--srd-border);
    padding-left: 12px;
}

.srd-due-category {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--srd-text-muted);
}

.srd-due-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.srd-due-card {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    border-left: 3px solid;
    background: var(--srd-bg-alt);
    font-size: 13px;
}

.srd-due-more {
    font-size: 12px;
    color: var(--srd-text-muted);
    align-self: center;
    padding: 4px 8px;
}

.srd-due-empty {
    color: var(--srd-text-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* ── Interval Distribution Bar Chart ─────────────────────────── */

.srd-interval-panel {
    background: var(--srd-bg);
    border: 1px solid var(--srd-border);
    border-radius: var(--srd-radius);
    padding: 20px;
    box-shadow: var(--srd-shadow);
}

.srd-interval-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    padding-top: 10px;
}

.srd-interval-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.srd-interval-bar {
    width: 100%;
    max-width: 48px;
    background: var(--srd-bar-fill);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    position: relative;
    transition: height 0.3s ease;
}

.srd-interval-count {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--srd-text);
    white-space: nowrap;
}

.srd-interval-label {
    font-size: 11px;
    color: var(--srd-text-muted);
    margin-top: 6px;
    text-align: center;
}

/* ── Weekly Forecast ─────────────────────────────────────────── */

.srd-forecast-panel {
    background: var(--srd-bg);
    border: 1px solid var(--srd-border);
    border-radius: var(--srd-radius);
    padding: 20px;
    box-shadow: var(--srd-shadow);
}

.srd-forecast-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
}

.srd-forecast-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.srd-forecast-bar-track {
    width: 100%;
    max-width: 40px;
    height: 80px;
    background: var(--srd-bar-bg);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.srd-forecast-bar-fill {
    width: 100%;
    background: var(--srd-forecast-fill);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
    min-height: 2px;
}

.srd-forecast-count {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--srd-text);
}

.srd-forecast-label {
    font-size: 11px;
    color: var(--srd-text-muted);
    margin-top: 2px;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    .srd-dashboard {
        padding: 16px;
        gap: 16px;
    }

    .srd-stats-row {
        gap: 8px;
    }

    .srd-stat {
        min-width: 80px;
        padding: 12px 8px;
    }

    .srd-stat-value {
        font-size: 22px;
    }

    .srd-stat-label {
        font-size: 10px;
    }

    .srd-heatmap-container {
        padding: 12px;
    }

    .srd-interval-chart {
        height: 100px;
        gap: 8px;
    }

    .srd-forecast-bars {
        height: 100px;
        gap: 6px;
    }

    .srd-forecast-bar-track {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .srd-stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .srd-stat:nth-child(4),
    .srd-stat:nth-child(5) {
        grid-column: span 1;
    }

    .srd-due-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/*!********************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./frontend/shared/components/pronunciation-heatmap.css ***!
  \********************************************************************************************************/
/* ================================================================
   Pronunciation Heatmap – Visual pronunciation analysis
   CSS custom property prefix: --ph-*
   ================================================================ */

:root {
    --ph-bg: #ffffff;
    --ph-bg-alt: #f9fafb;
    --ph-border: #e5e7eb;
    --ph-text: #111827;
    --ph-text-muted: #6b7280;
    --ph-radius: 12px;
    --ph-radius-sm: 8px;
    --ph-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ph-acc-good: #22c55e;
    --ph-acc-warn: #f59e0b;
    --ph-acc-bad: #ef4444;
    --ph-trend-up: #22c55e;
    --ph-trend-down: #ef4444;
    --ph-trend-stable: #6b7280;
    --ph-accent: #2563eb;
    --ph-chart-line: #3b82f6;
    --ph-chart-area: rgba(59, 130, 246, 0.1);
    --ph-nato-mastered: #dcfce7;
}

/* ── Layout ──────────────────────────────────────────────────── */

.ph-heatmap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ph-text);
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.ph-heatmap.ph-compact {
    padding: 16px;
}

.ph-section-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--ph-text);
}

.ph-section-desc {
    font-size: 13px;
    color: var(--ph-text-muted);
    margin: 0 0 16px 0;
}

/* ── Loading / Error / Empty ─────────────────────────────────── */

.ph-loading,
.ph-error,
.ph-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    color: var(--ph-text-muted);
}

.ph-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--ph-border);
    border-top-color: var(--ph-accent);
    border-radius: 50%;
    animation: ph-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

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

.ph-error-detail {
    font-size: 13px;
    color: var(--ph-acc-bad);
    margin-top: 4px;
}

/* ── Tab Navigation ──────────────────────────────────────────── */

.ph-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ph-border);
    padding-bottom: 0;
    overflow-x: auto;
}

.ph-tab {
    padding: 10px 16px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ph-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.ph-tab:hover {
    color: var(--ph-text);
}

.ph-tab-active {
    color: var(--ph-accent);
    border-bottom-color: var(--ph-accent);
    font-weight: 600;
}

/* ── Word Cloud ──────────────────────────────────────────────── */

.ph-cloud-container {
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    padding: 20px;
    box-shadow: var(--ph-shadow);
}

.ph-word-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    padding: 20px 10px;
    min-height: 120px;
}

.ph-cloud-word {
    cursor: default;
    font-weight: 600;
    transition: transform 0.15s, opacity 0.15s;
    line-height: 1.2;
}

.ph-cloud-word:hover {
    transform: scale(1.1);
    opacity: 1 !important;
}

.ph-cloud-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ── Phoneme Table ───────────────────────────────────────────── */

.ph-phonemes-container {
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    padding: 20px;
    box-shadow: var(--ph-shadow);
}

.ph-phoneme-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ph-phoneme-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ph-text-muted);
    padding: 8px 12px;
    border-bottom: 2px solid var(--ph-border);
}

.ph-phoneme-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ph-border);
    vertical-align: middle;
}

.ph-phoneme-table tr:last-child td {
    border-bottom: none;
}

.ph-phoneme-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ph-phoneme-ipa {
    font-size: 16px;
    font-weight: 600;
}

.ph-phoneme-label {
    font-size: 11px;
    color: var(--ph-text-muted);
}

.ph-phoneme-example {
    font-style: italic;
    color: var(--ph-text-muted);
}

.ph-accuracy-bar {
    position: relative;
    height: 22px;
    background: var(--ph-bg-alt);
    border-radius: 11px;
    overflow: hidden;
    min-width: 100px;
}

.ph-accuracy-fill {
    height: 100%;
    border-radius: 11px;
    transition: width 0.3s ease;
}

.ph-accuracy-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
    color: var(--ph-text);
}

.ph-trend-arrow {
    font-size: 18px;
    font-weight: 700;
}

.ph-count-cell {
    text-align: center;
    font-weight: 500;
}

/* ── Problem Words ───────────────────────────────────────────── */

.ph-problems-container {
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    padding: 20px;
    box-shadow: var(--ph-shadow);
}

.ph-no-problems {
    text-align: center;
    color: var(--ph-acc-good);
    font-weight: 500;
    padding: 20px;
}

.ph-problem-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ph-problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--ph-bg-alt);
    border-radius: var(--ph-radius-sm);
    border: 1px solid var(--ph-border);
}

.ph-problem-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ph-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-text-muted);
    flex-shrink: 0;
}

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

.ph-problem-word {
    font-size: 15px;
    font-weight: 600;
}

.ph-problem-meta {
    display: flex;
    gap: 12px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--ph-text-muted);
    flex-wrap: wrap;
}

.ph-problem-accuracy {
    font-weight: 600;
}

.ph-problem-trend {
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.ph-practice-btn {
    padding: 6px 14px;
    border: 1px solid var(--ph-accent);
    background: transparent;
    color: var(--ph-accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.ph-practice-btn:hover {
    background: var(--ph-accent);
    color: #fff;
}

/* ── Progress Chart ──────────────────────────────────────────── */

.ph-progress-container {
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    padding: 20px;
    box-shadow: var(--ph-shadow);
}

.ph-chart-svg {
    display: block;
    width: 100%;
    max-height: 240px;
}

.ph-chart-grid {
    stroke: var(--ph-border);
    stroke-width: 1;
    stroke-dasharray: 4;
}

.ph-chart-label {
    font-size: 11px;
    fill: var(--ph-text-muted);
    font-family: inherit;
}

.ph-chart-line {
    fill: none;
    stroke: var(--ph-chart-line);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ph-chart-area {
    fill: var(--ph-chart-area);
}

.ph-chart-dot {
    fill: var(--ph-chart-line);
    stroke: var(--ph-bg);
    stroke-width: 2;
    cursor: pointer;
}

.ph-chart-dot:hover {
    r: 6;
}

.ph-chart-empty {
    text-align: center;
    color: var(--ph-text-muted);
    padding: 40px 0;
}

/* ── NATO Alphabet Grid ──────────────────────────────────────── */

.ph-nato-container {
    background: var(--ph-bg);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    padding: 20px;
    box-shadow: var(--ph-shadow);
}

.ph-nato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.ph-nato-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid var(--ph-border);
    border-radius: var(--ph-radius-sm);
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}

.ph-nato-mastered {
    background: var(--ph-nato-mastered);
}

.ph-nato-letter {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.ph-nato-word {
    font-size: 11px;
    color: var(--ph-text-muted);
    margin-top: 4px;
}

.ph-nato-accuracy {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.ph-nato-untried {
    font-size: 13px;
    color: var(--ph-border);
    margin-top: 4px;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    .ph-heatmap {
        padding: 16px;
    }

    .ph-tabs {
        gap: 0;
    }

    .ph-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .ph-phoneme-table th,
    .ph-phoneme-table td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .ph-problem-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ph-problem-trend {
        order: 3;
    }

    .ph-practice-btn {
        width: 100%;
        text-align: center;
        order: 4;
    }

    .ph-nato-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 6px;
    }

    .ph-nato-cell {
        padding: 8px 4px;
    }

    .ph-nato-letter {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ph-phoneme-table {
        display: block;
        overflow-x: auto;
    }

    .ph-cloud-container {
        padding: 12px;
    }

    .ph-word-cloud {
        gap: 6px 10px;
        padding: 12px 4px;
    }
}

/*!***********************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./frontend/training-modules/vocab-trainer/src/pronunciation-coach.css ***!
  \***********************************************************************************************************************/
/* ==========================================================
   Pronunciation Coach — Speech Assessment UI
   CI-compliant with --vt-* design tokens
   ========================================================== */

.pc-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

/* ── Sub-tabs (Practice / History) ── */

.pc-subtabs {
    display: flex;
    gap: 0;
    background: var(--vt-navy, #0f2b4a);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 1.25rem;
}

.pc-subtab {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s var(--vt-ease, ease);
    font-family: inherit;
}

.pc-subtab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.pc-subtab-active {
    background: var(--vt-amber, #f59e0b);
    color: var(--vt-navy, #0f2b4a);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.pc-subtab-active:hover {
    background: var(--vt-amber, #f59e0b);
    color: var(--vt-navy, #0f2b4a);
}

/* ── Card Display ── */

.pc-card-display {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1.5rem;
    box-shadow: var(--vt-shadow-md, 0 4px 12px rgba(15, 23, 42, 0.06));
    text-align: center;
    margin-bottom: 1.25rem;
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vt-slate-400, #94a3b8);
    margin-bottom: 0.5rem;
}

.pc-card-term {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vt-navy, #0f2b4a);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.pc-card-phonetic {
    font-size: 0.9rem;
    color: var(--vt-slate-500, #64748b);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.pc-card-translation {
    font-size: 1rem;
    color: var(--vt-slate-600, #475569);
    margin-bottom: 1rem;
}

.pc-card-sentence {
    background: var(--vt-bg-sky-50, #eff6ff);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.pc-card-sentence-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pc-card-sentence p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: var(--vt-navy, #0f2b4a);
    line-height: 1.5;
}

.pc-card-instruction {
    font-size: 0.85rem;
    color: var(--vt-slate-500, #64748b);
    font-style: italic;
}

/* ── Record Area ── */

.pc-record-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.pc-record-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--vt-rose, #ef4444);
    background: rgba(239, 68, 68, 0.08);
    color: var(--vt-rose, #ef4444);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--vt-ease, ease);
    position: relative;
}

.pc-record-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.05);
}

.pc-record-btn-active {
    background: var(--vt-rose, #ef4444);
    color: #fff;
    animation: pc-pulse 1.5s ease-in-out infinite;
}

.pc-record-btn-active:hover {
    background: #dc2626;
}

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

.pc-record-label {
    font-size: 0.85rem;
    color: var(--vt-slate-500, #64748b);
    font-weight: 500;
}

/* ── Audio Level Bar ── */

.pc-level-bar {
    width: 200px;
    height: 6px;
    background: var(--vt-slate-200, #e2e8f0);
    border-radius: 3px;
    overflow: hidden;
}

.pc-level-fill {
    height: 100%;
    background: var(--vt-emerald, #10b981);
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* ── Processing Spinner ── */

.pc-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
    color: var(--vt-slate-600, #475569);
}

.pc-processing p {
    margin: 0;
    font-weight: 600;
}

.pc-processing-sub {
    font-size: 0.8rem;
    color: var(--vt-slate-400, #94a3b8);
    font-weight: 400 !important;
}

.pc-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--vt-slate-200, #e2e8f0);
    border-top-color: var(--vt-amber, #f59e0b);
    border-radius: 50%;
    animation: pc-spin 0.8s linear infinite;
}

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

/* ── Results ── */

.pc-results {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Overall level */
.pc-overall {
    text-align: center;
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    box-shadow: var(--vt-shadow-md, 0 4px 12px rgba(15, 23, 42, 0.06));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-overall-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vt-slate-400, #94a3b8);
}

.pc-overall-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0.25rem 0;
}

.pc-overall-desc {
    font-size: 0.9rem;
    color: var(--vt-slate-600, #475569);
    font-weight: 500;
}

/* Score bars */
.pc-scores {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1.25rem;
    box-shadow: var(--vt-shadow-md, 0 4px 12px rgba(15, 23, 42, 0.06));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-scores-title {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vt-navy, #0f2b4a);
}

.pc-score-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.pc-score-row:last-child {
    margin-bottom: 0;
}

.pc-score-label {
    width: 110px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-600, #475569);
    flex-shrink: 0;
}

.pc-score-bar-bg {
    flex: 1;
    height: 10px;
    background: var(--vt-navy, #0f2b4a);
    border-radius: 5px;
    overflow: hidden;
}

.pc-score-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s var(--vt-ease, ease);
}

.pc-score-value {
    width: 28px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 2px 4px;
    flex-shrink: 0;
}

/* Recognized text */
.pc-recognized {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1rem 1.25rem;
    box-shadow: var(--vt-shadow-sm, 0 1px 4px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-recognized h4 {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pc-recognized-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--vt-navy, #0f2b4a);
    line-height: 1.5;
    font-style: italic;
}

/* Word-level heatmap */
.pc-word-heatmap {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1rem 1.25rem;
    box-shadow: var(--vt-shadow-sm, 0 1px 4px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-word-heatmap h4 {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pc-word-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pc-word-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    cursor: default;
}

/* Coaching feedback */
.pc-feedback {
    border-radius: var(--vt-radius-card, 12px);
    overflow: hidden;
    box-shadow: var(--vt-shadow-md, 0 4px 12px rgba(15, 23, 42, 0.06));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-feedback-header {
    background: var(--vt-navy, #0f2b4a);
    color: #fff;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.pc-feedback-body {
    background: #fff;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--vt-slate-700, #334155);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Comparison sentences */
.pc-comparisons {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1rem 1.25rem;
    box-shadow: var(--vt-shadow-sm, 0 1px 4px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-comparisons h4 {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pc-comparison {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--vt-slate-100, #f1f5f9);
}

.pc-comparison:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pc-comparison-row {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.pc-comparison-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    flex-shrink: 0;
    min-width: 50px;
}

.pc-comparison-improved {
    color: var(--vt-emerald, #10b981);
}

.pc-comparison-text {
    font-size: 0.9rem;
    color: var(--vt-slate-700, #334155);
}

/* Suggested exercises */
.pc-suggestions {
    background: #fff;
    border-radius: var(--vt-radius-card, 12px);
    padding: 1rem 1.25rem;
    box-shadow: var(--vt-shadow-sm, 0 1px 4px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--vt-slate-200, #e2e8f0);
}

.pc-suggestions h4 {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-400, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pc-suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pc-suggestion-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--vt-slate-200, #e2e8f0);
    border-radius: 8px;
    background: var(--vt-bg-sky-50, #eff6ff);
    cursor: pointer;
    transition: all 0.15s var(--vt-ease, ease);
    text-align: left;
    font-family: inherit;
}

.pc-suggestion-btn:hover {
    border-color: var(--vt-sky, #3b82f6);
    box-shadow: var(--vt-shadow-sm, 0 1px 4px rgba(15, 23, 42, 0.08));
    transform: translateY(-1px);
}

.pc-suggestion-term {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vt-navy, #0f2b4a);
}

.pc-suggestion-de {
    font-size: 0.8rem;
    color: var(--vt-slate-500, #64748b);
}

.pc-suggestion-reason {
    font-size: 0.75rem;
    color: var(--vt-slate-400, #94a3b8);
    font-style: italic;
    margin-top: 2px;
}

/* Action buttons */
.pc-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding-top: 0.5rem;
}

.pc-action-btn {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--vt-radius-btn, 8px);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s var(--vt-ease, ease);
    font-family: inherit;
}

.pc-action-retry {
    background: var(--vt-slate-100, #f1f5f9);
    color: var(--vt-slate-700, #334155);
}

.pc-action-retry:hover {
    background: var(--vt-slate-200, #e2e8f0);
}

.pc-action-next {
    background: var(--vt-amber, #f59e0b);
    color: var(--vt-navy, #0f2b4a);
}

.pc-action-next:hover {
    background: #d97706;
}

/* Error */
.pc-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--vt-bg-red-50, #fef2f2);
    border: 1px solid var(--vt-bg-red-100, #fee2e2);
    border-radius: 8px;
    color: var(--vt-red-600, #dc2626);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.pc-error-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--vt-rose, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Empty state */
.pc-empty {
    text-align: center;
    padding: 2rem;
    color: var(--vt-slate-500, #64748b);
}

/* ── Responsive ── */

@media (max-width: 480px) {
    .pc-card-term {
        font-size: 1.4rem;
    }

    .pc-score-label {
        width: 80px;
        font-size: 0.7rem;
    }

    .pc-record-btn {
        width: 68px;
        height: 68px;
    }

    .pc-actions {
        flex-direction: column;
    }

    .pc-action-btn {
        width: 100%;
    }
}

/*!**************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./frontend/shared/components/icao-disclaimer.css ***!
  \**************************************************************************************************/
.icao-disclaimer {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    margin: 12px 0;
    background: rgba(234, 179, 8, 0.06);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.5;
}

.icao-disclaimer-icon {
    flex-shrink: 0;
    color: #eab308;
    margin-top: 2px;
}

.icao-disclaimer-text strong {
    display: block;
    color: #eab308;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.icao-disclaimer-text p {
    margin: 0;
}

.icao-disclaimer-text em {
    color: #fbbf24;
    font-style: normal;
    font-weight: 600;
}

.icao-disclaimer-compact {
    padding: 0;
    margin: 6px 0;
    background: none;
    border: none;
    font-size: 0.68rem;
    color: #64748b;
    font-style: italic;
    text-align: center;
}

/*!*****************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./frontend/training-modules/vocab-trainer/src/vocab-trainer.css ***!
  \*****************************************************************************************************************/
/* ==========================================================
   ICAOLPT Vokabeltrainer – Styles
   Mobile-first, CI-compliant with --vt-* design tokens
   ========================================================== */

/* --- CI Design Tokens --- */
:root {
    /* Primary */
    --vt-navy: #0f2b4a;
    --vt-navy-light: #1a3f6b;
    --vt-sky: #3b82f6;
    --vt-amber: #f59e0b;
    --vt-emerald: #10b981;
    --vt-rose: #ef4444;

    /* Neutrals (Slate scale) */
    --vt-slate-50: #f8fafc;
    --vt-slate-100: #f1f5f9;
    --vt-slate-200: #e2e8f0;
    --vt-slate-300: #cbd5e1;
    --vt-slate-400: #94a3b8;
    --vt-slate-500: #64748b;
    --vt-slate-600: #475569;
    --vt-slate-700: #334155;
    --vt-slate-800: #1e293b;
    --vt-slate-900: #0f172a;

    /* Semantic */
    --vt-green-600: #16a34a;
    --vt-amber-600: #d97706;
    --vt-red-600: #dc2626;
    --vt-amber-dark: #92400e;

    /* Backgrounds */
    --vt-bg-sky-50: #eff6ff;
    --vt-bg-sky-100: #dbeafe;
    --vt-bg-green-50: #f0fdf4;
    --vt-bg-green-100: #dcfce7;
    --vt-bg-amber-50: #fffbeb;
    --vt-bg-amber-100: #fef3c7;
    --vt-bg-amber-200: #fde68a;
    --vt-bg-red-50: #fef2f2;
    --vt-bg-red-100: #fee2e2;

    /* Traffic-light off states */
    --vt-tl-red-off: #451a1a;
    --vt-tl-yellow-off: #3d2e0a;
    --vt-tl-green-off: #0a2e1a;

    /* Shadows (navy-based per CI) */
    --vt-shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.08);
    --vt-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --vt-shadow-lg: 0 4px 16px rgba(15, 23, 42, 0.12);
    --vt-shadow-xl: 0 4px 20px rgba(15, 43, 74, 0.2);

    /* Transitions */
    --vt-ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Border-radius (CI) */
    --vt-radius-btn: 8px;
    --vt-radius-card: 12px;
    --vt-radius-hero: 16px;
    --vt-radius-pill: 100px;
}

/* --- Wrapper (session root) --- */
.vt-wrapper {
    position: relative;
}

/* --- Container --- */
.vt-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Loading / Empty --- */
.vt-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--vt-slate-500);
    font-size: 1rem;
}

/* ==========================================================
   MENU VIEW
   ========================================================== */

/* Stats Bar */
.vt-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.vt-stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--vt-slate-50);
    border-radius: var(--vt-radius-btn);
    border: 1px solid var(--vt-slate-200);
}

.vt-stat-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vt-navy);
    line-height: 1.2;
}

.vt-stat-lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--vt-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* Start Button */
.vt-btn-start {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--vt-navy);
    color: #fff;
    border: none;
    border-radius: var(--vt-radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s var(--vt-ease), transform 0.1s var(--vt-ease);
    margin-bottom: 1.5rem;
}

.vt-btn-start:hover {
    background: var(--vt-navy-light);
}

.vt-btn-start:active {
    transform: scale(0.98);
}

.vt-btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--vt-slate-100);
    color: var(--vt-slate-700);
    border: 1px solid var(--vt-slate-200);
    border-radius: var(--vt-radius-btn);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s var(--vt-ease);
    margin-top: 0.5rem;
}

.vt-btn-secondary:hover {
    background: var(--vt-slate-200);
}

/* Section Title */
.vt-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vt-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem 0;
}

/* Category Grid */
.vt-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem;
}

.vt-cat-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem;
    background: #fff;
    border: 1px solid var(--vt-slate-200);
    border-radius: var(--vt-radius-btn);
    cursor: pointer;
    transition: border-color 0.2s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
    text-align: left;
}

.vt-cat-card:hover {
    border-color: var(--vt-sky);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.vt-cat-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--vt-navy);
}

.vt-cat-count {
    font-size: 0.75rem;
    color: var(--vt-slate-500);
}

.vt-cat-bar {
    height: 4px;
    background: var(--vt-slate-200);
    border-radius: 2px;
    margin-top: 0.35rem;
    overflow: hidden;
}

.vt-cat-fill {
    height: 100%;
    background: var(--vt-sky);
    border-radius: 2px;
    transition: width 0.4s var(--vt-ease);
}

/* ==========================================================
   REVIEW VIEW
   ========================================================== */

/* Header with progress */
.vt-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vt-back-btn {
    background: none;
    border: none;
    color: var(--vt-slate-500);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0;
    white-space: nowrap;
    transition: color 0.15s var(--vt-ease);
}

.vt-back-btn:hover {
    color: var(--vt-navy);
}

.vt-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--vt-slate-200);
    border-radius: 3px;
    overflow: hidden;
}

.vt-progress-fill {
    height: 100%;
    background: var(--vt-sky);
    border-radius: 3px;
    transition: width 0.3s var(--vt-ease);
}

.vt-progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vt-slate-500);
    white-space: nowrap;
}

/* --- Flashcard with 3D flip --- */
.vt-flashcard {
    perspective: 1000px;
    min-height: 320px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.vt-flashcard.is-flipped {
    cursor: default;
}

.vt-flashcard-inner {
    position: relative;
    width: 100%;
    min-height: 320px;
    transition: transform 0.5s var(--vt-ease);
    transform-style: preserve-3d;
}

.vt-flashcard.is-flipped .vt-flashcard-inner {
    transform: rotateY(180deg);
}

.vt-flashcard-front,
.vt-flashcard-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #fff;
    border: 2px solid var(--vt-slate-200);
    border-radius: var(--vt-radius-card);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--vt-shadow-md);
}

.vt-flashcard-front {
    z-index: 2;
}

.vt-flashcard:not(.is-flipped) .vt-flashcard-front:hover {
    border-color: var(--vt-sky);
}

.vt-flashcard-back {
    transform: rotateY(180deg);
    border-color: var(--vt-emerald);
}

/* Card top row (category + audio icons) */
.vt-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.vt-card-cat {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vt-slate-500);
    background: var(--vt-slate-100);
    padding: 3px 8px;
    border-radius: 4px;
}

.vt-card-audio {
    display: flex;
    gap: 0.35rem;
}

/* Card center content */
.vt-card-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0;
}

.vt-term {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vt-navy);
    margin: 0;
    line-height: 1.3;
}

.vt-answer {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vt-emerald);
    margin: 0;
    line-height: 1.3;
}

.vt-phonetic {
    font-size: 0.9rem;
    color: var(--vt-slate-400);
    font-style: italic;
    margin-top: 0.25rem;
}

.vt-example {
    font-size: 0.85rem;
    color: var(--vt-slate-500);
    line-height: 1.5;
    margin: 0;
    text-align: center;
    padding: 0 0.5rem;
}

.vt-context {
    font-size: 0.8rem;
    color: var(--vt-slate-400);
    font-style: italic;
    margin: 0.5rem 0 0;
    text-align: center;
}

.vt-context-sentence {
    font-size: 0.78rem;
    color: var(--vt-slate-400);
    font-style: italic;
    margin: 0.75rem 0 0;
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-left: 3px solid var(--vt-sky);
    background: var(--vt-bg-sky-50);
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}

.vt-context-icon {
    margin-right: 0.35rem;
    font-style: normal;
}

.vt-context-sentence-de {
    display: block;
    margin-top: 0.25rem;
    color: var(--vt-slate-500);
    font-size: 0.72rem;
}

.vt-tap-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--vt-slate-300);
    text-align: center;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* ==========================================================
   AUDIO BUTTONS
   ========================================================== */

.vt-audio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--vt-slate-200);
    border-radius: var(--vt-radius-btn);
    background: #fff;
    cursor: pointer;
    transition: background 0.15s var(--vt-ease), border-color 0.15s var(--vt-ease), transform 0.1s var(--vt-ease);
    padding: 0;
    color: var(--vt-slate-500);
}

.vt-audio-btn svg {
    width: 18px;
    height: 18px;
}

.vt-audio-btn:hover {
    background: var(--vt-slate-100);
    border-color: var(--vt-slate-300);
    color: var(--vt-navy);
}

.vt-audio-btn:active {
    transform: scale(0.92);
}

/* Speaker active state */
.vt-speaker.active {
    background: var(--vt-bg-sky-50);
    border-color: var(--vt-sky);
    color: var(--vt-sky);
}

/* Mic recording state */
.vt-mic.recording {
    background: var(--vt-bg-red-50);
    border-color: var(--vt-rose);
    color: var(--vt-rose);
    position: relative;
}

/* Mic pulse animation */
.vt-mic-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--vt-radius-btn);
    border: 2px solid var(--vt-rose);
    animation: vt-pulse 1.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes vt-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================
   TRAFFIC LIGHT (AMPEL) PRONUNCIATION FEEDBACK
   ========================================================== */

.vt-ampel {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.7) translateY(-8px);
    transition: opacity 0.35s var(--vt-ease), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.vt-ampel.vt-ampel-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.vt-ampel-housing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--vt-slate-800);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
}

.vt-ampel-light {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: box-shadow 0.3s var(--vt-ease), background 0.3s var(--vt-ease);
}

/* Off states */
.vt-light-red   { background: var(--vt-tl-red-off); }
.vt-light-yellow { background: var(--vt-tl-yellow-off); }
.vt-light-green  { background: var(--vt-tl-green-off); }

/* On states with glow */
.vt-light-red.on {
    background: var(--vt-rose);
    box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

.vt-light-yellow.on {
    background: var(--vt-amber);
    box-shadow: 0 0 12px 4px rgba(245, 158, 11, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

.vt-light-green.on {
    background: var(--vt-emerald);
    box-shadow: 0 0 12px 4px rgba(16, 185, 129, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

.vt-ampel-score {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--vt-slate-500);
    background: #fff;
    padding: 1px 6px;
    border-radius: 6px;
    box-shadow: var(--vt-shadow-sm);
}

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

/* ==========================================================
   PRONUNCIATION DETAIL FEEDBACK (Server-side results)
   ========================================================== */

.vt-pron-feedback {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.7) translateY(-8px);
    transition: opacity 0.35s var(--vt-ease), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
    min-width: 200px;
}

.vt-pron-feedback.vt-pron-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.vt-pron-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: var(--vt-radius-card);
    padding: 6px 10px;
    box-shadow: var(--vt-shadow-lg);
    cursor: pointer;
}

.vt-pron-score-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.vt-pron-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vt-slate-800);
}

.vt-pron-label {
    font-size: 0.72rem;
    color: var(--vt-slate-500);
}

.vt-pron-toggle, .vt-pron-close {
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--vt-slate-400);
    cursor: pointer;
    padding: 2px 6px;
    margin-left: auto;
}

.vt-pron-detail {
    background: #fff;
    border-radius: 0 0 var(--vt-radius-card) var(--vt-radius-card);
    padding: 10px;
    box-shadow: var(--vt-shadow-lg);
    margin-top: -4px;
    animation: vt-fadeIn 0.25s var(--vt-ease);
}

.vt-pron-words {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.vt-pron-word {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.82rem;
}

.vt-pron-word.good { background: var(--vt-bg-green-50); }
.vt-pron-word.ok { background: var(--vt-bg-amber-50); }
.vt-pron-word.bad { background: var(--vt-bg-red-50); }

.vt-pron-word-icon {
    width: 16px;
    text-align: center;
    font-weight: 700;
}
.vt-pron-word.good .vt-pron-word-icon { color: var(--vt-green-600); }
.vt-pron-word.ok .vt-pron-word-icon { color: var(--vt-amber-600); }
.vt-pron-word.bad .vt-pron-word-icon { color: var(--vt-red-600); }

.vt-pron-word-text {
    flex: 1;
    font-weight: 500;
    color: var(--vt-slate-700);
}

.vt-pron-word-score {
    font-family: 'SF Mono', SFMono-Regular, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--vt-slate-500);
}

.vt-pron-tips {
    background: var(--vt-slate-50);
    border: 1px solid var(--vt-slate-200);
    border-radius: var(--vt-radius-btn);
    padding: 8px;
    margin-bottom: 8px;
}

.vt-pron-tip {
    font-size: 0.78rem;
    color: var(--vt-slate-600);
    line-height: 1.4;
    padding: 2px 0;
}

.vt-pron-tip strong {
    color: var(--vt-slate-800);
}

.vt-pron-close-detail {
    display: block;
    width: 100%;
    background: var(--vt-slate-100);
    border: 1px solid var(--vt-slate-200);
    border-radius: 6px;
    padding: 6px;
    font-size: 0.78rem;
    color: var(--vt-slate-500);
    cursor: pointer;
    text-align: center;
}
.vt-pron-close-detail:hover { background: var(--vt-slate-200); }

/* ==========================================================
   RATING BAR
   ========================================================== */

.vt-rating-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    animation: vt-fadeIn 0.2s var(--vt-ease);
}

.vt-rate-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: var(--vt-radius-btn);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s var(--vt-ease), box-shadow 0.15s var(--vt-ease);
}

.vt-rate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.vt-rate-btn:active {
    transform: translateY(0);
}

.vt-rate-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.vt-rate-again {
    background: var(--vt-bg-red-100);
    color: var(--vt-red-600);
}

.vt-rate-hard {
    background: var(--vt-bg-amber-100);
    color: var(--vt-amber-600);
}

.vt-rate-good {
    background: var(--vt-bg-green-100);
    color: var(--vt-green-600);
}

/* ==========================================================
   RESULT VIEW
   ========================================================== */

.vt-result {
    text-align: center;
    padding: 2rem 0;
}

.vt-result h2 {
    font-size: 1.25rem;
    color: var(--vt-navy);
    margin: 1rem 0 0.75rem;
}

.vt-result-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vt-bg-sky-50), var(--vt-bg-sky-100));
    border: 4px solid var(--vt-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.vt-result-pct {
    font-size: 2rem;
    font-weight: 800;
    color: var(--vt-navy);
}

.vt-result-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--vt-slate-500);
}

.vt-result-stats strong {
    color: var(--vt-navy);
}

.vt-result-actions {
    max-width: 320px;
    margin: 0 auto;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 480px) {
    .vt-container {
        padding: 0.75rem;
    }

    .vt-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .vt-stat-num {
        font-size: 1.15rem;
    }

    .vt-cat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vt-term,
    .vt-answer {
        font-size: 1.4rem;
    }

    .vt-flashcard,
    .vt-flashcard-inner {
        min-height: 280px;
    }

    .vt-result-circle {
        width: 100px;
        height: 100px;
    }

    .vt-result-pct {
        font-size: 1.6rem;
    }
}

@media (max-width: 360px) {
    .vt-cat-grid {
        grid-template-columns: 1fr;
    }

    .vt-rating-bar {
        gap: 0.35rem;
    }

    .vt-rate-btn {
        padding: 0.6rem 0.35rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================
   DEMO MODE
   ========================================================== */

/* Demo Badge */
.vt-demo-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--vt-bg-amber-100), var(--vt-bg-amber-200));
    border: 1px solid var(--vt-amber);
    border-radius: var(--vt-radius-btn);
    padding: 0.65rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--vt-amber-dark);
    font-weight: 500;
}

.vt-demo-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vt-amber);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Demo Limit Reached */
.vt-demo-limit {
    text-align: center;
    padding: 2rem 1rem;
}

.vt-demo-limit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--vt-bg-amber-100), var(--vt-bg-amber-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-demo-limit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--vt-amber-600);
}

.vt-demo-limit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vt-navy);
    margin: 0 0 0.75rem;
}

.vt-demo-limit-text {
    font-size: 0.95rem;
    color: var(--vt-slate-500);
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.vt-demo-limit-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 320px;
    margin: 0 auto 1.75rem;
    text-align: left;
}

.vt-demo-limit-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--vt-slate-700);
}

.vt-demo-limit-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vt-bg-green-100);
    color: var(--vt-green-600);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.vt-demo-limit-btn {
    display: inline-block;
    font-size: 1.05rem;
    padding: 0.9rem 2.5rem;
}

/* Demo CTA Banner */
.vt-demo-cta {
    margin: 1.5rem 0;
}

.vt-demo-cta-inner {
    background: linear-gradient(135deg, var(--vt-navy) 0%, var(--vt-navy-light) 100%);
    border-radius: var(--vt-radius-card);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--vt-shadow-xl);
}

.vt-demo-cta-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.vt-demo-cta-text {
    color: var(--vt-slate-300);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.vt-demo-cta-btn {
    display: inline-block;
    background: var(--vt-amber);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: var(--vt-radius-btn);
    text-decoration: none;
    transition: background 0.2s var(--vt-ease), transform 0.1s var(--vt-ease);
}

.vt-demo-cta-btn:hover {
    background: var(--vt-amber-600);
    transform: translateY(-1px);
}

.vt-demo-cta-btn:active {
    transform: translateY(0);
}

/* ==========================================================
   AUTO-SAVE INDICATOR
   ========================================================== */

.vt-autosave-indicator {
    position: fixed;
    top: 12px;
    right: 12px;
    background: rgba(15, 43, 74, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    z-index: 1000;
    animation: vt-fadeIn 0.2s var(--vt-ease);
    pointer-events: none;
}

/* ==========================================================
   APP TABS (Trainer / Fortschritt / Aussprache)
   ========================================================== */

.vt-app-tabs {
    display: flex;
    gap: 0;
    background: var(--vt-navy, #0f2b4a);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.vt-app-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.vt-app-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.vt-app-tab-active {
    background: var(--vt-amber, #f59e0b);
    color: var(--vt-navy, #0f2b4a);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.vt-app-tab-active:hover {
    background: var(--vt-amber, #f59e0b);
    color: var(--vt-navy, #0f2b4a);
}

@media (max-width: 480px) {
    .vt-app-tabs {
        max-width: 100%;
    }

    .vt-app-tab {
        font-size: 0.8rem;
        padding: 0.55rem 0.5rem;
    }
}

