/* The full sign-in screen (src/fp/rb/signIn.js): the landing and /how open it in place; signed-out Alerts is drawn as it
   (KHA-175). [data-rb-page] holds the scrim over rb-sheets.css's translucent .scrim on pages that load both. */
/* Sign in (board 07 #signin; Kha 10-27): the whole screen, no box, a soft wash in the signature colour, close at the
   top left, the consent line at the foot; the same shape as the other pages' (rb-sheets.css). Google stands where the
   board draws the email field, which is not built. */
[data-rb-page] .rb-si-scrim { position: fixed; inset: 0; z-index: 40; background: var(--bg); }
.rb-si { position: absolute; inset: 0; z-index: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 84px 24px max(28px, env(safe-area-inset-bottom)); text-align: center; outline: 0; }
.rb-si::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(620px, 108vw); height: 380px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sig) 9%, transparent), transparent); pointer-events: none; }
.rb-si > * { flex-shrink: 0; width: 100%; max-width: 360px; margin: 0; }
.rb-si h2 { margin-top: auto; font: 700 1.75rem/1.15 var(--head); letter-spacing: -.02em; }
.rb-si > .rb-si-x { position: fixed; z-index: 1; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--surf2); color: var(--muted); display: grid; place-items: center; }
.rb-si-x svg { width: 12px; height: 12px; }
.rb-si-g { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 14px; background: var(--fg); color: #17181a; font: 600 .9375rem var(--body); }
.rb-si-g:hover { background: #fff; }
.rb-si-g svg { width: 18px; height: 18px; flex: none; }
.rb-si > .rb-si-c { margin-top: auto; max-width: 420px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .78125rem; line-height: 1.45; color: var(--muted); }
.rb-si .ferr { display: flex; gap: 8px; align-items: center; border: 1px solid rgba(238, 107, 132, .4); background: rgba(238, 107, 132, .08); border-radius: 10px; padding: 9px 12px; font-size: .8125rem; line-height: 1.45; text-align: left; }
.rb-si .ferr svg { width: 16px; height: 16px; flex: none; color: var(--dn); }
.rb-si .ferr > span { flex: 1; min-width: 0; }
/* drawn as a page (signed-out Alerts): one line on what the page is for, then the title, held together in the middle */
.rb-si > .rb-si-k { margin-top: auto; font: 500 .9375rem/1.45 var(--body); color: var(--muted); }
.rb-si > .rb-si-k + h2 { margin-top: 0; }
.rb-si-c a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .rb-si-g { transition: background-color .15s; } }
