/* Crossword maker: form extras, preview toolbar, multi-page print. */
.cw-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; }
.cw-tool .tool-form input[name="title"] { text-transform: none; }
.cw-tool .tool-form select { flex: 1; max-width: 190px; padding: 8px 10px; font: inherit; border: 1px solid var(--rule); background: #fff; }
.cw-tool .tool-form label.cw-stack { display: grid; gap: 6px; justify-content: stretch; }
.cw-hint { margin: 0; font-size: 13px; color: var(--ink-2); }
.cw-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cw-actions .button[disabled] { opacity: .45; cursor: not-allowed; }
.cw-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.cw-status { margin: 0; font-size: 13px; color: var(--ink-2); min-height: 1.4em; }
.cw-status.cw-error { color: #8a1f11; font-weight: 600; }
.cw-tool [hidden] { display: none !important; }
@media print {
  .print-sheet.cw-sheet svg { break-after: page; page-break-after: always; }
  .print-sheet.cw-sheet svg:last-child { break-after: auto; page-break-after: auto; }
}
.cw-tool .tool-form label:has(input[type="checkbox"]) { justify-content: flex-start; }
.cw-tool textarea { text-transform: none; min-height: 280px; font-size: 13px; }
.cw-tool .tool-form label:has(input[type="radio"]:disabled) { color: var(--muted, #8c8c8c); }
.cw-bm-note { margin: -4px 0 0 26px; font-size: 12px; color: var(--ink-2); }
.cw-tool .tool-form select[name="preset"] { max-width: 230px; min-width: 0; }
