/* Orbace Sudoku — canonical givens-entry grid styling (js/orbace-givens-grid.js).
 * Class names unchanged from the original admin.html-only implementation
 * (.pz-grid/.pz-cell/.pz-numpad/.pz-key), moved here so both admin.html and
 * the public Puzzle Challenge page can load one stylesheet instead of
 * duplicating rules.
 *
 * Palette/type match the Puzzle Challenge design mockup exactly
 * (~/Downloads/puzzle-challenge-flow.html's SudokuGrid.dc.html artboard,
 * 2026-08-28) — the same editorial palette as the API spec doc: paper
 * #ece6d8, line-strong #c7bea6, ink #24271f, jade #3e6259 (given digits,
 * selected/checked states), seal #a23b2e (selected-cell highlight). Cell
 * borders are set inline per-cell by orbace-givens-grid.js (color AND
 * width, for the thick ink-colored 3x3 box boundaries vs. thin line-strong
 * regular grid lines) — this file only supplies the fallback/base look.
 */
.pz-grid {
  display: grid;
  grid-template-columns: repeat(9, 30px);
  grid-template-rows: repeat(9, 30px);
  border: 2px solid #24271f;
  width: max-content;
  margin: 0 auto;
}
.pz-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  color: #24271f;
  background: #ece6d8;
  cursor: pointer;
  user-select: none;
}
.pz-cell:focus-visible {
  outline: 2px solid #3e6259;
  outline-offset: -2px;
}
.pz-cell-selected {
  background: rgba(162, 59, 46, 0.14);
}
.pz-cell-given {
  color: #3e6259;
  font-weight: 600;
}
.pz-numpad {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 6px;
}
.pz-key {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  padding: 9px 0;
  border: 1px solid #c7bea6;
  border-radius: 2px;
  background: #ece6d8;
  color: #24271f;
  cursor: pointer;
}
.pz-key:hover {
  background: #e3dcc9;
}
.pz-key-wide {
  grid-column: span 2;
}
