/* Entry states override general theme buttons, including disabled tickets. */
#detail .r2-entry-grid { gap: 8px; padding: 6px; }
#detail .r2-entry-grid button {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: auto;
  min-height: 66px;
  min-width: 0;
  padding: 8px 3px;
}
#detail .r2-entry-grid .entry-number { font-size: 16px; line-height: 1.2; }
#detail .r2-entry-grid .entry-holder {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  color: inherit;
}
#detail .r2-entry-grid .entry-holder[hidden] { display: none; }
#info-modal .entry-holder-full { overflow-wrap: anywhere; font-size: 18px; }
#detail .r2-entry-grid button:is(.chosen,.pending) {
  background: linear-gradient(135deg,#ffffff 0%,#dce2e8 45%,#aebbc8 100%);
  color: #172635;
  border: 2px solid #718395;
  box-shadow: inset 0 1px 2px #ffffff, 0 0 0 1px #d5dee8, 0 0 12px 2px #aabbd9b3;
  opacity: 1;
  font-weight: 800;
  outline: none;
}
#detail .r2-entry-grid button.chosen { border-style: dashed; }
#detail .r2-entry-grid button.confirmed {
  background: linear-gradient(135deg,#fff0b8 0%,#f1cb68 45%,#d7a436 100%);
  color: #352407;
  border: 2px solid #a9791b;
  box-shadow: inset 0 1px 2px #fff6d3, 0 0 0 1px #f9d876, 0 0 12px 2px #eab940a6;
  opacity: 1;
  font-weight: 800;
  outline: none;
}
#detail .r2-entry-grid button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
