/* compliance-footer.css - 主站统一合规页脚样式 */
/* ID: compliance-footer-css-2026.07.29 */
.compliance-footer {
  margin-top: 32px;
  padding: 24px 16px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  color: #475569;
  text-align: center;
  line-height: 1.7;
}
.cf-inner { max-width: 1100px; margin: 0 auto; }
.cf-beian-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 18px; margin-bottom: 12px;
  font-weight: 500;
}
.cf-icp a, .cf-police a { color: #475569; text-decoration: none; }
.cf-icp a:hover, .cf-police a:hover { color: #0F172A; text-decoration: underline; }
.cf-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

.cf-algo { display: inline-flex; align-items: center; gap: 6px; }
.cf-algo a { color: #475569; text-decoration: none; }
.cf-algo a:hover { color: #0F172A; text-decoration: underline; }
.cf-algo-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
}
.cf-algo-pending {
  background: #F0F9FF;
  color: #075985;
  border: 1px solid rgba(0,184,255,0.25);
  animation: cf-pulse 2.5s ease-in-out infinite;
}
.cf-algo-approved {
  background: #F0F9FF;
  color: #075985;
  border: 1px solid rgba(0,184,255,0.25);
}
@keyframes cf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.cf-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px; margin: 12px 0;
  padding: 10px 0;
  border-top: 1px dashed #E2E8F0;
  border-bottom: 1px dashed #E2E8F0;
}
.cf-links a {
  color: #475569;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.cf-links a:hover { background: #e2e8f0; color: #1e293b; }

.cf-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 16px; color: #64748b; font-size: 12px;
}
.cf-contact { font-family: "SF Mono", Consolas, monospace; }

@media (max-width: 600px) {
  .compliance-footer { padding: 18px 12px; font-size: 12px; }
  .cf-beian-row { gap: 6px 12px; }
  .cf-links { gap: 4px 10px; }
}

/* [2026-08-17 PMID link] 蓝色 PubMed 链接样式 */
a.pmid-link {
    color: #2563eb !important;
    text-decoration: underline !important;
    font-weight: 500;
}
a.pmid-link:hover {
    color: #1d4ed8 !important;
    background: #dbeafe;
    text-decoration: underline !important;
}
a.pmid-link:visited {
    color: #7c3aed !important;
}

/* === [PATCH 2026-08-26] Intent Parse + Multi-Round Display === */
.iparse-card {
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #1e40af;
}
.iparse-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.iparse-icon { font-size: 18px; }
.iparse-title {
  font-weight: 700;
  font-size: 14px;
  color: #1e3a8a;
}
.iparse-understanding {
  color: #1e40af;
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 13px;
}
.ipico-concepts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.ipico-chip {
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  border: 1px solid #bfdbfe;
}
.ipico-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.ipico-label { font-weight: 600; color: #4338ca; }
.ipico-val { color: #1e3a8a; }
.ipico-sep { color: #a5b4fc; font-weight: 300; }
.iparse-plan-header {
  font-weight: 600;
  color: #3730a3;
  margin-bottom: 6px;
  font-size: 13px;
  border-top: 1px solid #c7d2fe;
  padding-top: 8px;
  margin-top: 4px;
}
.ipico-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.ipico-plan-table th {
  background: #e0e7ff;
  color: #3730a3;
  padding: 4px 8px;
  text-align: left;
  font-weight: 600;
}
.ipico-plan-table td {
  padding: 4px 8px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.ipico-plan-name {
  color: #4338ca;
  font-weight: 600;
  white-space: nowrap;
  background: #f5f3ff;
}
.ipico-plan-query {
  color: #374151;
  font-family: "Courier New", monospace;
  font-size: 11px;
  word-break: break-all;
}
/* round_search step extras */
.rnd-topic { color: #1e40af; font-weight: 600; }
.rnd-hits { color: #059669; }
.rnd-total { color: #0891b2; }
.step-query { color: #94a3b8; font-family: "Courier New", monospace; font-size: 11px; display: block; margin-top: 2px; }
/* === END PATCH 2026-08-26 === */
