/* Onboarding-only styles. Base tokens and chrome come from ../css/styles.css */

.onb-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 24px;
}
.onb-main.pad-top { padding-top: 8px; }

.onb-foot {
  flex: 0 0 auto;
  padding: 10px 24px calc(var(--safe) + 6px);
  position: relative;
}
.onb-foot .btn-cta { width: 100%; }
.onb-foot .btn-cta + .btn-sec { margin-top: 8px; }
.onb-foot .btn-cta.dim {
  background: #2a2a2c;
  color: var(--muted);
}
.btn-sec {
  height: 48px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-sec.outline {
  background: var(--surface);
  color: var(--text);
}

.terms {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 16px;
  padding: 10px 8px 0;
}
.terms u { text-decoration: underline; text-underline-offset: 2px; color: var(--sub); }

/* Header without tab bar — back + title + optional step dots */
.onb-header {
  height: var(--header);
  flex: 0 0 var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 4px;
  gap: 8px;
}
.onb-header h1 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 22px;
  flex: 1;
  min-width: 0;
}
.steps {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 12px;
}
.steps i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3a3a3c;
  display: block;
}
.steps i.on { background: var(--accent); }

/* Welcome */
.welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 12px;
}
.welcome-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 28px;
}
.welcome-hero .logo-lg { display: block; margin-bottom: 16px; }
.welcome-hero .brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 26px;
}
.welcome-hero .prop {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  color: var(--sub);
  line-height: 20px;
  letter-spacing: -0.01em;
  max-width: 280px;
}
.features { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 4px;
}
.feat-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent);
  display: grid; place-items: center;
}
.feat-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 18px;
}
.feat-text b { font-weight: 600; }

/* Lead / body on inner screens */
.onb-lead {
  font-size: 13px;
  color: var(--sub);
  line-height: 18px;
  margin: 4px 0 16px;
}

/* Seed grid */
.seed-wrap {
  position: relative;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
}
.seed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  filter: blur(7px);
  user-select: none;
}
.seed-grid.revealed { filter: none; }
.seed-cell {
  background: var(--elev);
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.seed-cell .n {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  line-height: 12px;
}
.seed-cell .w {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 18px;
}
.reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,16,16,0.18);
}
.reveal span {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--elev-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.seed-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.seed-copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.seed-warn {
  font-size: 11px;
  color: var(--muted);
  line-height: 15px;
  max-width: 200px;
  text-align: right;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text);
  line-height: 18px;
}
.check-box {
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  display: grid; place-items: center;
  color: #101010;
}
.check-box.on {
  background: var(--accent);
  box-shadow: none;
}

/* Verify */
.ask {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 18px;
}
.slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.slot {
  min-height: 48px;
  border-radius: 12px;
  background: var(--surface);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slot .n {
  font-size: 11px;
  color: var(--muted);
  width: 52px;
  flex: 0 0 52px;
}
.slot .w {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.slot .ph { font-size: 13px; color: var(--muted); }
.slot.filled { box-shadow: inset 0 0 0 1px rgba(123,156,255,0.4); }
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vchip {
  height: 36px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vchip.on {
  background: rgba(123,156,255,0.18);
  color: var(--accent);
}

/* Import */
.area-wrap {
  position: relative;
  margin-top: 12px;
}
.area {
  width: 100%;
  min-height: 136px;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px 40px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.area .ph { color: var(--muted); }
.paste {
  position: absolute;
  right: 10px; bottom: 10px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--elev-2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  line-height: 16px;
}
.disclaimer .lock {
  width: 28px; height: 28px; flex: 0 0 28px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  display: grid; place-items: center;
  margin-top: 1px;
}

/* PIN */
.pin-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0 8px;
}
.pin-dots {
  display: flex;
  gap: 12px;
  margin: 20px 0 8px;
}
.pin-dots i {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--elev);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  display: block;
}
.pin-dots i.on { background: var(--text); box-shadow: none; }
.pin-secure {
  font-size: 11px;
  color: var(--muted);
  line-height: 16px;
  max-width: 280px;
}
.pin-secure svg { vertical-align: -2px; margin-right: 4px; }
.bio-row {
  margin: 8px 0 12px;
  background: var(--surface);
  border-radius: 12px;
  min-height: 48px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bio-row .lab {
  font-size: 13px;
  color: var(--text);
  line-height: 18px;
}
.bio-row .lab span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
  padding: 8px 12px 0;
  margin-top: auto;
}
.pkey {
  height: 56px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 22px;
}
.pkey .letters {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 10px;
  margin-top: 2px;
  text-transform: uppercase;
}
.pkey.empty { visibility: hidden; }
.pkey.del { font-size: 15px; }

/* Prefs */
.pref-card { margin: 0 0 12px; }
/* cards in onboarding use page padding already, override the 16px horizontal margin */
.onb-main .card { margin-left: 0; margin-right: 0; }
.onb-main .more-lab { font-size: 13px; }

/* Funded */
.funded {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
}
.ok-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.funded h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 26px;
}
.funded .sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--sub);
  line-height: 18px;
}
.addr-row {
  width: 100%;
  margin-top: 22px;
  background: var(--surface);
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}
.addr-row .lab { font-size: 11px; color: var(--muted); line-height: 14px; }
.addr-row > div { flex: 1; min-width: 0; }
.addr-row .val {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.copy-ico { color: var(--accent); display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; margin-right: -8px; }
.bal {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.bal span { font-weight: 400; color: var(--muted); font-size: 13px; }
.qr-card {
  margin-top: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  width: 200px;
  height: 200px;
}
.qr-card img { display: block; width: 172px; height: 172px; }
.qr-lab {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
}

/* Overview tweaks reuse .artboard from parent */
