/**
 * 小助理反馈悬浮钮与弹层（C 案定稿 2026-10-28：列表/查看/编辑三页通用）
 * 弹层复用各页既有 .modal / .modal-content / .modal-header 基础样式，本文件只补反馈专属部分
 */

/* ===== 右下角悬浮反馈按钮 ===== */
.feedback-fab {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.feedback-fab:hover {
  background: #1d4ed8;
}

.feedback-fab svg {
  flex: none;
}

/* 编辑页底部固定条（进度+翻页+手动保存）占底边，悬浮钮上移避让 */
body.page-edit .feedback-fab {
  bottom: 118px;
}

/* 原地编辑嵌入态（列表页右栏 iframe embed=1，body 类由 checklist-edit.js 加）：
   父页已有同款悬浮钮，隐藏防双钮重叠 */
body.embed-mode .feedback-fab {
  display: none;
}

/* ===== 联系小助理弹层（登录弹层同构） ===== */
.feedback-modal-content {
  width: 380px;
  padding: 32px;
  text-align: center;
}

.feedback-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.feedback-scan {
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.feedback-qr-tip {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

.feedback-qr-tip b {
  color: #1f2937;
}

.feedback-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
}

.feedback-close:hover {
  color: #6b7280;
}
