page {
  height: 100%;
  overflow: hidden;
  background: #f5f7fb;
}

.admin-checkin-page {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f7fb;
}

.admin-checkin-scroll {
  height: 100vh;
  box-sizing: border-box;
}

.admin-checkin-header {
  padding: 30rpx 30rpx 18rpx;
  background: #ffffff;
  border-bottom: 1rpx solid #e5eaf2;
}

.admin-checkin-header__title {
  display: block;
  color: #111827;
  font-size: 38rpx;
  font-weight: 860;
  line-height: 1.32;
}

.admin-checkin-header__meta {
  display: block;
  margin-top: 8rpx;
  color: #667085;
  font-size: 24rpx;
  line-height: 1.5;
}

.admin-checkin-section {
  margin-top: 18rpx;
  padding: 24rpx 30rpx;
  background: #ffffff;
  border-top: 1rpx solid #e8edf5;
  border-bottom: 1rpx solid #e8edf5;
  box-sizing: border-box;
}

.admin-checkin-section--results {
  padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
}

.admin-checkin-section__label {
  display: block;
  color: #344054;
  font-size: 26rpx;
  font-weight: 840;
  line-height: 1.4;
}

.admin-checkin-section__hint {
  display: block;
  margin-top: 12rpx;
  color: #7c8798;
  font-size: 23rpx;
  line-height: 1.5;
}

.admin-checkin-picker {
  min-height: 108rpx;
  margin-top: 18rpx;
  padding: 20rpx 22rpx;
  display: flex;
  align-items: center;
  gap: 18rpx;
  border: 1rpx solid #d8e1ee;
  border-radius: 12rpx;
  background: #fbfcff;
  box-sizing: border-box;
}

.admin-checkin-picker__main {
  min-width: 0;
  flex: 1;
}

.admin-checkin-picker__title {
  display: block;
  color: #111827;
  font-size: 29rpx;
  font-weight: 820;
  line-height: 1.38;
}

.admin-checkin-picker__title.muted {
  color: #98a2b3;
}

.admin-checkin-picker__meta {
  display: block;
  margin-top: 8rpx;
  color: #667085;
  font-size: 23rpx;
  line-height: 1.45;
}

.admin-checkin-picker__arrow {
  flex: none;
  color: #123e7c;
  font-size: 24rpx;
  font-weight: 820;
}

.admin-checkin-tabs {
  margin-top: 18rpx;
  padding: 6rpx;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rpx;
  border: 1rpx solid #d8e1ee;
  border-radius: 12rpx;
  background: #f3f6fa;
}

.admin-checkin-tab {
  min-height: 76rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9rpx;
  color: #667085;
  font-size: 26rpx;
  font-weight: 820;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.admin-checkin-tab.active {
  background: #ffffff;
  color: #123e7c;
  box-shadow: 0 4rpx 12rpx rgba(15, 23, 42, 0.08);
}

.admin-checkin-tab:active {
  transform: scale(0.985);
}

.admin-checkin-search {
  min-height: 88rpx;
  margin-top: 18rpx;
  display: flex;
  align-items: stretch;
  gap: 14rpx;
}

.admin-checkin-search__input {
  height: 88rpx;
  min-width: 0;
  flex: 1;
  padding: 0 22rpx;
  border: 1rpx solid #d8e1ee;
  border-radius: 12rpx;
  background: #fbfcff;
  color: #111827;
  font-size: 26rpx;
  font-weight: 660;
  box-sizing: border-box;
}

.admin-checkin-search__button {
  width: 132rpx;
  min-height: 88rpx;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 26rpx;
  font-weight: 850;
  transition: transform 120ms ease, opacity 120ms ease;
}

.admin-checkin-search__button:active {
  transform: scale(0.985);
}

.admin-checkin-search__button.disabled {
  opacity: 0.48;
}

.admin-checkin-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
}

.admin-checkin-notice {
  min-width: 0;
  color: #24704a;
  font-size: 23rpx;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.admin-checkin-group {
  margin-top: 20rpx;
}

.admin-checkin-group__title {
  display: block;
  margin-bottom: 12rpx;
  color: #667085;
  font-size: 23rpx;
  font-weight: 820;
  line-height: 1.45;
}

.admin-checkin-result {
  min-height: 126rpx;
  padding: 20rpx 0;
  display: flex;
  align-items: center;
  gap: 18rpx;
  border-top: 1rpx solid #eef2f7;
  box-sizing: border-box;
}

.admin-checkin-result:first-of-type {
  border-top: none;
}

.admin-checkin-result__main {
  min-width: 0;
  flex: 1;
}

.admin-checkin-result__title-row {
  display: flex;
  align-items: center;
  gap: 12rpx;
}

.admin-checkin-result__name {
  min-width: 0;
  color: #111827;
  font-size: 29rpx;
  font-weight: 830;
  line-height: 1.38;
}

.admin-checkin-result__state {
  flex: none;
  padding: 4rpx 12rpx;
  border-radius: 999rpx;
  background: #fff7ed;
  color: #b45309;
  font-size: 21rpx;
  font-weight: 820;
  line-height: 1.35;
}

.admin-checkin-result__state.is-done {
  background: #edf7f1;
  color: #24704a;
}

.admin-checkin-result__state.is-new {
  background: #eef4ff;
  color: #2557a7;
}

.admin-checkin-result__meta {
  display: block;
  margin-top: 8rpx;
  color: #7c8798;
  font-size: 23rpx;
  line-height: 1.5;
}

.admin-checkin-result__action {
  width: 138rpx;
  min-height: 68rpx;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 24rpx;
  font-weight: 850;
  transition: transform 120ms ease, opacity 120ms ease;
}

.admin-checkin-result__action.is-secondary {
  width: 164rpx;
  background: #276749;
}

.admin-checkin-result__action.disabled {
  background: #d7deea;
  color: #667085;
}

.admin-checkin-result__action:active {
  transform: scale(0.985);
}

.admin-checkin-empty {
  min-height: 150rpx;
  margin-top: 18rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1rpx dashed #d8e1ee;
  border-radius: 12rpx;
  color: #8a96a8;
  font-size: 25rpx;
  line-height: 1.5;
  text-align: center;
}
