/* Check-in history: stable three-column layout in every viewport and theme. */
#receptionEntryResult .reception-day-badges,
#receptionEntryResult .entry-checkin-history {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 390px !important;
  margin: 18px auto 14px !important;
}

#receptionEntryResult .reception-day-badge,
#receptionEntryResult .entry-checkin-history > span {
  position: static !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 9px !important;
  margin: 0 !important;
  border: 1px solid #d4ded7 !important;
  border-radius: 13px !important;
  background: #edf1ee !important;
  color: #69766f !important;
  font: 800 13px/1 Outfit, sans-serif !important;
  text-align: center !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  transform: none !important;
  overflow: hidden !important;
}

#receptionEntryResult .reception-day-badge.done,
#receptionEntryResult .entry-checkin-history > span.done {
  border-color: #8fcea0 !important;
  background: #e8f7eb !important;
  color: #18733b !important;
}

#receptionEntryResult .entry-checkin-history > span b {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  white-space: nowrap !important;
}

html[data-theme="dark"] #receptionEntryResult .reception-day-badge,
html[data-theme="dark"] #receptionEntryResult .entry-checkin-history > span {
  border-color: #46545d !important;
  background: #172128 !important;
  color: #b6c1c5 !important;
}

html[data-theme="dark"] #receptionEntryResult .reception-day-badge.done,
html[data-theme="dark"] #receptionEntryResult .entry-checkin-history > span.done {
  border-color: #3f8a56 !important;
  background: #183525 !important;
  color: #c1efcc !important;
}

@media (max-width: 420px) {
  #receptionEntryResult .reception-day-badges,
  #receptionEntryResult .entry-checkin-history {
    gap: 6px !important;
  }

  #receptionEntryResult .reception-day-badge,
  #receptionEntryResult .entry-checkin-history > span {
    height: 42px !important;
    min-height: 42px !important;
    padding-inline: 5px !important;
    font-size: 12px !important;
  }
}
