:root {
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Theme Él (Masculino / Pizarra Índigo) */
    --him-primary: #2563eb;
    --him-primary-hover: #1d4ed8;
    --him-bg-light: #eff6ff;
    --him-border: #bfdbfe;
    --him-accent: #0284c7;
    --him-shadow: rgba(37, 99, 235, 0.12);

    /* Theme Ella (Femenino / Rosa Coral) */
    --her-primary: #e11d48;
    --her-primary-hover: #be123c;
    --her-bg-light: #fff1f2;
    --her-border: #fecdd3;
    --her-accent: #f43f5e;
    --her-shadow: rgba(225, 29, 72, 0.12);

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(225, 29, 72, 0.04) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    max-width: 1380px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 1.25rem 3rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Header */
.app-header {
    text-align: center;
    padding: 1.25rem 0 1rem;
    position: relative;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.app-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #1e293b 20%, #2563eb 50%, #e11d48 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.35rem;
}

.app-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Controles de Configuración y Modo */
.test-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-lg);
    margin: 1.25rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.test-mode-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.mode-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-left: 0.5rem;
    padding-right: 0.25rem;
    text-transform: uppercase;
}

.mode-select-btn {
    border: none;
    background: transparent;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

.mode-select-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.mode-select-btn.active[data-testmode="him"] {
    color: var(--him-primary);
}

.mode-select-btn.active[data-testmode="her"] {
    color: var(--her-primary);
}

.participants-names {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.name-input-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.name-input-group.him {
    color: var(--him-primary);
}

.name-input-group.her {
    color: var(--her-primary);
}

.name-input {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-main);
    outline: none;
    transition: var(--transition);
    width: 120px;
}

.name-input-group.him .name-input:focus {
    border-color: var(--him-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.name-input-group.her .name-input:focus {
    border-color: var(--her-primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
    background: #ffffff;
}

.view-mode-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-md);
    gap: 2px;
}

.mode-btn {
    border: none;
    background: transparent;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.mode-btn.active {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Indicador y barra de progreso superior */
.progress-section {
    margin-bottom: 1.25rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.progress-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.progress-bar-him {
    height: 100%;
    background: var(--him-primary);
    transition: width 0.3s ease;
}

.progress-bar-her {
    height: 100%;
    background: var(--her-primary);
    transition: width 0.3s ease;
}

/* Dots indicadores de preguntas (Mini Jump) */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0.75rem 0 1.25rem;
    flex-wrap: wrap;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.dot-step {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.dot-step:hover {
    background: #e2e8f0;
}

.dot-step.current {
    border-color: #0f172a;
    font-weight: 800;
    transform: scale(1.15);
}

.dot-step.answered-both {
    background: #10b981;
    color: #ffffff;
}

.dot-step.answered-half {
    background: #f59e0b;
    color: #ffffff;
}

/* PANTALLA DIVIDIDA (SPLIT SCREEN LAYOUT) */
.split-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

/* Divisor decorativo central */
.split-divider {
    display: none;
}

@media (min-width: 960px) {
    .split-divider {
        display: flex;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        background: #ffffff;
        border: 2px solid #e2e8f0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        font-size: 1rem;
    }
}

/* Columna de Pregunta */
.participant-column {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
}

.participant-column.him-col {
    border-top: 5px solid var(--him-primary);
}

.participant-column.her-col {
    border-top: 5px solid var(--her-primary);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.column-user-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.him-col .user-avatar {
    background: var(--him-bg-light);
    border: 1px solid var(--him-border);
}

.her-col .user-avatar {
    background: var(--her-bg-light);
    border: 1px solid var(--her-border);
}

.user-name-display {
    font-size: 1.15rem;
    font-weight: 700;
}

.him-col .user-name-display {
    color: var(--him-primary);
}

.her-col .user-name-display {
    color: var(--her-primary);
}

.user-status-badge {
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-weight: 600;
}

.user-status-badge.pending {
    background: #f1f5f9;
    color: var(--text-muted);
}

.user-status-badge.answered {
    background: #dcfce7;
    color: #15803d;
}

/* Instrucción de pregunta */
.question-prompt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.question-lead {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

/* Tarjetas de opciones (A / B) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.option-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    position: relative;
    user-select: none;
}

.option-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.option-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.option-text {
    font-size: 0.97rem;
    color: #334155;
    line-height: 1.45;
}

/* Opción seleccionada para Él */
.him-col .option-card.selected {
    border-color: var(--him-primary);
    background: var(--him-bg-light);
    box-shadow: 0 6px 16px var(--him-shadow);
}

.him-col .option-card.selected .option-indicator {
    background: var(--him-primary);
    border-color: var(--him-primary);
    color: #ffffff;
}

.him-col .option-card.selected .option-text {
    color: #0f172a;
    font-weight: 600;
}

/* Opción seleccionada para Ella */
.her-col .option-card.selected {
    border-color: var(--her-primary);
    background: var(--her-bg-light);
    box-shadow: 0 6px 16px var(--her-shadow);
}

.her-col .option-card.selected .option-indicator {
    background: var(--her-primary);
    border-color: var(--her-primary);
    color: #ffffff;
}

.her-col .option-card.selected .option-text {
    color: #0f172a;
    font-weight: 600;
}

/* Navegación y botones de acción */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover:not(:disabled) {
    background: #f1f5f9;
}

.btn-primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover:not(:disabled) {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.next-sync-notice {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

/* Mobile Tabs selector (solo visible en modo móvil o pantallas chicas) */
.mobile-participant-tabs {
    display: none;
    margin-bottom: 1rem;
    background: #e2e8f0;
    padding: 4px;
    border-radius: var(--radius-md);
    gap: 4px;
}

.mobile-tab-btn {
    flex: 1;
    border: none;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-tab-btn.active.him {
    background: #ffffff;
    color: var(--him-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.mobile-tab-btn.active.her {
    background: #ffffff;
    color: var(--her-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* PANTALLA DE RESULTADOS */
.results-container {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

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

.results-hero {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.results-hero-badge {
    display: inline-block;
    background: #fef2f2;
    color: #e11d48;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.results-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.results-hero-summary {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
}

/* Grilla comparativa individual */
.results-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.result-card.him {
    border-top: 5px solid var(--him-primary);
}

.result-card.her {
    border-top: 5px solid var(--her-primary);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-title-group h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.profile-title-group p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Podio de Lenguajes */
.top-languages-banner {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.top-badge {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.top-badge.primary {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
}

.result-card.him .top-badge.primary {
    background: var(--him-bg-light);
    border-color: var(--him-border);
}

.result-card.her .top-badge.primary {
    background: var(--her-bg-light);
    border-color: var(--her-border);
}

.top-badge-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
}

.top-badge-icon {
    font-size: 1.8rem;
}

.top-badge-name {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.top-badge-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Barras de porcentaje */
.bars-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
}

.bar-bg {
    height: 10px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card.him .bar-fill {
    background: linear-gradient(90deg, #60a5fa, var(--him-primary));
}

.result-card.her .bar-fill {
    background: linear-gradient(90deg, #fb7185, var(--her-primary));
}

/* Guías de amor cruzadas (Consejos para cada uno) */
.couple-guides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.guide-box.for-him {
    border-left: 5px solid var(--him-primary);
}

.guide-box.for-her {
    border-left: 5px solid var(--her-primary);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.guide-icon {
    font-size: 1.6rem;
}

.guide-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.guide-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tips-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.45;
}

.tips-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    color: #10b981;
}

.drainer-alert {
    margin-top: 1.25rem;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #9f1239;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Compatibilidad y Dinámica */
.dynamics-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.dynamics-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dynamics-body {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
}

/* Botones de acción finales */
.results-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

/* Botones de acción IA en cabecera de resultados */
.btn-ai-action {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.btn-ai-action:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-1px);
}

.btn-ai-action-secondary {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    color: #4f46e5;
    font-weight: 700;
}

.btn-ai-action-secondary:hover {
    background: #eef2ff;
    border-color: #818cf8;
}

/* ========================================================
   RADIOGRAFÍA EMOCIONAL: LO QUE QUIERE Y LO QUE RECHAZA
   ======================================================== */
.analysis-wants-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.wants-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.wants-icon {
    font-size: 1.8rem;
}

.wants-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.wants-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.wants-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wants-comparison-grid.single-mode {
    display: flex;
    justify-content: center;
}

.wants-comparison-grid.single-mode .wants-col {
    max-width: 680px;
    width: 100%;
}

.wants-col {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wants-col.him {
    border-top: 4px solid var(--him-primary);
}

.wants-col.her {
    border-top: 4px solid var(--her-primary);
}

.wants-col-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.wants-col-name {
    font-size: 1.15rem;
    font-weight: 800;
}

.wants-col.him .wants-col-name {
    color: var(--him-primary);
}

.wants-col.her .wants-col-name {
    color: var(--her-primary);
}

.wants-block {
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.wants-block.love-wants {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.wants-block.love-rejects {
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.wants-block-title {
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.love-wants .wants-block-title {
    color: #065f46;
}

.love-rejects .wants-block-title {
    color: #9f1239;
}

.wants-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.wants-list li {
    font-size: 0.88rem;
    line-height: 1.45;
    position: relative;
    padding-left: 1.35rem;
}

.love-wants .wants-list li {
    color: #047857;
}

.love-wants .wants-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    color: #059669;
}

.love-rejects .wants-list li {
    color: #881337;
}

.love-rejects .wants-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    font-weight: 800;
    color: #e11d48;
}

/* ========================================================
   INTEGRACIÓN Y EXPORTACIÓN PARA IA
   ======================================================== */
.ai-export-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #fff1f2 100%);
    border: 2px dashed #818cf8;
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}

.ai-badge {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    color: #4f46e5;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ai-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.ai-description {
    font-size: 0.96rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}

.ai-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-ai-primary {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-ai-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-ai-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-weight: 600;
}

.btn-ai-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* ========================================================
   HISTORIAL Y DESGLOSE COMPLETO DE RESPUESTAS (30/30)
   ======================================================== */
.history-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.history-header {
    padding: 1.35rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.history-header:hover {
    background: #f1f5f9;
}

.history-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.history-icon {
    font-size: 1.6rem;
}

.history-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.history-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
}

.history-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.history-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.4rem;
}

.history-choices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.history-card-single .history-choices-grid {
    grid-template-columns: 1fr;
}

.history-choice-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.history-choice-box.him {
    border-left: 3px solid var(--him-primary);
}

.history-choice-box.her {
    border-left: 3px solid var(--her-primary);
}

.history-user-tag {
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-choice-box.him .history-user-tag {
    color: var(--him-primary);
}

.history-choice-box.her .history-user-tag {
    color: var(--her-primary);
}

.history-lang-badge {
    font-size: 0.72rem;
    background: #f1f5f9;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    color: #475569;
}

.history-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.4;
}

.controls-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================================
   PLAN DE CONVIVENCIA Y EMPATÍA MUTUA
   ======================================================== */
.empathy-improvement-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.empathy-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.empathy-icon {
    font-size: 1.8rem;
}

.empathy-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.empathy-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.empathy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.empathy-grid.single-mode {
    display: flex;
    justify-content: center;
}

.empathy-grid.single-mode .empathy-col {
    max-width: 680px;
    width: 100%;
}

.empathy-col {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.empathy-col.him {
    border-top: 4px solid var(--him-primary);
}

.empathy-col.her {
    border-top: 4px solid var(--her-primary);
}

.empathy-col-title {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
}

.empathy-col.him .empathy-col-title {
    color: var(--him-primary);
}

.empathy-col.her .empathy-col-title {
    color: var(--her-primary);
}

.empathy-points-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.empathy-points-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}

.empathy-points-list li::before {
    content: "🎯";
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

.empathy-points-list li strong {
    color: #0f172a;
}

.empathy-bridge-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.bridge-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bridge-text {
    font-size: 0.92rem;
    color: #15803d;
    line-height: 1.55;
}

.empathy-partner-prompt {
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.partner-prompt-info {
    font-size: 0.88rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 260px;
    line-height: 1.45;
}

.partner-prompt-info strong {
    color: var(--text-main);
}

/* Toast de notificación */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* MODO INDIVIDUAL (SOLO HOMBRE O SOLO MUJER) */
.split-screen-grid.single-mode {
    display: flex;
    justify-content: center;
}

.split-screen-grid.single-mode .split-divider {
    display: none !important;
}

.split-screen-grid.single-mode .participant-column {
    max-width: 680px;
    width: 100%;
}

.split-screen-grid.single-mode.single-him .her-col {
    display: none !important;
}

.split-screen-grid.single-mode.single-her .him-col {
    display: none !important;
}

.results-comparison-grid.single-mode {
    display: flex;
    justify-content: center;
}

.results-comparison-grid.single-mode .result-card {
    max-width: 680px;
    width: 100%;
}

.results-comparison-grid.single-him .result-card.her {
    display: none !important;
}

.results-comparison-grid.single-her .result-card.him {
    display: none !important;
}

.couple-guides-grid.single-mode {
    display: flex;
    justify-content: center;
}

.couple-guides-grid.single-mode .guide-box {
    max-width: 680px;
    width: 100%;
}

.couple-guides-grid.single-him .guide-box.for-him {
    display: none !important;
}

.couple-guides-grid.single-her .guide-box.for-her {
    display: none !important;
}

/* ========================================================
   MODO OSCURO (DARK MODE - ALTA LEGIBILIDAD)
   ======================================================== */
[data-theme="dark"] {
    --bg-main: #0b0f19;
    --card-bg: #151d30;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #27354f;

    /* Theme Él (Dark) */
    --him-primary: #3b82f6;
    --him-primary-hover: #60a5fa;
    --him-bg-light: rgba(59, 130, 246, 0.18);
    --him-border: rgba(96, 165, 250, 0.4);
    --him-accent: #38bdf8;
    --him-shadow: rgba(59, 130, 246, 0.25);

    /* Theme Ella (Dark) */
    --her-primary: #f43f5e;
    --her-primary-hover: #fb7185;
    --her-bg-light: rgba(244, 63, 94, 0.18);
    --her-border: rgba(251, 113, 133, 0.4);
    --her-accent: #fb7185;
    --her-shadow: rgba(244, 63, 94, 0.25);
}

[data-theme="dark"] body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(225, 29, 72, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
    color: var(--text-main);
}

[data-theme="dark"] .app-title {
    background: linear-gradient(135deg, #ffffff 15%, #60a5fa 55%, #fb7185 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .header-badge {
    background: #151d30;
    border-color: #27354f;
    color: #cbd5e1;
}

[data-theme="dark"] .theme-toggle-btn {
    background: #151d30;
    border-color: #27354f;
    color: #f8fafc;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: #1e293b;
    border-color: #3b82f6;
}

[data-theme="dark"] .test-controls {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .test-mode-selector,
[data-theme="dark"] .view-mode-toggle {
    background: #0b0f19;
    border: 1px solid #1e293b;
}

[data-theme="dark"] .mode-select-btn {
    color: #94a3b8;
}

[data-theme="dark"] .mode-select-btn:hover {
    color: #ffffff;
}

[data-theme="dark"] .mode-select-btn.active {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .mode-select-btn.active[data-testmode="him"] {
    color: #60a5fa;
}

[data-theme="dark"] .mode-select-btn.active[data-testmode="her"] {
    color: #fb7185;
}

[data-theme="dark"] .mode-btn {
    color: #94a3b8;
}

[data-theme="dark"] .mode-btn.active {
    background: #1e293b;
    color: #ffffff;
}

[data-theme="dark"] .name-input {
    background: #0b0f19;
    border-color: #27354f;
    color: #ffffff;
}

[data-theme="dark"] .progress-track {
    background: #1e293b;
}

[data-theme="dark"] .dot-step {
    background: #151d30;
    color: #64748b;
    border-color: #27354f;
}

[data-theme="dark"] .dot-step:hover {
    background: #1e293b;
    color: #cbd5e1;
}

[data-theme="dark"] .dot-step.current {
    border-color: #60a5fa;
    color: #ffffff;
}

[data-theme="dark"] .dot-step.answered-both {
    background: #059669;
    color: #ffffff;
    border-color: #10b981;
}

[data-theme="dark"] .dot-step.answered-half {
    background: #d97706;
    color: #ffffff;
    border-color: #f59e0b;
}

/* Tarjetas y Columnas en Dark Mode */
[data-theme="dark"] .participant-column {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .column-header {
    border-bottom-color: #27354f;
}

[data-theme="dark"] .user-name-display.him-name-text {
    color: #60a5fa;
}

[data-theme="dark"] .user-name-display.her-name-text {
    color: #fb7185;
}

[data-theme="dark"] .question-prompt {
    color: #94a3b8;
}

[data-theme="dark"] .question-lead {
    color: #f8fafc;
}

[data-theme="dark"] .user-status-badge.pending {
    background: #1e293b;
    color: #94a3b8;
}

[data-theme="dark"] .user-status-badge.answered {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .option-card {
    background: #101626;
    border-color: #27354f;
    color: #f1f5f9;
}

[data-theme="dark"] .option-card:hover {
    border-color: #3b82f6;
    background: #141c2e;
}

[data-theme="dark"] .option-indicator {
    background: #1e293b;
    border-color: #3b4d6b;
    color: #94a3b8;
}

[data-theme="dark"] .option-text {
    color: #e2e8f0;
}

/* Opción seleccionada Él */
[data-theme="dark"] .him-col .option-card.selected {
    background: rgba(37, 99, 235, 0.22);
    border-color: #3b82f6;
}

[data-theme="dark"] .him-col .option-card.selected .option-text {
    color: #ffffff;
}

/* Opción seleccionada Ella */
[data-theme="dark"] .her-col .option-card.selected {
    background: rgba(225, 29, 72, 0.22);
    border-color: #f43f5e;
}

[data-theme="dark"] .her-col .option-card.selected .option-text {
    color: #ffffff;
}

[data-theme="dark"] .split-divider {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .btn-secondary {
    background: #151d30;
    border-color: #27354f;
    color: #f8fafc;
}

[data-theme="dark"] .btn-secondary:hover:not(:disabled) {
    background: #1e293b;
    border-color: #3b4d6b;
}

[data-theme="dark"] .btn-primary {
    background: #2563eb;
    color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

[data-theme="dark"] .next-sync-notice {
    color: #94a3b8;
}

[data-theme="dark"] .quiz-navigation {
    border-top-color: #27354f;
}

[data-theme="dark"] .mobile-participant-tabs {
    background: #0b0f19;
    border: 1px solid #1e293b;
}

[data-theme="dark"] .mobile-tab-btn.active.him {
    background: #151d30;
    color: #60a5fa;
}

[data-theme="dark"] .mobile-tab-btn.active.her {
    background: #151d30;
    color: #fb7185;
}

/* Resultados en Dark Mode */
[data-theme="dark"] .results-hero,
[data-theme="dark"] .result-card,
[data-theme="dark"] .guide-box,
[data-theme="dark"] .dynamics-card {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .results-hero-badge {
    background: rgba(225, 29, 72, 0.2);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

[data-theme="dark"] .results-hero-title {
    color: #ffffff;
}

[data-theme="dark"] .results-hero-summary {
    color: #cbd5e1;
}

[data-theme="dark"] .profile-title-group h3 {
    color: #ffffff;
}

[data-theme="dark"] .result-card.him .top-badge.primary {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.45);
}

[data-theme="dark"] .result-card.her .top-badge.primary {
    background: rgba(225, 29, 72, 0.2);
    border-color: rgba(244, 63, 94, 0.45);
}

[data-theme="dark"] .top-badge-label {
    color: #94a3b8;
}

[data-theme="dark"] .top-badge-name {
    color: #ffffff;
}

[data-theme="dark"] .top-badge-score {
    color: #cbd5e1;
}

[data-theme="dark"] .top-badge {
    background: #101626;
    border-color: #27354f !important;
}

[data-theme="dark"] .bar-bg {
    background: #0b0f19;
}

[data-theme="dark"] .bar-header {
    color: #f1f5f9;
}

[data-theme="dark"] .guide-title {
    color: #ffffff;
}

[data-theme="dark"] .guide-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .tips-list li {
    color: #e2e8f0;
}

[data-theme="dark"] .drainer-alert {
    background: rgba(225, 29, 72, 0.16);
    border-color: rgba(244, 63, 94, 0.35);
    color: #fecdd3;
}

[data-theme="dark"] .drainer-alert strong {
    color: #ffffff;
}

[data-theme="dark"] .dynamics-title {
    color: #ffffff;
}

[data-theme="dark"] .dynamics-body {
    color: #e2e8f0;
}

[data-theme="dark"] .dynamics-body strong,
[data-theme="dark"] .dynamics-body em {
    color: #ffffff;
}

[data-theme="dark"] .toast {
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
}

/* Modo oscuro para nuevas secciones */
[data-theme="dark"] .btn-ai-action-secondary {
    background: #151d30;
    border-color: #6366f1;
    color: #a5b4fc;
}

[data-theme="dark"] .btn-ai-action-secondary:hover {
    background: #1e1b4b;
}

[data-theme="dark"] .analysis-wants-card {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .wants-title {
    color: #ffffff;
}

[data-theme="dark"] .wants-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .wants-col {
    background: #101626;
    border-color: #27354f;
}

[data-theme="dark"] .wants-col-header {
    border-bottom-color: #27354f;
}

[data-theme="dark"] .wants-block.love-wants {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .wants-block.love-rejects {
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(244, 63, 94, 0.3);
}

[data-theme="dark"] .love-wants .wants-block-title {
    color: #34d399;
}

[data-theme="dark"] .love-rejects .wants-block-title {
    color: #fb7185;
}

[data-theme="dark"] .love-wants .wants-list li {
    color: #d1fae5;
}

[data-theme="dark"] .love-rejects .wants-list li {
    color: #ffe4e6;
}

[data-theme="dark"] .ai-export-card {
    background: linear-gradient(135deg, #101626 0%, #1e1b4b 50%, #171226 100%);
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .ai-badge {
    background: #151d30;
    border-color: #6366f1;
    color: #a5b4fc;
}

[data-theme="dark"] .ai-title {
    color: #ffffff;
}

[data-theme="dark"] .ai-description {
    color: #cbd5e1;
}

[data-theme="dark"] .btn-ai-secondary {
    background: #151d30;
    border-color: #334155;
    color: #f8fafc;
}

[data-theme="dark"] .btn-ai-secondary:hover {
    background: #1e293b;
    border-color: #6366f1;
}

[data-theme="dark"] .history-card {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .history-header {
    background: #101626;
    border-bottom-color: #27354f;
}

[data-theme="dark"] .history-header:hover {
    background: #141c2e;
}

[data-theme="dark"] .history-title {
    color: #ffffff;
}

[data-theme="dark"] .history-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .history-item {
    background: #101626;
    border-color: #27354f;
}

[data-theme="dark"] .history-item-top {
    border-bottom-color: #27354f;
    color: #94a3b8;
}

[data-theme="dark"] .history-choice-box {
    background: #151d30;
    border-color: #27354f;
}

[data-theme="dark"] .history-lang-badge {
    background: #0b0f19;
    color: #94a3b8;
}

[data-theme="dark"] .history-text {
    color: #e2e8f0;
}

[data-theme="dark"] .empathy-improvement-card {
    background: #151d30;
    border-color: #27354f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .empathy-title {
    color: #ffffff;
}

[data-theme="dark"] .empathy-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .empathy-col {
    background: #101626;
    border-color: #27354f;
}

[data-theme="dark"] .empathy-col-title {
    border-bottom-color: #27354f;
}

[data-theme="dark"] .empathy-points-list li {
    color: #e2e8f0;
}

[data-theme="dark"] .empathy-points-list li strong {
    color: #ffffff;
}

[data-theme="dark"] .empathy-bridge-box {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .bridge-title {
    color: #34d399;
}

[data-theme="dark"] .bridge-text {
    color: #d1fae5;
}

[data-theme="dark"] .empathy-partner-prompt {
    background: #101626;
    border-color: #27354f;
}

[data-theme="dark"] .partner-prompt-info {
    color: #94a3b8;
}

[data-theme="dark"] .partner-prompt-info strong {
    color: #ffffff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 959px) {
    .split-screen-grid {
        grid-template-columns: 1fr;
    }

    .mobile-participant-tabs {
        display: flex;
    }

    /* Ocultar columna inactiva en vista de turnos o móvil */
    .split-screen-grid.mobile-view .participant-column {
        display: none;
    }

    .split-screen-grid.mobile-view .participant-column.active-tab {
        display: flex;
    }

    .results-comparison-grid,
    .couple-guides-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: #ffffff !important;
    }
    .test-controls,
    .quiz-navigation,
    .results-actions,
    .view-mode-toggle,
    .dots-container {
        display: none !important;
    }
    .app-container {
        padding: 0;
        max-width: 100%;
    }
    .results-hero,
    .result-card,
    .guide-box,
    .dynamics-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
}
