.floating-email,
.smt-floating-email {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  transform: none !important;
  transition: none !important;
}

.smt-floating-email-panel[hidden] { display: none !important; }
.smt-floating-email-panel {
  position: fixed;
  right: 94px;
  bottom: 92px;
  z-index: 1202;
  box-sizing: border-box;
  width: min(285px, calc(100vw - 124px));
  max-height: min(74vh, 560px);
  overflow: auto;
  padding: 19px;
  border: 1px solid #dce4e9;
  border-radius: 15px;
  background: #fff;
  color: #203346;
  box-shadow: 0 14px 40px rgba(16, 38, 63, .22);
}
.smt-floating-email-panel,
.smt-floating-email-panel * { box-sizing: border-box; }
.smt-email-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.smt-email-panel-heading h2 {
  margin: 0;
  color: #173d59;
  font-size: 1.08rem;
  line-height: 1.25;
}
.smt-email-panel-heading p {
  margin: 5px 0 0;
  color: #657581;
  font-size: .82rem;
  line-height: 1.4;
}
.smt-email-panel-close {
  display: grid;
  flex: 0 0 31px;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #d9e1e6;
  border-radius: 50%;
  background: #f5f7f8;
  color: #173d59;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.smt-email-panel-close:hover { background: #edf2f5; }
.smt-email-panel-fields { display: grid; gap: 11px; }
.smt-email-panel-field { display: grid; gap: 6px; }
.smt-email-panel-field label {
  color: #334451;
  font-size: .79rem;
  font-weight: 750;
}
.smt-email-panel-field input,
.smt-email-panel-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #ccd6dc;
  border-radius: 9px;
  background: #fff;
  color: #172532;
  font: inherit;
  font-size: .88rem;
}
.smt-email-panel-field textarea {
  min-height: 88px;
  resize: vertical;
}
.smt-email-panel-field input:focus-visible,
.smt-email-panel-field textarea:focus-visible,
.smt-email-panel-close:focus-visible,
.smt-email-panel-submit:focus-visible {
  outline: 3px solid #91bfdf;
  outline-offset: 2px;
}
.smt-email-panel-submit {
  width: 100%;
  min-height: 43px;
  margin-top: 13px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: #2876b7;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
}
.smt-email-panel-submit:hover { background: #1f639c; }
.smt-email-panel-submit:disabled { opacity: .72; cursor: wait; }
.smt-email-panel-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: #647581;
  font-size: .8rem;
  line-height: 1.4;
}
.smt-email-panel-status[data-state="success"] { color: #18724a; font-weight: 700; }
.smt-email-panel-status[data-state="error"] { color: #a8342d; }
.smt-email-panel-note {
  margin: 7px 0 0;
  color: #71808b;
  font-size: .72rem;
  line-height: 1.4;
}
.smt-email-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 650px) {
  .smt-floating-email-panel {
    right: 74px;
    bottom: 78px;
    width: min(320px, calc(100vw - 98px));
    max-height: min(72vh, 560px);
    padding: 16px;
  }
}
@media (max-width: 380px) {
  .smt-floating-email-panel { right: 68px; width: calc(100vw - 82px); }
}
