/* --- SESSION 5: THE RESEARCH LABORATORY --- */
:root {
    --lab-blue: #003560;
    --lab-cyan: #0073a0;
    --lab-red: #e85f3e;
    --lab-bg-light: #f4f7f9;
    --lab-border: #d1d9e6;
}

.lab-workspace {
    max-width: 100%;
    margin: 0 auto;
}

/* Tabs */
.lab-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--lab-border);
    padding: 2px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.lab-tab {
    background: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    color: var(--lab-blue);
    transition: all 0.3s;
}

.lab-tab:hover {
    background: var(--lab-bg-light);
}

.lab-tab.active {
    background: var(--lab-blue);
    color: #fff;
}

/* The Frame */
.lab-frame {
    background: white;
    border: 1px solid var(--lab-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lab-frame.hidden {
    display: none;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Metrics & Bars */
.panel-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 25px;
    border: none;
}

.metric-row {
    margin-bottom: 20px;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lab-blue);
}

.metric-bar-bg {
    background: #eef2f7;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.metric-bar-fill {
    height: 100%;
    width: 0;
    background: var(--lab-cyan);
    transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.metric-bar-fill.danger {
    background: var(--lab-red);
}

/* Report */
.report-box-styled {
    background: #fff8f6;
    border-left: 5px solid var(--lab-red);
    padding: 25px;
    border-radius: 4px;
}

.report-box-styled strong {
    color: var(--lab-red);
}

/* Safety Gate & Checkboxes */
.lab-safety-gate {
    border-top: 1px solid var(--lab-border);
    padding-top: 30px;
}

.gate-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.alert-icon {
    background: var(--lab-red);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.gate-header h3 {
    border: none;
    margin: 0;
    font-size: 1rem;
    color: var(--lab-blue);
}

.gate-list {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--lab-bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    transition: 0.2s;
    border: 1px solid transparent;
}

.req-item:hover {
    border-color: var(--lab-cyan);
}

/* Custom Checkbox UI */
.req-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--lab-blue);
}

.req-item label {
    font-size: 0.9rem;
    color: var(--lab-blue);
    cursor: pointer;
    font-weight: 500;
}

/* The Launch Button */
.launch-control {
    text-align: center;
}

.launch-btn {
    background: var(--lab-blue);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(0, 53, 96, 0.3);
}

.launch-btn:hover:not(.disabled) {
    background: var(--lab-cyan);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 115, 160, 0.4);
}

.launch-btn.disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 850px) {
    .lab-grid {
        grid-template-columns: 1fr;
    }

    .lab-selector {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- SECTION 2: BLUEPRINT SYSTEM --- */

.blueprint-theme {
    background-color: #f8fafc;
    padding: 80px 0;
}

.blueprint-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--uni-hohenheim-lightblue);
    margin-bottom: 30px;
    border: none;
}

/* 1. Distillation Pipe */
.distillation-bench {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.distill-stage { flex: 1; text-align: center; }
.node-label { font-size: 0.7rem; color: #94a3b8; margin-bottom: 10px; text-transform: uppercase; }
.concept-cloud { padding: 20px; background: #f1f5f9; border: 2px dashed #cbd5e1; border-radius: 50px; font-weight: bold; }
.data-crystal { padding: 20px; background: white; border: 2px solid var(--lab-cyan); color: var(--lab-cyan); border-radius: 8px; font-weight: bold; box-shadow: 0 0 15px rgba(0, 210, 255, 0.2); }
.distill-separator { flex: 2; position: relative; display: flex; align-items: center; justify-content: center; height: 60px; }
.pipe-svg { width: 100%; height: 40px; }
.core-box { position: absolute; background: var(--lab-blue); color: white; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; z-index: 5; }

/* 2. Explosion Drawing */
.explosion-bench { background: #fdfdfd; border: 1px solid #edf2f7; border-radius: 8px; padding: 40px; min-height: 400px; display: flex; flex-direction: column; align-items: center; }
#explosion-stage { position: relative; width: 100%; height: 250px; display: flex; justify-content: center; }

.layer { position: absolute; width: 100%; display: flex; justify-content: center; gap: 20px; transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); opacity: 0; }
.blueprint-node { background: white; border: 2px solid var(--lab-blue); padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.blueprint-node.master { background: var(--lab-blue); color: white; box-shadow: 0 10px 20px rgba(0, 53, 96, 0.2); }
.blueprint-node.dim { border-color: var(--lab-cyan); color: var(--lab-blue); }
.blueprint-node.item { border-style: dashed; font-size: 0.8rem; }

/* States */
.zoom-state-1 .layer-construct { opacity: 1; transform: translateY(80px); }
.zoom-state-2 .layer-construct { opacity: 0.3; transform: translateY(0); }
.zoom-state-2 .layer-dimensions { opacity: 1; transform: translateY(120px); }
.zoom-state-3 .layer-construct { opacity: 0.1; transform: translateY(-40px); }
.zoom-state-3 .layer-dimensions { opacity: 0.3; transform: translateY(40px); }
.zoom-state-3 .layer-indicators { opacity: 1; transform: translateY(140px); }

/* Range Slider Styling */
.zoom-controls { width: 100%; max-width: 500px; margin-top: 40px; }
.lab-slider { -webkit-appearance: none; width: 100%; height: 6px; background: #e2e8f0; border-radius: 3px; outline: none; }
.lab-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--lab-blue); border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.slider-ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.7rem; color: #94a3b8; font-weight: bold; text-transform: uppercase; }

/* 3. Scope Visual */
.scope-bench { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.target-system { width: 180px; height: 180px; background: #fff; border-radius: 50%; border: 2px solid #e2e8f0; position: relative; }
.ring { position: absolute; border: 1px solid #edf2f7; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.r3 { width: 100%; height: 100%; }
.r2 { width: 66%; height: 66%; }
.r1 { width: 33%; height: 33%; background: #f8fafc; }
.hit-dot { position: absolute; width: 6px; height: 6px; background: var(--lab-red); border-radius: 50%; box-shadow: 0 0 8px var(--lab-red); transform: translate(-50%, -50%); animation: hit-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes hit-pop { from { opacity: 0; scale: 3; } to { opacity: 1; scale: 1; } }

/* Scope Buttons */
.scope-btn-group { display: flex; gap: 10px; margin-top: 20px; }
.scope-btn { background: white; border: 1px solid var(--lab-border); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: bold; color: var(--lab-blue); transition: 0.2s; }
.scope-btn:hover { border-color: var(--lab-cyan); }
.scope-btn.active { background: var(--lab-blue); color: white; border-color: var(--lab-blue); }
#scope-status { color: var(--lab-blue); margin: 0 0 10px 0; border: none; }

.section-header-2{
    padding-left: 10px;
}

/* --- SECTION 3: STATISTICAL POWER GRID --- */
.matrix-theme { background-color: #fff; padding: 60px 0; }

.power-grid-interface {
    display: grid; grid-template-columns: 280px 1fr; gap: 30px; margin-top: 30px;
}

/* Sidebar Levels */
.level-control { display: flex; flex-direction: column; gap: 10px; }
.level-btn {
    background: #f8fafc; border: 1px solid var(--lab-border); border-radius: 8px;
    padding: 15px; display: flex; align-items: center; gap: 15px; cursor: pointer;
    transition: all 0.3s; text-align: left;
}
.level-num { 
    background: #cbd5e1; color: white; width: 30px; height: 30px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 4px; font-weight: bold; font-family: monospace;
}
.level-btn:hover { border-color: var(--lab-cyan); }
.level-btn.active { border-color: var(--lab-blue); background: var(--task-bg); box-shadow: 0 4px 10px rgba(0,53,96,0.1); }
.level-btn.active .level-num { background: var(--lab-blue); }

/* Permission Matrix */
.matrix-display { 
    background: var(--lab-bg-light); border: 1px solid var(--lab-border); 
    border-radius: 12px; padding: 30px; 
}
.matrix-header { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 20px; font-weight: bold; }

.permission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 30px; }
.perm-cell { 
    background: white; border: 1px solid #e2e8f0; padding: 15px; 
    border-radius: 8px; text-align: center; transition: all 0.4s;
}
.perm-icon { font-size: 1.5rem; color: #cbd5e1; margin-bottom: 5px; }
.perm-label { font-size: 0.8rem; font-weight: bold; color: var(--lab-blue); }
.perm-status { font-size: 0.6rem; font-weight: 800; color: #94a3b8; margin-top: 5px; }

/* Active & Locked States */
.perm-cell.active { border-color: #22c55e; background: #f0fdf4; }
.perm-cell.active .perm-icon { color: #22c55e; }
.perm-cell.active .perm-status { color: #166534; }

.perm-cell.locked { border-color: #fda4af; background: #fff1f2; opacity: 0.6; }
.perm-cell.locked .perm-icon { color: #fb7185; }
.perm-cell.locked .perm-status { color: #be123c; }

/* Scale Transformer */
.scale-transformer { background: white; border-radius: 8px; border: 1px solid #e2e8f0; padding: 20px; }
.transformer-header { font-size: 0.7rem; font-weight: bold; color: #94a3b8; text-transform: uppercase; margin-bottom: 15px; }
.example-box { border: 2px solid var(--lab-cyan); padding: 15px; border-radius: 6px; position: relative; }
.tag-level { 
    position: absolute; top: -10px; right: 15px; background: var(--lab-cyan); 
    color: white; font-size: 0.6rem; padding: 2px 8px; border-radius: 10px; font-weight: bold;
}

/* Quasi Toggle */
.quasi-toggle-box { 
    margin-top: 20px; padding: 15px; background: #fff8e1; 
    border-radius: 8px; border: 1px solid #fde68a; display: flex; align-items: center; gap: 10px;
}
.quasi-label { font-size: 0.75rem; color: #92400e; }

/* Calibration Cards */
.group-calibration-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.calib-card { background: var(--task-bg); border-left: 4px solid var(--lab-blue); padding: 15px; border-radius: 0 8px 8px 0; }
.calib-card.alt { background: #f0fdfa; border-left-color: #0d9488; }
.calib-card h5 { margin: 0 0 5px 0; color: var(--lab-blue); }
.calib-card p { font-size: 0.85rem; margin: 0; color: #475569; }

/* Toggle Switch Styling */
.quasi-switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.quasi-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--lab-red); }
input:checked + .slider:before { transform: translateX(20px); }


/* --- SECTION 4: INDEX RECIPES --- */
.recipe-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin: 40px 0; }

.recipe-card {
    background: white; border: 1px solid var(--lab-border); border-radius: 12px;
    padding: 30px; display: flex; flex-direction: column;
}

.recipe-header { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.recipe-header h3 { border: none; margin: 0; font-size: 1.1rem; color: var(--lab-blue); }
.recipe-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }

/* Recipe 1: Mean Machine */
.recipe-simulator { display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; }
.control-row { margin-bottom: 15px; }
.control-row label { display: block; font-size: 0.8rem; font-weight: bold; margin-bottom: 5px; }
.val-display { font-weight: bold; color: var(--lab-cyan); margin-left: 10px; }

.invert-row { background: #fff5f2; padding: 10px; border-radius: 6px; border-left: 3px solid var(--lab-red); }
.btn-invert { 
    font-size: 0.65rem; padding: 4px 8px; border-radius: 4px; border: 1px solid var(--lab-red);
    background: white; color: var(--lab-red); cursor: pointer; margin-top: 5px; font-weight: bold;
}
.btn-invert.active { background: var(--lab-red); color: white; }

.result-circle { 
    width: 100px; height: 100px; border: 5px solid var(--lab-cyan); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 0 auto; box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}
#mean-result { font-size: 1.5rem; font-weight: 900; color: var(--lab-blue); }
.formula-box { font-family: monospace; font-size: 0.7rem; background: #f8fafc; padding: 5px; text-align: center; margin-bottom: 10px; }

/* Recipe 2: Sum Machine */
.accumulator-bench { display: flex; align-items: center; gap: 30px; }
.beaker-container { position: relative; width: 80px; height: 120px; }
.beaker-value { 
    position: absolute; top: 40%; left: 50%; transform: translateX(-50%);
    font-weight: 900; color: var(--lab-blue); font-size: 1.2rem; z-index: 5;
}
.accumulator-checks { display: flex; flex-direction: column; gap: 8px; }
.check-item { font-size: 0.85rem; font-weight: 600; cursor: pointer; }

/* Protocol Guide */
.protocol-blueprint { background: var(--lab-blue); color: white; padding: 30px; border-radius: 12px; margin-top: 30px; }
.protocol-blueprint h3 { color: var(--lab-cyan); border: none; margin-top: 0; }
.protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.proto-item { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; font-size: 0.8rem; }
.proto-item span { display: block; color: var(--lab-cyan); font-weight: 900; font-size: 1.2rem; margin-bottom: 5px; }
.recipe-footer-info { margin-top: auto; font-size: 0.75rem; color: #666; padding-top: 15px; }

@media (max-width: 850px) { .recipe-grid, .protocol-grid { grid-template-columns: 1fr; } }

/* --- SECTION 5: FORGE & SURGERY --- */
.forge-theme { background: #fdfdfd; padding: 80px 0; }

.forge-card {
    background: white; border: 1px solid var(--lab-border); border-radius: 12px;
    padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Item Surgery */
.item-to-fix {
    font-size: 1.4rem; font-family: "Courier New", Courier, monospace;
    padding: 40px; background: var(--lab-bg-light); border: 2px dashed #cbd5e1;
    border-radius: 8px; text-align: center; color: var(--lab-blue); position: relative;
}

.tumor {
    color: var(--lab-red); text-decoration: underline wavy; cursor: pointer;
    transition: all 0.3s; padding: 2px 5px; border-radius: 4px;
}
.tumor:hover { background: rgba(232, 95, 62, 0.1); transform: scale(1.1); }

.surgery-feedback {
    margin-top: 20px; animation: fadeInUp 0.4s forwards;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: #fff; padding: 20px; border: 1px solid #e2e8f0;
}
.diagnosis { border-right: 1px solid #eee; padding-right: 20px; color: var(--lab-red); font-size: 0.9rem; }
.healing { padding-left: 10px; color: #166534; font-size: 0.9rem; }
.healed-items { margin-top: 10px; font-weight: bold; }
.next-patient { grid-column: 1 / -1; margin-top: 15px; }

/* Timeline Simulator G1 */
.timeline-track {
    height: 40px; background: #eee; border-radius: 20px; position: relative;
    margin: 40px 0 20px; display: flex; align-items: center; justify-content: center;
}
.timeline-marker {
    position: absolute; top: -30px; background: var(--lab-red); color: white;
    padding: 2px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: bold;
    transform: translateX(-50%); transition: left 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}
.timeline-marker::after { content: ""; position: absolute; bottom: -10px; left: 50%; border: 5px solid transparent; border-top-color: var(--lab-red); transform: translateX(-50%); }

/* Visual Mockup G3 */
.mockup-img {
    height: 150px; background: #2c3e50; border-radius: 8px; position: relative;
    display: flex; align-items: center; justify-content: center; color: white; overflow: hidden;
}
.label-banner {
    position: absolute; top: 0; left: 0; width: 100%; background: var(--lab-red);
    color: white; text-align: center; font-weight: bold; font-size: 0.7rem; padding: 5px 0;
}
.label-caption {
    position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6);
    color: white; font-size: 0.6rem; padding: 2px 8px; border-radius: 2px;
}

/* Manipulation Check Box */
.m-check-blueprint { background: #eef7ff; border: 2px solid var(--uni-hohenheim-blue); padding: 30px; border-radius: 12px; }
.proto-header { font-weight: bold; text-transform: uppercase; color: var(--uni-hohenheim-blue); margin-bottom: 15px; }
.m-check-box { background: white; padding: 20px; border-radius: 6px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); }
.m-check-box ul { list-style: none; padding: 0; margin-top: 10px; }

.stimulus-config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 768px) { .stimulus-config-grid, .surgery-feedback { grid-template-columns: 1fr; } }

.surgery-feedback {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
    padding: 25px;
    background: white;
    border: 1px solid var(--lab-border);
    border-radius: 8px;
    animation: fadeInUp 0.4s forwards;
}

.surgery-feedback.hidden { display: none; }

.status-badge-mini {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.status-badge-mini.alert { background: #fee2e2; color: #ef4444; }
.status-badge-mini.success { background: #dcfce7; color: #22c55e; }

.diagnosis-panel h4 { margin: 0 0 10px 0; color: #ef4444; border: none; }
.diagnosis-panel p { font-size: 0.85rem; line-height: 1.4; color: #64748b; }

.healed-items .clean-item {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
}

.surgery-controls { text-align: right; margin-top: 20px; }

/* Tumor-Animation verfeinern */
.tumor {
    border-bottom: 2px wavy #ef4444;
    cursor: crosshair;
    transition: all 0.2s;
}
.tumor:hover { background: #fee2e2; color: #b91c1c; }

.mockup-controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.warning-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.consent-mockup {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hidden { display: none !important; }

/* --- SECTION 6: CONTENT ANALYSIS LAB --- */
.lab-theme-clinical { background-color: #ffffff; border-bottom: 2px solid var(--uni-hohenheim-blue); }

.lab-grid-microscope { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin: 40px 0; }

/* Specimen Slide */
.specimen-slide {
    background: #f8fafc; border: 2px solid var(--lab-border); border-radius: 4px;
    padding: 30px; position: relative; overflow: hidden; margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}
.prompt-text { font-family: "Courier New", Courier, monospace; font-size: 1.1rem; color: #334155; line-height: 1.6; z-index: 2; position: relative; }
.scanner-line { 
    position: absolute; top: 0; left: 0; width: 100%; height: 2px; 
    background: var(--lab-cyan); box-shadow: 0 0 10px var(--lab-cyan);
    animation: scanVertical 4s infinite ease-in-out; opacity: 0.5;
}

/* Lens Controls */
.lens-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.lens-btn { 
    background: white; border: 1px solid var(--lab-border); padding: 15px; 
    border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 12px;
    transition: all 0.2s; text-align: left;
}
.lens-btn:hover { border-color: var(--lab-cyan); background: #f0f9ff; }
.lens-btn .icon { font-size: 1.8rem; }
.lens-btn .label { font-size: 0.8rem; font-weight: bold; color: var(--lab-blue); line-height: 1.2; }
.lens-btn small { display: block; font-weight: normal; color: #64748b; }

.lens-feedback { margin-top: 20px; padding: 20px; border-radius: 8px; animation: fadeInUp 0.3s; }
.lens-feedback.error { background: #fff1f2; border: 1px solid #fda4af; color: #9f1239; }
.lens-feedback.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* Chat Simulator */
.chat-sim-display { 
    background: #1e293b; padding: 20px; border-radius: 8px; 
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.chat-unit { padding: 8px 12px; border-radius: 4px; font-size: 0.8rem; transition: all 0.3s; opacity: 0.3; color: white;}
.chat-unit.active { opacity: 1; border-left: 3px solid var(--lab-cyan); background: rgba(0, 115, 160, 0.2); }
.chat-unit.unit-response { color: var(--lab-cyan); font-style: italic; }

.context-labels { display: flex; justify-content: space-between; font-size: 0.65rem; color: #94a3b8; font-weight: bold; margin-top: 5px; }

/* Codebook Template */
.codebook-template { background: #f8fafc; border: 1px solid var(--lab-border); border-radius: 12px; padding: 30px; margin-top: 40px; }
.codebook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cb-field label { display: block; font-size: 0.7rem; text-transform: uppercase; font-weight: bold; color: #64748b; margin-bottom: 5px; }
.cb-mock-input { background: white; border: 1px solid #e2e8f0; padding: 12px; border-radius: 4px; font-size: 0.85rem; color: var(--lab-blue); }
.cb-field.highlighted .cb-mock-input { border-color: var(--lab-cyan); background: #f0f9ff; font-weight: bold; }

@media (max-width: 850px) { .lab-grid-microscope, .codebook-grid { grid-template-columns: 1fr; } }

/* --- SECTION 7: ANALYSIS SIMULATOR --- */
.simulator-theme { background: #fdfdfd; padding: 80px 0; }

.simulator-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; margin-top: 40px; }

/* Sidebar Controls */
.sim-sidebar { background: #f8fafc; border: 1px solid var(--lab-border); border-radius: 8px; padding: 25px; }
.group-select-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.select-btn { 
    background: white; border: 1px solid var(--lab-border); padding: 12px; 
    border-radius: 6px; cursor: pointer; font-weight: bold; color: var(--lab-blue); transition: 0.2s;
}
.select-btn:hover { border-color: var(--lab-cyan); background: #f0f9ff; }
.select-btn.active { background: var(--lab-blue); color: white; border-color: var(--lab-blue); }

.formatting-tools { margin-top: 30px; border-top: 1px solid #ddd; padding-top: 20px; }
.btn-scalpel { width: 100%; margin-top: 10px; }
.btn-scalpel.active { background: #166534; color: white; border-color: #166534; }

.standard-checklist { list-style: none; padding: 0; margin-top: 15px; font-size: 0.75rem; color: #94a3b8; }
.standard-checklist li { margin-bottom: 5px; padding-left: 20px; position: relative; }
.standard-checklist li::before { content: "○"; position: absolute; left: 0; }
.standard-checklist li.active { color: #166534; font-weight: bold; }
.standard-checklist li.active::before { content: "●"; }

/* Table Styling (The Ghost Table) */
.table-container-styled { 
    background: white; border: 1px solid #e2e8f0; padding: 40px; 
    min-height: 400px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow-x: auto;
}
.ghost-table { width: 100%; border-collapse: collapse; font-family: "Courier New", Courier, monospace; color: #334155; }

/* Standard (Ugly) Mode */
.ghost-table.ugly { border: 2px solid #333; }
.ghost-table.ugly th, .ghost-table.ugly td { border: 1px solid #333; padding: 10px; text-align: center; }
.ghost-table.ugly th { background: #eee; }

/* APA / Hohenheim Mode */
.ghost-table.clean { border: none; font-family: var(--font-family); }
.ghost-table.clean th, .ghost-table.clean td { border: none; padding: 12px; text-align: left; border-bottom: none; }
.ghost-table.clean thead { border-top: 2px solid var(--lab-blue); border-bottom: 1px solid var(--lab-blue); }
.ghost-table.clean tbody tr:last-child { border-bottom: 2px solid var(--lab-blue); }
.ghost-table.clean .num-val { text-align: right; }

/* Interpretation Area */
.interpretation-area { margin-top: 30px; background: #eef7ff; padding: 25px; border-radius: 8px; border-left: 5px solid var(--lab-cyan); }
.mad-libs { line-height: 2; color: var(--lab-blue); }
.gap { border-bottom: 2px solid var(--lab-cyan); padding: 0 10px; font-weight: bold; color: var(--lab-red); }

@media (max-width: 1000px) { .simulator-grid { grid-template-columns: 1fr; } }

/* --- SECTION 8: DATA CLEANING (CLEAN ROOM) --- */
.clean-room-theme { background: #f0f4f8; padding: 80px 0; border-bottom: 3px solid #cbd5e1; }

.decontamination-zone { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin: 40px 0; }

/* Scanner Unit */
.scanner-unit { 
    background: #1e293b; color: white; border-radius: 12px; padding: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); border: 2px solid #334155;
}
.scanner-header { display: flex; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 15px; margin-bottom: 20px; }
.id-tag { font-family: monospace; font-size: 0.8rem; color: var(--lab-cyan); }
.scanner-status { font-weight: bold; font-size: 0.7rem; letter-spacing: 1px; color: #94a3b8; }

.specimen-data { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 8px; margin-bottom: 25px; }
.data-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.data-row span { color: #94a3b8; }

.pattern-dots { display: flex; gap: 5px; }
.dot-val { width: 12px; height: 12px; border-radius: 50%; background: #334155; border: 1px solid #475569; }
.dot-val.active { background: var(--lab-cyan); box-shadow: 0 0 5px var(--lab-cyan); }

.scanner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn-clean { background: #22c55e; color: white; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-trash { background: var(--lab-red); color: white; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-clean:hover { background: #16a34a; transform: scale(1.05); }
.btn-trash:hover { background: #be123c; transform: scale(1.05); }

/* Logbook */
.exclusion-log { background: white; border: 1px solid var(--lab-border); border-radius: 12px; padding: 25px; display: flex; flex-direction: column; }
.log-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.stat-box { background: var(--lab-bg-light); padding: 10px; border-radius: 6px; text-align: center; }
.stat-box.warning { color: var(--lab-red); }
.stat-box.success { color: #166534; }
.stat-box .value { display: block; font-size: 1.4rem; font-weight: 900; }
.stat-box .label { font-size: 0.65rem; font-weight: bold; text-transform: uppercase; }

.log-history { flex-grow: 1; height: 150px; overflow-y: auto; border: 1px solid #eee; padding: 10px; font-size: 0.75rem; border-radius: 4px; }
.history-item { padding: 5px 0; border-bottom: 1px solid #f9f9f9; display: flex; justify-content: space-between; }
.history-item.discarded { color: var(--lab-red); }
.history-item.kept { color: #166534; }

/* Missing Value Bench */
.missing-value-bench { background: var(--lab-blue); color: white; padding: 30px; border-radius: 12px; }
.logic-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.option-box { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px; border-left: 4px solid var(--lab-cyan); }
.option-box p { font-size: 0.8rem; margin: 5px 0 0 0; opacity: 0.8; }

@media (max-width: 850px) { .decontamination-zone, .logic-options { grid-template-columns: 1fr; } }



/* --- SECTION 9: BIOMETRIC SCANNER (MANIPULATION CHECK) --- */
.biometric-theme { background: #000b14; color: #fff; padding: 80px 0; border-bottom: 2px solid var(--lab-cyan); }

.biometric-scanner-bench { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; margin-bottom: 50px; }

/* Eye Scanner Animation */
.eye-scanner {
    width: 180px; height: 180px; border: 2px solid var(--lab-cyan); border-radius: 50%;
    margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); background: rgba(0, 53, 96, 0.2);
}
.iris-target { font-size: 4rem; z-index: 2; transition: all 0.3s; }
.scanner-laser {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--lab-cyan); box-shadow: 0 0 15px var(--lab-cyan);
    animation: scanVertical 3s infinite ease-in-out; z-index: 3;
}
.scanner-status-text { text-align: center; margin-top: 20px; font-family: monospace; color: var(--lab-cyan); font-weight: bold; }

/* Verification Card */
.verification-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(0, 210, 255, 0.2); padding: 30px; border-radius: 12px; }
.v-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.v-label { font-size: 0.8rem; color: #94a3b8; }
.v-value { font-weight: bold; color: var(--lab-cyan); }
.verification-card select { background: #001a30; color: white; border: 1px solid var(--lab-cyan); padding: 5px 10px; border-radius: 4px; }

.v-result-box { margin-top: 20px; padding: 20px; border-radius: 8px; animation: fadeInUp 0.3s forwards; }
.v-result-box.pass { background: rgba(34, 197, 94, 0.15); border: 1px solid #22c55e; }
.v-result-box.fail { background: rgba(232, 95, 62, 0.15); border: 1px solid var(--lab-red); }

.v-decision { font-weight: 900; font-size: 1.2rem; margin-bottom: 5px; }
.pass .v-decision { color: #22c55e; }
.fail .v-decision { color: var(--lab-red); }
.v-expl { font-size: 0.85rem; line-height: 1.4; color: #cbd5e1; margin: 0; }

/* Strategy Cards (Flipping) */
.scanner-strategy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.strategy-cards { display: flex; flex-direction: column; gap: 10px; }
.s-card { height: 60px; perspective: 1000px; cursor: pointer; }
.s-card-front, .s-card-back { 
    position: absolute; width: 100%; height: 100%; backface-visibility: hidden; 
    display: flex; align-items: center; justify-content: center; border-radius: 8px;
    padding: 10px 20px; font-weight: bold; border: 1px solid rgba(0, 210, 255, 0.3); transition: 0.6s;
}
.s-card-front { background: rgba(0, 53, 96, 0.5); }
.s-card-front span { font-size: 0.6rem; color: var(--lab-cyan); margin-left: 10px; }
.s-card-back { background: var(--lab-blue); transform: rotateX(180deg); font-size: 0.75rem; text-align: center; line-height: 1.3; }
.s-card.flipped .s-card-front { transform: rotateX(180deg); }
.s-card.flipped .s-card-back { transform: rotateX(0deg); }

/* Dilemma Slider */
.dilemma-simulator { background: rgba(255,255,255,0.03); padding: 25px; border-radius: 12px; border: 1px solid #1e293b; }
.dilemma-labels { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: bold; color: #94a3b8; margin-bottom: 15px; }
.dilemma-slider { -webkit-appearance: none; width: 100%; height: 4px; background: #334155; outline: none; border-radius: 2px; }
.dilemma-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--lab-cyan); border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px var(--lab-cyan); }
.dilemma-output { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.out-box { background: #000; padding: 10px; border-radius: 6px; text-align: center; }
.out-box .label { display: block; font-size: 0.6rem; color: #64748b; text-transform: uppercase; margin-bottom: 5px; }
.out-box .value { font-weight: bold; color: var(--lab-cyan); font-family: monospace; }


#s5-manipulation-check{
    padding: 15px;
    border-radius: 20px;
}

/* --- SECTION 10: SYNC LAB (ICR) --- */
.sync-theme { background: #f8fafc; padding: 80px 0; }

.sync-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin: 40px 0; }
.sync-panel { background: white; border: 1px solid var(--lab-border); border-radius: 12px; padding: 30px; }

/* Pulse Waves */
.dual-coder-ui { background: #000b14; padding: 20px; border-radius: 8px; margin: 20px 0; }
.coder-track { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.coder-id { font-family: monospace; font-size: 0.6rem; color: #64748b; width: 80px; }

.pulse-wave { 
    height: 30px; flex-grow: 1; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 Q 5 0, 10 10 T 20 10 T 30 10 T 40 10 T 50 10" fill="none" stroke="cyan" stroke-width="1"/></svg>'); 
    background-size: 40px 30px; animation: waveMove 2s infinite linear; opacity: 0.5;
}
@keyframes waveMove { from { background-position: 0 0; } to { background-position: 40px 0; } }

.decision-tag { background: #1e293b; color: white; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; width: 80px; text-align: center; }

/* Sync Status */
.sync-status { text-align: center; padding: 15px; border-radius: 8px; background: #fff1f2; color: var(--lab-red); margin-bottom: 20px; transition: 0.3s; }
.sync-status.in-sync { background: #f0fdf4; color: #166534; }
.sync-msg { font-weight: 900; letter-spacing: 2px; font-size: 1.2rem; }
.kappa-val { font-family: monospace; font-weight: bold; }

/* Reli Killer Gauge */
.guage-container { margin: 30px 0; }
.guage-labels { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: bold; color: #64748b; margin-top: 10px; }

.reli-result-box { background: var(--lab-bg-light); padding: 20px; border-radius: 8px; border: 1px solid #d1d9e6; }
.reli-stat { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.reli-stat .value { font-size: 2rem; font-weight: 900; color: var(--lab-blue); }
.reli-warning { font-size: 0.75rem; font-weight: bold; color: var(--lab-red); }

/* Calculator */
.reli-calc-bench { background: var(--lab-blue); color: white; padding: 30px; border-radius: 12px; margin-top: 30px; }
.calc-flex { display: flex; align-items: center; gap: 30px; margin-top: 20px; }
.input-group-lab input { background: rgba(255,255,255,0.1); border: 1px solid var(--lab-cyan); color: white; padding: 10px; border-radius: 4px; font-size: 1.2rem; width: 120px; }
.res-value { font-size: 2rem; font-weight: 900; color: var(--lab-cyan); }
.calc-note { font-size: 0.75rem; opacity: 0.7; margin-top: 15px; font-style: italic; }

@media (max-width: 850px) { .sync-grid, .calc-flex { grid-template-columns: 1fr; flex-direction: column; } }

/* --- SECTION 11: WIND TUNNEL (ENGINEERING GRADE) --- */

.wind-tunnel-theme {
    background-color: #0f172a; /* Deep Slate Blue */
    color: #f1f5f9;
    padding: 100px 0;
    border-bottom: 4px solid #f59e0b; /* Amber/Warning Stripe */
}

/* Main Layout Grid */
.wind-tunnel-bench {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Großzügiges Padding zwischen den Spalten */
    margin: 40px 0 60px 0;
    align-items: stretch;
}

/* Oscilloscope (The Visual Center) */
.oscilloscope-container {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.osci-screen {
    background: #000;
    border: 8px solid #334155;
    border-radius: 8px;
    height: 220px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    /* CRT Scanline Effect */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                      linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
}

#osci-wave {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px #22c55e);
}

.probe-icon {
    position: absolute;
    left: 15%;
    top: 35%;
    font-size: 3.5rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.tunnel-status {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: bold;
    color: #22c55e;
    letter-spacing: 1px;
}

/* Controls */
.osci-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-warn {
    border: 1px solid #f59e0b;
    color: #f59e0b;
    background: transparent;
    padding: 14px 25px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-warn:hover {
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    transform: translateX(5px);
}

/* Stress Report Card */
.stress-report {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.report-idle {
    color: #64748b;
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
}

.error-alert-box h4 {
    color: #f59e0b;
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    border: none;
}

.error-alert-box p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

.fix-badge {
    display: inline-block;
    background: #10b981; /* Emerald Success */
    color: #064e3b;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.75rem;
    margin-top: 25px;
    text-transform: uppercase;
}

/* Method Grid & Cards */
.pretest-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.method-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.method-card h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.25rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.m-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.m-num {
    background: #f59e0b;
    color: #451a03;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.m-step strong {
    color: #f1f5f9;
    display: block;
    margin-bottom: 4px;
}

.m-step p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

/* Fix-it Logbook Table */
.log-table-mock {
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
}

.log-row {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    padding: 12px 20px;
    border-bottom: 1px solid #334155;
    font-size: 0.8rem;
    align-items: center;
}

.log-row.header {
    background: #334155;
    color: #f59e0b;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-s {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    width: fit-content;
}

/* Recruitment Section */
.recruitment-matrix {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 50px;
    border-radius: 24px;
    margin-top: 60px;
    border: 1px solid #334155;
}

.matrix-flex {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.target-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #f59e0b;
    transition: transform 0.3s ease;
}

.target-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.target-box strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.target-box p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Responsiveness */
@media (max-width: 900px) {
    .wind-tunnel-bench, 
    .pretest-method-grid, 
    .matrix-flex {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

#s5-pretest-blueprint{
    padding: 15px;
    border-radius: 25px;
}

/* --- SECTION 12: MISSION DOSSIER --- */
.dossier-theme { background: #fff; padding: 100px 0; }

/* Timeline Visual */
.mission-timeline-container { margin-bottom: 50px; }
.timeline-visual { display: flex; justify-content: space-around; position: relative; margin-bottom: 30px; padding: 0 50px; }
.timeline-line { position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: #e2e8f0; z-index: 1; }
.timeline-point { position: relative; z-index: 2; cursor: pointer; text-align: center; }
.timeline-point::before { content: ""; display: block; width: 50px; height: 50px; background: white; border: 3px solid #cbd5e1; border-radius: 50%; margin: 0 auto 10px; transition: 0.3s; }
.timeline-point.active::before { border-color: var(--lab-cyan); background: var(--lab-blue); box-shadow: 0 0 15px rgba(0, 115, 160, 0.4); }
.t-date { font-weight: 900; font-size: 0.7rem; color: #94a3b8; display: block; }
.t-label { font-size: 0.9rem; font-weight: bold; color: var(--lab-blue); }

.timeline-card { background: var(--lab-bg-light); padding: 25px; border-radius: 12px; border-left: 5px solid var(--lab-blue); animation: fadeIn 0.5s; }

/* Dossier Tabs */
.dossier-interface { border: 1px solid var(--lab-border); border-radius: 12px; overflow: hidden; margin: 40px 0; }
.dossier-tabs { display: flex; background: #f8fafc; border-bottom: 1px solid var(--lab-border); }
.d-tab { flex: 1; padding: 15px; border: none; background: transparent; cursor: pointer; font-weight: bold; color: #64748b; transition: 0.2s; }
.d-tab.active { background: white; color: var(--lab-blue); box-shadow: inset 0 -3px 0 var(--lab-blue); }
.dossier-body { padding: 40px; min-height: 250px; }

/* Task Lists */
.task-list-styled { list-style: none; padding: 0; }
.task-list-styled li { padding-left: 30px; position: relative; margin-bottom: 15px; font-size: 0.95rem; }
.task-list-styled li::before { content: "✔"; position: absolute; left: 0; color: var(--lab-cyan); font-weight: bold; }

/* Grading Box */
.grading-info-box { background: #eef7ff; padding: 30px; border-radius: 12px; border: 1px solid #bce0fd; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grading-info-box h4 { border: none; margin-top: 0; color: var(--lab-blue); }

/* Commitment Gate */
.commitment-gate { text-align: center; margin-top: 60px; position: relative; }
.status-stamp { 
    font-family: 'Courier New', Courier, monospace; font-size: 1.5rem; font-weight: 900; 
    border: 4px solid #fecaca; color: #fecaca; display: inline-block; padding: 10px 20px;
    transform: rotate(-5deg); margin-bottom: 20px; transition: 0.5s; opacity: 0.6;
}
.status-stamp.approved { border-color: #34d399; color: #34d399; transform: rotate(-3deg) scale(1.2); opacity: 1; }

