/* face_consent (templates/components/face_consent.html): the full-screen consent
 * before a guest's first face action, as a modal dialog over the page (the lightbox
 * included) or as the page itself. */

dialog.consent {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  padding: max(16px, env(safe-area-inset-top)) var(--gutter, 16px) max(16px, env(safe-area-inset-bottom));
}
dialog.consent::backdrop { background: var(--bg); }
.consent__panel { max-width: 560px; margin: 0 auto; padding: 8px 0 24px; display: grid; gap: 14px; }
.consent__title { margin: 0; font: var(--heading-weight, 700) 24px/1.25 var(--display, inherit); text-transform: var(--heading-case, none); }
.consent__lead { margin: 0; font-size: 15px; line-height: 1.5; }
.consent__points { margin: 0; display: grid; gap: 4px 0; }
.consent__points dt { margin-top: 8px; font: 600 14px/1.4 var(--sans, inherit); }
.consent__points dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.consent__more { margin: 0; font-size: 14px; }
.consent__more a { color: var(--brand-text); }
.consent__actions { display: grid; gap: 10px; margin-top: 4px; }
.consent__actions .btn { width: 100%; justify-content: center; min-height: 48px; box-sizing: border-box; }
.consent__alt { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent--panel { padding: 8px var(--gutter, 16px) 32px; }
