html:has(.pg-request-dialog[open]) { overflow: hidden; }
.pg-request-dialog {
  position: fixed;
  inset: 0;
  width: min(448px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 20px 64px rgb(22 32 42 / 28%);
}
.pg-request-dialog::backdrop { background: rgb(22 32 42 / 44%); }
.pg-request-dialog .req {
  position: static;
  width: auto;
  margin: 0;
  padding: 24px;
  background: var(--card);
  box-shadow: none;
}
.pg-request-dialog .req h3 {
  margin: 0;
  padding-right: 36px;
  outline: none;
  font-size: 22px;
  line-height: 1.2;
}
.pg-request-benefits {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
}
.pg-request-benefits li {
  position: relative;
  padding-inline-start: 24px;
}
.pg-request-benefits li::before {
  content: "";
  position: absolute;
  inset: 5px auto auto 2px;
  width: 11px;
  height: 6px;
  border: solid var(--orange-d);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.pg-request-dialog .req-form { margin-top: 18px; }
.pg-request-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
}
.pg-request-close:hover { background: var(--sand-2); }
.pg-request-close:focus-visible { outline: none; background: var(--blue); color: var(--card); }
@media (max-width: 520px) {
  .pg-request-dialog .req { padding: 20px 16px; }
  .pg-request-dialog .req h3 { font-size: 20px; }
}
