/*
  StitchFlow private 8082 — Development Style Detail floating save bar.
  Presentation only: the existing #styleForm buttons retain their original handlers.
*/
#styleForm {
  padding-bottom: 6rem;
}

#styleForm .form-actions {
  position: fixed !important;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%);
  z-index: 1200 !important;
  width: min(48rem, calc(100vw - 3rem));
  box-sizing: border-box;
  margin: 0;
  padding: .7rem .85rem;
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#styleForm .form-actions .primary {
  min-width: 10rem;
}

@media (max-width: 700px) {
  #styleForm .form-actions {
    width: calc(100vw - 1.25rem);
    bottom: max(.625rem, env(safe-area-inset-bottom));
  }
}
