.wce-summary { max-width: 300px; overflow-wrap: anywhere; line-height: 1.6; }
.wce-sub { margin-top: 4px; color: #6b7280; font-size: 12px; overflow-wrap: anywhere; }
.wce-badge { display: inline-flex; padding: 2px 8px; border-radius: 4px; color: #6b7280; background: #f3f4f6; font-size: 12px; font-weight: 700; }
.wce-badge.is-on { color: #166534; background: #dcfce7; }
#wechatConsultationEntryModal { pointer-events: auto; }
#wechatConsultationEntryModal [hidden] { display: none !important; }
#wechatConsultationEntryModal .wce-modal { width: min(720px, 96vw); max-width: 720px; max-height: 94vh; overflow-y: auto; box-sizing: border-box; border-radius: 8px; }
#wechatConsultationEntryModal .modal-header > div { min-width: 0; }
#wechatConsultationEntryModal .modal-title { overflow-wrap: anywhere; }
#wechatConsultationEntryModal .modal-close { flex: 0 0 auto; align-self: flex-start; }
#wechatConsultationEntryModal .wce-body { min-width: 0; }
#wechatConsultationEntryModal .wce-help { color: #6b7280; font-size: 12px; line-height: 1.7; margin: 8px 0 16px; overflow-wrap: anywhere; }
#wechatConsultationEntryModal .wce-toggle { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; margin-bottom: 20px; }
#wechatConsultationEntryModal .wce-toggle input { width: 18px; height: 18px; }
#wechatConsultationEntryModal .wce-field { display: block; font-weight: 700; font-size: 13px; color: #374151; }
#wechatConsultationEntryModal .wce-field input { display: block; width: 100%; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 4px; padding: 10px; margin-top: 8px; font: inherit; }
#wechatConsultationEntryModal .wce-service-note { padding: 12px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 4px; color: #475569; font-size: 13px; line-height: 1.8; }
#wechatConsultationEntryModal .wce-error { min-height: 20px; padding: 0 20px 8px; color: #dc2626; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
#wechatConsultationEntryModal .wce-version { margin-right: auto; color: #6b7280; font-size: 12px; align-self: center; }
#wechatConsultationEntryModal button:disabled { cursor: not-allowed; opacity: .6; }
@media (max-width: 600px) {
  #wechatConsultationEntryModal .modal-footer { display: flex; gap: 8px; flex-wrap: wrap; }
  #wechatConsultationEntryModal .wce-version { flex-basis: 100%; }
  #wechatConsultationEntryModal .modal-footer .btn { flex: 1 1 0; min-width: 0; }
}
