/* Puzzle and worksheet kit (client/puzzle-kit.js, views/_puzzle-kit.cjs), bundle 2A (2026-10-16). Owner: bundle 2A.
 * Word search, crossword, multiplication worksheets and flashcards share the sheet options, the result panel and the
 * online play panel. The page preview and the print surface come from css/_print-kit.css. Borders: 1px hairline. */
#visu-tools .vt-pz-sheet { align-items: center; }
#visu-tools .vt-pz-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
#visu-tools .vt-pz-title { margin-top: 16px; display: grid; }
#visu-tools .vt-pz-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--vt-line); background: var(--vt-bg); margin-bottom: 10px; }
/* !important: the theme styles bare <button> elements (colour, padding, radius). */
#visu-tools .vt-pz-tab { min-height: 38px !important; margin: 0 !important; padding: 6px 14px !important; border-radius: 9px !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--vt-muted) !important; font: 600 14.5px/1.2 inherit !important; cursor: pointer; }
#visu-tools .vt-pz-tab[aria-pressed="true"] { background: #fff !important; color: var(--vt-ink) !important; box-shadow: 0 0 0 1px var(--vt-line-2) !important; }
#visu-tools .vt-pz-tab:disabled { opacity: .45; cursor: default; }
#visu-tools .vt-pz-stage { min-height: 320px; }
#visu-tools #vt-pz-out:not([hidden]) { display: grid; gap: 12px; margin-top: 12px; }
#visu-tools .vt-pz-pager:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 15px; font-weight: 600; color: var(--vt-ink); font-variant-numeric: tabular-nums; }
#visu-tools .vt-pz-step { width: 44px !important; height: 44px; min-height: 0 !important; margin: 0 !important; padding: 0 0 3px !important; border-radius: 50% !important; border: 1px solid var(--vt-line-2) !important;
  background: #fff !important; box-shadow: none !important; color: var(--vt-ink) !important; font: 500 24px/1 inherit !important; cursor: pointer; }
#visu-tools .vt-pz-step:disabled { opacity: .35; cursor: default; }
#visu-tools .vt-pz-shared { padding: 10px 14px; border-radius: 12px; background: var(--vt-tint); font-size: 14px; }
#visu-tools .vt-pz-facts { font-size: 14.5px; color: var(--vt-text); }
#visu-tools .vt-pz-proof .vt-kv { grid-template-columns: 110px minmax(0, 1fr); }
#visu-tools .vt-pz-linkbox:not([hidden]) { display: grid; gap: 6px; }
#visu-tools .vt-pz-linkbox input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 13px !important; color: var(--vt-muted) !important; text-overflow: ellipsis; }
#visu-tools .vt-pz-count { font-size: 14px; color: var(--vt-muted); }
#visu-tools .vt-pz-problem { margin-top: 14px !important; }
#visu-tools .vt-pz-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: end; margin-top: 16px; }
#visu-tools .vt-pz-row .vt-field { width: 160px; }
#visu-tools .vt-pz-row .vt-check { min-height: 46px; }
#visu-tools .vt-pz-wordsbox { display: grid; gap: 6px; }
#visu-tools .vt-pz-themes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#visu-tools .vt-pz-theme { min-height: 34px !important; margin: 0 !important; padding: 4px 12px !important; border-radius: 999px !important; border: 1px solid var(--vt-line-2) !important; background: #fff !important;
  box-shadow: none !important; color: var(--vt-ink) !important; font: 500 14px/1.2 inherit !important; cursor: pointer; }
#visu-tools .vt-pz-theme:hover { border-color: var(--vt-ink) !important; }
#visu-tools .vt-pz-app .vt-in > .vt-actions { margin-top: 18px; }
/* Online play: full width under the two panels. */
#visu-tools .vt-pz-play { grid-column: 1 / -1; display: grid; gap: 14px; }
#visu-tools .vt-pz-play-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
#visu-tools .vt-pz-play-stat { font-size: 15px; font-weight: 600; color: var(--vt-ink); font-variant-numeric: tabular-nums; }
#visu-tools .vt-pz-done { padding: 10px 14px; border-radius: 12px; background: var(--vt-tint); color: var(--vt-accent-text); font-weight: 650; font-size: 15px; }
/* The result panel is not sticky: the play panel sits under it in the same grid and a sticky panel would slide over it. */
#visu-tools .vt-pz-app .vt-out { position: static; }
@media (max-width: 600px) {
  #visu-tools .vt-pz-row .vt-field { width: 130px; }
  #visu-tools .vt-pz-stage { min-height: 240px; }
}
