.feedback-fab {
  position: fixed; right: 24px; bottom: 84px; z-index: 130;
  min-height: 48px; display: inline-flex; align-items: center; gap: 9px;
  padding: 0 18px; border: 2px solid var(--navy-deep); border-radius: 999px;
  color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(18,56,90,.24);
  font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.feedback-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18,56,90,.3); }
.feedback-fab__icon { font-size: 18px; line-height: 1; }
.feedback-modal {
  position: fixed; z-index: 500; inset: 0; display: grid; place-items: center;
  padding: 20px; background: rgba(6,28,44,.72); backdrop-filter: blur(6px);
}
.feedback-modal[hidden] { display: none; }
.feedback-card {
  width: min(100%, 560px); max-height: min(90vh, 780px); overflow-y: auto;
  padding: 28px; border-radius: 10px; background: var(--paper); box-shadow: 0 28px 80px rgba(0,0,0,.32);
  animation: feedbackIn .25s ease both;
}
.feedback-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.feedback-head h2 { margin: 0; font-family: var(--font-serif); font-size: 30px; }
.feedback-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.feedback-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 23px; cursor: pointer; }
.feedback-form { display: grid; gap: 15px; margin-top: 23px; }
.feedback-field { display: grid; gap: 7px; }
.feedback-field label { font-size: 13px; font-weight: 900; }
.feedback-field input,
.feedback-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink); outline: 0; -webkit-user-select: text; user-select: text;
}
.feedback-field input { height: 46px; padding: 0 13px; }
.feedback-field textarea { min-height: 142px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.feedback-field input:focus,
.feedback-field textarea:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(36,91,122,.12); }
.feedback-file {
  position: relative; min-height: 58px; display: flex; align-items: center; justify-content: center;
  padding: 12px; border: 2px dashed rgba(18,56,90,.22); border-radius: 7px;
  color: var(--navy); background: #f8faf9; font-size: 13px; font-weight: 800; cursor: pointer;
}
.feedback-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.feedback-preview { position: relative; margin-top: 4px; }
.feedback-preview img { width: 100%; max-height: 230px; object-fit: contain; border-radius: 7px; background: #f4f6f5; }
.feedback-preview button {
  position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  color: #fff; background: rgba(9,38,63,.85); font-size: 18px; cursor: pointer;
}
.feedback-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.feedback-actions button { min-height: 48px; border-radius: 6px; font-weight: 900; cursor: pointer; }
.feedback-submit { border: 0; color: #fff; background: var(--red); }
.feedback-submit:disabled { opacity: .55; cursor: wait; }
.feedback-cancel { border: 1px solid var(--line); background: #fff; }
.feedback-status { min-height: 20px; margin: 0; font-size: 13px; }
.feedback-status.is-error { color: #b4232f; }
.feedback-status.is-success { color: #087f5b; }
.feedback-admin-link { display: inline-block; margin-top: 16px; color: #7d8992; font-size: 11px; }
@keyframes feedbackIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 720px) {
  .feedback-fab { right: 16px; bottom: 74px; width: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .feedback-fab__label { display: none; }
  .feedback-modal { padding: 12px; align-items: end; }
  .feedback-card { max-height: 92vh; padding: 22px 18px 20px; border-radius: 12px 12px 0 0; }
  .feedback-head h2 { font-size: 25px; }
  .feedback-actions { grid-template-columns: 1fr; }
}
