/* The sign-in sheet (intent 261202-google-login-deploy; BR2.1, BR2.10; C-T3; Impeccable shape
   2026-12-02, proposed for DESIGN.md). The two pages outside the app carry the plan-of-survey
   world on one column: the PolyPrime plate at its head (owner, 2026-12-03), then flat white, the
   sheet-top double rule, the lettered wordmark, one sentence, an optional one-line note, one
   button. Every value is a token of tokens.css, which
   scripts/copy-auth-assets.mjs copies beside this file with the two self-hosted faces, so nothing
   here reaches a network and nothing sits behind the sign-in gate. */

@font-face {
  font-family: "Public Sans";
  src: url("/auth/assets/PublicSans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "osifont";
  src: url("/auth/assets/osifont.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--color-sheet);
  color: var(--color-ink);
  font-family: var(--font-family);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line);
}

/* The PolyPrime plate (owner, 2026-12-03): the company's logo as designed, gold on its navy
   plate, square like the sheet, on the sheet's column and left edge. It heads the page; the
   sheet's double rule then begins the plan-of-survey sheet below it. */
.auth-brand {
  max-width: 28rem;
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-4);
}

.auth-brand__logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  border-radius: 0;
}

.auth-sheet {
  max-width: 28rem;
  margin: var(--space-6) auto var(--space-12);
  padding: var(--space-6) var(--space-4);
  border-top: 2px solid var(--color-ink);
  /* The drawn second rule: a hard, unblurred 1px line 1px outside the 2px border. */
  box-shadow: 0 -4px 0 -3px var(--color-ink);
}

.auth-sheet__wordmark {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: var(--font-h2-size);
  line-height: var(--font-h2-line);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-sheet__sentence {
  margin: var(--space-4) 0 0;
}

.auth-note {
  margin: var(--space-4) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-rule-faint);
  font-size: var(--font-small-size);
  line-height: var(--font-small-line);
}

.auth-sheet__button {
  display: inline-flex;
  align-items: center;
  min-height: var(--min-target-size);
  margin-top: var(--space-6);
  padding: 0 var(--space-4);
  border: 1px solid var(--color-ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: var(--font-label-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.auth-sheet__button--primary {
  background: var(--color-ink);
  color: var(--color-sheet);
}

.auth-sheet__button--primary:hover {
  background: var(--color-ink-muted);
  border-color: var(--color-ink-muted);
}

.auth-sheet__button--ruled {
  background: var(--color-sheet);
  color: var(--color-ink);
}

.auth-sheet__button--ruled:hover {
  background: var(--color-ink);
  color: var(--color-sheet);
}

.auth-sheet__button:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}

.auth-sheet__foot {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-rule-faint);
  font-size: var(--font-compact-size);
  line-height: var(--font-compact-line);
  color: var(--color-ink-muted);
}

@media (max-width: 767px) {
  .auth-brand {
    margin-top: var(--space-6);
  }

  .auth-sheet {
    margin-top: var(--space-4);
  }
}
