/* Sign-in screens shown before the workspace opens */
.vb-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; box-sizing: border-box; background: var(--bg); }
.vb-card { width: 100%; max-width: 400px; background: var(--surface); border-radius: 28px; padding: 28px 24px; box-sizing: border-box; box-shadow: 0 20px 60px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 14px; }
.vb-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--fg); }
.vb-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #0F2552; color: #E8A22A; font-weight: 800; }
.vb-card h1 { margin: 6px 0 0; font-family: var(--display, var(--sans)); font-size: 30px; letter-spacing: -.02em; color: var(--fg); }
.vb-sub { margin: 0; color: var(--muted); line-height: 1.45; }
.vb-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.vb-f { display: flex; flex-direction: column; gap: 5px; }
.vb-f label { font-size: 13px; font-weight: 600; color: var(--muted); }
.vb-f .field { font-size: 17px; min-height: 48px; }
.vb-go { min-height: 48px; font-size: 16px; }
.vb-err { margin: 0; min-height: 1px; color: var(--danger); font-weight: 600; font-size: 14px; }
.vb-err:empty { display: none; }
.vb-help { margin: 0; color: var(--muted); font-size: 13px; }
.vb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.vb-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: vb-spin .8s linear infinite; }
@keyframes vb-spin { to { transform: rotate(360deg); } }
#vb-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); max-width: calc(100vw - 32px); box-sizing: border-box; padding: 12px 18px; border-radius: 16px; background: rgba(29,29,31,.94); color: #fff; font: 600 14px/1.4 var(--sans); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1000; }
#vb-toast.on { opacity: 1; transform: translate(-50%, 0); }
