/* ═══════════════════════════════════════════════
   Pflege Akademie — Exam UI Components
   Case-Study Engine (cs-*), telc Prep (telc-*),
   Regulatory Compliance widgets (rc-*)
   Deep midnight design language — requires style.css
   ═══════════════════════════════════════════════ */

/* ── Shared exam primitives ── */
.exam-page { padding-top: 90px; min-height: 100vh; }

.exam-hero {
    max-width: 1200px;
    margin: 0 auto var(--space-md);
    padding: var(--space-md) var(--space-md) 0;
}

.exam-hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-teal);
    background: rgba(60, 168, 118, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    margin-bottom: var(--space-sm);
}

.exam-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xs);
}

.exam-hero p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 820px;
}

.exam-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.exam-breadcrumb a { color: var(--accent-teal); text-decoration: none; }
.exam-breadcrumb a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════
   CASE-STUDY ENGINE (cs-*)
   ═══════════════════════════════════════════════ */

.cs-workspace, .cs-evaluation, .cs-state-exam, .cs-history {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-lg);
}

.cs-header { padding: var(--space-sm) 0; border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-md); }
.cs-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 8px 0; }
.cs-subtitle { color: var(--text-muted); font-size: 0.95rem; }
.cs-meta { display: flex; gap: var(--space-xs); flex-wrap: wrap; margin-top: var(--space-xs); }

.cs-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.cs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); align-items: start; }

.cs-panel {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.cs-panel-left { max-height: 78vh; overflow-y: auto; }

.cs-section { margin-bottom: var(--space-md); }
.cs-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: var(--space-xs);
}

.cs-scenario { font-size: 0.92rem; line-height: 1.75; color: var(--text-primary); white-space: pre-line; }

.cs-vitals-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.cs-vitals-table td { padding: 5px 10px; border-bottom: 1px solid var(--border-subtle); }
.cs-vital-label { font-weight: 500; color: var(--text-secondary); }
.cs-vital-value { color: var(--text-primary); font-family: var(--font-mono); font-size: 0.82rem; }

.cs-meds { margin: 0; padding-left: 1.2em; font-size: 0.88rem; color: var(--text-secondary); }
.cs-meds li { padding: 3px 0; }

.cs-tasks { counter-reset: task; }
.cs-task {
    padding: 10px 0;
    font-size: 0.9rem;
    line-height: 1.65;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}
.cs-task-num { font-weight: 700; color: var(--accent-teal); margin-right: 8px; font-family: var(--font-mono); }

/* Writing area */
.cs-writing-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cs-writing-tools { display: flex; gap: 14px; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
.cs-word-count, .cs-char-count { min-width: 80px; }

.cs-textarea {
    width: 100%;
    min-height: 420px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.7;
    resize: vertical;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.cs-textarea:focus { outline: none; border-color: var(--accent-teal); box-shadow: var(--shadow-glow); }
.cs-textarea::placeholder { color: var(--text-muted); }

.cs-actions { display: flex; gap: 10px; margin-top: var(--space-sm); justify-content: flex-end; flex-wrap: wrap; }

.cs-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
}
.cs-btn-save { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.cs-btn-save:hover { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.cs-btn-submit { background: var(--grad-teal); color: #06251f; }
.cs-btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.cs-btn-retry { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.cs-btn-retry:hover { border-color: var(--border-accent); }

/* Exam timer */
.cs-timer {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 900;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    box-shadow: var(--shadow-md);
}
.cs-timer-warning { color: var(--accent-gold); border-color: var(--accent-gold); }
.cs-timer-critical { color: #f87171; border-color: #f87171; animation: cs-pulse 1s infinite; }
@keyframes cs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ── Evaluation view ── */
.cs-eval-header { text-align: center; margin-bottom: var(--space-md); }
.cs-eval-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }

.cs-eval-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }

.cs-eval-panel {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    max-height: 480px;
    overflow-y: auto;
}
.cs-eval-panel h3 { font-size: 0.95rem; margin-bottom: var(--space-xs); color: var(--text-primary); }
.cs-eval-exemplar { border-color: var(--border-accent); }
.cs-answer-box { font-size: 0.86rem; line-height: 1.7; color: var(--text-secondary); white-space: pre-line; }

/* Checklist */
.cs-checklist-section, .cs-selfgrade-section {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.cs-checklist-summary {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-sm);
    padding: 12px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}
.cs-checklist-count { font-size: 1.5rem; font-weight: 700; color: var(--accent-teal); font-family: var(--font-mono); }
.cs-checklist-pct { font-size: 1rem; color: var(--text-secondary); }
.cs-checklist-grade { font-size: 0.85rem; color: var(--text-muted); }
.cs-checklist-score { font-size: 0.85rem; color: var(--text-muted); }

.cs-checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cs-checklist-item { font-size: 0.84rem; padding: 7px 12px; border-radius: var(--radius-sm); line-height: 1.5; }
.cs-matched { background: rgba(60, 168, 118, 0.1); color: var(--accent-mint); border: 1px solid rgba(60, 168, 118, 0.25); }
.cs-missed { background: rgba(248, 113, 113, 0.08); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.2); }

/* Self-grading */
.cs-grade-info { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 6px; }
.cs-grade-warning { font-size: 0.85rem; color: var(--accent-gold); margin-top: 8px; }
.cs-grade-guidance { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; padding: 10px; background: var(--bg-primary); border-radius: var(--radius-sm); }

.cs-grade-selector { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.cs-grade-btn {
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-subtle);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all 0.25s var(--ease-out);
}
.cs-grade-btn:hover { border-color: var(--accent-teal); transform: translateY(-1px); }
.cs-grade-btn.active { border-color: var(--accent-teal); background: var(--grad-teal); color: #06251f; }

/* Flash notifications */
.cs-flash {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1200;
    animation: cs-slide-in 0.35s var(--ease-out);
    box-shadow: var(--shadow-md);
}
.cs-flash-success { background: #0d2b1f; color: var(--accent-mint); border: 1px solid var(--accent-mint); }
@keyframes cs-slide-in { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── State exam simulator ── */
.cs-state-exam-header { text-align: center; margin-bottom: var(--space-md); }

.cs-paper-list { display: flex; gap: var(--space-sm); margin: var(--space-md) 0; flex-wrap: wrap; }
.cs-paper-card {
    flex: 1;
    min-width: 240px;
    padding: var(--space-md);
    background: var(--grad-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}
.cs-paper-card:hover { border-color: var(--accent-teal); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.cs-paper-done { border-color: var(--accent-mint); opacity: 0.75; }
.cs-paper-num { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.cs-paper-case { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 10px; }
.cs-paper-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; flex-wrap: wrap; }
.cs-paper-result { font-weight: 600; color: var(--accent-teal); font-size: 0.88rem; }
.cs-paper-status { font-size: 1.4rem; }

.cs-final-results {
    background: var(--grad-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    margin-top: var(--space-md);
}
.cs-passed { border: 2px solid var(--accent-mint); box-shadow: 0 0 40px rgba(60, 168, 118, 0.12); }
.cs-failed { border: 2px solid #f87171; }
.cs-final-grade { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin: 8px 0; }
.cs-final-pct { color: var(--text-secondary); font-size: 1rem; }
.cs-result-status { font-size: 1.05rem; font-weight: 700; margin-top: 6px; }
.cs-failing-detail { color: #f87171; font-size: 0.85rem; margin-top: 8px; }

/* Vornote (prerequisite) display */
.cs-vornote-info { background: var(--grad-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); }
.cs-vornote-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* Case picker */
.cs-pick-case { max-width: 1280px; margin: 0 auto var(--space-md); padding: 0 var(--space-md); }
.cs-pick-btn {
    margin: 0 8px 8px 0;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: all 0.25s var(--ease-out);
}
.cs-pick-btn:hover { border-color: var(--accent-teal); background: rgba(60, 168, 118, 0.08); }
.cs-pick-btn.primary { background: var(--grad-teal); color: #06251f; border-color: transparent; font-weight: 700; }

/* ═══════════════════════════════════════════════
   TELC PFLEGE EXAM (telc-*)
   ═══════════════════════════════════════════════ */

.telc-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md) var(--space-lg); }

.telc-tabs { display: flex; gap: 8px; margin: var(--space-sm) 0 var(--space-md); flex-wrap: wrap; }
.telc-tab {
    padding: 9px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: all 0.25s var(--ease-out);
}
.telc-tab:hover { border-color: var(--accent-teal); }
.telc-tab-active { background: var(--grad-teal); color: #06251f; border-color: transparent; font-weight: 700; }

/* Overview */
.telc-overview { }
.telc-overview-card {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
}
.telc-overview-card h3 { font-size: 1rem; margin-bottom: var(--space-xs); }
.telc-overview-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-xs); }
.telc-structure { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

.telc-gatekeeper { display: inline-block; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; margin: 8px 0; font-size: 0.9rem; }
.telc-gk-info { background: rgba(251, 191, 36, 0.1); color: var(--accent-gold); border: 1px solid rgba(251, 191, 36, 0.35); }
.telc-gk-pass { background: rgba(60, 168, 118, 0.1); color: var(--accent-mint); border: 1px solid rgba(60, 168, 118, 0.35); }
.telc-gk-fail { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.35); }

.telc-warning {
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin: 10px 0;
    font-size: 0.88rem;
    color: var(--text-primary);
}

/* Speaking section */
.telc-speaking-section { }
.telc-speaking-part { margin-bottom: var(--space-md); }
.telc-speaking-card {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.telc-speaking-card p { margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--text-primary); }
.telc-card-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--grad-teal);
    color: #06251f;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0;
    font-size: 0.85rem;
}
.telc-discuss { border-color: var(--border-accent); }

.telc-transitions { background: var(--grad-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-sm); margin: var(--space-sm) 0; }
.telc-phrase { padding: 6px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.telc-phrase:last-child { border-bottom: none; }

/* Vocabulary */
.telc-vocab-section { margin-bottom: var(--space-md); }
.telc-vocab-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; margin-bottom: var(--space-md); background: var(--grad-card); border-radius: var(--radius-sm); overflow: hidden; }
.telc-vocab-table th { text-align: left; padding: 10px 12px; background: rgba(255, 255, 255, 0.05); font-weight: 600; color: var(--accent-teal); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.telc-vocab-table td { padding: 9px 12px; border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); }

/* Practice blocks (Lesen, Sprachbausteine) */
.telc-practice-section { }
.telc-practice-block { background: var(--grad-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-sm); margin-bottom: var(--space-sm); }
.telc-fachtext { font-size: 0.9rem; line-height: 1.75; padding: 14px; background: var(--bg-primary); border-radius: var(--radius-sm); margin: 10px 0; color: var(--text-primary); }
.telc-practice-q { margin: 10px 0; font-size: 0.9rem; color: var(--text-primary); }
.telc-practice-opt {
    display: inline-block;
    padding: 5px 14px;
    margin: 3px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--text-primary);
    transition: all 0.2s var(--ease-out);
}
.telc-practice-opt:hover { border-color: var(--accent-teal); }
.telc-practice-opt.correct { background: rgba(60, 168, 118, 0.15); border-color: var(--accent-mint); color: var(--accent-mint); }
.telc-practice-opt.wrong { background: rgba(248, 113, 113, 0.1); border-color: #f87171; color: #f87171; }

.telc-cloze { line-height: 2.1; font-size: 0.92rem; color: var(--text-primary); }
.telc-blank { display: inline-block; padding: 2px 12px; background: rgba(60, 168, 118, 0.1); border: 1px dashed var(--border-accent); border-radius: var(--radius-sm); font-weight: 600; margin: 0 4px; color: var(--accent-teal); font-family: var(--font-mono); font-size: 0.82rem; }
.telc-blank-options { margin: 4px 0 12px; font-size: 0.85rem; }
.telc-blank-opt { display: inline-block; padding: 3px 12px; margin: 2px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-subtle); cursor: pointer; color: var(--text-primary); transition: all 0.2s var(--ease-out); }
.telc-blank-opt:hover { border-color: var(--accent-teal); }

.telc-check-list-title { font-weight: 600; font-size: 0.9rem; margin: 10px 0 6px; color: var(--accent-teal); }

/* ── Writing task ── */
.telc-writing-task { max-width: 1300px; margin: 0 auto; }
.telc-writing-header { margin-bottom: var(--space-sm); }
.telc-task-instruction { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin: 10px 0; }

.telc-badge { display: inline-block; padding: 4px 14px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; margin-right: 8px; }
.telc-badge-anamnese { background: rgba(167, 139, 250, 0.12); color: var(--accent-lavender); border: 1px solid rgba(167, 139, 250, 0.35); }
.telc-badge-biographie { background: rgba(60, 168, 118, 0.12); color: var(--accent-mint); border: 1px solid rgba(60, 168, 118, 0.35); }

.telc-writing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); align-items: start; }

.telc-source-panel {
    background: var(--grad-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    max-height: 70vh;
    overflow-y: auto;
}
.telc-source-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.telc-source-table td { padding: 7px 10px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.telc-field-label { font-weight: 600; color: var(--text-secondary); width: 32%; font-size: 0.8rem; }
.telc-field-value { color: var(--text-primary); }

.telc-write-panel { background: var(--grad-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-md); }
.telc-write-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.telc-timer { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--accent-teal); }
.telc-timer-warn { color: var(--accent-gold); }
.telc-timer-over { color: #f87171; animation: cs-pulse 1s infinite; }
.telc-word-count { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

.telc-textarea {
    width: 100%;
    min-height: 340px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.7;
    resize: vertical;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.telc-textarea:focus { outline: none; border-color: var(--accent-teal); box-shadow: var(--shadow-glow); }

.telc-crit-checklist { margin: 12px 0; }
.telc-crit-item { padding: 5px 10px; margin: 3px 0; border-radius: var(--radius-sm); font-size: 0.84rem; }
.telc-crit-matched { background: rgba(60, 168, 118, 0.1); color: var(--accent-mint); }
.telc-crit-missed { background: rgba(248, 113, 113, 0.08); color: #f87171; }

.telc-write-actions { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; flex-wrap: wrap; }
.telc-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    background: var(--grad-teal);
    color: #06251f;
    transition: all 0.3s var(--ease-out);
}
.telc-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.telc-btn-eval { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.telc-btn-eval:hover { border-color: var(--border-accent); box-shadow: none; transform: none; }

.telc-eval-float { margin-top: 12px; padding: 14px; background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: 0.85rem; line-height: 1.65; color: var(--text-secondary); }

/* S30 answer sheet simulation */
.telc-s30 { background: var(--grad-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-md); margin: var(--space-sm) 0; }
.telc-s30-instruction { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 10px; }
.telc-s30-sheets { display: flex; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.telc-s30-sheet { flex: 1; min-width: 170px; padding: var(--space-sm); border-radius: var(--radius-sm); text-align: center; border: 2px solid var(--border-subtle); background: var(--bg-primary); transition: all 0.25s var(--ease-out); }
.telc-s30-active { border-color: var(--accent-teal); box-shadow: var(--shadow-glow); }
.telc-s30-done { border-color: var(--accent-mint); opacity: 0.75; }
.telc-s30-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.telc-s30-label { font-size: 0.82rem; color: var(--text-secondary); margin: 4px 0; }
.telc-s30-status { font-size: 0.78rem; font-family: var(--font-mono); color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .cs-layout, .cs-eval-layout, .telc-writing-layout { grid-template-columns: 1fr; }
    .cs-checklist-grid { grid-template-columns: 1fr; }
    .cs-panel-left { max-height: none; }
    .cs-timer { position: static; display: inline-block; margin-bottom: var(--space-sm); }
    .cs-textarea { min-height: 300px; }
}
