/* ═══════════════════════════════════════════════════════════════════════
 * 🍎 SZ01 APPLE-STYLE PREMIUM DESIGN
 * ═══════════════════════════════════════════════════════════════════════
 * 
 * PRINZIPIEN:
 * - Viel Weißraum, wenig Elemente pro Screen
 * - Klare Hierarchie (1 Ziel pro Seite)
 * - Sanfte Mikroanimationen (120–200ms)
 * - Typografie: 3 Ebenen (H1: 28–32px, H2: 18–22px, Body: 15–16px)
 * - Farben: Fast-Weiß BG (#F7F8FA), dunkles Grau Text (#111), Petrol Primary
 */

:root {
  --sz01-bg: #F7F8FA;
  --sz01-text: #1d1d1f;
  --sz01-text-secondary: #6e6e73;
  --sz01-primary: #0071e3;
  --sz01-primary-hover: #0077ed;
  --sz01-success: #30d158;
  --sz01-danger: #ff3b30;
  --sz01-card-bg: #ffffff;
  --sz01-border: #d2d2d7;
  --sz01-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --sz01-shadow-hover: 0 4px 24px rgba(0,0,0,0.12);
  --sz01-radius: 16px;
  --sz01-transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --sz01-bg: #000000;
  --sz01-text: #f5f5f7;
  --sz01-text-secondary: #a1a1a6;
  --sz01-primary: #0a84ff;
  --sz01-primary-hover: #409cff;
  --sz01-success: #32d74b;
  --sz01-danger: #ff453a;
  --sz01-card-bg: #1c1c1e;
  --sz01-border: #38383a;
  --sz01-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --sz01-shadow-hover: 0 4px 24px rgba(0,0,0,0.6);
}

/* ───────────────────────────────────────────────────────────────────────
 * 🎯 LAYOUT CONTAINER (Max 960px, zentriert)
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-premium {
  background: var(--sz01-bg);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sz01-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sz01-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.sz01-container--narrow {
  max-width: 840px;
}

/* ───────────────────────────────────────────────────────────────────────
 * 📐 TYPOGRAFIE (Apple SF Pro Style)
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--sz01-text);
  margin: 0 0 16px 0;
}

.sz01-h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--sz01-text);
  margin: 0 0 12px 0;
}

.sz01-h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sz01-text);
  margin: 0 0 8px 0;
}

.sz01-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sz01-text);
}

.sz01-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sz01-text-secondary);
}

/* ───────────────────────────────────────────────────────────────────────
 * 🎨 STARTSCREEN HERO
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 0;
  align-items: center;
}

@media (max-width: 768px) {
  .sz01-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
}

.sz01-hero__content {
  /* Left side: Text */
}

.sz01-hero__text {
  max-width: 100%;
}

.sz01-hero__visual {
  /* Right side: Illustration */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz01-hero__left {
  /* Left side content */
}

.sz01-hero__right {
  /* Right side visual */
}

.sz01-hero-illustration {
  width: 100%;
  max-width: 400px;
}

.sz01-hero-svg {
  width: 100%;
  height: auto;
}

.sz01-hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 16px 0;
}

.sz01-hero__meta {
  font-size: 14px;
  color: var(--sz01-text-secondary);
  margin-top: 12px;
}

.sz01-stats-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--sz01-border);
  width: 100%;
  max-width: 400px;
}

.sz01-stats-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--sz01-border);
}

.sz01-stats-card__row:last-child {
  border-bottom: none;
}

.sz01-stats-card__label {
  font-size: 15px;
  color: var(--sz01-text-secondary);
  font-weight: 500;
}

.sz01-stats-card__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--sz01-primary);
}

.sz01-bulletpoints {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.sz01-bulletpoint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sz01-text);
}

.sz01-bulletpoint__icon {
  width: 20px;
  height: 20px;
  color: var(--sz01-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.sz01-hero__subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sz01-text-secondary);
  margin-bottom: 24px;
}

.sz01-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.sz01-hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.sz01-hero__bullets li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--sz01-success);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ───────────────────────────────────────────────────────────────────────
 * 📚 LITERATUR-BLOCK
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-literature {
  padding: 64px 0;
}

.sz01-literature__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .sz01-literature__grid {
    grid-template-columns: 1fr;
  }
}

.sz01-literature__item {
  background: var(--sz01-card-bg);
  border: 1px solid var(--sz01-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--sz01-shadow);
  transition: all var(--sz01-transition);
}

.sz01-literature__item:hover {
  box-shadow: var(--sz01-shadow-hover);
  transform: translateY(-2px);
}

.sz01-literature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sz01-text);
  margin-bottom: 6px;
}

.sz01-literature__meta {
  font-size: 14px;
  color: var(--sz01-text-secondary);
}

.sz01-lit-card {
  background: var(--sz01-card-bg);
  border: 1px solid var(--sz01-border);
  border-radius: var(--sz01-radius);
  padding: 20px 24px;
  box-shadow: var(--sz01-shadow);
  transition: all var(--sz01-transition);
}

.sz01-lit-card:hover {
  box-shadow: var(--sz01-shadow-hover);
  transform: translateY(-2px);
}

.sz01-lit-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sz01-text);
  margin-bottom: 8px;
}

.sz01-lit-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sz01-text-secondary);
  margin-bottom: 8px;
}

.sz01-lit-card__source {
  font-size: 12px;
  color: var(--sz01-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ───────────────────────────────────────────────────────────────────────
 * 🔘 CTA BUTTONS (Apple Style)
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 480px) {
  .sz01-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.sz01-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: all var(--sz01-transition);
  text-decoration: none;
  white-space: nowrap;
}

.sz01-btn--primary {
  background: var(--sz01-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0,113,227,0.25);
}

.sz01-btn--primary:hover {
  background: var(--sz01-primary-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,113,227,0.35);
}

.sz01-btn--secondary {
  background: transparent;
  color: var(--sz01-primary);
  border: 1.5px solid var(--sz01-border);
}

.sz01-btn--secondary:hover {
  background: rgba(0,113,227,0.05);
  border-color: var(--sz01-primary);
}

.sz01-btn--retry {
  background: white;
  color: #d32f2f;
  border: 1.5px solid #d32f2f;
  padding: 12px 28px;
  font-size: 15px;
}

.sz01-btn--retry:hover {
  background: rgba(211,47,47,0.05);
  border-color: #c62828;
  color: #c62828;
  transform: scale(1.01);
}

/* ───────────────────────────────────────────────────────────────────────
 * 🃏 2×2 CARD LAYOUT (Fragen)
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-question-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 0;
}

.sz01-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px 0;
  margin-bottom: 12px;
}

.sz01-question-meta-left,
.sz01-question-meta-right {
  font-size: 14px;
  font-weight: 500;
  color: var(--sz01-text-secondary);
}

.sz01-question-text {
  margin: 32px 0 24px 0;
}

.sz01-question-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.sz01-progress-bar {
  height: 4px;
  background: var(--sz01-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sz01-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--sz01-primary), var(--sz01-primary-hover));
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sz01-progress {
  height: 4px;
  background: var(--sz01-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sz01-progress__bar {
  height: 100%;
  background: var(--sz01-primary);
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sz01-question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 640px) {
  .sz01-question-grid {
    grid-template-columns: 1fr;
  }
}

.sz01-card {
  position: relative;
  background: var(--sz01-card-bg);
  border: 2px solid var(--sz01-border);
  border-radius: var(--sz01-radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--sz01-transition);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz01-card:hover {
  border-color: var(--sz01-primary);
  box-shadow: var(--sz01-shadow-hover);
  transform: translateY(-2px);
}

.sz01-card--selected {
  border-color: var(--sz01-primary);
  background: rgba(0,113,227,0.04);
}

.sz01-card--correct {
  border-color: var(--sz01-success) !important;
  background: rgba(48,209,88,0.08) !important;
}

.sz01-card--wrong {
  border-color: var(--sz01-danger) !important;
  background: rgba(255,59,48,0.08) !important;
}

.sz01-card--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.sz01-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--sz01-border);
  color: var(--sz01-text);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.sz01-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--sz01-text);
}

.sz01-answer-card {
  position: relative;
  background: var(--sz01-card-bg);
  border: 2px solid var(--sz01-border);
  border-radius: var(--sz01-radius);
  padding: 24px;
  cursor: pointer;
  transition: all var(--sz01-transition);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz01-answer-card:hover {
  border-color: var(--sz01-primary);
  box-shadow: var(--sz01-shadow-hover);
  transform: translateY(-4px);
}

.sz01-answer-card--selected {
  border-color: var(--sz01-primary);
  background: rgba(0,113,227,0.03);
}

.sz01-answer-card--correct {
  border-color: var(--sz01-success) !important;
  background: rgba(48,209,88,0.08) !important;
}

.sz01-answer-card--wrong {
  border-color: var(--sz01-danger) !important;
  background: rgba(255,59,48,0.08) !important;
}

.sz01-answer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--sz01-border);
  color: var(--sz01-text);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.sz01-answer-card--correct .sz01-answer-badge {
  background: var(--sz01-success);
  color: white;
}

.sz01-answer-card--wrong .sz01-answer-badge {
  background: var(--sz01-danger);
  color: white;
}

.sz01-answer-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--sz01-text);
}

.sz01-answer-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sz01-answer-card--correct .sz01-answer-icon,
.sz01-answer-card--wrong .sz01-answer-icon {
  display: flex;
}

.sz01-answer-card--correct .sz01-answer-icon {
  background: var(--sz01-success);
  color: white;
}

.sz01-answer-card--wrong .sz01-answer-icon {
  background: var(--sz01-danger);
  color: white;
}

/* ───────────────────────────────────────────────────────────────────────
 * 📊 SCORE RING ANIMATION
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-result-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 0 48px;
}

.sz01-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.sz01-score-ring {
  margin-bottom: 32px;
}

.sz01-score-ring__bg {
  fill: none;
  stroke: var(--sz01-border);
  stroke-width: 10;
}

.sz01-score-ring__progress {
  fill: none;
  stroke: var(--sz01-success);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sz01-score-ring__percent {
  font-size: 48px;
  font-weight: 700;
  fill: var(--sz01-text);
}

.sz01-score-ring__label {
  font-size: 14px;
  font-weight: 500;
  fill: var(--sz01-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sz01-score-meta {
  max-width: 600px;
}

.sz01-info-banner {
  background: linear-gradient(135deg, rgba(0,113,227,0.05) 0%, rgba(95,95,247,0.05) 100%);
  border: 1px solid rgba(0,113,227,0.15);
  border-left: 4px solid var(--sz01-primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 32px 0;
}

.sz01-results {
  margin: 48px 0;
}

.sz01-upsell {
  margin: 48px 0;
}

.sz01-upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.sz01-upsell-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--sz01-text);
}

.sz01-upsell-card p {
  margin: 0;
  font-size: 14px;
  color: var(--sz01-text-secondary);
}

.sz01-retry {
  display: flex;
  justify-content: center;
  margin: 48px 0;
}

.sz01-footer {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--sz01-border);
}

.sz01-result-hero {
  padding: 80px 0 64px;
  text-align: center;
}

.sz01-score-ring {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 32px;
}

.sz01-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sz01-score-ring__bg {
  fill: none;
  stroke: var(--sz01-border);
  stroke-width: 12;
}

.sz01-score-ring__progress {
  fill: none;
  stroke: var(--sz01-success);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 0 628;
  transition: stroke-dasharray 1400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sz01-score-ring__progress--failed {
  stroke: var(--sz01-primary);
}

.sz01-score-ring__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.sz01-score-value {
  font-size: 56px;
  font-weight: 700;
  color: var(--sz01-text);
  line-height: 1;
  margin-bottom: 4px;
}

.sz01-score-label {
  font-size: 14px;
  color: var(--sz01-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ───────────────────────────────────────────────────────────────────────
 * 🎴 MERKKARTEN (Teaser + Overlay)
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-feedback {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e3ebff 100%);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 12px;
  min-height: 220px; /* Erhöht für mehr Inhalt */
}

/* Fester Platzhalter vor Antwort - verhindert Footer-Shift */
.sz01-feedback-placeholder {
  margin-top: 32px;
  min-height: 280px; /* Maximale Höhe mit 1 Karte + Padding */
  opacity: 0;
  pointer-events: none;
}

/* Platz reservieren ohne visuelle Ablenkung */
.sz01-feedback--placeholder { /* kept for compatibility; no-op now */
  background: transparent !important;
}

.sz01-muted {
  color: var(--sz01-text-secondary);
}

/* Promo banner next to progression */
.sz01-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.sz01-promo__text { font-size: 14px; color: var(--sz01-text-secondary); }
.sz01-promo__actions { display: flex; gap: 8px; }

.sz01-merk-teaser {
  margin-top: 12px;
}

.sz01-merk-mini {
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--sz01-border);
  font-size: 14px;
  line-height: 1.5;
}

.sz01-merk-mini strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sz01-text);
  font-weight: 600;
}

.sz01-merk-mini span {
  color: var(--sz01-text-secondary);
}

.sz01-merkkarten-section {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e3ebff 100%);
  border: 2px solid rgba(0, 113, 227, 0.15);
  border-radius: var(--sz01-radius);
}

@keyframes sz01-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sz01-merkkarten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.sz01-merkcard {
  background: var(--sz01-card-bg);
  border: 1px solid var(--sz01-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--sz01-shadow);
  transition: all var(--sz01-transition);
  cursor: pointer;
}

.sz01-merkcard:hover {
  box-shadow: var(--sz01-shadow-hover);
  transform: translateY(-2px);
}

.sz01-merkcard__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sz01-text);
  margin-bottom: 8px;
}

.sz01-merkcard__icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.sz01-merkcard__content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sz01-text-secondary);
  margin-bottom: 12px;
}

.sz01-merkcard__btn {
  background: transparent;
  border: 1px solid var(--sz01-primary);
  color: var(--sz01-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--sz01-transition);
}

.sz01-merkcard__btn:hover {
  background: var(--sz01-primary);
  color: white;
}

.sz01-merkcard__key {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sz01-text-secondary);
  margin-bottom: 12px;
}

.sz01-merkcard__link {
  font-size: 14px;
  color: var(--sz01-primary);
  text-decoration: none;
}

.sz01-merkcard__link:hover {
  text-decoration: underline;
}

/* Overlay */
.sz01-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: sz01-fadeIn 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  padding: 24px;
}

@keyframes sz01-fadeIn {
  to { opacity: 1; }
}

.sz01-overlay__card {
  background: var(--sz01-card-bg);
  border-radius: var(--sz01-radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.96);
  animation: sz01-scaleIn 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  padding: 32px;
}

@keyframes sz01-scaleIn {
  to { transform: scale(1); }
}

.sz01-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sz01-border);
  color: var(--sz01-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--sz01-transition);
}

.sz01-overlay__close:hover {
  background: var(--sz01-text-secondary);
  color: white;
}

/* ───────────────────────────────────────────────────────────────────────
 * 📝 DETAILED RESULTS LIST
 * ─────────────────────────────────────────────────────────────────────── */
.sz01-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sz01-result-item {
  background: var(--sz01-card-bg);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--sz01-border);
}

.sz01-result-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sz01-result-item__number {
  font-size: 14px;
  font-weight: 600;
  color: var(--sz01-text-secondary);
}

.sz01-result-item__status {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.sz01-result-item__status--correct {
  background: rgba(76,175,80,0.1);
  color: #4caf50;
}

.sz01-result-item__status--wrong {
  background: rgba(244,67,54,0.1);
  color: #f44336;
}

.sz01-result-item__question {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--sz01-text);
}

.sz01-result-item__answers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sz01-result-item__answer {
  padding: 10px 14px;
  background: var(--sz01-bg-secondary);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sz01-result-item__answer.correct {
  background: rgba(76,175,80,0.1);
  border: 1px solid #4caf50;
  color: #2e7d32;
  font-weight: 500;
}

.sz01-result-item__answer.wrong {
  background: rgba(244,67,54,0.08);
  border: 1px solid #f44336;
  color: #c62828;
}

.sz01-result-item__answer .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4caf50;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.sz01-result-item__answer .badge.wrong {
  background: #f44336;
}

/* Upsell Cards */
.sz01-upsell-card {
  display: block;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--sz01-border);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--sz01-transition);
}

.sz01-upsell-card:hover {
  border-color: var(--sz01-primary);
  box-shadow: 0 2px 8px rgba(0,113,227,0.1);
  transform: translateY(-1px);
}

.sz01-upsell-card--disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.sz01-upsell-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sz01-text);
  margin: 0 0 4px 0;
}

.sz01-upsell-card__meta {
  font-size: 14px;
  color: var(--sz01-text-secondary);
  margin: 0;
}

/* ───────────────────────────────────────────────────────────────────────
 * 📦 LEGACY COMPATIBILITY (old classes)
 * ─────────────────────────────────────────────────────────────────────── */
.sc-meta { color: var(--sz01-text-secondary); font-size: 14px; }
.sc-passed { color: var(--sz01-success); font-weight: 600; }
.sc-failed { color: var(--sz01-danger); font-weight: 600; }
.sc-cta { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.sc-summary { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.sc-summary .qcard { border: 1px solid var(--sz01-border); border-radius: 12px; padding: 16px; }
.sc-summary .qtitle { font-weight: 600; margin-bottom: 8px; }
.sc-summary .opts { list-style: none; padding: 0; margin: 0; }
.sc-summary .opts li { margin: 4px 0; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sc-badge--correct { background: rgba(48,209,88,0.15); color: #166534; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.sc-badge--wrong { background: rgba(255,59,48,0.15); color: #991b1b; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }

@media (min-width: 900px) {
  .sc-summary { grid-template-columns: 1fr 1fr; }
}
