/* The gate is the only page this app draws. Its construction is S01's, from
   one.css: .auth-wrap on the grid, .auth-card, .auth-brand, .auth-field, .btn,
   .alert, .auth-foot. What follows is only what S01 sets inline. */

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

.auth-card {
  position: relative;
}

.auth-brand {
  margin-bottom: 14px;
}

/* The mark and the wordmark, as mock.css draws them. Copied rather than loading
   mock.css, which is scaffolding for the design files and not part of a screen. */
.a-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.a-mark .rho-mark {
  display: block;
  width: 28px;
  height: 28px;
}

.a-mark.lg,
.a-mark.lg .rho-mark {
  width: 44px;
  height: 44px;
}

.a-word {
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 22px;
}

/* The strip that says which tenant, and what the data is. */
.auth-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.auth-strip .region {
  font-size: 11px;
}

.auth-submit {
  width: 100%;
  padding: 9px;
  margin-top: 6px;
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
}

.auth-field label .auth-hint {
  margin-left: 6px;
  font-weight: 400;
}

.code-boxes {
  display: flex;
  gap: 8px;
}

.code-boxes input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}

.code-boxes input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

/* A button that reads as the link it replaces, so posting can stay a form. */
.linkish {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.auth-foot form {
  display: inline;
}
