.save-setup-trigger,
#save-setup-send,
#save-setup-done,
#save-setup-retry {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #50675b;
  border-radius: 9px;
  background: #fff;
  color: #344c52;
  font: 600 16px/1.35 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.save-setup-trigger { width: 100%; margin: 0 0 12px; }
body.is-ar-only .save-setup-trigger,
body.is-quote-open .save-setup-trigger,
.save-setup-dialog [hidden] { display: none !important; }
.save-setup-dialog {
  width: min(460px, calc(100vw - 28px));
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #ccd5ca;
  border-radius: 16px;
  background: #fffefa;
  color: #344c52;
  box-shadow: 0 14px 48px #213a3c30;
}
.save-setup-dialog[open] { display: flex; flex-direction: column; }
.save-setup-dialog::backdrop { background: rgb(27 46 47 / 40%); }
body:has(.save-setup-dialog[open]) { overflow: hidden; }
.save-setup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding: 12px 18px 9px;
  border-bottom: 1px solid #d8ded5;
}
.save-setup-header h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.save-setup-header h2:focus { outline: none; }
#save-setup-close {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c5cfc3;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 25px/1 Arial, Helvetica, sans-serif;
}
.save-setup-content { min-height: 0; padding: 16px 20px 20px; overflow: auto; overscroll-behavior: contain; }
.save-setup-content p { margin: 0; font-size: 15px; line-height: 1.45; }
.save-setup-preview { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 8px; border-radius: 8px; background: #f0f2ec; }
.save-setup-preview img { width: 96px; height: 68px; flex: none; object-fit: contain; border-radius: 5px; background: #f7f7f3; }
#save-setup-description { font-size: 14px; overflow-wrap: anywhere; }
#save-setup-fields { display: grid; gap: 5px; margin: 12px 0; padding: 0; border: 0; }
#save-setup-fields label { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
#save-setup-fields label span { font-weight: 400; }
#save-setup-fields input { width: 100%; min-width: 0; min-height: 44px; padding: 7px 10px; border: 1px solid #b8c4ba; border-radius: 7px; background: white; color: inherit; font: 16px/1.35 Arial, Helvetica, sans-serif; }
.save-setup-content .save-setup-note { color: #526663; font-size: 13px; }
#save-setup-status:not(:empty) { margin: 10px 0 0; font-size: 14px; }
#save-setup-status[data-error="true"] { color: #853c2c; }
#save-setup-send, #save-setup-done { width: 100%; margin-top: 16px; border-color: #344c52; background: #344c52; color: white; }
#save-setup-retry { margin-top: 12px; }
.save-setup-dialog button:disabled { opacity: .56; cursor: wait; }
.save-setup-trigger:disabled { opacity: .56; cursor: default; }
.save-setup-dialog :focus-visible, .save-setup-trigger:focus-visible { outline: 3px solid #975b48; outline-offset: 2px; }
@media (max-width: 760px) {
  .save-setup-trigger { margin: 0; order: 2; }
  .save-setup-dialog { width: min(460px, calc(100dvw - 20px)); max-height: calc(100dvh - 20px); }
  .save-setup-content { padding: 14px 16px max(16px,env(safe-area-inset-bottom)); }
}
