/* Word counter */
.wc-text { min-height: 280px; }
.wc-h { font-size: 19px; }
.wc-table-wrap { overflow-x: auto; }
.wc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wc-table th, .wc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.wc-table th { font-size: 13px; color: var(--muted); font-weight: 650; }
.wc-table td:first-child, .wc-table th:first-child { width: 36px; color: var(--muted); }
.wc-table td:nth-child(3), .wc-table td:nth-child(4), .wc-table th:nth-child(3), .wc-table th:nth-child(4) { text-align: right; white-space: nowrap; }
.wc-kw { font-weight: 600; word-break: break-word; }
.wc-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wc-limit-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.wc-limit-count { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wc-bar { height: 6px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; margin-top: 5px; }
.wc-bar span { display: block; height: 100%; width: 0; background: var(--violet); transition: width .15s; }
.is-near .wc-bar span { background: var(--warn); }
.is-near .wc-limit-count { color: var(--warn); }
.is-over .wc-bar span { background: var(--err); }
.is-over .wc-limit-count { color: var(--err); }
.wc-custom { gap: 10px; }
