.sales-mail-dialog {
  box-sizing: border-box;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #d5e0eb;
  border-radius: 12px;
  color: #0c2e4d;
  background: #fff;
  box-shadow: 0 18px 64px #0b2b4d33;
}
.sales-mail-dialog::backdrop { background: #0b253c79; }
.sales-mail-dialog h2 { margin: 0 24px 6px 0; font-size: 21px; line-height: 1.25; }
.sales-mail-address { margin: 0 0 18px; color: #42617d; overflow-wrap: anywhere; }
.sales-mail-close { position: absolute; top: 10px; right: 10px; margin: 0; }
.sales-mail-close button {
  width: 36px; height: 36px; border: 0; border-radius: 6px;
  color: #254661; background: transparent; font-size: 24px; cursor: pointer;
}
.sales-mail-options { display: grid; gap: 8px; }
.sales-mail-options a {
  display: block; padding: 12px 16px; border: 1px solid #cad7e5; border-radius: 8px;
  color: #103f68; text-decoration: none; text-align: center; font-weight: 600;
}
.sales-mail-options a:hover, .sales-mail-close button:hover { background: #edf4fa; }
.sales-mail-options .sales-mail-primary { color: #fff; background: #175ea5; border-color: #175ea5; }
.sales-mail-options .sales-mail-primary:hover { background: #104879; }
.sales-mail-copy {
  padding: 8px 0; margin-top: 8px; border: 0; color: #175ea5;
  background: transparent; font: inherit; text-decoration: underline; cursor: pointer;
}
.sales-mail-status { display: block; color: #42617d; font-size: 14px; }
