/* The page around the calendar, in DESIGN.md's tokens (cal/tokens.css): the first setup and the
   sign-in under the family bar, and the forms of the settings view. The calendar's own rules are in
   cal/screens.css; this file adds only what those screens do not have. */

/* first setup and sign-in: one card under the bar's identity */
.page.gate{max-width:460px;padding-top:28px}
.gate-card{gap:14px;padding:20px 20px 22px}
.gate-card h2{font-size:20px;font-weight:900;letter-spacing:-.01em}
.gnote{padding:10px 12px;border-radius:10px;background:var(--sf2);font-size:var(--fs-s);font-weight:700;color:var(--ink2)}
.gnote.no{background:var(--warn-sf);color:var(--warn);font-weight:800}

/* the code page: the field's label is the card's heading; the field is as long as the code (--len digits) */
.code-card h2 label{display:block}
.inp.code{width:calc(var(--len, 6) * 1.4em + 2.4em);max-width:100%;font-size:20px;letter-spacing:.4em}

/* what a page says once (a refused LinkedIn sign-in in 설정): the status notice's look, at every width */
@media (min-width:761px){ .notice.said{display:flex} }

/* forms: a label over its field, a hint and an error line under it */
.setform{display:flex;flex-direction:column;gap:12px}
.gfield{display:flex;flex-direction:column;min-width:0}
.gfield .lbl{margin:0 0 6px}
.gfield .hint{margin-top:6px}
.ferr{margin-top:6px;font-size:var(--fs-s);font-weight:800;color:var(--warn)}
.setform > .ferr{margin-top:0}
.gact{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.gact .btn{min-height:44px;font-size:var(--fs)}

/* the history card's range: two date fields side by side, each as wide as a date (either may stay empty) */
.inp.day{width:auto;flex:1 1 9.5em;max-width:12em;min-width:0}
