/* Word Counter (namespaced .wc-*) */
.wc-stats { margin-bottom: 16px; }
.wc-stats .stat b { font-size: 24px; line-height: 1.2; }
.wc-stats .stat span { display: block; font-weight: 600; }
.wc-stats .stat small { color: var(--faint); font-size: 12px; }
.wc-cols textarea { min-height: 300px; font-size: 16px; line-height: 1.6; }
.wc-case-label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.wc-case .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.wc-kw h2, .wc-card-title { margin: 0 0 4px; font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.wc-hint { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.wc-kw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wc-kw-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.wc-kw-word { font-weight: 700; overflow-wrap: anywhere; }
.wc-kw-n { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wc-meter { height: 6px; margin-top: 4px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.wc-meter span { display: block; height: 100%; background: var(--cat); border-radius: inherit; }
.result .wc-card-title { margin-top: 10px; }
.wc-limits { list-style: none; margin: 0 0 8px; padding: 0; }
.wc-limit { padding: 12px 0; border-bottom: 1px solid #F0EDE6; }
.wc-limit:last-child { border-bottom: 0; }
.wc-limit-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wc-limit-rule { color: var(--muted); font-size: 13px; flex: 1 1 auto; }
.wc-limit small { color: var(--muted); font-size: 13px; }
.wc-pill { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.wc-limit.is-ok .wc-pill { background: #DCFAE6; color: var(--good); }
.wc-limit.is-over .wc-pill { background: #FDE7E4; color: var(--bad); }
.wc-limit.is-ok .wc-meter span { background: var(--good); }
.wc-limit.is-over .wc-meter span { background: var(--bad); }
