/* C1 overview shells. Card chrome itself comes from telc-exercise-tiles.css. */
body[data-level="c1"] {
  --surface: #fff;
  --border: #e7e0d6;
  --radius-lg: 18px;
  --shadow-sm: 0 8px 24px rgba(40, 32, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(40, 32, 20, 0.08);
  --text-main: #1d1a16;
  --text-muted: #5e584e;
  --pink-main: #e91e8c;
  --blue-main: #1976d2;
}
html.dark body[data-level="c1"] {
  --surface: #1b2228;
  --border: #334049;
  --text-main: #f4efe6;
  --text-muted: #c9c0b3;
  --shadow-sm: none;
  --shadow-md: none;
}
body[data-level="c1"] .c1-overview-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}
body[data-level="c1"] .c1-overview-tools .telc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
body[data-level="c1"] .c1-overview-tools .telc-back-btn:hover {
  background: #eef2f7;
  border-color: #94a3b8;
  color: #0f172a;
}
html.dark body[data-level="c1"] .c1-overview-tools .telc-back-btn {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.9);
  border-color: #475569;
}
body[data-level="c1"] .c1-overview {
  width: min(1120px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.25rem 0 calc(2rem + env(safe-area-inset-bottom));
}
body[data-level="c1"] .section-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  overflow: visible;
}
body[data-level="c1"] .section-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
body[data-level="c1"] .section-title-wrap { display: flex; align-items: center; gap: 12px; }
body[data-level="c1"] .section-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
body[data-level="c1"] .icon-pink { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
body[data-level="c1"] .icon-blue { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
body[data-level="c1"] .icon-teal { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
body[data-level="c1"] .section-title { font-size: 17px; font-weight: 700; color: var(--text-main); }
body[data-level="c1"] .section-subtitle { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 1px; }
body[data-level="c1"] .section-prog-wrap { display: flex; align-items: center; gap: 10px; min-width: 180px; }
body[data-level="c1"] .section-prog-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
body[data-level="c1"] .section-prog-fill {
  height: 100%; border-radius: 3px; width: 0%;
  background: linear-gradient(90deg, var(--pink-main), var(--blue-main));
}
body[data-level="c1"] .section-prog-label { font-size: 11px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
body[data-level="c1"] .section-body { padding: 22px 24px 26px; }
body[data-level="c1"] [data-exercise-group] {
  display: none !important;
}
body[data-level="c1"] [data-exercise-group="lesen-teil1"] {
  display: block !important;
}
body[data-level="c1"] .dashboard-tabs-wrap {
  max-width: 1120px;
}
body[data-level="c1"] .ex-badge-neu {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
  box-shadow: 0 1px 4px rgba(233, 30, 140, 0.35);
  pointer-events: none;
  white-space: nowrap;
}
body[data-level="c1"] .c1-lead {
  max-width: 46rem;
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
body[data-level="c1"] .c1-empty {
  margin: 0 0 0.75rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.55;
}
body[data-level="c1"] .c1-empty a {
  color: var(--blue-main);
  font-weight: 700;
}
@media (max-width: 640px) {
  body[data-level="c1"] .section-header { padding: 16px; }
  body[data-level="c1"] .section-body { padding: 14px; }
  body[data-level="c1"] .section-prog-wrap { min-width: 0; width: 100%; }
}
