/* Word & character counter - a live stats grid above a single text area.
   Reuses base .btn-outline; colors come from theme tokens only. */

/* Stat cards: responsive grid that wraps as it narrows. */
.wc-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px; margin-bottom: 20px;
}
.wc-stat {
    display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.wc-num {
    font-size: 26px; font-weight: 700; color: var(--accent);
    font-variant-numeric: tabular-nums; line-height: 1.1;
}
.wc-label { font-size: 13px; color: var(--muted); font-weight: 600; }

.wc-pane-label {
    display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 6px;
}
.wc-area {
    width: 100%; box-sizing: border-box; min-height: 280px; resize: vertical;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
    font-size: 15px; line-height: 1.6; padding: 14px;
    color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px;
}
.wc-area:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.wc-actions { margin: 16px 0 0; }
