/* Installed Android app 1.1+: native page toolbar + one website navigation bar.
   The head script adds this marker from the local user agent, never cached HTML. */
html.wf-native-app { scroll-padding-top: 16px; }
html.wf-native-app body.wf-member {
  --wf-native-nav-height: 72px;
  -webkit-tap-highlight-color: transparent;
}
html.wf-native-app body.wf-member .wf-app-header { display: none !important; }
html.wf-native-app body.wf-member .wf-app-footer { display: none; }
html.wf-native-app body.wf-member .wf-workspace { min-inline-size: 0; }

/* The installed app already supplies its brand/title. Keep sign-in preferences. */
html.wf-native-app body.wf-guest .wf-public-header :is(.wf-brand,.wf-public-access-row) { display: none; }
html.wf-native-app body.wf-guest .wf-public-header-inner {
  display: flex;
  justify-content: flex-end;
  min-block-size: 56px;
  padding: 6px 16px;
  gap: 8px;
}
html.wf-native-app body.wf-guest .wf-public-language { margin-inline-start: auto; gap: 8px; }
html.wf-native-app body.wf-guest .wf-public-footer [data-app-install-link] { display: none; }

@media (max-width: 1100px) {
  html.wf-native-app body.wf-member .wf-app { padding-block-end: calc(var(--wf-native-nav-height) + 12px); }
  html.wf-native-app body.wf-member .wf-main { padding: 18px 16px 16px; }
  html.wf-native-app body.wf-member .wf-mobile-dock {
    inset-inline: 0;
    inset-block-end: 0;
    max-inline-size: none;
    min-block-size: var(--wf-native-nav-height);
    margin: 0;
    padding: 6px 8px;
    gap: 4px;
    border: 0;
    border-block-start: 1px solid var(--wf-theme-border);
    border-radius: 0;
    background: var(--wf-theme-surface);
    box-shadow: 0 -4px 20px rgb(0 0 0 / 3%);
    backdrop-filter: none;
  }
  html.wf-native-app body.wf-member .wf-mobile-dock > :is(a,button) {
    min-block-size: 58px;
    gap: 4px;
    padding: 7px 2px;
    border: 0;
    border-radius: 14px;
    background: transparent !important;
    color: var(--wf-theme-muted) !important;
    box-shadow: none;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
  }
  html.wf-native-app body.wf-member .wf-mobile-dock > :is([aria-current=page],[aria-expanded=true],.is-current-section) {
    background: var(--wf-theme-soft) !important;
    color: var(--wf-theme-link) !important;
    font-weight: 650;
  }
  /* The website's primary Menu button has an on-primary !important color.
     Match its attribute specificity when the installed app uses a quiet tab. */
  html.wf-native-app body.wf-member .wf-mobile-dock > button[data-mobile-menu-toggle] {
    color: var(--wf-theme-muted) !important;
  }
  html.wf-native-app body.wf-member .wf-mobile-dock > button[data-mobile-menu-toggle]:is([aria-expanded=true],.is-current-section) {
    color: var(--wf-theme-link) !important;
  }
  html.wf-native-app body.wf-member .wf-mobile-dock svg { inline-size: 23px; block-size: 23px; }
  html.wf-native-app body.wf-member .wf-mobile-dock > :is(a,button):active { background: var(--wf-theme-soft) !important; }
  html.wf-native-app body.wf-member .wf-menu-sheet[open] {
    inline-size: min(100%,560px);
    max-block-size: calc(100dvh - 12px);
    border-radius: 22px 22px 0 0;
    inset-block-end: 0;
  }
  html.wf-native-app body.wf-member .wf-menu-heading { padding: 12px 20px 16px; }
  html.wf-native-app body.wf-member .wf-menu-content { padding: 16px 16px 22px; }
  html.wf-native-app body.wf-member .wf-menu-grid { gap: 10px; }
  html.wf-native-app body.wf-member .wf-menu-grid a { min-block-size: 84px; border-radius: 14px; }
  html.wf-native-app body.wf-member .wf-menu-footer { padding: 12px 16px; }
  html.wf-native-app body.wf-member .wf-theme-setting { min-block-size: 52px; }

  /* Leave more of the actual family feed visible on the first screen. */
  html.wf-native-app body.wf-member.view-dashboard .wf-member-welcome { margin-block-end: 16px; }
  html.wf-native-app body.wf-member.view-dashboard .wf-member-welcome h1 { font-size: 22px; line-height: 1.3; }
  html.wf-native-app body.wf-member.view-dashboard .wf-component #fd.wf-utility-toolbar { margin-block-end: 18px; }
  html.wf-native-app body.wf-member .wf-component #fd.wf-utility-toolbar .fd-toolbar { border-radius: 14px; box-shadow: none; }
  html.wf-native-app body.wf-member.view-dashboard .wf-component #es .wf-social-dashboard .es-stream { border-radius: 16px; }
  html.wf-native-app body.wf-member.view-dashboard .wf-component #es .wf-social-dashboard .es-stream-meta { padding: 14px; }

  /* Native window insets already account for the status bar and navigation area. */
  html.wf-native-app body.wf-member #es.view-contacts .wf-contacts-native .wf-contacts-searchbar { top: 0; }
  html.wf-native-app body.wf-member .wf-contacts { --wf-contacts-header-offset: 0px; }
}

@media (max-width: 700px) {
  html.wf-native-app body.wf-guest .wf-welcome { padding: 20px 16px; gap: 20px; }
  html.wf-native-app body.wf-guest .wf-welcome-copy { padding: 0 8px; }
  html.wf-native-app body.wf-guest .wf-welcome-copy h1 { margin: 0 0 8px; font-family: inherit; font-size: 28px; font-weight: 600; }
  html.wf-native-app body.wf-guest .wf-welcome-copy .wf-eyebrow { display: none; }
  html.wf-native-app body.wf-guest .wf-welcome-lead { font-size: 14px; }
  html.wf-native-app body.wf-guest .wf-login-card { padding: 22px 20px; border-radius: 18px; }
  html.wf-native-app body.wf-guest .wf-login-card > h2 { font-size: 24px; }
  html.wf-native-app body.wf-guest .wf-feature-list { display: none; }
  html.wf-native-app body.wf-member .wf-main:has(.wf-notes) { padding: 0; }
  html.wf-native-app body.wf-member .wf-app:has(.wf-notes) { padding-block-end: 0; }
  html.wf-native-app body.wf-member #es .wf-notes {
    --wf-notes-header-height: 0px;
    --wf-notes-dock-height: var(--wf-native-nav-height);
    height: calc(var(--wf-notes-viewport-height,100dvh) - var(--wf-native-nav-height));
    border-block-start: 0;
  }
  html.wf-native-app body.wf-member #es .wf-notes-topbar { padding: 10px 12px; }
  html.wf-native-app body.wf-member #es .wf-notes-topbar h1 { font-size: 20px; }
  html.wf-native-app body.wf-member #es .wf-notes-list-header { min-block-size: 68px; padding: 10px 18px; }
  html.wf-native-app body.wf-member #es .wf-notes-list-header h2 { font-size: 21px; }
  html.wf-native-app body.wf-member #es .wf-note-row { min-block-size: 104px; border-radius: 12px; }
  html.wf-native-app body.wf-native-keyboard #es .wf-notes.is-editing {
    position: fixed;
    inset: 0;
    inline-size: 100%;
    height: 100dvh;
    min-block-size: 0;
    max-block-size: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    z-index: 120;
  }
  html.wf-native-app body.wf-native-keyboard #es .wf-notes.is-editing .wf-notes-edited { display: none; }
  html.wf-native-app body.wf-native-keyboard #es .wf-notes.is-editing .wf-notes-editor-scroll { padding: 8px 12px 12px; }
}

html.wf-native-app body.wf-member:is(.wf-native-keyboard,.wf-notes-keyboard,.wf-short-fullscreen-open,.wf-call-open) .wf-mobile-dock { display: none !important; }

@media (max-width: 350px) {
  html.wf-native-app body.wf-member .wf-main { padding-inline: 12px; }
  html.wf-native-app body.wf-member .wf-mobile-dock { padding-inline: 4px; gap: 2px; }
  html.wf-native-app body.wf-member .wf-mobile-dock > :is(a,button) { font-size: 10px; }
  html.wf-native-app body.wf-member .wf-menu-content { padding-inline: 12px; }
  html.wf-native-app body.wf-member .wf-menu-grid { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html.wf-native-app body.wf-member .wf-mobile-dock * { transition: none; }
}

/* Focused browser/PWA/app sign-in. Original authentication forms and handlers stay intact. */
.wf-native-auth-brand { display: none; }
html.wf-native-auth-ui body.wf-native-auth .wf-public-header .wf-brand,
html.wf-native-auth-ui body.wf-native-auth .wf-public-header .wf-public-access-row { display: none; }
html.wf-native-auth-ui body.wf-native-auth {
  background: var(--wf-theme-surface);
  color: var(--wf-theme-text);
  min-block-size: 100vh;
  min-block-size: 100dvh;
}
html.wf-native-auth-ui body.wf-native-auth .wf-public-header {
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
}
html.wf-native-auth-ui body.wf-native-auth .wf-public-header-inner {
  inline-size: min(100%, 480px);
  min-block-size: 56px;
  margin-left: auto; margin-right: auto;
  padding: 8px 24px 0;
}
html.wf-native-auth-ui body.wf-native-auth .wf-public-brand-row {
  inline-size: 100%;
  justify-content: flex-end;
}
html.wf-native-auth-ui body.wf-native-auth .wf-public-language { margin-left: auto; gap: 0; }
html.wf-native-auth-ui body.wf-native-auth .wf-public-language > * + * { margin-left: 8px; }
html.wf-native-auth-ui body.wf-native-auth .wf-public-language .wf-theme-toggle,
html.wf-native-auth-ui body.wf-native-auth .wf-public-language .wf-language-switcher summary {
  min-block-size: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
html.wf-native-auth-ui body.wf-native-auth .wf-public-language .wf-theme-label { display: none; }
html.wf-native-auth-ui body.wf-native-auth .wf-welcome-story,
html.wf-native-auth-ui body.wf-native-auth .wf-login-icon,
html.wf-native-auth-ui body.wf-native-auth .wf-login-card > .wf-eyebrow,
html.wf-native-auth-ui body.wf-native-auth .wf-belonging-note,
html.wf-native-auth-ui body.wf-native-auth .wf-public-footer { display: none; }
html.wf-native-auth-ui body.wf-native-auth .wf-welcome {
  display: block;
  inline-size: min(100%, 480px);
  max-inline-size: 480px;
  margin-left: auto; margin-right: auto;
  padding: 16px 28px 30px;
}
html.wf-native-auth-ui body.wf-native-auth .wf-login-panel { inline-size: 100%; max-inline-size: none; scroll-margin-top: 16px; }
html.wf-native-auth-ui body.wf-native-auth .wf-login-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  margin-top: 0; margin-bottom: 24px;
  color: var(--wf-theme-text);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
}
html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand img {
  display: block;
  inline-size: 68px;
  block-size: 68px;
  object-fit: contain;
  margin: 0 0 10px;
}
html.wf-native-auth-ui body.wf-native-auth .wf-login-card > h2 {
  margin: 0 0 8px;
  color: var(--wf-theme-text);
  font: inherit;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-align: center;
}
html.wf-native-auth-ui body.wf-native-auth .wf-login-intro {
  margin: 0 0 26px;
  color: var(--wf-theme-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wari-login-field,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .control-group { margin-bottom: 18px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wari-login-field > label,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .control-label > label {
  display: block;
  margin-bottom: 7px;
  color: var(--wf-theme-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component input[type=text],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component input[type=email],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component input[type=password],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es .wari-family-login input.o-form-control {
  min-block-size: 54px !important;
  inline-size: 100%;
  padding: 13px 14px;
  border: 1px solid var(--wf-theme-border);
  border-radius: 13px;
  background: var(--wf-theme-input);
  color: var(--wf-theme-text);
  font-size: 16px !important;
  line-height: 1.5;
  box-shadow: none;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es input.o-form-control { border-color: var(--wf-theme-border) !important; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component input:focus {
  border-color: var(--wf-theme-primary) !important;
  outline: 2px solid var(--wf-theme-primary);
  outline-offset: 2px;
  box-shadow: none;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es input.o-form-control:focus { border-color: var(--wf-theme-primary) !important; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component input[aria-invalid=true],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es input.o-form-control[aria-invalid=true] { border-color: var(--wf-theme-danger) !important; }
html.wf-native-auth-ui body.wf-native-auth .wf-native-password { position: relative; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-native-password > input,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es .wf-native-password > input.o-form-control { padding-right: 58px; }
html.wf-native-auth-ui body.wf-native-auth .wf-native-password-toggle {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--wf-theme-muted);
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
html.wf-native-auth-ui body.wf-native-auth .wf-native-password-toggle:active { background: var(--wf-theme-soft); }
html.wf-native-auth-ui body.wf-native-auth .wf-native-password-toggle svg { inline-size: 22px; block-size: 22px; }
html.wf-native-auth-ui body.wf-native-auth .wf-native-password-toggle[aria-pressed=false] .wf-native-password-slash { display: none; }
html.wf-native-auth-ui body.wf-native-auth #es .wari-family-login .o-grid-sm { display: flex; flex-direction: column; gap: 0; margin: 0; }
html.wf-native-auth-ui body.wf-native-auth #es .wari-family-login .o-grid-sm__cell { flex: none; inline-size: 100%; padding: 0; }
html.wf-native-auth-ui body.wf-native-auth #es .wari-family-login .o-grid-sm__cell + .o-grid-sm__cell { margin-top: 10px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .o-checkbox,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .com-users-login__remember { min-block-size: 44px; display: flex; align-items: center; margin: 0; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .o-checkbox label { min-block-size: 44px; display: flex; align-items: center; font-size: 13px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-auth-submit,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es [data-login-submit],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es .es-social-signon__form button[type=submit],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es .es-social-signon__form button:not([type]) {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  min-block-size: 54px;
  padding: 14px 18px;
  border: 1px solid var(--wf-theme-primary);
  border-radius: 14px;
  background: var(--wf-theme-primary) !important;
  color: var(--wf-theme-on-primary) !important;
  box-shadow: none;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  touch-action: manipulation;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component button:focus,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component a:focus { outline: 2px solid var(--wf-theme-primary); outline-offset: 3px; }
@supports selector(:focus-visible) {
  html.wf-native-auth-ui body.wf-native-auth .wf-auth-component button:focus:not(:focus-visible),
  html.wf-native-auth-ui body.wf-native-auth .wf-auth-component a:focus:not(:focus-visible) { outline: none; }
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-recovery,
html.wf-native-auth-ui body.wf-native-auth #es .wari-login-recovery { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 12px; gap: 0; }
html.wf-native-auth-ui body.wf-native-auth #es .wari-login-recovery__separator { display: none; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-recovery a,
html.wf-native-auth-ui body.wf-native-auth #es .wari-login-recovery a { display: inline-flex; align-items: center; min-block-size: 44px; padding: 9px 0; color: var(--wf-theme-link); font-size: 12px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-alternatives { margin-top: 20px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-alternatives[hidden],
html.wf-native-auth-ui body.wf-native-auth .wf-auth-alternatives [hidden] { display: none !important; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-auth-method { background: var(--wf-theme-soft); border-color: var(--wf-theme-border); color: var(--wf-theme-text); border-radius: 13px; min-block-size: 50px; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-method-hint { font-size: 12px; color: var(--wf-theme-muted) !important; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-setup-hint { display: none; }
html.wf-native-auth-ui body.wf-native-auth .wf-invitation-note { display: flex; align-items: flex-start; gap: 0; margin-top: 22px; padding-top: 18px; border-color: var(--wf-theme-border); color: var(--wf-theme-muted); font-size: 12px; line-height: 1.6; }
html.wf-native-auth-ui body.wf-native-auth .wf-invitation-note > svg { inline-size: 16px; block-size: 16px; flex-shrink: 0; margin: 2px 8px 0 0; }
html.wf-native-auth-ui body.wf-native-auth .wf-invitation-note strong { font-weight: 500; color: var(--wf-theme-muted); }
html.wf-native-auth-ui body.wf-native-auth #system-message-container { margin-top: 0; margin-bottom: 18px; }
html.wf-native-auth-ui body.wf-native-auth #system-message-container:empty { display: none; }
html.wf-native-auth-ui body.wf-native-auth #system-message-container .alert { font-size: 14px; background: var(--wf-theme-danger-bg); border-color: var(--wf-theme-danger); color: var(--wf-theme-danger); box-shadow: none; }
html.wf-native-auth-ui body.wf-native-auth-recovery .wf-login-card > h2,
html.wf-native-auth-ui body.wf-native-auth-recovery .wf-login-card > .wf-login-intro { display: none; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon { padding: 0; margin: 0; background: transparent; border: 0; box-shadow: none; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__hd { margin: 0 0 24px; padding: 0; text-align: start; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__hd h1,
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__hd h2 { margin: 0 0 12px; color: var(--wf-theme-text); font-size: 28px; line-height: 1.25; letter-spacing: -.025em; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__hd p { margin: 0; color: var(--wf-theme-muted); font-size: 14px; line-height: 1.65; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es form.es-social-signon__form,
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__form-inner { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__form .o-form-group { margin-bottom: 20px; text-align: start !important; }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--wf-theme-text); }
html.wf-native-auth-ui body.wf-native-auth-recovery #es .es-social-signon__form .o-form-actions { margin: 20px 0 0; padding: 0; background: transparent; border: 0; }
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-public-language { margin-left: 0; margin-right: auto; }
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-public-language > * + * { margin-left: 0; margin-right: 8px; }
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-auth-component .wf-native-password > input,
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-auth-component #es .wf-native-password > input.o-form-control { padding-left: 58px; padding-right: 14px; }
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-native-password-toggle { left: 5px; right: auto; }
html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-invitation-note > svg { margin-left: 8px; margin-right: 0; }
@media (max-height: 600px) {
  html.wf-native-auth-ui body.wf-native-auth .wf-welcome { padding-top: 8px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand { flex-direction: row; gap: 0; margin-bottom: 18px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand img { inline-size: 38px; block-size: 38px; margin: 0 10px 0 0; }
  html.wf-native-auth-ui[dir=rtl] body.wf-native-auth .wf-native-auth-brand img { margin-left: 10px; margin-right: 0; }
  html.wf-native-auth-ui body.wf-native-auth .wf-login-card > h2 { font-size: 26px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-login-intro { margin-bottom: 20px; }
}
@media (max-width: 350px) {
  html.wf-native-auth-ui body.wf-native-auth .wf-welcome { padding-left: 20px; padding-right: 20px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-public-header-inner { padding-left: 16px; padding-right: 16px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-login-card > h2 { font-size: 28px; }
}
[dir=rtl] body.wf-native-auth .wf-login-card > h2,
[dir=rtl] body.wf-native-auth .wf-native-auth-brand { letter-spacing: 0; }


/* A single calm sign-in surface, with the same form across browsers and apps. */
html.wf-native-auth-ui body.wf-native-auth .wf-welcome {
  padding-block-start: clamp(20px, 4vh, 42px);
  padding-block-end: max(32px, env(safe-area-inset-bottom));
}
html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand {
  font-size: 16px;
  font-weight: 600;
  margin-block-end: 26px;
}
html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand img {
  inline-size: 56px;
  block-size: 56px;
  margin-block-end: 12px;
}
html.wf-native-auth-ui body.wf-native-auth .wf-login-card > h2 { font-size: 28px; }
html.wf-native-auth-ui body.wf-native-auth .wf-invitation-note p { margin: 0; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component fieldset { min-inline-size: 0; padding: 0; margin: 0; border: 0; }
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-auth-submit,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es [data-login-submit] {
  transition: background-color .15s, box-shadow .15s;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-auth-submit:hover,
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component #es [data-login-submit]:hover {
  box-shadow: 0 3px 10px #173f491a;
}
html.wf-native-auth-ui body.wf-native-auth .wf-auth-component .wf-auth-method { background: transparent; }
html.wf-native-auth-ui body.wf-native-auth .wf-public-language .wf-language-options {
  max-block-size: min(430px, calc(100dvh - 76px));
  overflow-y: auto;
}
@media (min-width: 701px) and (min-height: 620px) {
  html.wf-native-auth-ui body.wf-native-auth { background: var(--wf-theme-bg); }
  html.wf-native-auth-ui body.wf-native-auth .wf-public-header-inner { inline-size: min(100%, 520px); padding-inline: 16px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-welcome { inline-size: min(100%, 520px); max-inline-size: 520px; padding: 20px 16px 48px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-login-card {
    padding: 36px 40px 28px;
    background: var(--wf-theme-surface);
    border: 1px solid var(--wf-theme-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px #173f4908;
  }
}
@media (max-height: 600px) {
  html.wf-native-auth-ui body.wf-native-auth .wf-welcome { padding-block-start: 8px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand { margin-block-end: 18px; }
  html.wf-native-auth-ui body.wf-native-auth .wf-native-auth-brand img { inline-size: 38px; block-size: 38px; margin-block-end: 0; }
  html.wf-native-auth-ui body.wf-native-auth .wf-login-card > h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html.wf-native-auth-ui body.wf-native-auth .wf-auth-component button { transition: none; }
}
