/* 统一顶部导航样式（与 XC 保持一致） */
.xc-top-nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e9ecef;
}
.nav-brand { color: #1e3a8a; font-size: 1.1rem; font-weight: 600; }
.nav-brand i { color: #1e40af; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; margin-left: auto; }
.nav-links a { color: #6c757d; text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 20px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.nav-links a i { font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; margin-right: 0.35rem; }
.nav-links a:hover { color: #1e3a8a; background: rgba(30, 58, 138, 0.1); transform: translateY(-1px); }
@media (max-width: 768px) {
  .nav-links { gap: 0.5rem; }
  .nav-links a { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
  .nav-links a span { display: none; }
}

/* 导航容器与布局：确保品牌与链接同排，链接贴近右侧 */
.xc-top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 保证左右分布 */
  width: 100%;
  max-width: none; /* 覆盖其他地方的 max-width 限制 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (max-width: 576px) {
  .xc-top-nav .container { padding-left: 12px; padding-right: 12px; }
}

/* 确保导航链接容器自动靠右且不换行 */
.xc-top-nav .nav-links {
  margin-left: auto;
  flex-wrap: nowrap;
}

/* 问卷横幅（与 XC 保持一致） */
.survey-banner { background: linear-gradient(90deg, #1e3a8a, #0ea5e9); border: 1px solid #1e3a8a; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
.survey-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.survey-text { display: flex; flex-direction: column; gap: 4px; }
.survey-banner .survey-title { font-weight: 650; font-size: 18px; }
.survey-banner .survey-desc { font-size: 14px; color: #e0f2fe; }
.survey-banner .survey-cta { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(14,165,233,0.70); color: #0b132b; background: #ffffff; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s ease; box-shadow: 0 0 0 2px rgba(14,165,233,0.20), 0 6px 16px rgba(14,165,233,0.20); }
.survey-banner .survey-cta:hover { transform: translateY(-1px); text-decoration: none; }
.survey-banner .survey-cta svg { width: 16px; height: 16px; }
@media (max-width: 576px) {
  .survey-banner { padding: 14px; }
  .survey-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .survey-text { gap: 6px; }
  .survey-banner .survey-title { font-size: 16px; }
  .survey-banner .survey-desc { font-size: 13px; }
  .survey-banner .survey-cta { width: 100%; justify-content: center; }
}

/* chip 标签（重点信息高亮） */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; border: 1px solid #e5e7eb; background: #fff; }
.chip .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent, #2563eb); }

/* 统一 Footer 样式 */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: 40px; }
.site-footer .container { max-width: min(1280px, 92vw); margin-left: auto; margin-right: auto; padding: 32px 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-col h5 { color: #e2e8f0; font-weight: 700; font-size: 1rem; margin-bottom: 0.75rem; margin-top: 0; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-text { margin: 0.35rem 0; color: #9ca3af; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.35rem 0; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #93c5fd; text-decoration: underline; }
.footer-qr { margin-top: 0; display: grid; grid-template-columns: 1fr; justify-items: center; align-items: start; gap: 8px; max-width: 460px; margin-left: auto; margin-right: auto; text-align: center; }
.footer-qr .qr-img { display:block; width:128px; height:128px; border-radius:8px; background:#fff; padding:4px; border:1px solid rgba(148,163,184,0.4); box-shadow: 0 2px 6px rgba(0,0,0,0.18); margin: 0 auto; }
.footer-qr .qr-caption { color:#94a3b8; font-size:0.9rem; line-height: 1.5; margin-top: 6px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,0.25); margin-top: 20px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-bottom small { color: #94a3b8; }
.footer-bottom small a { color: #94a3b8 !important; text-decoration: underline; }
.footer-bottom small a:hover { color: #94a3b8; text-decoration: underline; }
.footer-bottom .back-to-top { color: #cbd5e1; text-decoration: none; }
.footer-bottom .back-to-top:hover { color: #93c5fd; text-decoration: underline; }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .site-footer .container { padding: 24px 16px; } .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-qr .qr-img { width:112px; height:112px; } }

/* ===== 通用页面容器与元素（从 SH 模板迁移） ===== */
.container-narrow { max-width: 95%; width: 100%; margin: 24px auto 48px; padding: 0 20px; }
@media (min-width: 1200px) { .container-narrow { max-width: 90%; padding: 0 40px; } }
@media (min-width: 1600px) { .container-narrow { max-width: 85%; padding: 0 60px; } }

.page-header { background: #1e3a8a; border: 1px solid #1e3a8a; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; width: 100%; box-sizing: border-box; color: #fff; }
.page-header h3 { margin: 0; font-weight: 650; }
.badge-kv { font-size: 16px; color: #ffffff; }
.badge-kv .kv-label { color: #e0e7ff; }

.sticky-toolbar { position: fixed; top: 20px; right: 20px; z-index: 1000; gap: 8px; display: flex; justify-content: flex-end; align-items: center; }

.btn-soft { border: 1px solid #e5e7eb; background: #2563eb; color: #fff; padding: 10px 16px; border-radius: 8px; transition: all .2s ease; text-decoration: none; font-size: 14px; font-weight: 500; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); display: inline-flex; align-items: center; gap: 6px; }
.btn-soft:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); text-decoration: none; color: #fff; }

.content-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; box-shadow: 0 8px 22px rgba(0,0,0,0.05); width: 100%; box-sizing: border-box; }

.form-hint { color: #6b7280; font-size: 14px; }

/* 页面背景轻色（用于 SH 页面） */
.light-bg { background: #f7fafc; }

/* 审核首页：输入框与按钮同排居中 */
.review-inline-form {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 靠左对齐 */
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}
.review-inline-form input.form-control {
  width: 520px;
  max-width: 520px;
}
.review-inline-form button.btn {
  white-space: nowrap;
  padding-left: 18px;
  padding-right: 18px;
}
@media (max-width: 576px) {
  .review-inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .review-inline-form input.form-control { max-width: none; }
}

/* 审核首页：上传输入与提交按钮同排居中 */
.upload-inline-form {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 靠左对齐 */
  gap: 12px;
  width: 100%;
}
.upload-inline-form input.form-control {
  width: 520px;
  max-width: 520px;
}
.upload-inline-form button.btn {
  white-space: nowrap;
  padding-left: 18px;
  padding-right: 18px;
}

/* 统一按钮高度与垂直内边距，使两处按钮大小一致 */
.review-inline-form button.btn,
.upload-inline-form button.btn {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 48px;
  line-height: 1.25;
  font-size: 14px;
}

/* 页面主要内容容器文本左对齐 */
.content-card { text-align: left; }
@media (max-width: 576px) {
  .upload-inline-form { flex-direction: column; align-items: stretch; }
  .upload-inline-form input.form-control { max-width: none; }
}