        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: linear-gradient(135deg, #000000 0%, #0a0a1a 50%, #1a1a3a 100%); 
            color: #e0e0e0; 
            min-height: 100vh; 
            padding: 15px; 
            overflow-x: hidden; 
        }
        
        .header { text-align: center; margin-bottom: 20px; animation: fadeIn 1s; }
        h1 { 
            color: #00d4ff; 
            font-size: 2.5em; 
            margin-bottom: 5px; 
            text-shadow: 0 0 20px rgba(0, 212, 255, 0.6); 
        }
        .version-badge { 
            display: inline-block; 
            background: linear-gradient(135deg, #ff00ff, #00ffff); 
            color: white; 
            padding: 4px 12px; 
            border-radius: 15px; 
            font-size: 0.6em; 
            vertical-align: middle; 
            margin-left: 10px; 
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .tagline { color: #888; font-size: 1.1em; margin-bottom: 15px; }
        
        .mode-emploi { 
            background: rgba(0,212,255,0.05); 
            border: 1px solid #00d4ff; 
            border-radius: 10px; 
            padding: 15px; 
            margin-bottom: 20px; 
            font-size: 0.95em; 
            line-height: 1.6; 
            text-align: center;
        }
        .mode-emploi strong { color: #00d4ff; }
        
        .main-container { max-width: 1700px; margin: 0 auto; }
        
        .mode-selector { 
            background: rgba(20, 20, 40, 0.95); 
            border-radius: 15px; 
            padding: 15px; 
            margin-bottom: 15px; 
            display: flex; 
            justify-content: center; 
            gap: 10px; 
            flex-wrap: wrap; 
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3); 
            border: 1px solid rgba(0, 212, 255, 0.2); 
        }
        .mode-btn { 
            background: rgba(0, 0, 0, 0.4); 
            color: #00d4ff; 
            border: 2px solid #00d4ff; 
            padding: 10px 22px; 
            border-radius: 10px; 
            font-size: 0.95em; 
            cursor: pointer; 
            transition: all 0.3s; 
            font-weight: 700; 
            display: flex; 
            align-items: center; 
            gap: 6px; 
        }
        .mode-btn:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5); 
        }
        .mode-btn.active { 
            background: linear-gradient(135deg, #00d4ff, #0088cc); 
            color: white; 
            border-color: white; 
            box-shadow: 0 6px 25px rgba(0, 212, 255, 0.7);
        }
        .mode-icon { font-size: 1.3em; }
        
        .aether-gauge { 
            background: rgba(20, 20, 40, 0.9); 
            border-radius: 15px; 
            padding: 15px; 
            margin-bottom: 15px; 
            text-align: center; 
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3); 
            border: 1px solid rgba(0, 212, 255, 0.2); 
        }
        .gauge-label { 
            color: #00d4ff; 
            font-size: 0.9em; 
            margin-bottom: 8px; 
            font-weight: 600; 
        }
        .gauge-bar { 
            width: 100%; 
            height: 22px; 
            background: rgba(0, 0, 0, 0.5); 
            border-radius: 11px; 
            overflow: hidden; 
            border: 1px solid rgba(0, 212, 255, 0.3); 
            position: relative; 
        }
        .gauge-fill { 
            height: 100%; 
            background: linear-gradient(90deg, #0088cc, #00d4ff, #00ffff); 
            border-radius: 11px; 
            transition: width 0.5s; 
            box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
        }
        .gauge-text { 
            position: absolute; 
            top: 50%; 
            left: 50%; 
            transform: translate(-50%, -50%); 
            color: white; 
            font-size: 0.8em; 
            font-weight: bold; 
            text-shadow: 0 0 5px #000; 
        }
        
        .canvas-grid { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 15px; 
            margin-bottom: 15px; 
        }
        @media (max-width: 1024px) { 
            .canvas-grid { grid-template-columns: 1fr; } 
        }
        
        .canvas-wrapper { 
            background: rgba(20, 20, 40, 0.9); 
            border-radius: 15px; 
            padding: 20px; 
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2); 
            border: 1px solid rgba(0, 212, 255, 0.2); 
            position: relative; 
        }
        .canvas-title { 
            color: #00d4ff; 
            font-size: 1.25em; 
            margin-bottom: 12px; 
            text-align: center; 
            font-weight: 600; 
        }
        .zenodo-link { 
            position: absolute; 
            top: 15px; 
            right: 15px; 
            background: rgba(0, 100, 200, 0.3); 
            color: #00d4ff; 
            padding: 5px 10px; 
            border-radius: 5px; 
            font-size: 0.75em; 
            text-decoration: none; 
            border: 1px solid #00d4ff; 
            transition: all 0.3s;
        }
        .zenodo-link:hover {
            background: rgba(0, 100, 200, 0.6);
            transform: scale(1.05);
        }
        
        .rigor-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.72em;
            font-weight: 700;
            letter-spacing: 0.03em;
            cursor: help;
        }
        .rigor-heuristic {
            background: rgba(255,165,0,0.12);
            color: #ffaa00;
            border: 1px solid rgba(255,165,0,0.4);
        }
        .rigor-numeric {
            background: rgba(0,255,136,0.10);
            color: #00ff88;
            border: 1px solid rgba(0,255,136,0.4);
        }
        .rigor-analytic {
            background: rgba(0,180,255,0.10);
            color: #00d4ff;
            border: 1px solid rgba(0,180,255,0.4);
        }
        
        .ae-regime-btn {
            background: rgba(100,0,200,0.15);
            border: 1px solid rgba(170,0,255,0.35);
            color: #cc88ff;
            border-radius: 8px;
            padding: 5px 12px;
            font-size: 0.82em;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s;
            flex: 1;
            min-width: 80px;
            text-align: center;
        }
        .ae-regime-btn:hover { background: rgba(170,0,255,0.25); }
        .ae-regime-btn.active {
            background: rgba(170,0,255,0.35);
            border-color: #aa00ff;
            color: #fff;
            font-weight: 700;
        }
        
        canvas { 
            background: #000; 
            border-radius: 10px; 
            display: block; 
            border: 2px solid #00d4ff; 
            width: 100%; 
            box-shadow: 0 0 25px rgba(0, 212, 255, 0.3); 
        }
        
        .legend-panel { 
            margin-top: 15px; 
            background: rgba(0,0,0,0.5); 
            padding: 12px; 
            border-radius: 8px; 
            border: 1px solid rgba(0,212,255,0.3); 
        }
        .legend-title { 
            color: #00d4ff; 
            font-size: 0.9em; 
            margin-bottom: 10px; 
            text-align: center; 
            font-weight: 600;
        }
        .legend-items { 
            display: flex; 
            flex-wrap: wrap; 
            gap: 8px; 
            justify-content: center; 
        }
        .legend-item { 
            font-size: 0.85em; 
            color: #ddd; 
            background: rgba(20,20,40,0.8); 
            padding: 6px 12px; 
            border-radius: 15px; 
            border: 1px solid #444; 
            cursor: pointer;
            transition: all 0.2s;
        }
        .legend-item:hover {
            background: rgba(0, 212, 255, 0.2);
            transform: scale(1.05);
        }
        .legend-item.selected {
            background: rgba(0, 212, 255, 0.3);
            border-color: #00d4ff;
        }
        
        .timeline-bar { margin-top: 12px; }
        .timeline-label { 
            font-size: 0.85em; 
            color: #00d4ff; 
            margin-bottom: 5px; 
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .timeline-transport {
            display: flex;
            gap: 4px;
            align-items: center;
        }
        .transport-btn {
            background: rgba(0,212,255,0.1);
            border: 1px solid rgba(0,212,255,0.3);
            color: #00d4ff;
            border-radius: 4px;
            padding: 2px 7px;
            font-size: 0.85em;
            cursor: pointer;
            transition: background 0.15s;
            line-height: 1.4;
        }
        .transport-btn:hover { background: rgba(0,212,255,0.25); }
        .transport-btn.active { background: rgba(0,212,255,0.3); border-color: #00d4ff; }
        .timeline-progress { 
            width: 100%; 
            height: 10px; 
            background: rgba(0,0,0,0.5); 
            border-radius: 5px; 
            border: 1px solid rgba(0,212,255,0.3);
            cursor: pointer;
            position: relative;
            user-select: none;
        }
        .timeline-progress:hover { border-color: rgba(0,212,255,0.7); }
        .timeline-fill { 
            height: 100%; 
            background: linear-gradient(90deg, #00d4ff, #00ffff); 
            border-radius: 5px; 
            transition: width 0.05s linear;
            pointer-events: none;
        }
        .timeline-thumb {
            position: absolute;
            top: 50%;
            width: 14px;
            height: 14px;
            background: #00d4ff;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            box-shadow: 0 0 6px rgba(0,212,255,0.8);
            transition: left 0.05s linear;
        }
        
        .controls-panel { 
            background: rgba(20, 20, 40, 0.9); 
            border-radius: 15px; 
            padding: 18px; 
            margin-bottom: 15px; 
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2); 
            border: 1px solid rgba(0, 212, 255, 0.2); 
        }
        .controls-title { 
            color: #00d4ff; 
            font-size: 1.2em; 
            margin-bottom: 15px; 
            text-align: center; 
            font-weight: 600;
        }
        .controls-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
            gap: 12px; 
            margin-bottom: 15px;
        }
        .control-item { 
            background: rgba(0, 0, 0, 0.4); 
            padding: 10px; 
            border-radius: 8px; 
            border: 1px solid rgba(0, 212, 255, 0.2); 
        }
        label { 
            display: block; 
            color: #00d4ff; 
            margin-bottom: 5px; 
            font-weight: 600; 
            font-size: 0.85em; 
        }
        input[type="range"] { width: 100%; margin-bottom: 3px; }
        .value-display { 
            color: #aaa; 
            font-size: 0.8em; 
            text-align: right; 
            margin-top: 3px;
        }
        
        .button-row { 
            display: flex; 
            gap: 10px; 
            justify-content: center; 
            flex-wrap: wrap; 
            margin-top: 15px; 
        }
        button.action-btn { 
            background: linear-gradient(135deg, #00d4ff, #0088cc); 
            color: white; 
            border: none; 
            padding: 9px 18px; 
            border-radius: 6px; 
            font-size: 0.9em;
            cursor: pointer; 
            transition: all 0.3s; 
            font-weight: 600;
        }
        button.action-btn:hover { 
            transform: translateY(-2px); 
            box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6); 
        }
        button.danger { 
            background: linear-gradient(135deg, #ff4444, #cc0000); 
        }
        button.success { 
            background: linear-gradient(135deg, #44ff44, #00cc00); 
        }
        button.purple { 
            background: linear-gradient(135deg, #ff00ff, #aa00aa); 
        }
        
        .metrics-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
            gap: 10px; 
            margin-top: 15px; 
        }
        .metric { 
            background: rgba(0, 0, 0, 0.5); 
            padding: 12px; 
            border-radius: 8px; 
            text-align: center; 
            border: 1px solid rgba(0, 212, 255, 0.2); 
        }
        .metric-value { 
            font-size: 1.3em; 
            color: #00d4ff; 
            font-weight: bold; 
            text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        }
        .metric-label { 
            color: #888; 
            font-size: 0.75em; 
            margin-top: 3px; 
        }
        
        .info-panel {
            background: rgba(0, 100, 150, 0.2);
            border-left: 4px solid #00d4ff;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
        }
        .info-title {
            color: #00d4ff;
            font-size: 1.05em;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .info-text {
            color: #ccc;
            font-size: 0.9em;
            line-height: 1.6;
        }
        
        .extra-canvas { margin-top: 15px; }
        
        /* METHODOLOGY MODAL */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.85);
            z-index: 1000;
            justify-content: center;
            align-items: flex-start;
            padding: 30px 20px;
            overflow-y: auto;
        }
        .modal-overlay.open { display: flex; }
        .modal-box {
            background: linear-gradient(135deg, #080818, #0d0d25);
            border: 2px solid #00d4ff;
            border-radius: 16px;
            padding: 30px;
            max-width: 860px;
            width: 100%;
            position: relative;
            box-shadow: 0 0 60px rgba(0,212,255,0.3);
        }
        .modal-close {
            position: absolute;
            top: 14px; right: 18px;
            background: none;
            border: none;
            color: #00d4ff;
            font-size: 1.6em;
            cursor: pointer;
            line-height: 1;
        }
        .modal-close:hover { color: #fff; }
        .modal-title {
            color: #00d4ff;
            font-size: 1.4em;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .modal-subtitle {
            color: #888;
            font-size: 0.9em;
            margin-bottom: 22px;
            border-bottom: 1px solid rgba(0,212,255,0.2);
            padding-bottom: 12px;
        }
        .modal-section { margin-bottom: 22px; }
        .modal-section-title {
            color: #00d4ff;
            font-size: 1em;
            font-weight: 700;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .modal-section-title::before {
            content: '';
            display: inline-block;
            width: 3px; height: 16px;
            background: #00d4ff;
            border-radius: 2px;
        }
        .modal-text {
            color: #ccc;
            font-size: 0.88em;
            line-height: 1.7;
        }
        .modal-eq {
            background: rgba(0,212,255,0.07);
            border-left: 3px solid #00d4ff;
            border-radius: 0 8px 8px 0;
            padding: 10px 16px;
            margin: 8px 0;
            font-family: 'Courier New', monospace;
            font-size: 0.92em;
            color: #88eeff;
        }
        .modal-limit {
            background: rgba(255,150,0,0.08);
            border-left: 3px solid #ffaa00;
            border-radius: 0 8px 8px 0;
            padding: 10px 16px;
            margin: 8px 0;
            font-size: 0.88em;
            color: #ffcc88;
        }
        .modal-doi {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0,100,200,0.2);
            border: 1px solid #00d4ff;
            border-radius: 8px;
            padding: 8px 14px;
            color: #00d4ff;
            text-decoration: none;
            font-size: 0.85em;
            margin: 4px;
            transition: all 0.2s;
        }
        .modal-doi:hover { background: rgba(0,100,200,0.4); }
        .modal-tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.78em;
            font-weight: 700;
            margin-left: 8px;
        }
        .tag-quantitative { background: rgba(0,200,100,0.2); color: #00ff88; border: 1px solid #00ff88; }
        .tag-qualitative  { background: rgba(255,165,0,0.2);  color: #ffaa00; border: 1px solid #ffaa00; }
        .tag-exploratory  { background: rgba(180,0,255,0.2);  color: #cc88ff; border: 1px solid #cc88ff; }
        .tag-nbody        { background: rgba(0,180,255,0.2);  color: #00d4ff; border: 1px solid #00d4ff; }
        
        .share-box { 
            text-align: center; 
            margin-top: 20px; 
            padding: 15px; 
        }
        .export-btn { 
            background: linear-gradient(135deg, #ff00ff, #00ffff); 
            color: white; 
            border: none; 
            padding: 12px 24px; 
            border-radius: 8px; 
            font-weight: bold; 
            cursor: pointer; 
            font-size: 0.95em;
            transition: all 0.3s;
        }
        .export-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
        }

        /* GUIDED TOUR */
        .tour-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 2000;
            pointer-events: none;
        }
        .tour-overlay.active { display: block; }

        /* Spotlight: dark vignette around edges, clear center */
        .tour-spotlight {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 60% 45% at 50% 42%,
                transparent 55%, rgba(0,0,0,0.82) 100%);
            pointer-events: none;
        }

        /* Tour card */
        .tour-card {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: min(680px, 94vw);
            background: linear-gradient(135deg, #08081a, #0d1030);
            border: 2px solid #00d4ff;
            border-radius: 16px;
            padding: 22px 26px 18px;
            box-shadow: 0 0 50px rgba(0,212,255,0.35);
            pointer-events: all;
            animation: tourSlideUp 0.35s ease;
        }
        @keyframes tourSlideUp {
            from { opacity:0; transform: translateX(-50%) translateY(20px); }
            to   { opacity:1; transform: translateX(-50%) translateY(0); }
        }
        .tour-progress {
            display: flex;
            gap: 6px;
            margin-bottom: 14px;
            align-items: center;
        }
        .tour-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: rgba(0,212,255,0.25);
            border: 1px solid rgba(0,212,255,0.4);
            transition: all 0.3s;
        }
        .tour-dot.active {
            background: #00d4ff;
            box-shadow: 0 0 8px #00d4ff;
            width: 22px;
            border-radius: 4px;
        }
        .tour-step-label {
            margin-left: auto;
            color: #00d4ff;
            font-size: 0.78em;
            opacity: 0.7;
        }
        .tour-mode-badge {
            display: inline-block;
            background: rgba(0,212,255,0.15);
            border: 1px solid #00d4ff;
            border-radius: 20px;
            padding: 3px 12px;
            font-size: 0.78em;
            color: #00d4ff;
            margin-bottom: 8px;
        }
        .tour-title {
            font-size: 1.2em;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }
        .tour-text {
            color: #ccc;
            font-size: 0.88em;
            line-height: 1.65;
            margin-bottom: 16px;
        }
        .tour-text strong { color: #00d4ff; }
        .tour-insight {
            background: rgba(0,212,255,0.07);
            border-left: 3px solid #00d4ff;
            border-radius: 0 8px 8px 0;
            padding: 8px 14px;
            font-size: 0.83em;
            color: #88ddff;
            margin-bottom: 16px;
            font-style: italic;
        }
        .tour-timer-bar {
            height: 3px;
            background: rgba(0,212,255,0.15);
            border-radius: 2px;
            margin-bottom: 14px;
            overflow: hidden;
        }
        .tour-timer-fill {
            height: 100%;
            background: #00d4ff;
            border-radius: 2px;
            transition: width 0.1s linear;
        }
        .tour-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            align-items: center;
        }
        .tour-btn {
            padding: 8px 18px;
            border-radius: 7px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.88em;
            transition: all 0.2s;
        }
        .tour-btn-skip {
            background: none;
            color: #666;
            border: 1px solid #333;
        }
        .tour-btn-skip:hover { color: #aaa; border-color: #666; }
        .tour-btn-prev {
            background: rgba(0,212,255,0.1);
            color: #00d4ff;
            border: 1px solid #00d4ff;
        }
        .tour-btn-prev:hover { background: rgba(0,212,255,0.25); }
        .tour-btn-next {
            background: linear-gradient(135deg, #00d4ff, #0088cc);
            color: white;
        }
        .tour-btn-next:hover { box-shadow: 0 4px 15px rgba(0,212,255,0.5); }
        .tour-btn-finish {
            background: linear-gradient(135deg, #00ff88, #00aa55);
            color: #000;
        }

/* ═══════════════════════════════════════════════════════════════
   SCIENTIFIC PRESETS PANEL (added in Etape 2)
   ═══════════════════════════════════════════════════════════════ */

.presets-panel {
    position: fixed;
    top: 0;
    right: -520px;
    width: 500px;
    max-width: 95vw;
    height: 100vh;
    background: linear-gradient(160deg, #060815 0%, #0c0a1f 100%);
    border-left: 1px solid rgba(155, 109, 255, 0.4);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    z-index: 9998;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}
.presets-panel.open { right: 0; }

.presets-header {
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(155, 109, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
}
.presets-title {
    color: #b893ff;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.presets-subtitle {
    color: #888;
    font-size: 0.82em;
    margin-top: 3px;
    font-style: italic;
}
.presets-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.7em;
    cursor: pointer;
    line-height: 1;
    padding: 0 6px;
    transition: color 0.2s;
}
.presets-close:hover { color: #fff; }

.presets-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding: 14px 22px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(155,109,255,0.3) transparent;
}
.presets-body::-webkit-scrollbar { width: 6px; }
.presets-body::-webkit-scrollbar-thumb { background: rgba(155,109,255,0.3); border-radius: 3px; }

.presets-group { margin-top: 18px; }
.presets-group:first-child { margin-top: 8px; }

.presets-group-title {
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 6px;
    margin-bottom: 10px;
    border-bottom: 1px solid;
}

.presets-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preset-card {
    background: rgba(155, 109, 255, 0.04);
    border: 1px solid rgba(155, 109, 255, 0.15);
    border-radius: 9px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.preset-card:hover {
    background: rgba(155, 109, 255, 0.1);
    border-color: rgba(155, 109, 255, 0.5);
}

.preset-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.preset-icon {
    font-size: 1.5em;
    flex-shrink: 0;
    width: 34px;
    text-align: center;
    filter: drop-shadow(0 0 3px rgba(155, 109, 255, 0.3));
}
.preset-text { flex: 1; min-width: 0; }
.preset-name {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.95em;
}
.preset-tag {
    color: #888;
    font-size: 0.78em;
    margin-top: 2px;
    font-style: italic;
}

.preset-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}
.preset-card.expanded .preset-body {
    max-height: 400px;
    opacity: 1;
    margin-top: 10px;
}

.preset-tooltip {
    color: #bbb;
    font-size: 0.82em;
    line-height: 1.45;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(155, 109, 255, 0.5);
    border-radius: 4px;
    margin-bottom: 8px;
}
.preset-expected {
    color: #b893ff;
    font-size: 0.8em;
    padding: 6px 10px;
    background: rgba(155, 109, 255, 0.08);
    border-radius: 4px;
    margin-bottom: 10px;
}
.preset-expected strong { color: #5effc8; margin-right: 4px; }

.preset-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.preset-run {
    background: linear-gradient(135deg, #9b6dff, #6d4dcc);
    border: none;
    color: white;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    flex: 1;
}
.preset-run:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155, 109, 255, 0.45);
}
.preset-doi {
    color: #b893ff;
    text-decoration: none;
    font-size: 0.78em;
    padding: 6px 10px;
    border: 1px solid rgba(155, 109, 255, 0.3);
    border-radius: 6px;
    transition: all 0.15s;
    flex-shrink: 0;
}
.preset-doi:hover {
    background: rgba(155, 109, 255, 0.15);
    border-color: rgba(155, 109, 255, 0.6);
}

/* Trigger button in header toolbar */
.presets-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(155, 109, 255, 0.15), rgba(100, 60, 200, 0.15));
    border: 1px solid rgba(155, 109, 255, 0.5);
    color: #b893ff;
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 0.82em;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.presets-trigger:hover {
    background: linear-gradient(135deg, rgba(155, 109, 255, 0.3), rgba(100, 60, 200, 0.3));
    box-shadow: 0 4px 12px rgba(155, 109, 255, 0.3);
}

@media (max-width: 600px) {
    .presets-panel { width: 100vw; right: -100vw; }
    .presets-header { padding: 14px 16px 12px; }
    .presets-body { padding: 12px 16px 20px; }
    .preset-actions { flex-direction: column; gap: 6px; align-items: stretch; }
    .preset-doi { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   SCIENTIFIC CONTROLS PANELS (Étape 3)
   Mode-specific sliders with live-computed metrics
   ═══════════════════════════════════════════════════════════════ */

.sci-controls-host {
    margin: 15px auto;
    max-width: 1700px;
    padding: 0 15px;
}

.sci-panel {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(15, 15, 35, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.sci-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.sci-panel-title {
    color: #00d4ff;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.sci-panel-sub {
    color: #888;
    font-size: 0.82em;
    margin-top: 3px;
    font-style: italic;
    max-width: 540px;
}
.sci-paper-link {
    color: #b893ff;
    text-decoration: none;
    font-size: 0.8em;
    padding: 5px 12px;
    border: 1px solid rgba(155, 109, 255, 0.4);
    border-radius: 14px;
    white-space: nowrap;
    transition: all 0.2s;
}
.sci-paper-link:hover {
    background: rgba(155, 109, 255, 0.15);
    border-color: rgba(155, 109, 255, 0.7);
}

/* SLIDERS */
.sci-sliders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}
.sci-slider-wide {
    grid-column: 1 / -1;
}
.sci-slider label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: #cfcfcf;
    font-size: 0.88em;
    font-weight: 600;
    margin-bottom: 6px;
}
.sci-val {
    color: #00d4ff;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95em;
}
.sci-slider input[type="range"] {
    width: 100%;
    margin: 4px 0;
    accent-color: #00d4ff;
}
.sci-ticks {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.7em;
    margin-top: 2px;
    padding: 0 4px;
}

/* METRICS STRIP */
.sci-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.sci-metric {
    background: rgba(0, 0, 20, 0.45);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 9px;
    padding: 10px 14px;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
}
.sci-metric-highlight {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.5);
    border-width: 2px;
}
.sci-metric-label {
    color: #888;
    font-size: 0.72em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}
.sci-metric-value {
    color: #00d4ff;
    font-size: 1.5em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin: 4px 0 2px;
    transition: color 0.3s;
}
.sci-metric-formula {
    color: #aaa;
    font-size: 0.72em;
    font-style: italic;
    font-family: 'Courier New', monospace;
}

/* QUICK PRESET BUTTONS */
.sci-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 8px;
}
.sci-btn-quick {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #9ee6ff;
    padding: 7px 13px;
    border-radius: 18px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sci-btn-quick:hover {
    background: rgba(0, 212, 255, 0.2);
    color: white;
    border-color: rgba(0, 212, 255, 0.7);
    transform: translateY(-1px);
}

/* HINT FOOTER */
.sci-hint {
    color: #aaa;
    font-size: 0.78em;
    line-height: 1.5;
    padding: 10px 12px;
    background: rgba(0, 212, 255, 0.03);
    border-left: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 0 6px 6px 0;
    margin-top: 14px;
}

@media (max-width: 600px) {
    .sci-controls-host { padding: 0 10px; }
    .sci-panel { padding: 14px; }
    .sci-metrics { grid-template-columns: 1fr 1fr; }
    .sci-metric-value { font-size: 1.2em; }
    .sci-quick { flex-direction: column; align-items: stretch; }
}

/* ═══════════════════════════════════════════════════════════════
   SENSITIVITY ANALYSIS (Étape 4)
   Modal with parameter-sweep plot + PNG/CSV export
   ═══════════════════════════════════════════════════════════════ */

/* Trigger zone appended to each sci-panel */
.sens-trigger-zone {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 212, 255, 0.2);
}
.sens-trigger-label {
    color: #9ee6ff;
    font-size: 0.82em;
    font-weight: 600;
    margin-bottom: 8px;
}
.sens-trigger-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sens-trigger-btn {
    background: linear-gradient(135deg, rgba(94, 255, 200, 0.1), rgba(0, 200, 150, 0.1));
    border: 1px solid rgba(94, 255, 200, 0.4);
    color: #5effc8;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sens-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(94, 255, 200, 0.25), rgba(0, 200, 150, 0.25));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 255, 200, 0.25);
}

/* Modal overlay */
.sens-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: sensFadeIn 0.3s;
}
@keyframes sensFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.sens-content {
    background: linear-gradient(160deg, #0a0a1a 0%, #14142a 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.25);
    padding: 22px;
    max-width: 960px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
}

.sens-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}
.sens-title {
    color: #00d4ff;
    font-size: 1.12em;
    font-weight: 700;
}
.sens-subtitle {
    color: #888;
    font-size: 0.82em;
    margin-top: 4px;
    font-style: italic;
}
.sens-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.8em;
    cursor: pointer;
    line-height: 1;
    padding: 0 6px;
    transition: color 0.2s;
}
.sens-close:hover { color: #fff; }

.sens-content canvas {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    border-radius: 8px;
    background: #0a0a1a;
}

.sens-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.sens-btn {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #9ee6ff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.88em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sens-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    color: white;
    border-color: rgba(0, 212, 255, 0.8);
}
.sens-btn-close {
    background: rgba(100, 100, 100, 0.15);
    border-color: rgba(150, 150, 150, 0.4);
    color: #aaa;
}
.sens-btn-close:hover {
    background: rgba(150, 150, 150, 0.25);
    color: white;
    border-color: rgba(200, 200, 200, 0.6);
}

.sens-hint {
    color: #888;
    font-size: 0.78em;
    line-height: 1.5;
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(0, 212, 255, 0.04);
    border-left: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 0 6px 6px 0;
}

@media (max-width: 600px) {
    .sens-content { padding: 16px; }
    .sens-trigger-list { flex-direction: column; }
    .sens-actions { flex-direction: column; }
    .sens-btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   OBSERVATIONAL OVERLAYS + EXPORT (Étapes 5+6)
   ═══════════════════════════════════════════════════════════════ */

.overlay-zone {
    margin-top: 14px;
    padding: 12px;
    background: rgba(255, 68, 136, 0.05);
    border: 1px solid rgba(255, 68, 136, 0.25);
    border-radius: 8px;
}
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.overlay-label {
    color: #ff88bb;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.overlay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ddd;
    font-size: 0.82em;
    cursor: pointer;
    user-select: none;
}
.overlay-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff4488;
    cursor: pointer;
}
.overlay-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.overlay-selector label {
    color: #aaa;
    font-size: 0.82em;
}
.overlay-selector select {
    background: rgba(0, 0, 30, 0.6);
    color: #e0e0e0;
    border: 1px solid rgba(255, 68, 136, 0.4);
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 0.82em;
    cursor: pointer;
}
.overlay-selector select:focus {
    border-color: #ff4488;
    outline: none;
}
.overlay-cite {
    color: #ff88bb;
    font-size: 0.78em;
    text-decoration: none;
    font-style: italic;
    margin-left: auto;
}
.overlay-cite:hover { color: #ffb3d1; text-decoration: underline; }
.overlay-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
}
.overlay-note {
    color: #888;
    font-size: 0.78em;
    font-style: italic;
}

/* Export zone — appended to every sci-panel */
.export-zone {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 212, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.export-label {
    color: #9ee6ff;
    font-size: 0.82em;
    font-weight: 600;
}
.export-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.export-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #9ee6ff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.export-btn:hover {
    background: rgba(0, 212, 255, 0.25);
    color: white;
    border-color: rgba(0, 212, 255, 0.7);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .overlay-selector { flex-direction: column; align-items: flex-start; gap: 6px; }
    .overlay-selector select { width: 100%; }
    .overlay-cite { margin-left: 0; }
    .export-zone { flex-direction: column; align-items: stretch; }
    .export-btns { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   A/B CONFIGURATION COMPARATOR (Étape 9)
   ═══════════════════════════════════════════════════════════════ */

.cmp-zone {
    margin-top: 14px;
    padding: 12px;
    background: rgba(255, 184, 77, 0.05);
    border: 1px solid rgba(255, 184, 77, 0.2);
    border-radius: 8px;
}
.cmp-label {
    color: #ffb84d;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.cmp-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.cmp-btn {
    border: 1px solid rgba(255, 184, 77, 0.4);
    color: #ffb84d;
    background: rgba(255, 184, 77, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.cmp-btn:hover {
    background: rgba(255, 184, 77, 0.2);
    border-color: rgba(255, 184, 77, 0.7);
    transform: translateY(-1px);
}
.cmp-btn-a {
    border-color: rgba(110, 200, 255, 0.5);
    color: #6ec8ff;
    background: rgba(110, 200, 255, 0.08);
}
.cmp-btn-a:hover {
    background: rgba(110, 200, 255, 0.2);
    border-color: rgba(110, 200, 255, 0.8);
}
.cmp-btn-view {
    border-color: rgba(94, 255, 200, 0.5);
    color: #5effc8;
    background: rgba(94, 255, 200, 0.08);
}
.cmp-btn-view:hover {
    background: rgba(94, 255, 200, 0.2);
    border-color: rgba(94, 255, 200, 0.8);
}
.cmp-btn-close {
    background: rgba(150, 150, 150, 0.15);
    border-color: rgba(150, 150, 150, 0.4);
    color: #aaa;
}
.cmp-status {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.78em;
}
.cmp-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-family: 'DM Mono', monospace;
    font-size: 0.85em;
}
.cmp-pill-a {
    background: rgba(110, 200, 255, 0.15);
    color: #6ec8ff;
    border: 1px solid rgba(110, 200, 255, 0.4);
}
.cmp-pill-b {
    background: rgba(255, 184, 77, 0.15);
    color: #ffb84d;
    border: 1px solid rgba(255, 184, 77, 0.4);
}
.cmp-pill-empty {
    background: rgba(100, 100, 100, 0.1);
    color: #777;
    border: 1px dashed rgba(150, 150, 150, 0.3);
}

/* Modal */
.cmp-modal {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: sensFadeIn 0.3s;
}
.cmp-content {
    background: linear-gradient(160deg, #0a0a1a 0%, #14142a 100%);
    border: 1px solid rgba(255, 184, 77, 0.4);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(255, 184, 77, 0.2);
    padding: 22px;
    max-width: 1000px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
}
.cmp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 184, 77, 0.15);
}
.cmp-title {
    color: #ffb84d;
    font-size: 1.15em;
    font-weight: 700;
}
.cmp-subtitle {
    color: #888;
    font-size: 0.82em;
    margin-top: 4px;
    font-style: italic;
}
.cmp-close {
    background: none; border: none; color: #aaa;
    font-size: 1.8em; cursor: pointer; line-height: 1;
    padding: 0 6px; transition: color 0.2s;
}
.cmp-close:hover { color: #fff; }

.cmp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.cmp-col {
    background: rgba(0, 0, 20, 0.45);
    border-radius: 8px;
    padding: 14px;
}
.cmp-col-a { border: 1px solid rgba(110, 200, 255, 0.4); }
.cmp-col-b { border: 1px solid rgba(255, 184, 77, 0.4); }
.cmp-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cmp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
}
.cmp-badge-a {
    background: rgba(110, 200, 255, 0.2);
    color: #6ec8ff;
    border: 1px solid rgba(110, 200, 255, 0.6);
}
.cmp-badge-b {
    background: rgba(255, 184, 77, 0.2);
    color: #ffb84d;
    border: 1px solid rgba(255, 184, 77, 0.6);
}
.cmp-col-label {
    color: #e0e0e0;
    font-size: 0.95em;
    font-weight: 600;
}
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88em;
}
.cmp-table td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.05);
}
.cmp-label-cell {
    color: #888;
    font-family: 'DM Mono', monospace;
    width: 45%;
}
.cmp-value-cell {
    color: #e0e0e0;
    font-family: 'DM Mono', monospace;
    font-weight: 500;
}

.cmp-delta {
    background: rgba(94, 255, 200, 0.05);
    border: 1px solid rgba(94, 255, 200, 0.25);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 18px;
}
.cmp-delta-title {
    color: #5effc8;
    font-size: 0.92em;
    font-weight: 600;
    margin-bottom: 10px;
}
.cmp-delta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86em;
}
.cmp-delta-table th {
    color: #888;
    font-family: 'DM Mono', monospace;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-bottom: 1px solid rgba(94, 255, 200, 0.15);
    text-align: left;
}
.cmp-delta-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(94, 255, 200, 0.06);
    font-family: 'DM Mono', monospace;
}

.cmp-chart-wrap {
    margin-bottom: 18px;
    text-align: center;
}
.cmp-chart-wrap canvas {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 8px;
    background: #0a0a1a;
    border: 1px solid rgba(255, 184, 77, 0.2);
}

.cmp-footer-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cmp-grid { grid-template-columns: 1fr; }
    .cmp-content { padding: 16px; }
    .cmp-actions { flex-direction: column; align-items: stretch; }
    .cmp-footer-actions { flex-direction: column; }
    .cmp-footer-actions .cmp-btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   RESEARCHER IMPACT MODULE — headline ribbon, reproduce, author
   ════════════════════════════════════════════════════════════════ */

/* 1. Headline ribbon (top of canvas area) */
.headline-ribbon {
    background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(94,255,200,0.06), rgba(184,147,255,0.10));
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 8px;
    padding: 10px 18px;
    margin: 0 0 12px;
    text-align: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.86em;
    color: #d8e8f0;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}
.headline-ribbon strong {
    color: #5effc8;
    font-weight: 600;
    letter-spacing: 0;
}
.headline-ribbon .hr-prefix {
    margin-right: 6px;
    opacity: 0.7;
}
@media (max-width: 600px) {
    .headline-ribbon { font-size: 0.74em; padding: 8px 12px; line-height: 1.4; }
}

/* 2. "Reproduce a result" trigger button */
.repro-trigger-btn {
    background: rgba(94,255,200,0.1);
    border: 1px solid rgba(94,255,200,0.4);
    color: #5effc8;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.84em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
    white-space: nowrap;
}
.repro-trigger-btn:hover {
    background: rgba(94,255,200,0.2);
    border-color: rgba(94,255,200,0.7);
    transform: translateY(-1px);
}

/* Reproduce modal */
.repro-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10005;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: sensFadeIn 0.25s;
}
.repro-content {
    background: linear-gradient(160deg, #0a0a1a 0%, #14142a 100%);
    border: 1px solid rgba(94,255,200,0.4);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(94,255,200,0.15);
    padding: 22px;
    max-width: 640px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
}
.repro-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 14px; margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(94,255,200,0.15);
}
.repro-h-title {
    color: #5effc8; font-size: 1.1em; font-weight: 700;
}
.repro-h-sub {
    color: rgba(216,232,240,0.55); font-size: 0.8em; margin-top: 4px; font-style: italic;
}
.repro-close {
    background: none; border: none; color: #aaa;
    font-size: 1.6em; cursor: pointer; line-height: 1;
    padding: 0 6px;
}
.repro-close:hover { color: #fff; }

.repro-list {
    display: flex; flex-direction: column; gap: 8px;
}
.repro-item {
    background: rgba(0,0,20,0.45);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.18s;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    align-items: center;
}
.repro-item:hover {
    background: rgba(94,255,200,0.06);
    border-color: rgba(94,255,200,0.5);
    transform: translateX(2px);
}
.repro-title {
    color: #fff; font-weight: 600; font-size: 0.92em;
    grid-column: 1;
}
.repro-desc {
    color: rgba(216,232,240,0.6); font-size: 0.82em;
    grid-column: 1; font-family: 'DM Mono', monospace;
}
.repro-action {
    color: #5effc8; font-family: 'DM Mono', monospace; font-size: 0.86em;
    grid-row: 1 / span 2; grid-column: 2;
}
.repro-footer {
    margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(94,255,200,0.1);
    text-align: center;
}

/* 3. Author card (bottom of simulator) */
.author-card {
    margin: 30px auto;
    max-width: 900px;
    background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(184,147,255,0.04));
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: 'DM Sans', sans-serif;
}
.author-card img {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(0,212,255,0.4);
    object-fit: cover;
    flex-shrink: 0;
}
.author-text { flex: 1; min-width: 0; }
.author-name {
    color: #00d4ff; font-weight: 700; font-size: 1.05em;
    margin-bottom: 2px;
}
.author-meta {
    color: rgba(216,232,240,0.7); font-size: 0.84em;
    margin-bottom: 6px;
}
.author-links {
    display: flex; gap: 16px; flex-wrap: wrap;
}
.author-links a {
    color: #00d4ff; text-decoration: none; font-size: 0.82em;
    font-family: 'DM Mono', monospace; letter-spacing: 0.02em;
}
.author-links a:hover { text-decoration: underline; }
.author-disclaimer {
    color: rgba(255,183,0,0.85); font-size: 0.74em;
    font-style: italic; margin-top: 6px;
}
@media (max-width: 600px) {
    .author-card { flex-direction: column; text-align: center; padding: 16px; }
    .author-links { justify-content: center; }
}
