/**
 * Biotiki Schulte — экранный вид поля (по make_stimulus_screen.py):
 * плитка #e0e0e0, ячейка 60px, gap 5px, радиус 5px, цифра 20px, поле 330px.
 */

.schulte-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: Manrope, Arial, sans-serif;
}

.schulte-instruction { margin: 8px 0; }

.schulte-field-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 16px auto;
}

.schulte-grid {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  grid-template-rows: repeat(5, 60px);
  gap: 5px;
  width: 320px;
  height: 320px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.schulte-cell {
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  border-radius: 5px;
  font-size: 20px;
  color: #111;
  cursor: pointer;
  user-select: none;
  transition: background .12s;
}

.schulte-cell.hint-cell { background: #ffff00 !important; }

.schulte-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.schulte-hint {
  text-align: center;
  color: #000;
  font-weight: bold;
  min-height: 20px;
}

/* Кнопки — в стиле ядра (бренд-зелёный) */
.schulte-start-btn,
.schulte-next-start-btn,
.schulte-retry-btn,
.schulte-continue-btn,
.schulte-restart-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: #6BCB77;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.schulte-restart-btn { background: #f2f2f2; color: #111; border: 1px solid #ddd; }
.schulte-stop-btn {
  padding: 9px 26px;
  border: none;
  border-radius: 6px;
  background: #c0392b;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.schulte-stop-btn:hover { filter: brightness(.95); }
.schulte-start-btn:hover,
.schulte-next-start-btn:hover,
.schulte-retry-btn:hover,
.schulte-continue-btn:hover { filter: brightness(.96); }

.schulte-results th,
.schulte-results td {
  border: 1px solid #ccc;
  padding: 6px 14px;
  text-align: center;
}
.schulte-results th { background: #f8f8f8; }
