/* login (/login) + login-phone: placement only, scoped under each screen's root (desk + pocket share this file).
   No hex, no border, no shadow, no font. The first outward screen: the band carries the lockup alone (no nav, no strip,
   no court: a signed-out page) and the title with its one line; the body draws the served state and the next one. */

/* the desk: the lede under the title, where a list page's count sits */
[data-vs-screen="login"] .slog-lede { margin: 0; }

/* the two states, one row: each card's form on the card's text line, a 384 column (the dash's max-w-sm) */
[data-vs-screen="login"] .slog-states { margin-block-start: 0; }
[data-vs-screen="login"] .slog-form,
[data-vs-screen="login"] .slog-sent { display: grid; gap: 12px; max-width: 384px; justify-items: start; padding-inline-start: calc(var(--nz-card-text-inset) - var(--nz-card-pad)); box-sizing: content-box; }   /* on the card's text line, as a section title sits */
[data-vs-screen="login"] .slog-form .nz-button { margin-block-start: 8px; }
[data-vs-screen="login"] .slog-sent .nz-type-heading-sm,
[data-vs-screen="login"] .slog-sent p { margin: 0; }
[data-vs-screen="login"] .slog-sent .slog-again { margin-block-start: 8px; }
[data-vs-screen="login"] .slog-foot { margin: 0; }

/* the field: the kit's field (.nz-search) at the form's width; the input takes the whole field */
[data-vs-screen="login"] .slog-field,
[data-vs-screen="login-phone"] .slog-field { width: 100%; }
[data-vs-screen="login"] .slog-form .nz-button--block { justify-self: stretch; }
[data-vs-screen="login"] .slog-form .slog-field { justify-self: stretch; }
[data-vs-screen="login"] .slog-addr,
[data-vs-screen="login-phone"] .slog-addr { color: var(--nz-text-primary); }   /* the address in full ink, as the dash sets it */

/* the pocket: two cards in the gutter, the footnote under them */
[data-vs-screen="login-phone"] .slog-form { display: grid; gap: 12px; }
[data-vs-screen="login-phone"] .slog-form p { margin: 0; }
[data-vs-screen="login-phone"] .slog-form .nz-button--primary { margin-block-start: 4px; }
[data-vs-screen="login"] .slog-code-form { display: grid; gap: 12px; width: 100%; }   /* 2.31: the desk sent card takes the code too, as the console draws it */
[data-vs-screen="login"] .slog-code,
[data-vs-screen="login-phone"] .slog-code { padding-inline-end: 16px; }   /* the kit field pads 16 / 6 (built for a trailing button); with no icon and no button, even padding centres the code */
[data-vs-screen="login"] .slog-code .nz-search__input,
[data-vs-screen="login-phone"] .slog-code .nz-search__input { text-align: center; }
[data-vs-screen="login-phone"] .slog-m-foot { margin: 8px 0 0; text-align: center; }
