/* Scoped only to permission feedback; never restyles home or login. */
dialog.member-permission-notice {
  position: fixed; inset: 0; margin: auto; box-sizing: border-box;
  width: min(520px, calc(100vw - 40px)); max-height: calc(100dvh - 64px);
  overflow: auto; padding: 28px; border: 1px solid #ded8ca; border-radius: 16px;
  background: #fffdf9; color: #29261f; box-shadow: 0 18px 64px #28221726;
  font: 14px/1.65 system-ui, sans-serif; text-align: left;
}
dialog.member-permission-notice::backdrop { background: #28221738; }
dialog.member-permission-notice h2 { font-size: 20px; line-height: 1.4; margin: 0 0 12px; color: #29261f; }
dialog.member-permission-notice h3 { font-size: 14px; margin: 18px 0 8px; color: #29261f; }
dialog.member-permission-notice p { margin: 8px 0; color: #625e54; }
dialog.member-permission-notice ul { padding-left: 20px; margin: 0; }
dialog.member-permission-notice li { margin: 5px 0; overflow-wrap: anywhere; }
dialog.member-permission-notice button { display: block; margin: 24px 0 0 auto; padding: 9px 24px; border: 0; border-radius: 8px; background: #c4a652; color: #251f10; font: inherit; cursor: pointer; }
dialog.member-permission-notice button:focus-visible { outline: 2px solid #8a6a1d; outline-offset: 3px; }
