.feedback-launcher,
.feedback-dialog,
.feedback-backdrop {
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.feedback-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #1c2e24;
  border-radius: 999px;
  background: #1c2e24;
  color: #fffcf7;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(28, 46, 36, 0.08), 0 2px 8px rgba(28, 46, 36, 0.04);
}

.feedback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(28, 46, 36, 0.28);
  cursor: pointer;
}

.feedback-dialog {
  position: fixed;
  right: 24px;
  bottom: 76px;
  z-index: 1201;
  box-sizing: border-box;
  width: min(22rem, calc(100vw - 32px));
  margin: 0;
  padding: 20px;
  border: 1px solid #e2d9cc;
  border-radius: 14px;
  background: #fffcf7;
  color: #1a1a18;
  box-shadow: 0 12px 40px rgba(28, 46, 36, 0.08), 0 2px 8px rgba(28, 46, 36, 0.04);
}

.feedback-backdrop[hidden],
.feedback-dialog[hidden] {
  display: none !important;
}

.feedback-eyebrow {
  margin: 0 0 4px;
  color: #b56a45;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.feedback-title {
  margin: 0 0 16px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.feedback-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.feedback-label {
  font-size: 1rem;
  font-weight: 600;
}

.feedback-text {
  box-sizing: border-box;
  width: 100%;
  min-height: 7rem;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e2d9cc;
  border-radius: 8px;
  background: #fffcf7;
  color: #1a1a18;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.feedback-status {
  min-height: 1.25rem;
  margin: 0;
  color: #6b6560;
  font-size: 0.95rem;
}

.feedback-status-ok {
  color: #1c2e24;
}

.feedback-status-error {
  color: #b56a45;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.feedback-cancel,
.feedback-submit {
  margin: 0;
  padding: 10px 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.feedback-cancel {
  border: 0;
  background: transparent;
  color: #b56a45;
}

.feedback-submit {
  border: 1px solid #1c2e24;
  background: #1c2e24;
  color: #fffcf7;
}

.feedback-submit:disabled,
.feedback-text:disabled {
  cursor: default;
  opacity: 0.7;
}

.feedback-launcher:focus-visible,
.feedback-text:focus-visible,
.feedback-cancel:focus-visible,
.feedback-submit:focus-visible,
.feedback-status:focus-visible {
  outline: 2px solid #1c2e24;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .feedback-launcher {
    right: 16px;
    bottom: 88px;
  }

  .feedback-dialog {
    right: 16px;
    bottom: 144px;
  }
}
