/* 总评 */
.verdict {
  margin-top: 24px; padding: 20px; border-radius: 12px;
  border: 1.5px solid; text-align: center; margin-bottom: 20px;
}
.verdict-icon-row { display: flex; justify-content: center; margin-bottom: 12px; }
.verdict-status-tag {
  color: #fff; padding: 4px 16px; border-radius: 20px;
  font-size: 16px; font-weight: 800;
}
.verdict-text { font-size: 18px; font-weight: 700; margin-top: 4px; }
.verdict-detail { font-size: 13px; color: #666; margin-top: 6px; }
.verdict-stats { font-size: 12px; color: #aaa; margin-top: 4px; }

/* 分组 */
.section { margin-bottom: 16px; }
.section-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }

/* 卡片 */
.card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background: #fff; border-radius: 8px;
  margin-bottom: 4px; border: 1px solid #e5e7eb;
}
.card-red { border-color: #fee2e2; }
.card-green { border-color: #dcfce7; }
.card-unknown { border-color: #e5e7eb; }
.card-caution { border-color: #fef3c7; }
.card-filler { border-color: #f0f0f0; }

.card-left { flex: 1; min-width: 0; overflow: hidden; }
.card-name { font-size: 14px; }
.card-en { font-size: 11px; color: #999; margin-left: 6px; }
.card-name-gray { font-size: 13px; color: #888; }
.card-name-muted { font-size: 14px; color: #666; }
.card-risk-desc { font-size: 11px; color: #999; margin-top: 2px; }

/* 标签 */
.badge {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  margin-left: 8px; font-weight: 600; white-space: nowrap;
}
.badge-feed { background: #fef2f2; color: #dc2626; }
.badge-irritant { background: #fff7ed; color: #c2410c; }
.badge-good { background: #f0fdf4; color: #16a34a; }
.badge-caution { background: #fffbeb; color: #d97706; }
.badge-filler { background: #f5f5f5; color: #999; }

/* 折叠标题 */
.section-toggle {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; cursor: pointer;
}
.toggle-arrow { font-size: 12px; color: #aaa; }

/* 未识别操作 */
.unknown-action {
  margin-top: 8px; padding: 10px; border-radius: 8px;
  border: 1.5px dashed #ccc; text-align: center;
  font-size: 13px; color: #666; background: #fafafa; cursor: pointer;
}

/* 弹窗 */
.modal-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.modal-content {
  width: 85%; max-width: 400px; background: #fff; border-radius: 14px;
  padding: 24px 20px;
}
.modal-title { font-size: 17px; font-weight: 700; text-align: center; }
.modal-hint { font-size: 12px; color: #999; text-align: center; margin-top: 4px; margin-bottom: 12px; }
.modal-scroll {
  max-height: 300px; overflow-y: auto; padding: 12px;
  background: #f5f5f5; border-radius: 8px;
}
.modal-item {
  font-size: 13px; line-height: 2; color: #333;
  border-bottom: 1px solid #eee; padding: 2px 0;
}
.modal-item:last-child { border-bottom: none; }
.modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.modal-btn {
  flex: 1; padding: 12px; border-radius: 10px;
  text-align: center; font-size: 15px; font-weight: 600; cursor: pointer;
}
.modal-btn-copy { background: var(--accent, #1a1a1a); color: #fff; }
.modal-btn-close { background: #f0f0f0; color: #666; }

/* 封闭性警告 */
.occlusion-warning {
  margin-bottom: 16px; padding: 14px 16px;
  background: #fffbeb; border: 1.5px solid #f59e0b30;
  border-radius: 10px;
}
.occlusion-title { font-size: 14px; font-weight: 600; color: #d97706; margin-bottom: 4px; }
.occlusion-body { font-size: 12px; color: #92400e; line-height: 1.6; }

/* 底部说明 */
.footer-section {
  margin-top: 20px; padding: 16px;
  background: #fff; border-radius: 10px; border: 1px solid #f0f0f0;
}
.footer-title { font-size: 13px; font-weight: 600; color: #666; margin-bottom: 8px; }
.footer-body { font-size: 11px; color: #999; line-height: 1.8; }
.footer-line { margin-bottom: 4px; }
.footer-ref { margin-bottom: 6px; line-height: 1.6; }
