/* Entry-specific layout only. Palette, type, painted backdrop, flowers, emblem,
   and paper sheet come directly from the staging guest stylesheets. */
body.access-page {
  display: flex;
  padding: 2rem 0;
  line-height: 1.4;
}
main.sheet.guest-sheet.access-sheet {
  flex: none;
  width: min(100% - 2.5rem, 29rem);
  margin: auto;
  padding: 2rem;
  text-align: center;
}
.access-sheet > .sheet-head { margin-bottom: 1.75rem; }
.access-sheet > .sheet-head > h1 { font-size: 3.25rem; }
.access-sheet > .sheet-head > .subtitle { margin: .65rem 0 0; font-size: 1.3rem; }
#access-form { text-align: left; }
#access-form label { display: block; font-size: 1.2rem; margin: 0 0 .29rem; }
#access-form input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin: 0 0 1rem;
  padding: .65rem .9rem;
  border: 1px solid rgb(126 72 42 / 42%);
  border-radius: .7rem;
  background: rgb(255 255 255 / 70%);
  color: var(--ink);
  font: 400 1.15rem/1.4 "Cormorant Garamond", "Cormorant", Georgia, serif;
}
#access-form input::placeholder { color: #8a6755; opacity: 1; }
#access-form input:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
  border-color: var(--turquoise);
}
.field-hint { margin: -.1rem 0 .45rem; color: #8a5038; font-size: 1rem; }
#access-form .btn {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  padding: .65rem 1.25rem;
  margin-top: .15rem;
  /* Same coral and pill used by the shared guest-footer RSVP action. */
  background: #b9513d;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
}
#access-form .btn:hover { background: #a9432e; }
#access-form .btn:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 4px; }
#access-form :disabled { opacity: .65; cursor: not-allowed; }
.access-help { margin: 1.1rem 0 0; }
.access-signature { margin: 1rem 0 0; font-size: 1.1rem; font-style: italic; color: var(--ink); }
.message {
  display: none;
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border: 1px solid rgb(185 81 61 / 45%);
  border-radius: .7rem;
  background: rgb(236 111 79 / 8%);
  color: var(--ink);
  font-size: 1.1rem;
  text-align: left;
}
.message.visible { display: block; }
@media (max-width: 40rem) {
  body.access-page { padding: 1.25rem 0; }
  main.sheet.guest-sheet.access-sheet { padding: 1.5rem; }
  .access-sheet > .sheet-head > h1 { font-size: 3rem; }
}
@media (max-height: 600px) {
  body.access-page { padding: 1rem 0; }
  main.sheet.guest-sheet.access-sheet { padding: 1.5rem; }
  .access-sheet > .sheet-head { margin-bottom: 1.25rem; }
}
.sms-optin { margin: .2rem 0 .9rem; }
.sms-optin[hidden] { display: none; }
