/* ==========================================================================
   vm-onboarding.css — the way into the app (Brand Pack 3)
   The splash, the three welcome screens and unlock (login.php, inside the
   Android app), the five set-up steps and "all set" (register.php, every
   screen size). Everything is namespaced ob- so it cannot meet the sign-in
   page's own .btn, .field and friends from vm-auth.css.

   Cream ground under grain, ink hairlines, square corners, Unbounded 500 in
   lowercase for display and Inter for reading. Sky only as a line or a
   small square for what is happening now. The motion itself is in
   vm-motion.js; nothing here moves unless a script asks.
   ========================================================================== */
.ob {
    --ob-ground: #F2EDE4; --ob-raised: #FAF7F1; --ob-line: #DCD5CA; --ob-line-strong: #847E74;
    --ob-ink: #121214; --ob-muted: #5B5751; --ob-faint: #A39D94; --ob-sky: #1785D6;
    --ob-bad: #B3261E; --ob-graphite: #3A3A40;
    --ob-display: 'Unbounded', 'Inter', system-ui, sans-serif;
    --ob-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ob-ease: cubic-bezier(.65, 0, .35, 1);
    --ob-top: env(safe-area-inset-top, 0px);
    --ob-bottom: env(safe-area-inset-bottom, 0px);
    color: var(--ob-ink); font-family: var(--ob-text); font-size: 15px; line-height: 1.5;
    font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
.ob *, .ob *::before, .ob *::after { box-sizing: border-box; border-radius: 0; }
.ob button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.ob button:disabled { cursor: default; }
/* No weight of its own, so every .ob-* rule below still sets its margins. */
:where(.ob) :where(h2, h3, p, ul) { margin: 0; padding: 0; }
/* The sign-up sits in the page's form column, whose own heading rule
   (.form-wrap h2 in vm-auth.css and vm-mobile-auth.css) would win. */
.form-wrap .ob h2.ob-display { margin: 0; font-size: 27px; line-height: 1.08; letter-spacing: -.05em; }
.form-wrap .ob h2.ob-dn-title { margin-top: 12px; font-size: 32px; }
.ob [hidden] { display: none !important; }
.ob :focus-visible { outline: 2px solid var(--ob-sky); outline-offset: 2px; }

/* A layer over the whole page: the splash, the welcome screens, unlock and,
   on a phone, the set-up. Its own ground and grain, so nothing under it shows. */
.ob-layer {
    position: fixed; inset: 0; z-index: 1000; overflow: hidden; isolation: isolate;
    background: var(--ob-ground); user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.ob-layer::after {
    content: ''; position: absolute; inset: 0; z-index: 60; pointer-events: none;
    background-image: url('brand/grain-cream.png'); opacity: .95;
}
.ob-screen {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    padding: calc(12px + var(--ob-top)) 24px calc(18px + var(--ob-bottom));
}
.ob-col { width: 100%; max-width: 460px; height: 100%; margin: 0 auto; display: flex; flex-direction: column; min-height: 0; }

/* ---------- type ---------- */
.ob-cap { font-family: var(--ob-display); font-weight: 500; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ob-muted); }
.ob-display { font-family: var(--ob-display); font-weight: 500; font-size: 27px; line-height: 1.08; letter-spacing: -.05em; text-transform: lowercase; color: var(--ob-ink); }
.ob-display .w { display: inline-block; white-space: nowrap; }
.ob-display .ch { display: inline-block; }
.ob-note { font-size: 14px; line-height: 1.5; color: var(--ob-muted); }
.ob-ref { font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ob .ob-link { font-family: var(--ob-display); font-size: 13px; color: var(--ob-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; padding: 10px 0; }
.ob a.ob-link { display: inline-block; }
.ob .ob-link:disabled { color: var(--ob-faint); text-decoration-color: var(--ob-line); }
.ob-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: square; stroke-linejoin: miter; }

/* The main action: an ink block; a press fills graphite from the left. */
.ob .ob-btn {
    position: relative; overflow: hidden; width: 100%; height: 56px; padding: 0 20px; flex: none;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--ob-ink); color: var(--ob-ground);
    font-family: var(--ob-display); font-weight: 500; font-size: 15px; letter-spacing: -.01em; text-transform: lowercase;
    transition: background .5s var(--ob-ease), color .5s var(--ob-ease);
}
.ob .ob-btn > * { position: relative; z-index: 1; }
.ob .ob-btn .ob-fill { position: absolute; inset: 0; z-index: 0; background: var(--ob-graphite); transform: scaleX(0); transform-origin: 0 50%; }
.ob .ob-btn:disabled { background: var(--ob-line); color: var(--ob-faint); }
.ob .ob-btn .ob-ico { width: 20px; height: 20px; stroke-width: 1.25; }
.ob .ob-btn.is-busy { pointer-events: none; }
.ob .ob-btn.is-busy .ob-ico { opacity: .4; }

/* ---------- splash ---------- */
.ob-splash { align-items: center; justify-content: center; padding-bottom: 60px; }
.ob-sp-center { display: flex; flex-direction: column; align-items: center; }
.ob-sym { width: 64px; height: 128px; overflow: visible; }
.ob-sym-frame { fill: none; stroke: var(--ob-sky); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ob-sym-v { fill: none; stroke: var(--ob-ink); stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ob-word { width: 172px; height: auto; margin-top: 38px; overflow: visible; }
.ob-word .wl { fill: var(--ob-ink); opacity: 0; }
.ob-desc { margin-top: 14px; font-family: var(--ob-display); font-weight: 500; font-size: 8px; letter-spacing: .34em; text-transform: uppercase; color: var(--ob-muted); opacity: 0; }
/* With less motion the splash is simply its last frame. */
.ob-still .ob-sym-frame { stroke: var(--ob-ink); stroke-dashoffset: 0; }
.ob-still .ob-sym-v { stroke-dashoffset: 0; }
.ob-still .ob-word .wl, .ob-still .ob-desc { opacity: 1; }
.ob-morph { position: absolute; z-index: 40; border: 4px solid var(--ob-ink); pointer-events: none; }
.ob-sweep { position: fixed; left: 0; top: var(--ob-top); height: 2px; width: 100%; background: var(--ob-sky); transform: scaleX(0); transform-origin: 0 50%; z-index: 1001; pointer-events: none; }

/* ---------- welcome ---------- */
.ob-in-top { height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.ob-in-frame { position: relative; flex: 0 1 300px; min-height: 220px; margin-top: 4px; border: 1px solid var(--ob-ink); overflow: hidden; touch-action: pan-y; }
.ob-vis { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; }
.ob-in-copy { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ob-prog { display: flex; align-items: center; gap: 5px; }
.ob-prog .seg { width: 22px; height: 2px; background: var(--ob-line); transition: background .7s var(--ob-ease); }
.ob-prog .seg.done { background: var(--ob-ink); }
.ob-prog .seg.now { background: var(--ob-sky); }
.ob-prog .ob-cap { margin-left: 10px; }
.ob-in-texts { display: grid; }
.ob-in-text { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; }
.ob-in-text.is-off { visibility: hidden; }
.ob-in-actions { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.ob-in-login { text-align: center; font-size: 13px; color: var(--ob-muted); }
.ob-in-login .ob-link { margin-left: 4px; }

/* welcome 1: one id, every account */
.ob-v1-id { font-family: var(--ob-display); font-weight: 500; font-size: 28px; letter-spacing: -.05em; line-height: 1.1; margin-top: 6px; text-transform: lowercase; }
.ob-v1-rows { margin-top: 16px; border-top: 1px solid var(--ob-line); }
.ob-v1-row { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; height: 42px; border-bottom: 1px solid var(--ob-line); font-size: 13.5px; }
.ob-v1-row .ob-ico { width: 20px; height: 20px; color: var(--ob-muted); }
.ob-v1-row .bar { position: absolute; left: -20px; top: -1px; bottom: -1px; width: 2px; background: var(--ob-sky); transform: scaleY(0); }
.ob-v1-row b { font-weight: 500; }
.ob-v1-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.ob-roll { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--ob-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; position: relative; padding-bottom: 6px; }
.ob-roll .cur { font-size: .8em; margin-right: 4px; }
.ob-roll .cell { position: relative; display: inline-block; width: .8em; height: 1.2em; overflow: hidden; background: var(--ob-raised); outline: 1px solid var(--ob-line); outline-offset: -1px; text-align: center; line-height: 1.2em; }
.ob-roll .cell::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ob-ground); opacity: .9; }
.ob-roll .strip { display: flex; flex-direction: column; }
.ob-roll .strip span { height: 1.2em; }
.ob-roll .sep { width: .3em; text-align: center; }
.ob-roll .rule { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ob-ink); transition: background .4s; }
.ob-roll.rolling .rule { background: var(--ob-sky); }

/* welcome 2: held at your bank */
.ob-v2-amt { font-family: var(--ob-display); font-weight: 500; font-size: 34px; letter-spacing: -.04em; line-height: 1.1; margin-top: 6px; }
.ob-v2-amt small { font-size: .55em; margin-right: 6px; }
.ob-track3 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.ob-track3 .st { position: relative; display: flex; flex-direction: column; gap: 10px; }
.ob-track3 .sq { position: relative; z-index: 1; width: 12px; height: 12px; background: var(--ob-ground); border: 1px solid var(--ob-line-strong); }
.ob-track3 .st.done .sq { background: var(--ob-ink); border-color: var(--ob-ink); }
.ob-track3 .st.now .sq { background: var(--ob-sky); border-color: var(--ob-sky); }
.ob-track3 .st span { font-family: var(--ob-display); font-size: 12px; color: var(--ob-faint); transition: color .4s; }
.ob-track3 .st.done span, .ob-track3 .st.now span { color: var(--ob-ink); }
.ob-track3 .ln { position: absolute; top: 5.5px; height: 1px; background: var(--ob-line); }
.ob-track3 .ln i { position: absolute; inset: 0; background: var(--ob-ink); transform: scaleX(0); transform-origin: 0 50%; }
.ob-track3 .ln.now i { background: var(--ob-sky); }
.ob-v2-state { margin-top: 18px; min-height: 42px; font-size: 13px; line-height: 1.55; color: var(--ob-muted); }
.ob-v2-state b { color: var(--ob-ink); font-weight: 500; }
.ob-annot { margin-top: auto; display: grid; grid-template-columns: 8px 18px 1fr; align-items: center; gap: 0 8px; font-size: 12px; color: var(--ob-muted); }
.ob-annot i { width: 8px; height: 8px; background: var(--ob-ink); }
.ob-annot s { height: 1px; background: var(--ob-ink); text-decoration: none; }

/* welcome 3: scan, tap or split */
.ob-v3 { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; height: 100%; }
.ob-qrbox { position: relative; width: 120px; height: 120px; }
.ob-qr { width: 120px; height: 120px; display: block; }
.ob-qr rect { fill: var(--ob-ink); transform-box: fill-box; transform-origin: center; }
.ob-qr.play rect { animation: obQrIn .42s var(--ob-ease) both; animation-delay: calc(var(--d) * 16ms); }
@keyframes obQrIn { from { opacity: 0; transform: scale(.2); } }
.ob-scanline { position: absolute; left: -8px; right: -8px; top: 0; height: 2px; background: var(--ob-sky); opacity: 0; }
.ob-corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ob-ink); }
.ob-corner.tl { left: -10px; top: -10px; border-width: 1px 0 0 1px; }
.ob-corner.tr { right: -10px; top: -10px; border-width: 1px 1px 0 0; }
.ob-corner.bl { left: -10px; bottom: -10px; border-width: 0 0 1px 1px; }
.ob-corner.br { right: -10px; bottom: -10px; border-width: 0 1px 1px 0; }
.ob-ways { display: flex; flex-direction: column; border-top: 1px solid var(--ob-line); }
.ob-way { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ob-line); align-items: start; }
.ob-way i { width: 10px; height: 10px; margin-top: 4px; border: 1px solid var(--ob-line-strong); transition: background .4s, border-color .4s; }
.ob-way.now i { background: var(--ob-sky); border-color: var(--ob-sky); }
.ob-way b { display: block; font-family: var(--ob-display); font-weight: 500; font-size: 13px; }
.ob-way span { display: block; font-size: 11.5px; color: var(--ob-muted); line-height: 1.4; }

/* ---------- set-up (register.php) ---------- */
/* On a wide screen it sits in the form column like the rest of the page. */
.ob-signup { position: relative; }
.ob-signup .ob-col { max-width: none; }
.ob-su-head { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.ob .ob-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-left: -12px; color: var(--ob-ink); }
.ob .ob-icon-btn:disabled { visibility: hidden; }
.ob-su-meta { display: flex; gap: 14px; align-items: baseline; }
.ob-su-meta .ob-su-word { color: var(--ob-ink); }
.ob-track { flex: none; display: flex; gap: 4px; }
.ob-track span { position: relative; flex: 1; height: 2px; background: var(--ob-line); overflow: hidden; }
.ob-track span i { position: absolute; inset: 0; background: var(--ob-ink); transform: scaleX(0); transform-origin: 0 50%; }
.ob-track span.now i { background: var(--ob-sky); }
.ob-su-body { position: relative; flex: 1 1 auto; min-height: 0; }
.ob-step { display: flex; flex-direction: column; padding-top: 28px; min-height: 100%; }
.ob-step .ob-note { margin-top: 10px; }
.ob-field { margin-top: 26px; }
.ob-fval { display: flex; align-items: baseline; gap: 10px; height: 44px; margin-top: 10px; font-family: var(--ob-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; cursor: text; }
.ob-fval .ob-prefix { color: var(--ob-muted); font-size: 18px; }
.ob-fval .ob-val { white-space: pre; }
.ob-fval .ob-ph { color: var(--ob-faint); }
.ob-caret { display: inline-block; width: 2px; height: 26px; background: var(--ob-sky); transform: translateY(4px); animation: obBlink 1.06s steps(1) infinite; }
@keyframes obBlink { 50% { opacity: 0; } }
.ob-uline { position: relative; height: 1px; background: var(--ob-line-strong); }
.ob-uline i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ob-sky); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ob-ease); }
.ob-field.is-active .ob-uline i { transform: scaleX(1); }
.ob-field.is-bad .ob-uline { background: var(--ob-bad); }
.ob-field.is-bad .ob-uline i { background: var(--ob-bad); }
.ob-help { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--ob-muted); }
.ob-msg { min-height: 20px; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ob-bad); }
.ob-msg.is-info { color: var(--ob-muted); }
.ob-msg a, .ob-msg button { color: var(--ob-ink); text-decoration: underline; text-underline-offset: 4px; font-family: var(--ob-display); font-size: 12.5px; margin-left: 6px; }
.ob-consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--ob-muted); cursor: pointer; }
.ob-consent input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--ob-ink); background: transparent; display: grid; place-items: center; cursor: pointer; }
.ob-consent input:checked { background: var(--ob-ink); }
.ob-consent input:checked::after { content: ''; width: 8px; height: 4px; border: solid var(--ob-ground); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.ob-consent a { color: var(--ob-ink); text-underline-offset: 3px; }
.ob-consent.needs-tick input { border-color: var(--ob-bad); outline: 1px solid var(--ob-bad); }
.ob-step .ob-btn { margin-top: auto; }
.ob-step-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; }
.ob-step-foot .ob-alt { text-align: center; font-size: 13px; color: var(--ob-muted); }

.ob-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 28px; }
.ob-cells .c { position: relative; height: 58px; background: var(--ob-raised); border: 1px solid var(--ob-line); display: grid; place-items: center; overflow: hidden; font-family: var(--ob-display); font-weight: 500; font-size: 24px; }
.ob-cells .c::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ob-sky); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ob-ease); }
.ob-cells .c.cur::after { transform: scaleX(1); }
.ob-cells .c.ok { border-color: var(--ob-ink); }
.ob-cells.is-bad .c { border-color: var(--ob-bad); }
.ob-cells .c span { display: block; }
.ob-verify { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ob-muted); min-height: 22px; }
.ob-verify i { width: 8px; height: 8px; background: var(--ob-sky); flex: none; }
.ob-verify.ok i { background: var(--ob-ink); }
.ob-dev-code { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--ob-line-strong); font-size: 12.5px; color: var(--ob-muted); }
.ob-dev-code b { color: var(--ob-ink); font-family: var(--ob-display); letter-spacing: .12em; }

.ob-dots { display: flex; gap: 18px; justify-content: center; margin-top: 40px; }
.ob-dots span { width: 16px; height: 16px; border: 1px solid var(--ob-line-strong); }
.ob-dots span.on { background: var(--ob-ink); border-color: var(--ob-ink); }
.ob-dots + .ob-msg { text-align: center; margin-top: 22px; }

.ob-id-input { width: 100%; height: 44px; margin-top: 10px; border: 0; outline: 0; background: transparent; font-family: var(--ob-display); font-weight: 500; font-size: 24px; letter-spacing: -.03em; color: var(--ob-ink); caret-color: var(--ob-sky); padding: 0; text-transform: lowercase; border-radius: 0; }
.ob-id-input::placeholder { color: var(--ob-faint); }
.ob-id-input:focus, .ob-id-input:focus-visible { outline: none; }
.ob-id-row { display: flex; align-items: baseline; gap: 6px; }
.ob-id-row .ob-at { font-family: var(--ob-display); font-weight: 500; font-size: 22px; color: var(--ob-muted); }
.ob-id-status { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-top: 10px; font-size: 12.5px; color: var(--ob-muted); }
.ob-id-status i { width: 8px; height: 8px; background: var(--ob-ink); flex: none; }
.ob-id-status.bad { color: var(--ob-bad); }
.ob-id-status.bad i { background: var(--ob-bad); }
.ob-suggest { margin-top: 22px; }
.ob-suggest div { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 2px; }

.ob-bio-frame { position: relative; width: 156px; height: 156px; margin: 30px auto 0; border: 1px solid var(--ob-ink); display: grid; place-items: center; overflow: hidden; flex: none; }
.ob-bio-frame .ob-fp { width: 86px; height: 86px; }
.ob-fp path { fill: none; stroke: var(--ob-ink); stroke-width: .9; stroke-linecap: square; }
.ob-bio-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ob-sky); opacity: 0; }

.ob-keypad { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(46px, 7.6vh, 61px); margin: 0 -24px calc(-6px - var(--ob-bottom)); padding-bottom: var(--ob-bottom); border-top: 1px solid var(--ob-line); }
.ob .ob-key { position: relative; font-family: var(--ob-display); font-weight: 400; font-size: 22px; color: var(--ob-ink); display: grid; place-items: center; text-align: center; overflow: hidden; }
.ob .ob-key::before { content: ''; position: absolute; inset: 6px 14px; background: var(--ob-ink); opacity: 0; transform: scale(.7); }
.ob .ob-key.hit::before { animation: obKeyHit .42s var(--ob-ease) both; }
@keyframes obKeyHit { 0% { opacity: .12; transform: scale(.85); } 100% { opacity: 0; transform: scale(1); } }
.ob .ob-key .ob-ico { width: 24px; height: 24px; }
.ob-key.blank { pointer-events: none; }

/* all set */
.ob-done { padding-top: 40px; }
.ob-dn-sym { width: 24px; height: 48px; flex: none; }
.ob-dn-sym rect { fill: none; stroke: var(--ob-ink); stroke-width: 1.6; }
.ob-dn-sym path { fill: none; stroke: var(--ob-ink); stroke-width: 2; stroke-linecap: square; }
.ob-done > .ob-cap { margin-top: 28px; }
.ob-dn-title { margin-top: 12px; font-size: 32px; overflow-wrap: anywhere; }
.ob-dn-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--ob-line); }
.ob-dn-list li { display: grid; grid-template-columns: 10px 96px 1fr; gap: 0 14px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--ob-line); font-size: 13.5px; }
.ob-dn-list li i { width: 10px; height: 10px; background: var(--ob-ink); }
.ob-dn-list li.off i { background: transparent; border: 1px solid var(--ob-line-strong); }
.ob-dn-list li span { font-family: var(--ob-display); font-size: 12px; color: var(--ob-muted); text-transform: lowercase; }
.ob-dn-list li b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.ob-done .ob-annot { margin-top: 24px; align-items: start; }
.ob-done .ob-annot i, .ob-done .ob-annot s { margin-top: 6px; }
.ob-done .ob-btn { margin-top: auto; }

/* ---------- unlock (a returning customer, in the app) ---------- */
.ob-unlock { align-items: center; text-align: center; }
.ob-unlock .ob-col { align-items: center; }
.ob-ul-sym { margin-top: clamp(24px, 7vh, 64px); width: 32px; height: 64px; flex: none; }
.ob-ul-sym rect { fill: none; stroke: var(--ob-ink); stroke-width: 2; }
.ob-ul-sym path { fill: none; stroke: var(--ob-ink); stroke-width: 2.4; stroke-linecap: square; }
.ob-unlock > .ob-col > .ob-cap { margin-top: 28px; }
.ob-ul-id { margin-top: 10px; font-size: 28px; max-width: 100%; overflow-wrap: anywhere; }
.ob-unlock .ob-dots { margin-top: 30px; }
.ob-ul-note { margin-top: 16px; min-height: 42px; max-width: 320px; font-size: 13px; color: var(--ob-muted); }
.ob-ul-note.is-bad { color: var(--ob-bad); }
.ob-ul-links { display: flex; gap: 26px; justify-content: center; }
.ob-unlock .ob-keypad { margin-top: auto; align-self: stretch; }

/* ---------- on a phone the set-up takes the whole screen ---------- */
@media (max-width: 767px) {
    .ob-signup { position: fixed; inset: 0; z-index: 900; overflow: hidden; background: var(--ob-ground); }
    .ob-signup::after { content: ''; position: absolute; inset: 0; z-index: 60; pointer-events: none; background-image: url('brand/grain-cream.png'); opacity: .95; }
    .ob-signup .ob-screen { position: absolute; }
    .ob-signup .ob-col { max-width: 460px; }
    /* Scrolls only on the smallest phones; its bar would sit over the text. */
    .ob-signup .ob-su-body { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
    .ob-signup .ob-su-body::-webkit-scrollbar { display: none; }
}
/* Wide screens: the set-up flows in the form column, keypad included. */
@media (min-width: 768px) {
    .ob-signup .ob-screen { position: relative; inset: auto; padding: 0; min-height: 560px; }
    .ob-signup .ob-keypad { margin: 18px 0 0; padding-bottom: 0; grid-auto-rows: 54px; border: 1px solid var(--ob-line); }
    .ob-signup .ob-step { min-height: 0; }
    .ob-signup .ob-step-foot { padding-bottom: 0; }
}
/* Short phones: a little less air so the keypad and the step both fit. */
@media (max-height: 640px) {
    .ob-step { padding-top: 12px; }
    .ob-field { margin-top: 14px; }
    .ob-fval { height: 40px; }
    .ob-help { margin-top: 6px; }
    .ob-msg { min-height: 18px; margin-top: 6px; }
    .ob-consent { margin-top: 12px; }
    .ob-step-foot { padding-top: 10px; padding-bottom: 4px; }
    .ob-step-foot .ob-alt .ob-link { padding: 6px 0; }
    .ob-keypad { grid-auto-rows: 44px; }
    .ob-display, .form-wrap .ob h2.ob-display { font-size: 24px; }
    .form-wrap .ob h2.ob-dn-title { font-size: 28px; }
    .ob-dots { margin-top: 26px; }
    .ob-cells { margin-top: 20px; }
    .ob-cells .c { height: 50px; }
    .ob-bio-frame { width: 128px; height: 128px; margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ob-caret { animation: none; }
    .ob-qr.play rect, .ob .ob-key.hit::before { animation: none; }
    .ob-uline i, .ob-prog .seg, .ob-cells .c::after { transition: none; }
}

/* While the app opens on the splash or welcome, the sign-in page under it
   stays still and out of the way. */
html.ob-cover body > .split { visibility: hidden; }
