/* DigestPress Word Counter — clean, mobile-friendly, matches a light editorial site. */
.dwc-wrap { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.55; color: #1f2937; }
.dwc-intro { color: #4b5563; margin: 0 0 20px; }

.dwc-panel { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin: 0 0 24px; }

.dwc-panel textarea { width: 100%; min-height: 220px; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; line-height: 1.6; background: #fff; color: #111827; resize: vertical; font-family: inherit; }

.dwc-actions { display: flex; gap: 10px; margin: 12px 0 16px; }
.dwc-btn { padding: 9px 18px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; background: #1d4ed8; color: #fff; }
.dwc-btn:hover { background: #1e40af; }
.dwc-btn-secondary { background: #e5e7eb; color: #374151; }
.dwc-btn-secondary:hover { background: #d1d5db; }

.dwc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .dwc-stats { grid-template-columns: 1fr 1fr; } }
.dwc-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 8px; text-align: center; }
.dwc-stat-label { display: block; font-size: 12px; color: #6b7280; font-weight: 600; }
.dwc-stat-value { display: block; font-size: 19px; font-weight: 700; color: #111827; margin-top: 2px; word-break: break-word; }

.dwc-density { margin-top: 18px; }
.dwc-density[hidden] { display: none; }
.dwc-density-title { font-size: 16px; margin: 0 0 8px; color: #111827; }
.dwc-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.dwc-table th, .dwc-table td { border: 1px solid #e5e7eb; padding: 8px 12px; text-align: left; }
.dwc-table th { background: #f3f4f6; color: #111827; }
.dwc-table td { color: #374151; }

.dwc-support { margin-top: 36px; border-top: 1px solid #e5e7eb; padding-top: 8px; }
.dwc-support h2 { font-size: 22px; margin: 28px 0 10px; color: #111827; }
.dwc-support h3 { font-size: 17px; margin: 18px 0 6px; color: #111827; }
.dwc-support p { color: #374151; margin: 10px 0; }
.dwc-support ul { color: #374151; }
.dwc-support code { background: #f3f4f6; border-radius: 4px; padding: 1px 5px; font-size: 14px; }
.dwc-table2 { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.dwc-table2 th, .dwc-table2 td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; }
.dwc-table2 th { background: #f9fafb; color: #111827; }
.dwc-table2 td { color: #374151; }
