/* ─── Setup Wizard ───────────────────────────────────────────────────── */

.setup-wrap {
  max-width: 1100px;
  margin: 0 auto;
  animation: setupFadeIn 0.3s ease;
}

@keyframes setupFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Hero ────────────────────────────────────────────────────────────── */
.setup-hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(16, 185, 129, 0.1) 60%, rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.setup-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.2), transparent 50%);
  pointer-events: none;
}
.setup-hero h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.setup-hero-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.setup-hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Progress Stepper ───────────────────────────────────────────────── */
.setup-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0 4px;
}
.setup-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  cursor: default;
  user-select: none;
}
.setup-step-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  z-index: 2;
}
.setup-step.active .setup-step-bubble {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(99, 102, 241, 0.6);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.setup-step.done .setup-step-bubble {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #10b981;
}
.setup-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.setup-step.active .setup-step-label {
  color: var(--color-text);
}
.setup-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.setup-step.done:not(:last-child)::after {
  background: rgba(16, 185, 129, 0.4);
}

/* ─── Cards & Forms ──────────────────────────────────────────────────── */
.setup-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.setup-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}
.setup-card-desc {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.setup-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.setup-section-title .pill {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.62rem;
}

/* ─── Choice Grid (buttons/cards für Profil & Equipment) ──────────────── */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.choice-card {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  position: relative;
}
.choice-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.04);
}
.choice-card.selected {
  border-color: rgba(99, 102, 241, 0.7);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.choice-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.choice-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 2px;
}
.choice-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.choice-card-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}
.choice-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.choice-card-badge.pro {
  background: rgba(236, 72, 153, 0.2);
  color: #f9a8d4;
}
.choice-card-badge.free {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* ─── Nav buttons ─────────────────────────────────────────────────────── */
.setup-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.setup-nav-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ─── Result: Tier Card (Setup Score) ─────────────────────────────────── */
.tier-card {
  position: relative;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.06));
  margin-bottom: 20px;
  overflow: hidden;
}
.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.2), transparent 60%);
  pointer-events: none;
}
.tier-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.tier-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 4px;
  background: linear-gradient(90deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tier-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.tier-score-bar {
  height: 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}
.tier-score-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b 40%, #10b981 75%, #6366f1);
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tier-score-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.metric {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}
.metric-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.metric-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}
.metric-value.pos { color: #10b981; }
.metric-value.warn { color: #f59e0b; }
.metric-value.bad { color: #ef4444; }

/* ─── Dataflow Diagram ────────────────────────────────────────────────── */
.dataflow {
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.df-node {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.df-node.primary { border-color: rgba(99, 102, 241, 0.5); background: rgba(99, 102, 241, 0.1); }
.df-node.relay { border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.1); }
.df-node.output { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.1); }
.df-node-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.df-node-title {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.df-node-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
.df-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
}
.df-arrow::after {
  content: attr(data-label);
  position: absolute;
  bottom: -6px;
  font-size: 0.6rem;
  color: var(--color-text-muted);
  font-weight: 400;
  white-space: nowrap;
}

/* ─── Checklist ───────────────────────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.15s;
}
.checklist li:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.checklist li.done {
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}
.checklist input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #10b981;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.checklist label {
  cursor: pointer;
  line-height: 1.45;
  flex: 1;
}
.checklist li .hint {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ─── Copy field ──────────────────────────────────────────────────────── */
.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.copy-row-label {
  flex-shrink: 0;
  min-width: 110px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.copy-row-val {
  flex: 1;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  word-break: break-all;
}

/* ─── Gap / Shopping list ─────────────────────────────────────────────── */
.gap-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  margin-bottom: 8px;
  align-items: flex-start;
}
.gap-item-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.gap-item-body {
  flex: 1;
}
.gap-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.gap-item-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.gap-item-price {
  font-size: 0.75rem;
  color: #fbbf24;
  font-weight: 600;
  margin-top: 4px;
}

/* ─── Trouble (accordion) ─────────────────────────────────────────────── */
.trouble-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}
.trouble-head {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: var(--color-text);
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
}
.trouble-head:hover {
  background: rgba(255, 255, 255, 0.04);
}
.trouble-arrow {
  transition: transform 0.2s;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.trouble-item.open .trouble-arrow {
  transform: rotate(180deg);
}
.trouble-body {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  display: none;
}
.trouble-item.open .trouble-body {
  display: block;
}

/* ─── Tabs ────────────────────────────────────────────────────────────── */
.setup-subtabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  padding-bottom: 0;
}
.setup-subtab {
  background: none;
  border: none;
  color: var(--color-text-muted);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s;
}
.setup-subtab:hover {
  color: var(--color-text);
}
.setup-subtab.active {
  color: #a5b4fc;
  border-bottom-color: #6366f1;
}

/* ─── Pill & Badge ────────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.pill.warn { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.pill.ok { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.pill.bad { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

/* ─── Alerts ──────────────────────────────────────────────────────────── */
.setup-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin: 12px 0;
  border: 1px solid;
}
.setup-alert.info { background: rgba(99, 102, 241, 0.08); border-color: rgba(99, 102, 241, 0.25); color: #c7d2fe; }
.setup-alert.warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.25); color: #fde68a; }
.setup-alert.ok { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.3); color: #a7f3d0; }
.setup-alert.bad { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); color: #fecaca; }
.setup-alert-title {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Step blocks (numbered instructions) ─────────────────────────────── */
.step-block {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 10px;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.step-body {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
}
.step-body strong { color: var(--color-text); }

/* ─── Code block ──────────────────────────────────────────────────────── */
.setup-code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  color: #a5b4fc;
  overflow-x: auto;
  margin: 8px 0;
  white-space: pre;
  position: relative;
}
.setup-code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.7rem;
  color: var(--color-text);
  cursor: pointer;
}
.setup-code-copy:hover { background: rgba(255, 255, 255, 0.15); }

/* ─── Kompaktes Result-Dashboard ──────────────────────────────────────── */
.fp-dashboard {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.fp-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.fp-dashboard-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.fp-dashboard-tier {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.fp-dashboard-score {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.fp-dashboard-score-num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.fp-dashboard-score-max {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.fp-dashboard-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}
.fp-dash-tile {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.fp-dash-tile-icon {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}
.fp-dash-tile-body {
  flex: 1;
  min-width: 0;
}
.fp-dash-tile-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1px;
}
.fp-dash-tile-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fp-dashboard-hint {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #a7f3d0;
  line-height: 1.5;
}

/* ─── Result-Tabs ─────────────────────────────────────────────────────── */
.fp-result-tabs {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.fp-result-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  overflow-x: auto;
  scrollbar-width: none;
}
.fp-result-tab-nav::-webkit-scrollbar { display: none; }
.fp-result-tab-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  padding: 12px 18px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  position: relative;
}
.fp-result-tab-btn:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}
.fp-result-tab-btn.active {
  color: #c7d2fe;
  border-bottom-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}
.fp-result-tab-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.fp-result-tab-label {
  /* Hide label on very narrow screens, show only icon */
}
.fp-result-tab-content {
  padding: 16px 18px;
  transition: opacity 0.15s ease;
}
.fp-result-tab-content .setup-card {
  margin-bottom: 14px;
}
.fp-result-tab-content .setup-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .fp-result-tab-btn { padding: 10px 12px; font-size: 0.76rem; }
  .fp-result-tab-label { display: none; }
  .fp-result-tab-content { padding: 12px; }
  .fp-dashboard { padding: 16px; }
  .fp-dashboard-tier { font-size: 1.15rem; }
  .fp-dashboard-score-num { font-size: 1.8rem; }
}

/* ─── Dual-Setup (Primary + Backup) ───────────────────────────────────── */
.fp-dual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}
.fp-dual-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fp-dual-box.primary {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.fp-dual-box.backup {
  background: rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.25);
}
.fp-dual-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.fp-dual-box.primary .fp-dual-badge { color: #6ee7b7; }
.fp-dual-box.backup .fp-dual-badge { color: #fde68a; }
.fp-dual-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.fp-dual-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.83rem;
  color: var(--color-text);
  line-height: 1.6;
}
.fp-dual-list li { margin-bottom: 4px; }
.fp-dual-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 4px;
}
@media (max-width: 640px) {
  .fp-dual-grid { grid-template-columns: 1fr; }
  .fp-dual-switch { transform: rotate(90deg); padding: 6px 0; }
}

/* ─── Thermal-Management ──────────────────────────────────────────────── */
.fp-thermal-list {
  margin: 6px 0 14px 0;
  padding-left: 22px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--color-text);
}
.fp-thermal-list li { margin-bottom: 6px; }
.fp-thermal-list strong { color: #fde68a; }
.fp-thermal-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.fp-thermal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.fp-thermal-row.done {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
}
.fp-thermal-row.missing {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
}
.fp-thermal-row.pending {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #fde68a;
}
.fp-thermal-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.fp-thermal-row.done .fp-thermal-mark { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
.fp-thermal-row.missing .fp-thermal-mark { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.fp-thermal-row.pending .fp-thermal-mark { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

/* ─── Thermal-Strategy-Boxes ──────────────────────────────────────────── */
.fp-thermal-strategy {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(251, 191, 36, 0.5);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.fp-thermal-strategy-head {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.fp-thermal-strategy-body {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.fp-thermal-strategy-body ul {
  margin: 6px 0;
  padding-left: 20px;
}
.fp-thermal-strategy-body li { margin-bottom: 3px; }

/* ─── Live-Monitoring ────────────────────────────────────────────────── */
.fp-monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.fp-monitor-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
}
.fp-monitor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fp-monitor-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.fp-monitor-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}
.fp-monitor-sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.fp-monitor-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.78rem;
  color: var(--color-text);
  line-height: 1.55;
}
.fp-monitor-list li { margin-bottom: 4px; }
.fp-monitor-list strong { color: #fde68a; }

.fp-monitor-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-monitor-flow-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
}
.fp-monitor-flow-item.warn {
  border-left-color: #f59e0b;
  background: rgba(251, 191, 36, 0.04);
}
.fp-monitor-flow-item.bad {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.04);
}
.fp-monitor-flow-condition {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--color-text);
  margin-bottom: 4px;
}
.fp-monitor-flow-action {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── Tier-Card-Grid (Multi-Level Empfehlungen) ───────────────────────── */
.wt-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}
.wt-tier-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  transition: all 0.2s;
}
.wt-tier-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.03);
}
.wt-tier-card.recommended {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(99, 102, 241, 0.04));
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}
.wt-tier-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.wt-tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.wt-tier-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.wt-tier-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}
.wt-tier-complexity {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.wt-tier-score {
  margin-left: auto;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 20px;
}
.wt-tier-card.recommended .wt-tier-score {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.wt-tier-desc {
  font-size: 0.84rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
  opacity: 0.92;
}
.wt-tier-section {
  margin-bottom: 10px;
}
.wt-tier-section-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.wt-tier-list {
  margin: 0;
  padding-left: 16px;
  font-size: 0.78rem;
  color: var(--color-text);
  line-height: 1.55;
}
.wt-tier-list li { margin-bottom: 2px; }
.wt-tier-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.wt-tier-pros .wt-tier-section-title { color: #6ee7b7; }
.wt-tier-cons .wt-tier-section-title { color: #fca5a5; }
.wt-tier-bestfor {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 8px;
}
.wt-tier-bestfor strong { color: var(--color-text); }
.wt-tier-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 10px 12px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 10px;
  margin: 6px 0 14px;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .wt-tier-proscons { grid-template-columns: 1fr; }
  .wt-tier-icon { font-size: 1.5rem; }
  .wt-tier-label { font-size: 0.95rem; }
}

/* ─── Walkthrough Recommend-Banner ────────────────────────────────────── */
.wt-recommend-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 14px 0 12px;
  position: relative;
  overflow: hidden;
}
.wt-recommend-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 120px;
  background: radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.15), transparent 70%);
  pointer-events: none;
}
.wt-recommend-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.wt-recommend-star {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}
.wt-recommend-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 2px;
}
.wt-recommend-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
}
.wt-recommend-reason {
  font-size: 0.86rem;
  color: var(--color-text);
  line-height: 1.55;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.wt-rec-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 10px;
  vertical-align: middle;
}
.wt-option-pill.recommended {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

/* ─── Walkthrough Options-Banner ──────────────────────────────────────── */
.wt-options-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0 16px;
}
.wt-options-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.wt-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.wt-option-pill {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--color-text);
  width: fit-content;
  max-width: 100%;
}
.wt-option-pill strong { color: #c7d2fe; }
.wt-options-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ─── Walkthrough-Steps ───────────────────────────────────────────────── */
.wt-progress-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.wt-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #6366f1);
  transition: width 0.4s ease;
  border-radius: 4px;
}
.wt-progress-text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.wt-step {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.wt-step.open {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.04);
}
.wt-step.done {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.04);
}
.wt-step.done .wt-num {
  background: linear-gradient(135deg, #10b981, #059669);
}

.wt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
}
.wt-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.wt-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.wt-head-title { flex: 1; min-width: 0; }
.wt-title-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.wt-title-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.wt-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wt-mark-done {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s;
}
.wt-mark-done:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
}
.wt-step.done .wt-mark-done {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #6ee7b7;
}
.wt-arrow {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.wt-step.open .wt-arrow {
  transform: rotate(180deg);
}

.wt-body {
  display: none;
  padding: 4px 16px 18px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.wt-step.open .wt-body {
  display: block;
}

.wt-sub {
  display: flex;
  gap: 12px;
  margin: 10px 0;
  align-items: flex-start;
}
.wt-sub-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}
.wt-sub-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text);
}
.wt-sub-text strong { color: #fff; }
.wt-sub-text code {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #a5b4fc;
}

.wt-fields {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-field {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.wt-field:hover { background: rgba(255, 255, 255, 0.03); }
.wt-field-label {
  flex-shrink: 0;
  min-width: 120px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.wt-field-val {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 10px;
  border-radius: 5px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  word-break: break-all;
  color: #e2e8f0;
}
.wt-field-copy {
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  transition: all 0.15s;
}
.wt-field-copy:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

.wt-check {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.82rem;
  color: #a7f3d0;
  margin: 10px 0 6px;
  line-height: 1.5;
}

.wt-trouble {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: #fecaca;
  margin: 8px 0;
  line-height: 1.5;
}

.wt-tip {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #c7d2fe;
  margin: 8px 0;
  line-height: 1.5;
}

.wt-link {
  color: #a5b4fc;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
}
.wt-link:hover { color: #fff; }

.wt-list {
  margin: 8px 0;
  padding-left: 22px;
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .wt-body { padding-left: 16px; padding-right: 12px; }
  .wt-field-label { min-width: 80px; font-size: 0.7rem; }
  .wt-sub-text { font-size: 0.82rem; }
}

/* ─── Custom-Item Input & Pills ───────────────────────────────────────── */
.fp-custom-block {
  margin: -12px 0 18px;
  padding: 10px 0 0;
}
.fp-custom-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.fp-custom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 500;
}
.fp-custom-pill.static {
  padding: 5px 12px;
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}
.fp-custom-pill button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.fp-custom-pill button:hover {
  background: rgba(239, 68, 68, 0.4);
}
.fp-custom-input-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
}
.fp-custom-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--color-text);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s;
}
.fp-custom-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.fp-custom-input:focus {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.05);
}

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .setup-hero { padding: 20px; }
  .setup-hero h1 { font-size: 1.3rem; }
  .setup-card { padding: 16px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .setup-step-label { font-size: 0.65rem; }
  .dataflow { flex-direction: column; }
  .df-arrow { min-height: 30px; transform: rotate(90deg); }
}
