.firstinstall {
  padding: 0 6vw 6vw;
  display: grid;
  gap: 24px;
}

.wizard-header {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-step {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-display);
  background: #fffdf7;
  cursor: pointer;
}

.wizard-step.active {
  background: var(--accent);
}

.wizard-progress {
  display: flex;
  gap: 8px;
}

.wizard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
}

.wizard-dot.active {
  background: var(--line);
}

.wizard-panel {
  display: none;
  gap: 16px;
}

.wizard-panel.active {
  display: grid;
}

.wizard-lead {
  margin: 0;
  max-width: 520px;
}

.setup-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.setup-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.policy-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 12px;
}

.policy-item {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fffdf7;
  font-family: var(--font-body);
}

.policy-item input {
  width: 18px;
  height: 18px;
}

.usecase-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.usecase-card {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fffdf7;
  display: grid;
  gap: 8px;
  cursor: pointer;
}

.usecase-card input {
  margin-bottom: 6px;
}

.usecase-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.usecase-meta {
  font-size: 0.9rem;
  opacity: 0.7;
}

.preview-card {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.preview-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-tab {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: #fffdf7;
}

.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.setup-message {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.setup-message.error {
  color: #b00020;
}
