/* Stop and check (js/tools/stop-check.js). The card that opens over the whole
   screen is the shared one (js/show-card.js, styled in styles.css). */

#tool-stop-check .sk-title { margin: 0 0 14px; }

/* Two columns everywhere, so no button ever changes place; smaller than Show
   a card's tiles, so ten fit a phone with little scrolling. */
#tool-stop-check .sk-asks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
#tool-stop-check .sk-asks li { display: flex; min-width: 0; }
#tool-stop-check .sk-ask {
  flex: 1;
  min-width: 0;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  color: var(--color-text);
  background: #fff;
  border: 3px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
#tool-stop-check .sk-ask:active { background: #fdecea; }
#tool-stop-check .sk-ask img {
  display: block;
  flex: none;
  width: 60px;
  height: 60px;
  object-fit: contain;
}
html[data-pictures-only] #tool-stop-check .sk-ask img { width: 84px; height: 84px; }

@media (min-width: 600px) {
  #tool-stop-check .sk-ask { min-height: 160px; font-size: 22px; }
  #tool-stop-check .sk-ask img { width: 84px; height: 84px; }
}
