/* clerk-signin (ME-58): HQ's own sign-in page, shown to someone who is signed out (public/signin.html, public/signin.js). It carries its OWN copy of HQ's theme
   tokens, because hq.css and board.css are the app's files and are not sent to anyone who is signed out. Light is hq.css's :root exactly; Dark is board.css's
   html[data-theme="dark"] block exactly, applied by the device (prefers-color-scheme), since nobody has saved a theme before they sign in. --danger is the one
   token added (the alert colour of each theme). The two blocks below are the only place a colour is written; every rule after them uses a token. */
:root {
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --text-body: 1.125rem;
  --text-small: 0.875rem;
  --text-label: 0.75rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;

  --border: 4px;
  --border-small: 2px;
  --shadow: 8px;
  --control-shadow: 4px;

  color-scheme: light;
  --page: #fff8ed;
  --paper: #fff8ed;
  --ink: #1a1712;
  --muted: #5d554b;
  --brand: #633bdf;
  --brand-ink: #fff8ed;
  --tint: #bdebd2;
  --tint-ink: #1a1712;
  --action: #ff785a;
  --action-ink: #1a1712;
  --shadow-color: #24211c;
  --grid-rgb: 26 23 18;
  --danger: #a3261b;
  --focus: var(--ink);
}

/* auth-hq (Auth Job A "auth-card", AUTH_REDESIGN): the Auth chassis's own palette, Light (the locked pack's values). Only a page whose <body> carries the redesign flag uses it, and the
   Worker writes that flag only when AUTH_REDESIGN is exactly "on". This rule and its Dark twin below are the only other places a colour is written (coordinator ruling R1). The last four
   are Google's own mark, drawn on its button, the same in both themes. */
body[data-auth-redesign="1"] {
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --lane: #ebe6dc;
  --rule: #e7e0d4;
  --ink: #1c1917;
  --muted: #6b645e;
  --faint: #a8a29e;
  --field: #fffdf9;
  --field-rule: #8f877f;
  --on-ink: #f7f4ee;
  --ink-press: #3a3531;
  --danger: #b91c1c;
  --google-blue: #4285f4;
  --google-green: #34a853;
  --google-yellow: #fbbc05;
  --google-red: #ea4335;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #15130f;
    --paper: #1d1a15;
    --ink: #f1ebdf;
    --muted: #b5ab9b;
    --tint: #1f3a2e;
    --tint-ink: #d4f1e1;
    --brand: #8a6cf0;
    --brand-ink: #15130f;
    --action: #ff785a;
    --action-ink: #1a1712;
    --shadow-color: transparent;
    --grid-rgb: 200 192 178;
    --rule: #3b362d;
    --border: 2px;
    --border-small: 1px;
    --shadow: 0px;
    --danger: #ff8a7a;
  }

  /* auth-hq: the Auth chassis's Dark twin (HQ Dark, the danger lifted), for the flagged page only. */
  body[data-auth-redesign="1"] {
    --paper: #171513;
    --surface: #1f1c19;
    --lane: #2a2622;
    --rule: #34302b;
    --ink: #f2ede4;
    --muted: #a39b91;
    --faint: #6f685f;
    --field: #1f1c19;
    --field-rule: #7d766d;
    --on-ink: #171513;
    --ink-press: #d8d1c6;
    --danger: #f87171;
  }
}

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

html {
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--page);
  background-image:
    linear-gradient(to right, rgb(var(--grid-rgb) / 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--grid-rgb) / 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  font-size: var(--text-body);
  overflow-wrap: anywhere;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

/* One centred column: HQ's name, then one card. */
.signin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-block-size: 100vh;
  min-block-size: 100dvh;
  padding-block: var(--space-6);
  padding-inline: var(--space-4);
  /* the Home Screen app runs under the notch and the home bar: keep the card clear of them */
  padding-block: max(var(--space-6), env(safe-area-inset-top)) max(var(--space-6), env(safe-area-inset-bottom));
  padding-inline: max(var(--space-4), env(safe-area-inset-left)) max(var(--space-4), env(safe-area-inset-right));
}

.signin__brand {
  inline-size: 100%;
  max-inline-size: 26rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* wordmark (founder, 7 Nov 2026): the long Avina[Labs] mark, inline in signin.html, for both looks. Its ink is currentColor, so it is --ink (Dark turns it light); its underline
   keeps its own mint. 26 tall (1.625rem: the lockup's 26 at a 16 px root, growing with the text), its 397.02 / 110 width. (The .plate rules below stay: hq.css's own, copied.) */
.wordmark svg {
  display: block;
  flex: none;
  inline-size: calc(1.625rem * 397.02 / 110);
  block-size: 1.625rem;
}

/* brand-everywhere (founder lock F1, 19 Nov 2026; ruling-1330-be BE-R9a): the lockup, the suit beside the geometric AvinaLabs word, inline in signin.html, for both looks; both drawn in
   currentColor, so they are --ink and Dark turns them light. It stands in the 26 slot the 7 Nov word had: the suit 1.625rem tall (its 4104 / 3808 box), the word half of that (its
   2938 / 434 box), the slot's own gap between. The rule above is left as it was; these two come after it and size the two drawings. */
.wordmark .wordmark__suit {
  inline-size: calc(1.625rem * 4104 / 3808);
  block-size: 1.625rem;
}

.wordmark .wordmark__word {
  inline-size: calc(0.8125rem * 2938 / 434);
  block-size: 0.8125rem;
}

.plate {
  display: inline-flex;
  align-items: center;
  max-inline-size: 100%;
  padding: 0.25rem 0.5rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--border-small) solid var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.plate--brand {
  color: var(--brand-ink);
  background: var(--brand);
  border-color: var(--brand-ink);
}

.signin__card {
  display: grid;
  gap: var(--space-4);
  inline-size: 100%;
  max-inline-size: 26rem;
  padding: var(--space-5);
  color: var(--ink);
  background: var(--paper);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow) var(--shadow) 0 var(--shadow-color);
}

.signin__title:focus {
  outline: none;
}

.signin__line {
  color: var(--muted);
  font-size: 1rem;
}

/* A notice (not invited, another address, trouble): the line carries a bar beside it, in the brand colour when it is only news, in the alert colour when something went wrong. */
.signin__card[data-view="notInvited"] .signin__line,
.signin__card[data-view="otherAddress"] .signin__line {
  padding-inline-start: var(--space-3);
  color: var(--ink);
  border-inline-start: var(--border) solid var(--brand);
}

.signin__card[data-view="trouble"] .signin__line,
.signin__card[data-view="tooMany"] .signin__line,
.signin__card[data-view="notReady"] .signin__line {
  padding-inline-start: var(--space-3);
  color: var(--ink);
  border-inline-start: var(--border) solid var(--danger);
}

.signin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Where the sign-in box is drawn. It takes the card's width and never more. */
.signin__box {
  inline-size: 100%;
  min-inline-size: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-inline-size: 44px;
  min-block-size: 48px;
  max-inline-size: 100%;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--border-small) solid var(--ink);
  border-radius: 0;
  box-shadow: var(--control-shadow) var(--control-shadow) 0 var(--shadow-color);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  transition: transform 100ms ease, box-shadow 100ms ease;
}

.button--primary {
  color: var(--action-ink);
  background: var(--action);
  border-color: var(--action-ink);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--shadow-color);
}

@media (hover: hover) {
  .button:hover {
    text-decoration: underline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }

  .button:active {
    transform: none;
  }
}
/* HQ's own box (the top page on the sign-in host): Google, "or", an email address, and the code. One column, the card's width and never more; every control 48 px or more tall. */
.signin__start,
.signin__form {
  display: grid;
  gap: var(--space-4);
  min-inline-size: 0;
}

.signin__start {
  gap: var(--space-3);
}

.signin__field {
  display: grid;
  gap: var(--space-1);
}

.signin__label {
  font-size: var(--text-small);
  font-weight: 800;
}

.signin__input {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 48px;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--border-small) solid var(--ink);
  border-radius: 0;
  /* 16 px or more, or a phone zooms the page when the field takes focus */
  font: inherit;
  font-size: 1rem;
}

.signin__input[name="code"] {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.button--wide {
  inline-size: 100%;
}

.button:disabled {
  opacity: 0.6;
  cursor: default;
}

.signin__or {
  color: var(--muted);
  font-size: var(--text-small);
  text-align: center;
}

.signin__hint,
.signin__error {
  padding-inline-start: var(--space-3);
  border-inline-start: var(--border) solid var(--brand);
  font-size: var(--text-small);
}

.signin__error {
  color: var(--ink);
  border-inline-start-color: var(--danger);
}

/* The bot check the service may ask for draws itself here, and takes no room until it does (the card's gap above it is taken back while it is empty). */
.signin__captcha:empty {
  margin-block-start: calc(-1 * var(--space-4));
}

/* auth-hq:start */
/* auth-hq (Auth Job A "auth-card", AUTH_REDESIGN on): the same page in the locked Auth chassis (auth-LOCKS.md, Craft LOCKED; the pack's auth-figma values). Every rule from here to the
   end marker is under body[data-auth-redesign="1"], so with the switch off none of them applies and the page is as it was. Phone: no card, the paper page, gutters 20 (16 under 360 px);
   desk (600 px and up): one 440 card on --surface, a 1px --rule hairline, r10, no shadow, padding 32/40, its top 110 down, centred. Inside: the lockup (26), 24, the title 28/700/34, 8,
   one muted line 16/24, 24, the content; controls 48 and r10; a 40 hint = error slot; a 48 action slot; one ink primary per state. Colours come only from the tokens; nothing moves
   (no transition and no animation: the Working ring is drawn still). Every line box is in rem (34px = 2.125rem, 26px = 1.625rem, 24px = 1.5rem, 20px = 1.25rem at the 16 px root), so the
   lines are the locked px at normal text and grow with a person's text size (S10, 200% text: Codex r1 P1-3); a control's 48 and a slot's 40 are minimums, never caps. */
body[data-auth-redesign="1"] {
  color: var(--ink);
  background-color: var(--paper);
  background-image: none;
  font-size: 1rem;
}

body[data-auth-redesign="1"] :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* The page: one column, top-anchored and centred; no card on a phone. */
body[data-auth-redesign="1"] .signin {
  display: block;
  min-block-size: 0;
  inline-size: 100%;
  margin-inline: auto;
  padding-block: max(16px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom));
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

@media (max-width: 359px) {
  body[data-auth-redesign="1"] .signin {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
}

/* A desk: the column is the card (the lockup, the title and the line inside it, flush left). */
@media (min-width: 600px) {
  body[data-auth-redesign="1"] .signin {
    max-inline-size: 440px;
    margin-block: 110px 32px;
    padding: 32px 40px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 10px;
  }
}

/* The A6 lockup: AvinaLabs in ink, the HQ plate its equal partner, 26 tall. */
body[data-auth-redesign="1"] .signin__brand {
  max-inline-size: none;
}

body[data-auth-redesign="1"] .wordmark {
  gap: 8px;
  min-block-size: 26px;
  font-family: var(--display, var(--font-body));
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.625rem;
}

body[data-auth-redesign="1"] .plate {
  min-block-size: 26px;
  padding: 0 8px;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.625rem;
}

/* The card's own box gives way to the column (the card, on a desk). */
body[data-auth-redesign="1"] .signin__card {
  display: block;
  max-inline-size: none;
  padding: 0;
  color: var(--ink);
  background: none;
  border: 0;
  box-shadow: none;
}

body[data-auth-redesign="1"] .signin__title {
  margin-block-start: 24px;
  font-family: var(--display, var(--font-body));
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 2.125rem;
  letter-spacing: -0.01em;
}

/* Join {name}: two lines at most (the whole name stays the heading's text). */
body[data-auth-redesign="1"][data-join="1"] .signin__card[data-view="joining"] .signin__title,
body[data-auth-redesign="1"][data-join="1"] .signin__card[data-view="loading"] .signin__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* The one muted line, the same on every screen (a notice swaps its words, not its look). */
body[data-auth-redesign="1"] .signin__line,
body[data-auth-redesign="1"] .signin__card[data-view] .signin__line {
  margin-block-start: 8px;
  padding-inline-start: 0;
  color: var(--muted);
  border-inline-start: 0;
  font-size: 1rem;
  line-height: 1.5rem;
}

body[data-auth-redesign="1"] .signin__line b,
body[data-auth-redesign="1"] .signin__receipt b {
  color: var(--ink);
  font-weight: 600;
}

/* An action inside a line (Use another address, use your email instead): ink and underlined, a 44 tap area that leaves the line's height alone. */
body[data-auth-redesign="1"] .signin__link {
  display: inline-block;
  margin-block: -10px;
  padding: 10px 0;
  color: var(--ink);
  background: none;
  border: 0;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body[data-auth-redesign="1"] .signin__actions {
  display: grid;
  gap: 12px;
  margin-block-start: 24px;
}

body[data-auth-redesign="1"] .signin__box,
body[data-auth-redesign="1"] .signin__receipt {
  margin-block-start: 24px;
}

body[data-auth-redesign="1"] .signin__captcha {
  margin-block-start: 16px;
}

body[data-auth-redesign="1"] .signin__captcha:empty {
  margin-block-start: 0;
}

/* Buttons: 48, r10, 16/600; the one ink primary of a state; never greyed (a working button keeps its look: its ring and words say it is busy). */
body[data-auth-redesign="1"] .button {
  min-block-size: 48px;
  padding: 12px 16px;
  color: var(--ink);
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
}

body[data-auth-redesign="1"] .button:active {
  background: var(--lane);
  box-shadow: none;
  transform: none;
}

body[data-auth-redesign="1"] .button:hover {
  text-decoration: none;
}

body[data-auth-redesign="1"] .button:disabled {
  opacity: 1;
  cursor: default;
}

body[data-auth-redesign="1"] .button--primary {
  color: var(--on-ink);
  background: var(--ink);
  border-color: var(--ink);
}

body[data-auth-redesign="1"] .button--primary:active {
  background: var(--ink-press);
  border-color: var(--ink-press);
}

/* Google: outlined, 16/500, its own mark. */
body[data-auth-redesign="1"] .signin__google {
  gap: 12px;
  border-color: var(--field-rule);
  font-weight: 500;
}

body[data-auth-redesign="1"] .signin__gmark {
  flex: none;
  inline-size: 18px;
  block-size: 18px;
}

body[data-auth-redesign="1"] .signin__g1 {
  fill: var(--google-blue);
}

body[data-auth-redesign="1"] .signin__g2 {
  fill: var(--google-green);
}

body[data-auth-redesign="1"] .signin__g3 {
  fill: var(--google-yellow);
}

body[data-auth-redesign="1"] .signin__g4 {
  fill: var(--google-red);
}

/* Working: a ring beside the words, drawn still. */
body[data-auth-redesign="1"] .signin__ring {
  display: inline-block;
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  transform: rotate(30deg);
}

/* The box: Google, "or" between two hairlines, the email form. */
body[data-auth-redesign="1"] .signin__start,
body[data-auth-redesign="1"] .signin__form {
  gap: 0;
}

body[data-auth-redesign="1"] .signin__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 16px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

body[data-auth-redesign="1"] .signin__or::before,
body[data-auth-redesign="1"] .signin__or::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: var(--rule);
}

/* A field: its label 14/600 above it, 48 tall, r10, a 1px --field-rule border, 16 px words; its focus ring is drawn on its own edge (2px ink). */
body[data-auth-redesign="1"] .signin__field {
  gap: 8px;
}

body[data-auth-redesign="1"] .signin__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

body[data-auth-redesign="1"] .signin__input {
  min-block-size: 48px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--field-rule);
  border-radius: 10px;
  font-size: 1rem;
}

body[data-auth-redesign="1"] .signin__input:focus-visible {
  outline-offset: -2px;
}

body[data-auth-redesign="1"] .signin__input[readonly] {
  color: var(--muted);
  background: var(--paper);
}

/* The hint = error slot (40) under a field, and the in-app hint: 13/20, muted. An error in it is red words beside a drawn "!"; the field's border stays neutral. */
body[data-auth-redesign="1"] .signin__slot {
  min-block-size: 40px;
  padding-block-start: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

body[data-auth-redesign="1"] .signin__hint,
body[data-auth-redesign="1"] .signin__error {
  padding-inline-start: 0;
  border-inline-start: 0;
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

body[data-auth-redesign="1"] .signin__hint {
  margin-block-start: 8px;
  color: var(--muted);
}

body[data-auth-redesign="1"] .signin__error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--danger);
}

body[data-auth-redesign="1"] .signin__error::before {
  content: "";
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  margin-block-start: 2px;
  background: linear-gradient(currentColor, currentColor) 50% 2px / 1.5px 6px no-repeat, linear-gradient(currentColor, currentColor) 50% 9.5px / 1.5px 1.5px no-repeat;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* The code's hint gives its place to an error, and to Verifying… (beside a small ring) while a check runs. */
body[data-auth-redesign="1"] .signin__error:not([hidden]) ~ .signin__codehint {
  display: none;
}

body[data-auth-redesign="1"] .signin__verifying {
  display: flex;
  gap: 8px;
  align-items: center;
}

body[data-auth-redesign="1"] .signin__slot .signin__ring {
  inline-size: 12px;
  block-size: 12px;
  border-width: 1.5px;
}

/* The code: ONE real field over six drawn slots (3 + 3). The field takes the taps, a paste and the phone's code autofill; the slots show what it holds. */
body[data-auth-redesign="1"] .signin__code {
  display: grid;
}

body[data-auth-redesign="1"] .signin__code .signin__input {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: stretch;
  min-block-size: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
}

body[data-auth-redesign="1"] .signin__digits {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 6px repeat(3, minmax(0, 1fr));
  column-gap: 8px;
}

body[data-auth-redesign="1"] .signin__digit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 56px;
  background: var(--field);
  border: 1px solid var(--field-rule);
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* The slot the next digit goes in, while the field has the focus: 2px ink (the field's focus ring), with a still caret while it is empty. */
body[data-auth-redesign="1"] .signin__code:focus-within .signin__digit--next {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

body[data-auth-redesign="1"] .signin__code:focus-within .signin__digit--next:empty::after {
  content: "";
  inline-size: 2px;
  block-size: 26px;
  background: var(--ink);
}

/* Read-only (a check runs, or its trouble shows): the digits muted, on the paper. */
body[data-auth-redesign="1"] .signin__input[readonly] ~ .signin__digits .signin__digit {
  color: var(--muted);
  background: var(--paper);
}

/* The code step's action slot (48): Send a new code as a quiet text action (a muted countdown, then ink), or the one ink Try again. */
body[data-auth-redesign="1"] .signin__act {
  display: grid;
  min-block-size: 48px;
}

body[data-auth-redesign="1"] .signin__quiet {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body[data-auth-redesign="1"] .signin__quiet:disabled {
  color: var(--muted);
}

body[data-auth-redesign="1"] .signin__quiet b,
body[data-auth-redesign="1"] .signin__wait b {
  color: var(--ink);
  font-weight: 600;
}

/* Too many: the page's own wait, counted down, muted and tabular, in the action slot. */
body[data-auth-redesign="1"] .signin__wait {
  min-block-size: 48px;
  padding-block: 12px;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.5rem;
  text-align: center;
}

/* The ✓ receipt: who was proven, between two hairlines; the ✓ is drawn (a paper tick on an ink disc). */
body[data-auth-redesign="1"] .signin__receipt {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  padding-block: 16px;
  border-block: 1px solid var(--rule);
  line-height: 1.5rem;
}

body[data-auth-redesign="1"] .signin__check {
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: 24px;
  background: var(--ink);
  border-radius: 50%;
}

body[data-auth-redesign="1"] .signin__check::after {
  content: "";
  inline-size: 6px;
  block-size: 11px;
  margin-block-start: -3px;
  border: solid var(--on-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

body[data-auth-redesign="1"] .signin__confirmed {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
/* auth-hq:end */
