.wts-summary { max-width: 280px; line-height: 1.55; overflow-wrap: anywhere; }
.wts-sub { margin-top: 4px; color: #6b7280; font-size: 12px; overflow-wrap: anywhere; }
.wts-badge { display: inline-flex; padding: 2px 8px; border-radius: 4px; background: #f3f4f6; color: #6b7280; font-size: 12px; font-weight: 700; }
.wts-badge.is-on { background: #dcfce7; color: #166534; }
#wechatTechnicalSupportModal { pointer-events: auto; }
#wechatTechnicalSupportModal .wts-modal { width: min(1240px, 96vw); max-width: 1240px; border-radius: 8px; }
.wts-header-meta { margin-top: 3px; color: #6b7280; font-size: 12px; }
.wts-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); gap: 18px; max-height: 70vh; overflow: hidden; }
.wts-editor, .wts-preview { min-width: 0; overflow-y: auto; padding-right: 4px; }
.wts-preview { border-left: 1px solid #e5e7eb; padding-left: 18px; }
.wts-settings { display: flex; align-items: end; gap: 14px; margin-bottom: 12px; }
.wts-title-field { flex: 1; color: #374151; font-size: 13px; font-weight: 700; }
.wts-title-field input, .wts-image-fields input, .wts-block textarea { box-sizing: border-box; width: 100%; margin-top: 5px; border: 1px solid #d1d5db; border-radius: 4px; padding: 8px 10px; font: inherit; }
.wts-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; color: #374151; font-size: 13px; font-weight: 700; }
.wts-toggle input { width: 17px; height: 17px; }
.wts-toolbar { display: flex; gap: 8px; margin-bottom: 10px; }
.wts-block { border-top: 1px solid #e5e7eb; padding: 12px 0; }
.wts-block-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #111827; font-size: 13px; }
.wts-order { display: flex; gap: 5px; }
.wts-icon { width: 30px; height: 30px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; color: #374151; cursor: pointer; font-size: 16px; }
.wts-icon.is-danger { color: #dc2626; }
.wts-block textarea { min-height: 102px; resize: vertical; line-height: 1.6; }
.wts-image-edit { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; }
.wts-image-frame, .wts-preview-frame { display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #d1d5db; background: #f8fafc; color: #94a3b8; }
.wts-image-frame { height: 118px; }
.wts-image-frame img, .wts-preview-frame img { width: 100%; height: 100%; object-fit: contain; display: none; }
.wts-image-fields { display: grid; gap: 8px; }
.wts-image-fields label { color: #4b5563; font-size: 12px; font-weight: 600; }
.wts-preview-label { color: #6b7280; font-size: 12px; font-weight: 700; }
.wts-preview h3 { margin: 8px 0 3px; color: #111827; font-size: 20px; letter-spacing: 0; }
.wts-preview-state { margin-bottom: 14px; color: #6b7280; font-size: 12px; }
.wts-preview-text { padding: 10px 0; color: #111827; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.wts-preview-image { margin: 10px 0 16px; }
.wts-preview-frame { min-height: 150px; max-height: 330px; }
.wts-preview-frame img { max-height: 330px; }
.wts-preview-image figcaption { margin-top: 6px; color: #6b7280; font-size: 12px; line-height: 1.5; }
.wts-empty { padding: 28px 12px; color: #9ca3af; text-align: center; }
.wts-error { min-height: 20px; padding: 0 20px 6px; color: #dc2626; font-size: 13px; overflow-wrap: anywhere; }
.wts-version { margin-right: auto; color: #6b7280; font-size: 12px; }
@media (max-width: 900px) {
  .wts-body { grid-template-columns: 1fr; overflow-y: auto; }
  .wts-editor, .wts-preview { overflow: visible; }
  .wts-preview { border-left: 0; border-top: 1px solid #e5e7eb; padding: 16px 0 0; }
}
@media (max-width: 600px) {
  #wechatTechnicalSupportModal .modal-footer { display: flex; flex-wrap: wrap; gap: 8px; }
  #wechatTechnicalSupportModal .modal-footer .wts-version { flex: 0 0 100%; margin-right: 0; }
  #wechatTechnicalSupportModal .modal-footer .btn { flex: 1 1 calc(50% - 8px); min-width: 0; white-space: nowrap; }
}
