/* Bank-grade multi-step onboarding */
.flow-shell {
  max-width: 440px; margin: 0 auto; min-height: 100dvh;
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  font-family: Inter, system-ui, sans-serif;
  color: var(--op-text, #fff);
  background: var(--op-bg, #000);
}
.flow-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.flow-top a { color: var(--op-text-secondary, rgba(255,255,255,.55)); font-size: 14px; text-decoration: none; }
.flow-top img { height: 28px; width: auto; margin-left: auto; }
.flow-progress {
  display: flex; gap: 6px; margin-bottom: 22px;
}
.flow-progress i {
  flex: 1; height: 4px; border-radius: 4px;
  background: var(--op-border, rgba(255,255,255,.12));
}
.flow-progress i.on { background: var(--op-blue, #3D6BFF); }
.flow-progress i.done { background: var(--op-green, #34C759); }
.flow-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--op-blue, #3D6BFF); margin-bottom: 6px;
}
.flow-shell h1 {
  font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.2;
}
.flow-shell .sub {
  font-size: 14px; line-height: 1.45; color: var(--op-text-secondary, rgba(255,255,255,.55)); margin: 0 0 20px;
}
.flow-step { display: none; animation: flowIn .28s ease; }
.flow-step.on { display: block; }
@keyframes flowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px;
  color: var(--op-text-secondary, rgba(255,255,255,.65));
}
.field input, .field select, .field textarea {
  width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--op-border, rgba(255,255,255,.14));
  background: var(--op-input-bg, rgba(255,255,255,.07)); color: var(--op-text, #fff);
  padding: 0 14px; font-size: 15px; outline: none;
  box-sizing: border-box;
}
.field textarea { height: 88px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--op-blue, #3D6BFF); box-shadow: 0 0 0 3px rgba(61,107,255,.2);
}
.field .hint { font-size: 11px; color: var(--op-text-tertiary, rgba(255,255,255,.4)); margin-top: 5px; }
.field.invalid input, .field.invalid select {
  border-color: var(--op-danger, #FF453A);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow-err {
  display: none; background: rgba(255,69,58,.12); color: #FF453A; border: 1px solid rgba(255,69,58,.25);
  border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-bottom: 14px; line-height: 1.4;
}
.flow-err.on { display: block; }
.flow-actions { display: grid; gap: 10px; margin-top: 22px; }
.btn-primary {
  height: 52px; border-radius: 14px; border: none; background: var(--op-accent, #fff); color: var(--op-accent-text, #000);
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary {
  height: 48px; border-radius: 14px; border: 1px solid var(--op-border); background: transparent;
  color: var(--op-text); font-weight: 600; font-size: 14px; cursor: pointer;
}
.check {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4;
  color: var(--op-text-secondary); margin: 10px 0;
}
.check input { margin-top: 3px; }
.product-card {
  border: 1px solid var(--op-border); border-radius: 16px; padding: 16px; margin-bottom: 12px;
  background: var(--op-surface, rgba(255,255,255,.05));
}
.product-card strong { display: block; font-size: 16px; margin-bottom: 4px; }
.product-card span { font-size: 13px; color: var(--op-text-secondary); line-height: 1.4; }
.otp-boxes { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.otp-boxes input {
  width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 700;
  border-radius: 12px; border: 1px solid var(--op-border);
  background: var(--op-input-bg); color: var(--op-text);
}
.review-list { border-radius: 16px; border: 1px solid var(--op-border); overflow: hidden; margin-bottom: 12px; }
.review-list div {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px;
  border-bottom: 1px solid var(--op-border); font-size: 13px;
}
.review-list div:last-child { border-bottom: none; }
.review-list span { color: var(--op-text-secondary); }
.review-list strong { text-align: right; font-weight: 600; }
.success-panel { text-align: center; padding: 24px 8px; }
.success-panel .ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(52,199,89,.15); color: #34C759; display: grid; place-items: center; font-size: 28px;
}
.choice-grid { display: grid; gap: 12px; }
.choice-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--op-border); border-radius: 18px; padding: 18px 16px;
  background: var(--op-surface); transition: border-color .15s, transform .15s;
}
.choice-card:active { transform: scale(0.98); }
.choice-card strong { display: block; font-size: 16px; margin-bottom: 6px; }
.choice-card span { font-size: 13px; color: var(--op-text-secondary); line-height: 1.45; }
.choice-card .tag {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; background: rgba(61,107,255,.15); color: var(--op-blue, #3D6BFF);
}
