.request-dialog {
  position: fixed;
  inset: clamp(.75rem,10dvh,7rem) 0 auto;
  margin: 0 auto;
  padding: 0;
  width: min(calc(100% - 1.6rem), 32rem);
  max-width: none;
  max-height: calc(100dvh - 2 * clamp(.75rem,10dvh,7rem));
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: #fff8f0;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 72px rgba(20,12,10,.27);
}
.request-dialog::backdrop { background: rgba(25,20,18,.72); }
.request-dialog[open] { animation: sheet-in .24s var(--ease) both; }
.request-dialog[open]::backdrop { animation: backdrop-in .2s var(--ease) both; }
html:has(.request-dialog[open]) { overflow: hidden; }
@keyframes sheet-in {
  from { opacity: .55; transform: translateY(-.75rem) scale(.992); }
}
@keyframes backdrop-in { from { opacity: 0; } }

.request-sheet { position: relative; padding: clamp(1.2rem,4.8vw,2.1rem); }
.request-sheet h2 { font-size: clamp(1.9rem,6vw,2.75rem); margin-right: 2.8rem; text-wrap: balance; }
.request-sheet h2:focus { outline: none; }
.request-intro { margin-block: .65rem 1.1rem; color: var(--quiet); font-size: .95rem; }
.request-slot {
  margin-top: .8rem;
  padding: .65rem .8rem;
  border-radius: .45rem;
  background: var(--dust);
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.dialog-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .55rem;
  background: #f2e7db;
  color: var(--ink);
}
.dialog-close:hover { background: #e6d7ca; }
.request-sheet label { display: block; margin: 0 0 .32rem; font-weight: 800; }
.request-sheet label span { font-weight: 600; color: var(--quiet); }
.request-sheet input:not([type="hidden"],[type="checkbox"]) {
  width: 100%;
  min-height: 3.15rem;
  padding: .63rem .7rem;
  margin-bottom: .78rem;
  border: 1px solid #a59182;
  border-radius: .42rem;
  background: #fffdf9;
  color: var(--ink);
}
.request-sheet .consent { display: flex; gap: .65rem; align-items: start; margin: .32rem 0 .95rem; font-size: .86rem; }
.consent input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0; accent-color: var(--red-ink); }
.consent a, .request-policy { color: var(--red-ink); font-weight: 780; }
.consent a:hover, .request-policy:hover { color: var(--ink); }
.request-policy { display: inline-block; margin: 0 0 .85rem 1.8rem; font-size: .84rem; }
.request-sheet form > .button { display: flex; width: 100%; justify-content: center; }
.request-confirmation p { margin-top: .8rem; color: var(--quiet); }
.request-confirmation .button { margin-top: 1.1rem; min-width: 7rem; justify-content: center; }
.form-status:not(:empty) { padding-top: .75rem; font-weight: 700; }
.form-status[data-error="true"] { color: var(--red-ink); }

@media (max-width: 520px) {
  .request-dialog { top: .65rem; max-height: calc(100dvh - 1.3rem); }
  .request-sheet input:not([type="hidden"],[type="checkbox"]) { font-size: 16px; }
}
