/* Word Search Maker: the grid and word list on the sheet, and the theme and word inputs. The sheets, controls and print
   rules are shared: puzzles/assets/printable.css. */

.pz-word-options { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 14px 22px; margin-top: 16px; }
.pz-word-options label { display: block; margin-bottom: 6px; color: var(--text-primary, #E6EDF3); font-weight: 600; }
.pz .pz-word-options select, .pz .pz-word-options textarea { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid var(--border, #2A2F36); border-radius: 10px; background: #111827; color: var(--text-primary, #E6EDF3); font: inherit; }
.pz .pz-word-options select { min-height: 44px; }
.pz .pz-word-options textarea { min-height: 76px; resize: vertical; }
.pz-word-custom .pz-btn { margin-top: 10px; }

.pz-word-grid { display: block; width: 84%; height: auto; aspect-ratio: 1; margin: 0 auto; }
.pz-answer-sheet .pz-word-grid { margin: auto; }
.pz-word-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px 12px; width: 100%; margin: 3% 0 0; padding: 0; list-style: none; color: #111; font-size: clamp(0.62rem, 1.8vw, 0.86rem); }
.pz .pz-sheet .pz-word-list li { color: #111 !important; overflow-wrap: anywhere; }

@media (max-width: 760px) {
    .pz-word-options { grid-template-columns: 1fr; }
}

@media print {
    .pz-word-grid { width: 150mm; }
    .pz-word-list { font-size: 11pt; }
}
