.feedback-launcher {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 20;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #00575d;
  border-radius: 22px;
  background: #006b70;
  box-shadow: 0 4px 16px rgb(15 48 61 / 20%);
  color: #fff;
  cursor: pointer;
  font: 600 13px/1.2 "Segoe UI", Arial, sans-serif;
}

.feedback-launcher:hover,
.feedback-launcher:focus-visible {
  background: #00575d;
}

.feedback-launcher:focus-visible,
.feedback-dialog :focus-visible {
  outline: 3px solid #78bdb7;
  outline-offset: 2px;
}

.feedback-dialog {
  width: min(520px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid #cbd9df;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 80px rgb(14 40 56 / 24%);
  color: #172a3a;
  font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}

.feedback-dialog::backdrop {
  background: rgb(17 39 53 / 48%);
  backdrop-filter: blur(2px);
}

.feedback-form {
  display: grid;
  gap: 13px;
  padding: 25px;
}

.feedback-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.feedback-eyebrow {
  margin: 0 0 3px;
  color: #006b70;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.feedback-heading h2 {
  margin: 0;
  color: #183246;
  font-size: 23px;
  line-height: 1.25;
}

.feedback-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #526877;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.feedback-close:hover {
  background: #edf2f5;
}

.feedback-notice {
  margin: 0;
  color: #526877;
  font-size: 12px;
  line-height: 1.55;
}

.feedback-form > label {
  display: grid;
  gap: 5px;
  color: #304958;
  font-size: 12px;
  font-weight: 600;
}

.feedback-form > label > span {
  color: #607582;
  font-size: 11px;
  font-weight: 400;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #cbd8de;
  border-radius: 7px;
  background: #fff;
  color: #172a3a;
  font: 400 13px/1.5 "Segoe UI", Arial, sans-serif;
}

.feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: #006b70;
}

.feedback-honeypot {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.feedback-status {
  min-height: 20px;
  margin: 0;
  color: #526877;
  font-size: 12px;
}

.feedback-status.error {
  color: #9c302a;
}

.feedback-status.success {
  color: #176b3a;
  font-weight: 600;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.feedback-actions button {
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid #cbd8de;
  border-radius: 7px;
  background: #fff;
  color: #304958;
  cursor: pointer;
  font: 600 12px "Segoe UI", Arial, sans-serif;
}

.feedback-actions .feedback-submit {
  border-color: #006b70;
  background: #006b70;
  color: #fff;
}

.feedback-actions .feedback-submit:hover:not(:disabled) {
  border-color: #00575d;
  background: #00575d;
}

.feedback-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 520px) {
  .feedback-launcher {
    right: 14px;
    bottom: 14px;
  }

  .feedback-form {
    gap: 11px;
    padding: 19px;
  }
}
