/* Compact chip grid for setup wizard step 1 */
.wizard-step1 {
  width: 100%;
  max-width: 42rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 2px 4px -2px rgba(15, 23, 42, .06);
}

.wizard-step1 h1 { color: #1e293b; }
.wizard-step1 > .muted { color: #64748b; }
.wizard-step1 .setup-notice { margin-bottom: 1.25rem; }
.wizard-step1 .setup-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top-color: #e2e8f0;
}

.wizard-step1 .setup-list h2,
.wizard-step1 .setup-group h3 {
  margin-bottom: .75rem;
  color: #334155;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wizard-step1 .setup-group { margin-bottom: 1rem; }
.wizard-step1 .setup-group .simple-check,
.wizard-step1 .setup-list > .simple-check {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  width: auto;
  min-height: 0;
  margin: 0 .375rem .5rem 0;
  padding: .5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 500;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.wizard-step1 .simple-check:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.wizard-step1 .simple-check:has(input:checked) {
  border: 2px solid #10b981;
  padding: calc(.5rem - 1px) calc(1rem - 1px);
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.wizard-step1 .simple-check:has(input:checked)::after {
  content: '';
  width: .75rem;
  height: .75rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.wizard-step1 .simple-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wizard-step1 .custom-add {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 24rem;
  margin-top: .75rem;
}

.wizard-step1 .custom-add input {
  min-height: 0;
  padding: .375rem .875rem;
  border-radius: .75rem;
  border-color: #cbd5e1;
  font-size: .75rem;
}

.wizard-step1 .custom-add button {
  flex: 0 0 auto;
  padding: .375rem .75rem;
  border-radius: .75rem;
  background: #1e293b;
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  transition: background-color .2s ease;
}

.wizard-step1 .custom-add button:hover { background: #0f172a; }
.wizard-step1 #custom-accounts { margin-top: .5rem; }
.wizard-step1 #setup-stage1 { display: block; }
.wizard-step1 #setup-stage1 > button.primary {
  display: block;
  width: auto;
  margin: 1.5rem 0 0 auto;
  padding: .625rem 1.5rem;
  border-radius: .75rem;
  background: #059669;
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.wizard-step1 #setup-stage1 > button.primary:hover { background: #047857; transform: none; }

@media (max-width: 640px) {
  .wizard-step1 { padding: 1.5rem; }
  .wizard-step1 #setup-stage1 > button.primary { width: 100%; }
}
