.signin { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; }
.signin__title { margin: 0 0 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.signin__home { color: inherit; text-decoration: none; }
.signin__note { margin: 0; font-size: 13px; color: var(--text-4); max-width: 36ch; }
.signin__line { width: min(300px, 100%); margin-top: 4px; padding: 0 12px; border: 1px dotted var(--text-4); border-radius: 6px; text-align: left; }
.signin__line:focus-within { border-color: var(--text); }
.signin__code { position: relative; width: min(300px, 100%); margin-top: 4px; }
.signin__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.signin__box { height: 46px; display: flex; align-items: center; justify-content: center; border: 1px dotted var(--text-4); border-radius: 6px;
  font-family: var(--font-mono); font-size: 18px; color: var(--text); }
.signin__box.is-next { border-color: var(--text); }
/* the real input: over the boxes, invisible, so a tap anywhere on them focuses it */
.signin__code-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: none; padding: 0; font-size: 16px; color: transparent; caret-color: transparent; }
.signin__asides { display: flex; align-items: center; justify-content: space-between; width: min(300px, 100%); margin-top: 8px; }
.signin__aside { display: inline-flex; align-items: center; height: 20px; color: var(--text-4); }   /* a link and a button: the same height, on one line */
.signin__aside:hover { color: var(--text); }
.signin .form-messages { margin: 4px 0 0; max-width: 300px; }
.form-message--success { color: var(--text-3); }
.signin__go { color: var(--text); }   /* the way on: darker than the way round */
