/* Word search maker: form extras, preview toolbar, multi-page print. */
.ws-tool textarea { width: 100%; min-height: 220px; padding: 9px 10px; font: inherit; font-size: 14px; line-height: 1.5; text-transform: uppercase; border: 1px solid var(--rule); background: #fff; resize: vertical; box-sizing: border-box; }
.ws-tool .tool-form input[name="title"] { text-transform: none; }
.ws-tool .tool-form select { flex: 1; max-width: 190px; padding: 8px 10px; font: inherit; border: 1px solid var(--rule); background: #fff; }
.ws-tool .tool-form label.ws-stack { display: grid; gap: 6px; justify-content: stretch; }
.ws-hint { margin: 0; font-size: 13px; color: var(--ink-2); }
.ws-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-actions .button[disabled] { opacity: .45; cursor: not-allowed; }
.ws-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.ws-status { margin: 0; font-size: 13px; color: var(--ink-2); min-height: 1.4em; }
.ws-status.ws-error { color: #8a1f11; font-weight: 600; }
.ws-tool [hidden] { display: none !important; }
@media print {
  .print-sheet.ws-sheet svg { break-after: page; page-break-after: always; }
  .print-sheet.ws-sheet svg:last-child { break-after: auto; page-break-after: auto; }
}
.ws-tool .tool-form label:has(input[type="checkbox"]) { justify-content: flex-start; }
