:root { --primary: #E74C3C; --primary-light: #EC7063; --bg: #FDEDEC; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.lab-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; margin-bottom: 1rem; color: #fff; }
.lab-title { font-size: 1.5rem; font-weight: 700; }
.back-btn { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; }
.mastery-badge { background: rgba(255,255,255,0.2); padding: 0.4rem 1rem; border-radius: 20px; }
.progress-track { display: flex; gap: 0.3rem; margin-bottom: 1rem; }
.progress-step { flex: 1; text-align: center; padding: 0.5rem; border-radius: 8px; background: #FADBD8; cursor: pointer; }
.progress-step.active { background: var(--primary); color: #fff; }
.module-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.module-tab { flex: 1; min-width: 100px; padding: 0.6rem 1rem; border: 2px solid #E0E0E0; border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; }
.module-tab.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.module-content { display: none; }
.module-content.active { display: block; }
.module-card { background: #fff; border-radius: 16px; padding: 1.5rem; border: 2px solid #FADBD8; }
.module-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.module-num { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.socrates-chat { min-height: 200px; overflow-y: auto; }
.socrates-input-area { display: flex; gap: 0.5rem; margin-top: 1rem; }
.socrates-input { flex: 1; padding: 0.8rem; border: 2px solid #FADBD8; border-radius: 10px; }
.socrates-send { padding: 0.8rem 1.5rem; background: var(--primary); color: #fff; border: none; border-radius: 10px; cursor: pointer; }
