/* Shared guest login help, isolated from WordPress login and gate styles. */
#pb-login-help {
  --pb-mauve: #775973;
  --pb-mauve-hover: #5e4659;
  --pb-bg: #f8f5f7;
  --pb-card: #fffcf8;
  --pb-border: #e5dcd2;
  --pb-text: #2a2127;
  --pb-muted: #746b70;
  --pb-error: #9d3946;
  --pb-on-mauve: #fff;
  --pb-backdrop: rgba(42, 33, 39, 0.44);
  --pb-focus: rgba(119, 89, 115, 0.32);
  --pb-shadow: 0 24px 64px rgba(42, 33, 39, 0.22);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pb-text);
  text-align: left;
}
#pb-login-help *,
#pb-login-help *::before,
#pb-login-help *::after { box-sizing: border-box; }
#pb-login-help [hidden] { display: none !important; }
#pb-login-help .pblh-trigger-wrap { padding: 8px 16px 24px; text-align: center; }
#pb-login-help .pblh-trigger {
  display: inline-block;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pb-muted);
  font: inherit;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
  cursor: pointer;
}
#pb-login-help .pblh-trigger:hover { color: var(--pb-mauve); background: transparent; }
#pb-login-help #pblh-dialog {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--pb-border);
  border-radius: 16px;
  background: var(--pb-bg);
  color: var(--pb-text);
  font: inherit;
  box-shadow: var(--pb-shadow);
  overflow: hidden;
}
#pb-login-help #pblh-dialog:not([open]) { display: none; }
#pb-login-help #pblh-dialog[open] { display: flex; flex-direction: column; }
#pb-login-help #pblh-dialog::backdrop { background: var(--pb-backdrop); }
#pb-login-help .pblh-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  padding: 16px 16px 8px 24px;
}
#pb-login-help #pblh-title { margin: 0; padding: 0; color: var(--pb-text); font: 600 22px/1.3 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.02em; }
#pb-login-help #pblh-title:focus { outline: none; }
#pb-login-help .pblh-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pb-muted);
  box-shadow: none;
  cursor: pointer;
}
#pb-login-help .pblh-close:hover { color: var(--pb-mauve); background: var(--pb-card); }
#pb-login-help .pblh-close svg { width: 24px; height: 24px; }
#pb-login-help .pblh-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 24px 24px; }
#pb-login-help .pblh-reset { margin: 0 0 24px; }
#pb-login-help .pblh-reset p { margin: 0 0 12px; font: inherit; }
#pb-login-help .pblh-reset .pblh-reset-note { margin: 12px 0 0; color: var(--pb-muted); font-size: 13px; }
#pb-login-help .pblh-tips { margin: 0; padding: 0 0 0 24px; list-style: disc; color: var(--pb-muted); font-size: 13px; }
#pb-login-help .pblh-tips li { padding: 0 0 0 4px; margin: 0 0 8px; }
#pb-login-help a { color: var(--pb-mauve); text-decoration: underline; text-underline-offset: 4px; }
#pb-login-help a:hover { color: var(--pb-mauve-hover); }
#pb-login-help .pblh-reset-button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--pb-mauve);
  color: var(--pb-on-mauve);
  font: 600 14px/1.5 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
}
#pb-login-help .pblh-reset-button:hover { background: var(--pb-mauve-hover); color: var(--pb-on-mauve); }
#pb-login-help .pblh-form-intro { border-top: 1px solid var(--pb-border); margin: 24px 0 16px; padding-top: 16px; }
#pb-login-help .pblh-form-intro h3 { margin: 0 0 8px; color: var(--pb-text); font: 600 16px/1.4 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#pb-login-help .pblh-form-intro p { margin: 0; font: inherit; color: var(--pb-muted); }
#pb-login-help #pblh-form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#pb-login-help .pblh-field { margin: 0 0 16px; }
#pb-login-help .pblh-field:last-of-type { margin-bottom: 0; }
#pb-login-help .pblh-field label { display: block; margin: 0 0 8px; padding: 0; color: var(--pb-text); font: 600 13px/1.5 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#pb-login-help .pblh-field input,
#pb-login-help .pblh-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--pb-border);
  border-radius: 8px;
  background: var(--pb-card);
  color: var(--pb-text);
  font: 400 16px/1.5 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
#pb-login-help .pblh-field textarea { min-height: 104px; resize: vertical; }
#pb-login-help .pblh-note { margin: 8px 0 0; color: var(--pb-muted); font-size: 12px; }
#pb-login-help .pblh-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#pb-login-help .pblh-status { margin: 16px 0 0; padding: 12px 16px; border: 1px solid var(--pb-border); border-radius: 8px; background: var(--pb-card); color: var(--pb-text); overflow-wrap: anywhere; }
#pb-login-help .pblh-status:empty { display: none; }
#pb-login-help .pblh-status[data-state="error"] { color: var(--pb-error); }
#pb-login-help #pblh-dialog[data-sent="true"] .pblh-form-intro { display: none; }
#pb-login-help .pblh-footer { position: sticky; bottom: 0; flex: 0 0 auto; padding: 16px 24px; border-top: 1px solid var(--pb-border); background: var(--pb-bg); text-align: center; }
#pb-login-help .pblh-submit {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--pb-mauve);
  border-radius: 8px;
  background: transparent;
  color: var(--pb-mauve);
  font: 600 14px/1.5 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  cursor: pointer;
}
#pb-login-help .pblh-submit:hover { background: var(--pb-card); color: var(--pb-mauve-hover); border-color: var(--pb-mauve-hover); }
#pb-login-help .pblh-submit:disabled { opacity: 0.65; cursor: wait; }
#pb-login-help .pblh-email { margin: 8px 0 0; color: var(--pb-muted); font-size: 12px; overflow-wrap: anywhere; }
#pb-login-help :is(button, a, input, textarea):focus-visible { outline: 3px solid var(--pb-focus); outline-offset: 3px; }
#pb-login-help .pblh-field :is(input, textarea):focus { border-color: var(--pb-mauve); }
html[data-pb-appearance="dark"] #pb-login-help {
  --pb-mauve: #c9a6c0;
  --pb-mauve-hover: #dfc2d7;
  --pb-bg: #262226;
  --pb-card: #302a2f;
  --pb-border: #4c4149;
  --pb-text: #f4ecef;
  --pb-muted: #c0b2bb;
  --pb-error: #ffb9bf;
  --pb-on-mauve: #2a2127;
  --pb-focus: rgba(201, 166, 192, 0.55);
}
@media (prefers-color-scheme: dark) {
  html:not([data-pb-appearance="light"]) #pb-login-help {
    --pb-mauve: #c9a6c0;
    --pb-mauve-hover: #dfc2d7;
    --pb-bg: #262226;
    --pb-card: #302a2f;
    --pb-border: #4c4149;
    --pb-text: #f4ecef;
    --pb-muted: #c0b2bb;
    --pb-error: #ffb9bf;
    --pb-on-mauve: #2a2127;
    --pb-focus: rgba(201, 166, 192, 0.55);
  }
}
@media (max-width: 380px) {
  #pb-login-help #pblh-dialog { width: calc(100% - 16px); }
  #pb-login-help .pblh-heading { padding-left: 16px; padding-right: 8px; }
  #pb-login-help #pblh-title { font-size: 20px; }
  #pb-login-help .pblh-body { padding-left: 16px; padding-right: 16px; }
  #pb-login-help .pblh-footer { padding-left: 16px; padding-right: 16px; }
}
