/* Sign-in sheet (signin-sheet.js) and its email + password form (password-form.js),
   in the account menu and in Discover. */
.pwf {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pwf-fld label {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
  color: var(--muted);
}
.pwf-fld input {
  width: 100%;
  box-sizing: border-box;
  height: 32px;
}
.pwf-fld[hidden] {
  display: none;
}
.pwf-err {
  margin: 0;
  color: var(--bad);
}
.pwf-err[hidden] {
  display: none;
}
.pwf-link {
  font: inherit;
  color: var(--text);
  background: none;
  border: 1px solid var(--line2);
  border-radius: var(--radius-ctl);
  padding: 4px 8px;
  text-decoration: none;
  cursor: pointer;
}

/* Provider buttons: full width, logo on the left, the same height as the email form's fields. */
.sis {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sis-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 13px;
}
.sis-logo {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.sis-logo:empty {
  display: none;
}
.sis-logo svg {
  width: 16px;
  height: 16px;
}
/* The primary (last used) button is light on dark: the GitHub and Apple marks follow its text. */
.sis-last {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}
/* "or" between two rules, the divider every big sign-in page uses. */
.sis-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  font-size: 12px;
  color: var(--dim);
}
.sis-or::before,
.sis-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line2);
}
.sis-past-email > .sis-btn,
.sis-past-email > .sis-or {
  display: none;
}
.pwf .pwf-go {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 13px;
}
.pwf-fld input {
  font-size: 16px; /* 16px stops iOS zooming into the field */
}
.pwf-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}
.pwf-who b {
  flex-basis: 100%;
  font-size: 15px;
}
.pwf-email {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.pwf-hint {
  margin: 0;
  color: var(--muted);
}
.sis-lead {
  margin: 0;
  color: var(--muted);
}
