:root {
            --color-reject: #f43f5e;       /* Rose/Red for Critical region & Reject */
            --color-reject-glow: rgba(244, 63, 94, 0.35);
            --color-retain: #10b981;       /* Emerald for Fail to reject */
            --color-retain-glow: rgba(16, 185, 129, 0.35);
            --color-stat: #38bdf8;         /* Cyan for test statistic Z */
            --color-stat-glow: rgba(56, 189, 248, 0.35);
            --color-interval: #ffb000;     /* Amber for Confidence Interval */
            --color-interval-glow: rgba(255, 176, 0, 0.35);
        }

        section {
            margin-bottom: 6rem;
            scroll-margin-top: 2rem;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 1.75rem;
        }

        .section-tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--color-accent);
            background: rgba(168, 85, 247, 0.1);
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid rgba(168, 85, 247, 0.2);
            text-shadow: 0 0 5px var(--color-accent-glow);
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
        }

        .section-intro {
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.6;
            font-size: 1rem;
            max-width: 850px;
        }

        .workspace-grid {
            display: grid;
            grid-template-columns: 1.455fr 1fr;
            gap: 2rem;
            align-items: start;
        }

        @media (max-width: 960px) {
            .workspace-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Canvas layouts */
        .canvas-card {
            background: rgba(0, 0, 0, 0.25);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            overflow: hidden;
            width: 100%;
        }

        .canvas-container {
            width: 100%;
            height: 220px;
            position: relative;
            touch-action: none;
        }

        .interval-container {
            width: 100%;
            height: 110px;
            border-top: 1px solid var(--card-border);
            background: rgba(255,255,255,0.005);
            position: relative;
        }

        canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        /* Sliders control panel */
        .control-row-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 1.25rem;
        }

        .input-select {
            background: #0f121e;
            border: 1px solid var(--card-border);
            border-radius: 8px;
            color: var(--text-color);
            padding: 8px 12px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.9rem;
            width: 100%;
            outline: none;
            cursor: pointer;
            transition: border-color 0.2s ease;
        }

        .input-select:focus {
            border-color: var(--color-accent);
        }

        /* Decision Banner */
        .decision-banner {
            text-align: center;
            font-size: 1.15rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 0.75rem 1.25rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .decision-banner.reject {
            background: rgba(244, 63, 94, 0.08);
            border: 1px solid rgba(244, 63, 94, 0.25);
            color: var(--color-reject);
            box-shadow: 0 0 15px rgba(244, 63, 94, 0.15);
        }

        .decision-banner.retain {
            background: rgba(16, 185, 129, 0.08);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: var(--color-retain);
            box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
        }

        /* Solver steps */
        .solver-step {
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 2px solid var(--card-border);
        }

        .solver-step:last-child {
            margin-bottom: 0;
        }

        .solver-step-title {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        .solver-step-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Quiz option styling */
        .quiz-option {
            background: rgba(255, 255, 255, 0.015);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: all var(--transition-speed) ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .quiz-option:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.1);
            transform: translateX(4px);
        }

        .quiz-option.correct {
            background: rgba(16, 185, 129, 0.08);
            border-color: rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        .quiz-option.incorrect {
            background: rgba(244, 63, 94, 0.08);
            border-color: rgba(244, 63, 94, 0.3);
            color: #f43f5e;
        }

        .quiz-feedback {
            margin-top: 1rem;
            padding: 1rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            font-size: 0.9rem;
            line-height: 1.5;
            display: none;
        }