.checkin-admin .session-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.session-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  background: rgba(0,0,0,.18);
}
.session-card .row {
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.session-card .title {
  font-weight: 650;
  margin-right: .5rem;
}
.pill {
  display: inline-block;
  font-size: .75rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.pill.open { color: #8ff0b8; border-color: #2f9b6a; }
.pill.early, .pill.late, .pill.disabled { color: #e0c080; border-color: #8a6a2a; }
.session-card code.link {
  display: block;
  font-size: .78rem;
  word-break: break-all;
  overflow-wrap: anywhere;
  color: #9fe0bf;
  max-width: 100%;
}
.tour-meta {
  margin: .55rem 0 .85rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.14);
  line-height: 1.45;
  word-break: break-word;
}
.tour-meta .tour-title { margin-bottom: .25rem; }
.tour-meta .warn { color: #e08080; }
.roster-wrap {
  max-height: 420px;
  overflow: auto;
  max-width: 100%;
}
.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.roster-table th,
.roster-table td {
  border-bottom: 1px solid var(--line);
  padding: .4rem .5rem;
  text-align: left;
  vertical-align: top;
}
.roster-table th {
  position: sticky;
  top: 0;
  background: #132018;
  z-index: 1;
}
.roster-table tr.stripe td { background: rgba(255,255,255,.03); }
.roster-table tr.checked td { background: rgba(47,155,106,.12); }
.roster-table .empty { color: #8aa396; text-align: center; padding: 1rem; }
.badge {
  display: inline-block;
  font-size: .75rem;
  padding: .1rem .45rem;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.badge.ok { color: #8ff0b8; border-color: #2f9b6a; }
.badge.miss { color: #e0a080; border-color: #8a4a2a; }
.session-flags {
  font-size: .82rem;
  margin-bottom: .35rem;
}
.settings-panel {
  margin-top: .75rem;
  padding: .7rem .85rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
}
.settings-panel .settings-title {
  font-weight: 650;
  margin-bottom: .45rem;
}

.tour-rows {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: .55rem 0 .75rem;
}
.tour-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .75rem;
  background: rgba(0,0,0,.14);
}
.tour-row-controls {
  margin-bottom: .35rem;
}
.tour-meta-slot .tour-meta {
  margin: .35rem 0 0;
}
.btn-detail-tour {
  min-width: 2.4rem;
  font-weight: 700;
}
.btn-remove-tour {
  min-width: 2.4rem;
}

.roster-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  background: rgba(4, 12, 8, .72);
  backdrop-filter: blur(4px);
}
.roster-modal.hidden { display: none !important; }
.roster-modal-card {
  width: min(960px, 100%);
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #121c16;
  padding: 1rem;
}
.roster-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .65rem;
}
.roster-modal-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.warn { color: #e08080; }

@media (max-width: 760px) {
  .checkin-admin .session-card {
    padding: .7rem .65rem;
  }
  .checkin-admin .session-card .row {
    flex-direction: column;
    align-items: stretch;
  }
  .checkin-admin .session-card .btn,
  .checkin-admin .session-card a.btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }
  .roster-wrap {
    max-height: min(50vh, 360px);
  }
  .roster-table th:nth-child(2),
  .roster-table td:nth-child(2),
  .roster-table th:nth-child(4),
  .roster-table td:nth-child(4) {
    display: none;
  }
  .roster-table {
    font-size: .74rem;
    min-width: 0;
    width: 100%;
  }
  .settings-panel .row {
    flex-direction: column;
    align-items: stretch;
  }
}

