/* Copyright Ayers Electronics Inc. All rights reserved. */
/* number entry. */

/* ---- number entry ---- */
/* Above the guide/on-demand layers (z 20): digits accumulate from the guide too, and the stamp
   must read over it — the Uno client keeps its overlay root-level for the same reason. */
#numEntry {
  position: absolute;
  top: 26px;
  right: 32px;
  z-index: 30;
  background: var(--scrim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  min-width: 92px;
  text-align: center;
}
/* The entry's word: the digits, or "M1-12" once a letter is armed (js/number-face.js entryLabel). */
#numEntry .entry-word {
  font-size: var(--type-entry-digit);
  font-weight: 700;
  letter-spacing: 0.15em;
  min-height: 1.2em;
}
/* Under the digits: what the stamp is about to do, quiet and one line. */
#numEntry .entry-hint {
  margin-top: 2px;
  font-size: var(--type-label);
  font-weight: 600;
  color: var(--muted);
}
/* The face: a row of the letters joined networks wear, a row of the digits; the cursor's key wears the
   ring, the armed letter the accent. Absent while no network is joined. */
#numEntry .entry-row {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: var(--type-body);
  font-weight: 600;
}
#numEntry .entry-row > * + * {
  margin-left: 6px;
}
#numEntry .entry-row-label {
  font-size: var(--type-micro);
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-right: 6px;
}
#numEntry .entry-key {
  min-width: 30px;
  padding: 4px 8px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-small);
  text-align: center;
}
#numEntry .entry-key.armed {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
#numEntry .entry-key.cur {
  box-shadow: 0 0 0 2px var(--focus-ring);
}
#numEntry.err {
  color: var(--error);
  font-size: var(--type-body);
  font-weight: 500;
  letter-spacing: 0.05em;
}
