/* Four consistent save-and-continue controls for profile preference groups. */
[data-ui-surface="user"].product-shell .profile-final-editor__preference-step {
  display: grid;
  min-width: 0;
  gap: 5px;
}

[data-ui-surface="user"].product-shell .profile-final-editor__preference-step > label {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

[data-ui-surface="user"].product-shell .profile-final-editor__preference-control {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: stretch;
  gap: 8px;
}

[data-ui-surface="user"].product-shell .profile-final-editor__preference-control > input {
  min-width: 0;
}

[data-ui-surface="user"].product-shell .profile-final-editor__step-save {
  box-sizing: border-box;
  display: inline-flex;
  width: 112px;
  min-width: 112px;
  min-height: var(--control-touch);
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--color-navy-900);
  border-radius: 2px;
  color: #fff;
  background: var(--color-navy-900);
  font: inherit;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

[data-ui-surface="user"].product-shell .profile-final-editor__step-save svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

[data-ui-surface="user"].product-shell .profile-final-editor__step-save:hover:not(:disabled) {
  border-color: var(--color-forest, #285f4d);
  background: var(--color-forest, #285f4d);
}

[data-ui-surface="user"].product-shell .profile-final-editor__step-save:focus-visible {
  outline: 3px solid rgba(104, 165, 187, 0.52);
  outline-offset: 2px;
}

[data-ui-surface="user"].product-shell .profile-final-editor__step-save:disabled {
  opacity: 0.58;
  cursor: wait;
}

[data-ui-surface="user"].product-shell .profile-final-editor__footprint-fieldset:focus {
  outline: 3px solid rgba(104, 165, 187, 0.42);
  outline-offset: 3px;
}
