/* Invitation form: the existing paper, ink and editorial typography. */
.access-trigger { position:fixed; right:28px; bottom:max(24px,env(safe-area-inset-bottom)); z-index:25; min-height:50px; padding:14px 20px; box-shadow:0 3px 14px #1b201d26; }
.access-trigger span { font-size:20px; line-height:1; }
body:has(.access-trigger) .footer { padding-bottom:76px; }
.access-modal-open { overflow:hidden; }
.access-dialog { width:min(500px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:24px 32px 28px; border:1px solid var(--control-line); border-radius:var(--radius); background:var(--paper); color:var(--ink); overflow-y:auto; overscroll-behavior:contain; }
.access-dialog::backdrop { background:#1b201d99; }
.access-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:12px; }
.access-brand { color:var(--accent); font-weight:800; font-size:19px; letter-spacing:-.04em; }
.access-close { display:grid; place-items:center; width:44px; height:44px; flex:none; border:1px solid var(--line); background:var(--paper); color:var(--ink); font-size:28px; cursor:pointer; }
.access-close:hover { background:var(--wash); }
.access-dialog h2 { font-size:32px; }
.access-dialog #access-intro { font-size:14px; line-height:1.5; }
.access-field { margin-bottom:14px; }
.access-form .small { font-size:12px; line-height:1.5; margin-top:18px; }
.access-errors { padding:12px; margin-bottom:16px; background:var(--wash); border-left:2px solid var(--accent); color:var(--accent); font-size:14px; }
.access-errors p { margin-bottom:8px; }
.access-errors p:last-child { margin-bottom:0; }
.access-form [aria-invalid=true] { border-color:var(--accent); }
.access-signin { margin:16px 0 0; text-align:center; }
.access-page { align-items:start; }
[data-access-success] { padding:16px 0; }
@media(max-width:700px) {
  .access-trigger { right:16px; bottom:max(16px,env(safe-area-inset-bottom)); }
  .access-dialog { padding:16px 20px 22px; }
  .access-dialog h2 { font-size:28px; }
}
@media print { .access-trigger,.access-dialog { display:none; } }
