.defect-grid {
  grid-template-columns: repeat(4, minmax(86px, 1fr));
}

.defect-group-title {
  grid-column: 1 / -1;
  margin: 18px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.defect-group-title.priority {
  color: var(--teal);
  margin-top: 0;
}

.defect-option {
  width: 86px;
  height: 86px;
  min-height: 86px;
  padding: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--defect-color) 12%, #091723);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  justify-self: center;
}

.defect-option:hover {
  border-color: var(--defect-color);
  transform: translateY(-1px);
}

.defect-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--defect-color) 20%, transparent);
  font-size: 30px;
}

.defect-option.selected {
  border-color: var(--defect-color);
  background: color-mix(in srgb, var(--defect-color) 26%, #091723);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--defect-color) 20%, transparent);
}

.defect-option.selected .defect-icon {
  background: color-mix(in srgb, var(--defect-color) 34%, transparent);
}

@media (max-width: 600px) {
  .defect-grid {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
  }

  .defect-option {
    width: 78px;
    height: 78px;
    min-height: 78px;
  }
}

.emergency-access {
  display: block;
  margin: 28px auto 0;
  color: #8796a5;
  font-size: 12px;
}

.emergency-panel {
  text-align: center;
}

.emergency-symbol {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 2px solid #ff4d57;
  border-radius: 50%;
  color: #ff4d57;
  background: #ff4d5715;
  font-size: 34px;
  font-weight: 800;
}

.emergency-warning {
  color: #ff8b91;
  font-weight: 700;
  line-height: 1.55;
}

.safe-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 20px;
}

.safe-check input {
  width: 22px;
  height: 22px;
}
