.beta-notice {
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
  border-bottom: 1px solid #bbf7d0;
  color: #14532d;
}

.beta-notice-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  font-size: 13px;
  line-height: 1.55;
}

.beta-notice-inner p {
  margin: 0 0 4px;
}

.beta-notice-inner p:last-child {
  margin-bottom: 0;
}

.beta-notice-lead {
  font-weight: 600;
}

.beta-notice-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #047857;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.beta-notice-btn:hover {
  color: #065f46;
}

@media (max-width: 640px) {
  .beta-notice-inner {
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

.feedback-fab {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 190;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}

.feedback-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}

@media (min-width: 1024px) {
  .feedback-fab {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

.feedback-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.feedback-modal-backdrop.open {
  display: flex;
}

.feedback-modal {
  width: min(440px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.feedback-modal h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.feedback-modal .muted {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 16px;
}

.feedback-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 6px;
}

.feedback-modal select,
.feedback-modal textarea,
.feedback-modal input[type="text"],
.feedback-modal input[type="email"] {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}

.feedback-modal textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-guest-fields.hidden {
  display: none;
}

.feedback-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.feedback-success {
  text-align: center;
  padding: 24px 0;
}

.feedback-success p {
  color: #059669;
  font-weight: 600;
}

.feedback-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.feedback-modal .btn-primary {
  background: #4f46e5;
  color: #fff;
}

.feedback-modal .btn-ghost {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
