:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --secondary-color: #f1f5f9;
  --secondary-hover: #e2e8f0;
  --accent-color: #8b5cf6;
  --accent-hover: #7c3aed;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
}

#app {
  display: flex;
  height: 100vh;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}
.loading-content {
  text-align: center;
}
.loading-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.loading-bar-container {
  width: 300px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1rem;
}
.loading-bar {
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  z-index: 100;
}
.sidebar-header {
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary-color);
}
.nav-list {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.nav-item:hover {
  background: var(--secondary-color);
  color: var(--text-main);
}
.nav-item.active {
  background: var(--primary-color);
  color: white;
  border-right: 4px solid var(--accent-color);
}
.nav-icon {
  width: 24px;
  height: 24px;
}
.nav-badge {
  background: var(--error-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}
.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.reset-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--error-color);
  color: var(--error-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}
.reset-btn:hover {
  background: var(--error-color);
  color: white;
}

/* Mobile Header & Sidebar overlay */
.mobile-header {
  display: none;
  padding: 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  gap: 1rem;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
}
.mobile-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-color);
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

/* Main Content */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.view {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}
.view.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-header {
  margin-bottom: 2rem;
}
.view-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.view-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Dashboard Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-icon {
  font-size: 2.5rem;
}
.stat-info {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}
.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* Dashboard Actions */
.dashboard-actions h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.action-card {
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}
.action-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.action-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.action-card p {
  color: var(--text-muted);
}
.action-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--error-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Setup Cards */
.setup-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.setup-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.setup-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.setup-icon {
  font-size: 2.5rem;
}
.setup-features {
  list-style: none;
  margin: 1.5rem 0;
  color: var(--text-muted);
}
.setup-features li {
  margin-bottom: 0.5rem;
}
/* Theme Select and Test Grid */
.theme-select-container {
  margin: 1.5rem 0;
}
.theme-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-card);
}

.test-grid-container {
  margin-top: 1.5rem;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.test-btn {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.test-btn:hover {
  background: var(--primary-hover);
  color: white;
  border-color: var(--primary-hover);
}
.test-btn.completed {
  background: var(--success-color);
  color: white;
  border-color: var(--success-color);
}
.test-btn.failed {
  background: var(--error-color);
  color: white;
  border-color: var(--error-color);
}
.test-btn.in-progress {
  background: var(--warning-color);
  color: white;
  border-color: var(--warning-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--primary-color);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}
.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-main);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--secondary-hover);
}
.btn-accent {
  background: var(--accent-color);
  color: white;
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--secondary-color);
  color: var(--text-main);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  width: 100%;
  margin-top: auto;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Test View */
.test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.test-header-left, .test-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.test-mode-badge {
  background: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-color);
}
.test-progress-info {
  font-weight: 600;
  color: var(--text-muted);
}
.test-progress-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}
.test-progress-fill {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.question-navigator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.q-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.q-dot:hover {
  border-color: var(--primary-color);
}
.q-dot.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.q-dot.answered {
  background: var(--secondary-color);
}
.q-dot.correct {
  background: var(--success-color);
  color: white;
  border-color: var(--success-color);
}
.q-dot.wrong {
  background: var(--error-color);
  color: white;
  border-color: var(--error-color);
}

.question-container {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}
.question-image-container {
  margin-bottom: 2rem;
  text-align: center;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.question-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.question-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
}
.answers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.answer-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.answer-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  background: var(--secondary-color);
}
.answer-btn.selected {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}
.answer-btn.correct-show {
  border-color: var(--success-color);
  background: rgba(16, 185, 129, 0.1);
}
.answer-btn.wrong-show {
  border-color: var(--error-color);
  background: rgba(239, 68, 68, 0.1);
}

.feedback-container {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}
.feedback-result {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.feedback-result.correct { color: var(--success-color); }
.feedback-result.wrong { color: var(--error-color); }
.feedback-explanation, .feedback-additional, .feedback-book-ref {
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--text-main);
}

.test-navigation {
  display: flex;
  justify-content: space-between;
}

/* Results View */
.results-container {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.results-header {
  margin-bottom: 3rem;
}
.results-score-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-lg);
}
.results-score-value {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}
.results-score-label {
  font-size: 1.25rem;
  opacity: 0.8;
}
.results-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.results-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.result-stat {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  min-width: 150px;
}
.result-correct { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }
.result-wrong { background: rgba(239, 68, 68, 0.1); color: var(--error-color); }
.result-unanswered { background: rgba(100, 116, 139, 0.1); color: var(--text-muted); }
.result-percentage { background: rgba(59, 130, 246, 0.1); color: var(--primary-color); }
.result-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.results-review {
  text-align: left;
  margin-bottom: 3rem;
}
.review-filters {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--secondary-color);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
}
.filter-btn.active {
  background: var(--text-main);
  color: white;
}
.review-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
}
.review-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--border-color);
  background: var(--bg-main);
}
.review-item.correct { border-left-color: var(--success-color); }
.review-item.wrong { border-left-color: var(--error-color); }
.results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}
.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  #app { flex-direction: column; }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .sidebar-overlay.active { display: block; }
  .main-content { padding: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .results-stats { flex-direction: column; gap: 1rem; }
  .result-stat { width: 100%; }
}

/* AEOL Theme Accordion Styles */
.aeol-accordion-l1 {
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.aeol-header-l1 {
  background: #c2410c;
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aeol-content-l1 {
  background: var(--bg-card);
  padding: 1rem;
}
.aeol-accordion-l2 {
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.aeol-header-l2 {
  background: #ffedd5;
  color: #c2410c;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aeol-content-l2 {
  background: var(--bg-card);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}
.aeol-chevron {
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}
.aeol-test-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aeol-test-btn:hover {
  filter: brightness(0.95);
  border-color: var(--primary-color);
}
.aeol-test-btn.passed {
  background: #10b981;
  color: white;
  border-color: #059669;
}
.aeol-test-btn.failed {
  background: #ef4444;
  color: white;
  border-color: #dc2626;
}
.aeol-test-btn.in-progress {
  background: #f59e0b;
  color: white;
  border-color: #d97706;
}

/* AEOL Test View Layout */
.aeol-test-view {
    background: #f1f5f9;
    padding: 0 !important;
    max-width: 1200px !important;
    margin: 0 auto;
    flex-direction: column;
    min-height: 100vh;
    display: none;
}
.aeol-test-view.active {
    display: flex !important;
}
.aeol-test-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.aeol-test-body {
    display: flex;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
}
.aeol-test-left {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.aeol-test-right {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.aeol-question-image-container {
    width: 100%;
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.aeol-question-image {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}
.aeol-q-number {
    font-size: 2rem;
    font-weight: 800;
    color: #00aef0;
    line-height: 1;
}
.aeol-q-text {
    font-size: 1.5rem;
    font-weight: 700;
}
.aeol-answers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    flex: 1;
}
.aeol-answer-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.125rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}
.aeol-answer-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #00aef0;
}
.aeol-letter-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.aeol-answer-btn.selected {
    border-color: #00aef0;
    background: #f0f9ff;
}
.aeol-answer-btn.selected .aeol-letter-badge {
    background: #00aef0;
    color: white;
}
.aeol-answer-btn.correct-show {
    border-color: #10b981;
    background: #f0fdf4;
}
.aeol-answer-btn.correct-show .aeol-letter-badge {
    background: #10b981;
    color: white;
}
.aeol-answer-btn.wrong-show {
    border-color: #ef4444;
    background: #fef2f2;
}
.aeol-answer-btn.wrong-show .aeol-letter-badge {
    background: #ef4444;
    color: white;
}
.aeol-test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.aeol-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}
.aeol-nav-btn:hover:not(:disabled) {
    border-color: #00aef0;
    color: #00aef0;
}
.aeol-palette-container {
    background: white;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.05);
}
.aeol-question-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.aeol-palette-btn {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
}
.aeol-palette-btn.active {
    background: white;
    border: 2px solid #00aef0;
    color: #00aef0;
}
.aeol-palette-btn.answered {
    background: #e2e8f0;
}
.aeol-palette-btn.correct {
    background: #10b981;
    color: white;
    border-color: #059669;
}
.aeol-palette-btn.wrong {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}
@media (max-width: 768px) {
    .aeol-test-body { flex-direction: column; padding: 1rem; }
    .aeol-test-left { flex: none; width: 100%; }
}
