.matching .night-guard {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  margin-bottom: 24px;
  padding: 22px 24px;
  scroll-margin-top: 16px;
}
.night-guard [hidden], .matching .night-guard[hidden] { display: none; }
.matching .night-guard header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.matching .night-guard h2 { margin: 0; font-size: 20px; color: #1c2b42; }
.night-guard .night-guard-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 12px;
}
.matching .night-guard label { display: grid; gap: 6px; font-size: 14px; }
.matching .night-guard input, .matching .night-guard select { width: 100%; min-width: 0; }
.matching .night-guard .night-guard-enable {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
}
.matching .night-guard .night-guard-enable input { width: auto; }
.night-guard [data-people] {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
}
.night-guard [data-person-options] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 18px;
  max-height: 150px;
  overflow: auto;
}
.matching .night-guard [data-person-options] label { display: flex; align-items: center; }
.matching .night-guard [data-person-options] input { width: auto; min-height: 30px; }
.night-guard .night-guard-note { margin: 10px 0; color: #526783; font-size: 14px; }
.night-guard .night-guard-status { margin: 10px 0 0; color: #21486d; }
.night-guard .night-guard-status:empty { display: none; }
.night-guard [data-replay] { border-top: 1px solid #e2eaf2; margin-top: 14px; }
