/* A plain, centred sign-in box -- the shape every sign-in page has. */
  body { display: grid; place-items: center; padding-block: 32px; }
  .auth { width: min(400px, 100%); display: grid; gap: 18px; }
  .auth-logo {
    justify-self: center; font: 400 26px/1 var(--display); letter-spacing: .04em;
    color: var(--text); text-decoration: none;
  }
  .auth-logo i { font-style: normal; font-weight: 700; color: var(--brass); }
  .auth-card {
    display: grid; gap: 16px; padding: 28px 28px 24px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
  .auth-card h1 { font: 600 24px/1.2 var(--body); text-align: center; }
  .auth-card .sub { text-align: center; color: var(--muted); font-size: 16px; margin-top: -8px; }
  .field { display: grid; gap: 6px; }
  .field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .auth-card input { font: 400 17px/1.2 var(--body); }
  .auth-card #code { font-family: var(--mono); font-size: 24px; letter-spacing: .35em; text-align: center; }
  .auth-card button[type="submit"] {
    justify-self: stretch; border-radius: 8px; padding: 13px; font-size: 17px; margin-top: 4px;
  }
  .text-link {
    background: none; border: 0; padding: 0; color: var(--brass); font: inherit; font-size: 15px;
    cursor: pointer; text-decoration: none; justify-self: center;
  }
  .text-link:hover { background: none; text-decoration: underline; }
  .auth-card .status { text-align: center; min-height: 0; }
  .auth-card .status:empty { display: none; }
  .auth-foot { text-align: center; color: var(--muted); font-size: 15.5px; }
  .auth-foot a { color: var(--brass); }
  .auth-legal { text-align: center; font-size: 14px; color: var(--muted-dim); }
  .auth-legal a { color: inherit; margin: 0 6px; }
  /* Show / hide password: an eye inside the right edge of the box. */
  .pw-wrap { position: relative; }
  .pw-wrap input { padding-right: 48px; }
  .auth-card .pw-toggle {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer;
  }
  .auth-card .pw-toggle:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
  .pw-toggle .eye-slash { display: none; }
  .pw-toggle[aria-pressed="true"] .eye-slash { display: inline; }

/* "Continue with Google": Google's own white button, as its guidelines ask. */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px; border-radius: 8px; background: #fff; color: #1f1f1f;
  font: 600 16px/1 Roboto, Arial, sans-serif; text-decoration: none; border: 1px solid #dadce0;
}
.google-btn:hover { background: #f7f8f8; }
.google-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.or { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted-dim); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
