*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
}

body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--surface-2); min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    border: none; cursor: pointer; transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-danger { background: var(--danger-light); color: var(--danger); border: none; }
.btn-danger:hover { background: #fca5a5; }
.btn-full { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-control {
    width: 100%; padding: 9px 12px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 14px; background: var(--surface);
    transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-control:focus {
    outline: none; border-color: var(--primary);
}
.error-msg { background: var(--danger-light); color: var(--danger); padding: 8px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.hidden { display: none !important; }
.muted { color: var(--text-muted); font-size: 13px; }

/* ── Header ── */
.app-header {
    background: var(--surface); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.header-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--primary); }
.back-link { display: flex; align-items: center; color: var(--text-muted); margin-right: 4px; }
.back-link:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.therapist-name { font-size: 14px; color: var(--text-muted); }

/* ── Login ── */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%); }
.login-container { background: var(--surface); border-radius: 16px; padding: 40px 36px; width: 100%; max-width: 400px; box-shadow: var(--shadow-md); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo h1 { font-size: 24px; color: var(--primary); margin: 10px 0 4px; }
.login-logo p { color: var(--text-muted); font-size: 14px; }
.login-form .btn-primary { margin-top: 4px; }
.login-hint { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ── Dashboard ── */
.dashboard-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.dashboard-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dashboard-toolbar h2 { font-size: 22px; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.client-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; cursor: pointer; transition: box-shadow 0.15s, transform 0.15s;
    display: flex; flex-direction: column; gap: 12px;
}
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.client-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light);
    color: var(--primary); font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.client-avatar.large { width: 60px; height: 60px; font-size: 24px; }
.client-info h4 { font-size: 16px; margin-bottom: 4px; }
.client-dob, .client-note-preview { font-size: 13px; color: var(--text-muted); }
.client-card-actions { display: flex; gap: 8px; }
.empty-state { text-align: center; padding: 48px; color: var(--text-muted); }

/* ── Modal ── */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(15,23,42,0.4);
    display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px;
}
.modal-backdrop.hidden { display: none; }
.modal {
    background: var(--surface); border-radius: 14px; padding: 28px;
    width: 100%; max-width: 460px; box-shadow: var(--shadow-md);
    max-height: 90vh; overflow-y: auto;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-muted); line-height: 1; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ── Client Page Layout ── */
.client-header-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.client-header-card h2 { font-size: 20px; margin-bottom: 4px; }
.client-general-note { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ── Spectrum App ── */
.spectrum-app {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; margin-bottom: 20px;
}
.spectrum-input-row { display: flex; gap: 12px; margin-bottom: 12px; }
.word-input {
    flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 16px; font-weight: 500;
}
.word-input:focus { outline: none; border-color: var(--primary); }
.ptt-btn {
    padding: 10px 20px; background: var(--primary); color: #fff; border: none;
    border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    user-select: none; -webkit-user-select: none;
    touch-action: none;
}
.ptt-btn:disabled { background: #c7d2fe; cursor: not-allowed; }
.ptt-btn.recording {
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239,68,68,0.2);
    animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(239,68,68,0.2); } 50% { box-shadow: 0 0 0 10px rgba(239,68,68,0.08); } }
.ptt-btn:active:not(:disabled) { transform: scale(0.97); }

.mic-status {
    font-size: 13px; height: 20px; margin-bottom: 8px; font-weight: 500;
    color: var(--text-muted);
}
.mic-status.recording { color: #ef4444; }
.mic-status.saving { color: #f59e0b; }
.mic-status.replay { color: var(--primary); }
.mic-status.error { color: #ef4444; }

.spectrum-canvas {
    display: block; width: 100%; height: 200px;
    border-radius: 8px; background: #0f172a;
    border: 1px solid var(--border);
}
.spectrum-legend {
    display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--text-muted);
}
.legend-bar {
    flex: 1; height: 8px; border-radius: 4px;
    background: linear-gradient(to right, hsl(0,100%,50%), hsl(30,100%,50%), hsl(60,100%,50%), hsl(120,100%,40%), hsl(180,100%,40%), hsl(240,100%,60%), hsl(270,100%,60%));
}

/* ── History ── */
.history-section {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.history-section h3 { font-size: 16px; margin-bottom: 14px; }
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
    background: var(--surface-2); transition: border-color 0.15s;
}
.history-item.active { border-color: var(--primary); background: var(--primary-light); }
.history-item:hover { border-color: var(--primary); }
.history-item-info { display: flex; flex-direction: column; gap: 2px; }
.history-word { font-size: 15px; font-weight: 600; }
.history-meta { font-size: 12px; color: var(--text-muted); }
.history-item-actions { display: flex; gap: 6px; }

/* ── Notes Panel ── */
.notes-panel {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; position: sticky; top: 80px;
}
.notes-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.notes-panel-header h3 { font-size: 16px; }
.notes-list { display: flex; flex-direction: column; gap: 10px; max-height: 500px; overflow-y: auto; margin-bottom: 14px; }
.note-item {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 8px; padding: 12px;
}
.note-tag {
    display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
    background: var(--primary-light); color: var(--primary); border-radius: 4px;
    padding: 2px 7px; margin-bottom: 6px;
}
.note-tag.general { background: #fef9c3; color: #854d0e; }
.note-body { font-size: 14px; margin-bottom: 8px; white-space: pre-wrap; word-break: break-word; }
.note-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.add-note-form { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; }
.note-form-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ── client-main variants ── */
.client-main { max-width: 1400px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.client-main-app { max-width: 1400px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.full-width { width: 100%; }
.app-content-wrapper { width: 100%; }
.client-two-col { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.back-to-apps { margin-bottom: 14px; }

/* ── App Selector ── */
.app-selector { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.app-selector h3 { font-size: 18px; margin-bottom: 20px; }
.app-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.app-card {
    border: 2px solid var(--border); border-radius: 12px; padding: 24px 20px;
    cursor: pointer; text-align: center; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    background: var(--surface-2);
}
.app-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(99,102,241,0.12); transform: translateY(-2px); }
.app-card-icon { margin-bottom: 14px; display: flex; justify-content: center; }
.app-card h4 { font-size: 16px; margin-bottom: 8px; }
.app-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Balloon Page ── */
.balloon-page { background: var(--surface-2); }
.balloon-main { max-width: 1300px; margin: 0 auto; padding: 20px 24px; }
.balloon-client-badge {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    font-size: 15px; font-weight: 600;
}
.badge-app-label { font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }

.balloon-layout { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start; }

.balloon-game-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }

.level-selector { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.level-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.level-btn {
    padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--border);
    background: transparent; font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.15s; color: var(--text-muted);
}
.level-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.level-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.start-btn { margin-left: auto; }

.balloon-canvas-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #1565c0; }
.balloon-canvas-wrap canvas { display: block; width: 100%; }

.balloon-instructions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.instr-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); }
.instr-item svg { flex-shrink: 0; color: var(--primary); }

/* ── Records Panel ── */
.balloon-side-panel { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; }
.balloon-records-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.balloon-records-panel h3 { font-size: 15px; margin-bottom: 12px; }
.records-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.filter-btn { padding: 4px 10px; border-radius: 14px; border: 1px solid var(--border); background: transparent; font-size: 12px; cursor: pointer; transition: all 0.13s; color: var(--text-muted); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.records-list { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; }
.record-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.record-rank { font-size: 11px; font-weight: 700; color: var(--text-muted); min-width: 22px; }
.record-info { flex: 1; }
.record-time { font-size: 15px; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.record-points { font-size: 12px; font-weight: 600; color: #fbc02d; margin-left: 8px; }
.record-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.record-level-badge { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 10px; }
.record-date { font-size: 11px; color: var(--text-muted); }

/* ── Balloon Notes Panel ── */
.balloon-notes-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.balloon-notes-panel .notes-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.balloon-notes-panel h3 { font-size: 15px; }
.balloon-notes-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; margin-bottom: 10px; }
.balloon-note-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.note-context-label { font-size: 11px; background: var(--primary-light); color: var(--primary); border-radius: 6px; padding: 4px 8px; margin-bottom: 6px; font-weight: 500; }

/* ── Language selector ── */
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}
.lang-select:hover, .lang-select:focus { border-color: var(--primary); }

/* Login page lang bar */
.login-lang-bar {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 100;
}

/* ── Spectrum canvas height ── */
.spectrum-canvas { display: block; width: 100%; height: 260px; border-radius: 8px; background: #0f172a; border: 1px solid var(--border); }

/* ────────────────────────────────────────────────
   ReadCards App
   ──────────────────────────────────────────────── */
.readcards-page { background: var(--bg); }
.readcards-main { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
.readcards-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-top: 18px; }
.readcards-game-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }

/* Setup */
.rc-setup { display: flex; flex-direction: column; gap: 20px; }
.rc-setup-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.rc-setting-group { display: flex; flex-direction: column; gap: 8px; }
.rc-setting-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.rc-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.rc-opt-btn { padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: transparent; font-size: 13px; cursor: pointer; transition: all 0.13s; color: var(--text); }
.rc-opt-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.rc-opt-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.rc-start-btn { font-size: 16px; padding: 12px 32px; border-radius: 24px; display: flex; align-items: center; gap: 8px; align-self: flex-start; }

/* Game screen */
.rc-game { display: flex; flex-direction: column; gap: 14px; }
.rc-top-bar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.rc-progress-text { font-weight: 700; font-size: 15px; }
.rc-timer { font-family: monospace; font-size: 15px; font-weight: 700; color: var(--primary); }
.rc-fail-count { font-size: 12px; color: var(--text-muted); }
.rc-progress-track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rc-progress-fill { height: 100%; background: linear-gradient(90deg,#10b981,#34d399); border-radius: 4px; transition: width 0.4s ease; }

/* Card display */
.rc-card-display { display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 2px solid var(--border); border-radius: 16px; padding: 20px; min-height: 240px; }
.rc-card-image { width: 200px; height: 200px; object-fit: contain; border-radius: 12px; }

/* Feedback */
.rc-feedback { min-height: 52px; text-align: center; }
.rc-score { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.rc-score.pass { color: #10b981; }
.rc-score.fail { color: #ef4444; }
.rc-recognized { font-size: 13px; color: var(--text-muted); }

/* Speech status */
.rc-speech-status { min-height: 22px; text-align: center; font-size: 13px; transition: all 0.2s; }
.rc-speech-status.listening { color: var(--primary); font-weight: 600; animation: pulse 1s infinite; }
.rc-speech-status.warn  { color: #f59e0b; }
.rc-speech-status.error { color: #ef4444; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Controls */
.rc-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rc-ptt-btn { display: flex; align-items: center; gap: 12px; padding: 16px 32px; border-radius: 40px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 16px; font-weight: 600; transition: all 0.15s; user-select: none; touch-action: none; }
.rc-ptt-btn:hover { background: var(--primary-hover); }
.rc-ptt-btn.listening { background: #ef4444; box-shadow: 0 0 0 6px rgba(239,68,68,0.25); }
.rc-skip-btn { font-size: 13px; }

/* Result screen */
.rc-result { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; }
.rc-result-icon { font-size: 56px; line-height: 1; }
.rc-result-title { font-size: 24px; font-weight: 700; }
.rc-result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 380px; }
.rc-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; text-align: center; }
.rc-stat-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.rc-stat-value { font-size: 22px; font-weight: 700; color: var(--primary); }

/* Warning banner */
.rc-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 14px; font-size: 13px; }
/* ── Responsive ── */
@media (max-width: 1000px) {
    .balloon-layout { grid-template-columns: 1fr; }
    .balloon-side-panel { position: static; }
}
@media (max-width: 900px) {
    .client-two-col { grid-template-columns: 1fr; }
    .notes-panel { position: static; }
}
@media (max-width: 600px) {
    .header-inner { padding: 0 16px; }
    .balloon-main, .client-main, .client-main-app { padding: 12px; }
    .spectrum-input-row { flex-direction: column; }
    .ptt-btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
    .word-input { font-size: 18px; padding: 12px 14px; }
    .level-selector { gap: 6px; }
    .start-btn { margin-left: 0; width: 100%; }
}

/* ── Admin / Manager shared styles ─────────────────────────────────────────── */
.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid #e2e8f0; }
.admin-tab {
    background: none; border: none; padding: 10px 20px; font-size: 14px; font-weight: 600;
    color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}
.admin-tab:hover { color: var(--primary); }
.admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.admin-tab-content { }
.admin-tab-content.hidden { display: none; }
.admin-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.admin-toolbar h2 { margin: 0; font-size: 20px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table thead tr { background: #f8fafc; }
.admin-table th, .admin-table td {
    text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e8f0;
}
.admin-table th { font-weight: 600; color: #475569; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table tr.row-inactive td { opacity: .5; }
.role-badge {
    display: inline-block; padding: 2px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 600; text-transform: capitalize;
}
.status-badge {
    display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
}
.status-badge.active   { background: #10b98120; color: #10b981; }
.status-badge.inactive { background: #ef444420; color: #ef4444; }
.btn-danger {
    background: #ef444415; color: #ef4444; border: 1px solid #ef444430;
}
.btn-danger:hover { background: #ef4444; color: #fff; }
.card { background: var(--surface); border: 1px solid #e2e8f0; border-radius: 12px; }
