/* 共享站点导航 —— 思维导图 · 流程图 */
.site-nav {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #1f2937;
  color: #f8fafc;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  flex: none;
}
.site-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-tab {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.site-tab:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.site-tab.active {
  background: #2563eb;
  color: #fff;
}

/* ===== 问题反馈（三页共用，逻辑见 assets/feedback.js） ===== */
.site-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  margin-left: 8px;
  padding: 0 12px;
  border: 1px solid rgba(96, 165, 250, .45);
  border-radius: 14px;
  color: #93c5fd;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition: background .12s, color .12s, border-color .12s;
}
.site-feedback-btn:hover {
  background: rgba(96, 165, 250, .15);
  border-color: #60a5fa;
  color: #bfdbfe;
}
.feedback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, -apple-system, sans-serif;
}
.feedback-overlay.active { display: flex; }
.feedback-modal {
  width: 460px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
  padding: 18px 20px;
}
.feedback-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feedback-modal-title { font-size: 16px; font-weight: 700; color: #0f172a; }
.feedback-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}
.feedback-close:hover { background: #f1f5f9; color: #334155; }
.feedback-textarea {
  width: 100%;
  height: 130px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #1e293b;
  resize: vertical;
  outline: none;
}
.feedback-textarea:focus { border-color: #2563eb; }
.feedback-tip { text-align: right; font-size: 12px; color: #94a3b8; margin: 4px 0 8px; }
.feedback-contact {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  margin-bottom: 8px;
}
.feedback-contact:focus { border-color: #2563eb; }
.feedback-status { min-height: 18px; font-size: 12.5px; margin-bottom: 6px; }
.feedback-status.success { color: #16a34a; }
.feedback-status.error { color: #dc2626; }
.feedback-actions { display: flex; justify-content: flex-end; gap: 8px; }
.feedback-actions button {
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
#feedback-cancel { border: 1px solid #e2e8f0; background: #fff; color: #475569; }
#feedback-cancel:hover { background: #f8fafc; }
#feedback-submit { border: none; background: #2563eb; color: #fff; }
#feedback-submit:hover:not(:disabled) { background: #1d4ed8; }
#feedback-submit:disabled { opacity: .6; cursor: not-allowed; }
