.fs-wz-wrap {
  background: #f0f4f8;
  min-height: calc(100vh - 32px);
  margin: 0 0 0 -20px;
  padding: 28px 20px 40px 20px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fs-wz-shell {
  max-width: 860px;
  margin: 0 auto;
}

.fs-wz-breadcrumb {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 14px;
}

.fs-wz-panel {
  background: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.fs-wz-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.fs-wz-progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-width: 0;
}

.fs-wz-progress-item::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 9px;
  width: 10px;
  height: 2px;
  background: #dbe4ef;
}

.fs-wz-progress-item:last-child::after {
  display: none;
}

.fs-wz-progress-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c8d5e5;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  flex-shrink: 0;
}

.fs-wz-progress-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-wz-progress-item.is-done .fs-wz-progress-dot,
.fs-wz-progress-item.is-active .fs-wz-progress-dot {
  border-color: #1c77ba;
  background: #1c77ba;
  color: #fff;
}

.fs-wz-progress-item.is-active .fs-wz-progress-label,
.fs-wz-progress-item.is-done .fs-wz-progress-label {
  color: #1e293b;
}

.fs-wz-step h1 {
  font-size: 26px;
  line-height: 1.2;
  color: #1e293b;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.fs-wz-sub {
  color: #475569;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
}

.fs-wz-info {
  background: #f1f8ff;
  border: 1px solid #d5e8fb;
  border-radius: 10px;
  padding: 12px 14px;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.fs-wz-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fs-wz-radio-row {
  display: flex;
  gap: 22px;
  margin-top: 14px;
}

.fs-wz-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fs-wz-role {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: block;
  background: #fff;
}

.fs-wz-role input {
  margin-right: 8px;
}

.fs-wz-role.is-selected {
  border-color: #1c77ba;
  background: #f1f8ff;
}

.fs-wz-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fs-wz-grid-2-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fs-wz-provider {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.fs-wz-provider.is-selected {
  border-color: #1c77ba;
  background: #f1f8ff;
}

.fs-wz-provider.is-disabled {
  opacity: 0.7;
}

.fs-wz-pill {
  display: inline-block;
  margin-top: 10px;
  background: #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
}

.fs-wz-step label {
  display: block;
  font-size: 12px;
  color: #475569;
  margin: 10px 0 6px;
  font-weight: 600;
}

.fs-wz-step input[type="text"],
.fs-wz-step input[type="email"],
.fs-wz-step input[type="password"],
.fs-wz-step select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.fs-wz-check {
  margin-top: 12px;
  font-size: 13px;
}

.fs-wz-check input {
  margin-right: 8px;
}

.fs-wz-test-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
}

.fs-wz-test-head {
  margin-bottom: 10px;
  color: #1e293b;
}

.fs-wz-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fs-wz-inline input {
  flex: 1;
}

.fs-wz-footer {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin-top: 14px;
}

.fs-wz-wrap .button.button-primary {
  background: #1c77ba;
  border-color: #1c77ba;
}

.fs-wz-wrap .button.button-primary:hover,
.fs-wz-wrap .button.button-primary:focus {
  background: #18679f;
  border-color: #18679f;
}

@media (max-width: 782px) {
  .fs-wz-wrap {
    margin-left: -10px;
    padding: 16px 10px 24px;
  }

  .fs-wz-panel {
    padding: 16px;
    border-radius: 12px;
  }

  .fs-wz-progress {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fs-wz-progress-item::after {
    display: none;
  }

  .fs-wz-grid-3,
  .fs-wz-grid-2,
  .fs-wz-grid-2-mini,
  .fs-wz-inline {
    grid-template-columns: 1fr;
    display: grid;
  }

  .fs-wz-inline .button {
    width: 100%;
  }
}