/* Free word-cloud tool (paper page). Tokens only. */
.wc { display: grid; gap: var(--s-6); padding-block: var(--s-5) var(--s-4); max-width: 52rem; } /* left edge on the header line (visual-v2 §1.7) */
.wc-head p { margin: 0; }
.wc-form { display: grid; gap: var(--s-4); }
.wc textarea { min-height: 13rem; padding: var(--s-4); line-height: 1.55; }
.wc-count { text-align: right; margin: var(--s-2) 0 0; }
.wc-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.wc-result { display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
.wc-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.3em 1.5em;
  margin: 0; padding: var(--s-6) var(--s-5); list-style: none; line-height: 1.15;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-2);
  font-family: var(--f-display); font-variation-settings: var(--opsz-sub);
  color: color-mix(in srgb, var(--c-ink) 62%, var(--c-bar));
}
.wc-word { font-weight: 500; white-space: nowrap; word-spacing: 0.04em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.wc-word--heavy { font-weight: 600; color: var(--c-ink); }
.wc-word--lead { color: var(--c-accent); font-weight: 650; }
.wc-total { margin: 0; text-align: center; max-width: none; color: var(--c-ink-2); }
.wc-tables { display: grid; gap: var(--s-4) var(--s-6); }
@media (min-width: 48rem) { .wc-tables { grid-template-columns: 1fr 1fr; align-items: start; } }
.wc-foot { margin: 0; }
.wc-head h1 { font: 560 var(--t-h2)/1.08 var(--f-display); font-variation-settings: var(--opsz-display); letter-spacing: -0.02em; margin: 0 0 var(--s-3); text-wrap: balance; }
.wc-head .doc__sub { font-size: var(--t-lead); }
