.custom-request-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.25rem;
  margin: 1rem 0 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid #ded3e2;
  border-radius: .65rem;
  background: #f8f3fa;
  color: #302335;
}

.custom-request-entry button {
  color: #542765;
  background: transparent;
  border: 0;
  padding: .35rem 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.custom-request-dialog {
  position: fixed;
  inset: 0;
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1rem, 5vw, 1.8rem);
  border: 1px solid #ded3e2;
  border-radius: 1rem;
  background: #fff;
  color: #302335;
  overflow: auto;
}

.custom-request-dialog::backdrop { background: #25182c99; }
.custom-request-dialog [hidden] { display: none; }
.custom-request-dialog header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.custom-request-dialog h2 { margin: 0; }
.custom-request-dialog .custom-request-close {
  padding: .4rem .65rem;
  border: 1px solid #ded3e2;
  border-radius: .4rem;
  background: #fff;
  color: inherit;
  cursor: pointer;
}
.custom-request-dialog form { display: grid; gap: .95rem; margin-top: 1.2rem; }
.custom-request-dialog label { display: block; margin-bottom: .3rem; font-weight: 600; }
.custom-request-dialog label span, .custom-request-dialog small { color: #665b69; font-weight: 400; }
.custom-request-dialog input, .custom-request-dialog textarea {
  display: block;
  width: 100%;
  padding: .6rem;
  border: 1px solid #bbadbf;
  border-radius: .4rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
.custom-request-dialog textarea { resize: vertical; }
.custom-request-dialog small { display: block; margin-top: .35rem; }
#customRequestStatus { margin: 0; }
#customRequestStatus:empty { display: none; }
