@onairosofficial/onairos-capacitor 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/onairos.capacitor.esm.js +1 -1
- package/dist/onairos.capacitor.esm.turbopack.js +1 -1
- package/package.json +1 -1
- package/src/components/DataRequest.jsx +1 -1
- package/src/components/EmailAuth.jsx +4 -116
- package/src/components/PinSetup.jsx +1 -1
- package/src/components/TrainingScreen.jsx +18 -12
- package/src/components/UniversalOnboarding.jsx +1 -1
- package/src/components/WelcomeScreen.jsx +12 -12
- package/src/onairos.capacitor.jsx +14 -2
- package/src/styles/onairos-fonts.css +20 -0
- package/src/styles/onairos-native.css +709 -0
- package/src/styles/sdkCssRegistry.js +83 -1
- package/src/styles/tailwind.capacitor.css +2 -0
- package/src/utils/capacitorPlugins.js +20 -12
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
/* Onairos native onboarding skin.
|
|
2
|
+
*
|
|
3
|
+
* Ported from the onairos-landing replica (app/me/create/native-profile-onboarding.css)
|
|
4
|
+
* so the published SDK renders the same visual system: Instrument Serif for the
|
|
5
|
+
* persona voice (headings), DM Sans for UI copy, white sheet surfaces, black
|
|
6
|
+
* primary actions. Screens opt in by wrapping their content in
|
|
7
|
+
* `.native-onboarding-content`. All selectors are `native-`prefixed and the CSS
|
|
8
|
+
* is injected into the SDK's shadow root alongside Tailwind, so host pages are
|
|
9
|
+
* not affected.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* Tailwind v4 preflight resets buttons to `cursor: default`; inside the SDK
|
|
13
|
+
modal every enabled control should read as clickable. Scoped to the modal
|
|
14
|
+
root so host pages are unaffected. */
|
|
15
|
+
[data-onairos-modal="true"] button:not(:disabled),
|
|
16
|
+
[data-onairos-modal="true"] [role="button"]:not([aria-disabled="true"]),
|
|
17
|
+
[data-onairos-modal="true"] [role="switch"]:not(:disabled),
|
|
18
|
+
[data-onairos-modal="true"] a[href],
|
|
19
|
+
.onairos-modal button:not(:disabled),
|
|
20
|
+
.onairos-modal [role="button"]:not([aria-disabled="true"]),
|
|
21
|
+
.onairos-modal a[href] {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
[data-onairos-modal="true"] button:disabled,
|
|
25
|
+
.onairos-modal button:disabled {
|
|
26
|
+
cursor: not-allowed;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.native-onboarding-content {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
flex: 1;
|
|
33
|
+
min-height: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
overflow-x: hidden;
|
|
37
|
+
overscroll-behavior-y: contain;
|
|
38
|
+
-webkit-overflow-scrolling: touch;
|
|
39
|
+
padding: 20px 30px 30px;
|
|
40
|
+
text-align: left;
|
|
41
|
+
color: #111;
|
|
42
|
+
}
|
|
43
|
+
.native-onboarding-content.is-training { padding-top: 4px; }
|
|
44
|
+
|
|
45
|
+
.native-auth-step {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
align-items: center;
|
|
49
|
+
text-align: center;
|
|
50
|
+
}
|
|
51
|
+
.native-step-mark {
|
|
52
|
+
display: grid;
|
|
53
|
+
width: 52px;
|
|
54
|
+
height: 52px;
|
|
55
|
+
margin-bottom: 24px;
|
|
56
|
+
place-items: center;
|
|
57
|
+
border: 1px solid #e9e9e9;
|
|
58
|
+
border-radius: 17px;
|
|
59
|
+
background: linear-gradient(145deg, #fff, #f4f4f4);
|
|
60
|
+
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
|
|
61
|
+
}
|
|
62
|
+
.native-step-mark svg { width: 21px; height: 21px; stroke-width: 1.65; }
|
|
63
|
+
.native-step-logo {
|
|
64
|
+
width: 68px;
|
|
65
|
+
height: 68px;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
margin-bottom: 8px;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
background: #fff;
|
|
70
|
+
}
|
|
71
|
+
.native-step-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
|
|
72
|
+
|
|
73
|
+
.native-onboarding-content .native-pin-lock + h2 {
|
|
74
|
+
margin-top: 0;
|
|
75
|
+
font-size: clamp(40px, 8.5vw, 52px);
|
|
76
|
+
}
|
|
77
|
+
.native-pin-lock {
|
|
78
|
+
display: grid;
|
|
79
|
+
width: 62px;
|
|
80
|
+
height: 62px;
|
|
81
|
+
margin: 14px auto 0;
|
|
82
|
+
place-items: center;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
.native-pin-lock-lottie {
|
|
86
|
+
width: 50px;
|
|
87
|
+
height: 50px;
|
|
88
|
+
/* The source animation is white; render it dark grey on the light card. */
|
|
89
|
+
filter: invert(0.78);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.native-onboarding-content h2 {
|
|
93
|
+
margin: 10px 0 0;
|
|
94
|
+
font-family: "Instrument Serif", "Times New Roman", serif;
|
|
95
|
+
font-size: clamp(36px, 8vw, 47px);
|
|
96
|
+
font-weight: 400;
|
|
97
|
+
line-height: 0.98;
|
|
98
|
+
letter-spacing: -0.03em;
|
|
99
|
+
color: #111;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.native-onboarding-copy {
|
|
103
|
+
max-width: 390px;
|
|
104
|
+
margin: 16px 0 0;
|
|
105
|
+
color: #6c6c6c;
|
|
106
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
107
|
+
font-size: 16px;
|
|
108
|
+
font-weight: 400;
|
|
109
|
+
line-height: 1.48;
|
|
110
|
+
letter-spacing: -0.018em;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.native-auth-form { width: 100%; margin-top: 28px; }
|
|
114
|
+
.native-auth-form label {
|
|
115
|
+
display: block;
|
|
116
|
+
margin: 0 0 8px 4px;
|
|
117
|
+
color: #777;
|
|
118
|
+
font-size: 11px;
|
|
119
|
+
font-weight: 650;
|
|
120
|
+
text-align: left;
|
|
121
|
+
}
|
|
122
|
+
.native-auth-form input {
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: 54px;
|
|
125
|
+
border: 1px solid #dedede;
|
|
126
|
+
border-radius: 16px;
|
|
127
|
+
background: #fff;
|
|
128
|
+
padding: 0 17px;
|
|
129
|
+
color: #111;
|
|
130
|
+
font-size: 16px;
|
|
131
|
+
outline: none;
|
|
132
|
+
transition: border-color 160ms ease, box-shadow 160ms ease;
|
|
133
|
+
}
|
|
134
|
+
.native-auth-form input:focus { border-color: #999; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.045); }
|
|
135
|
+
.native-code-grid {
|
|
136
|
+
display: grid;
|
|
137
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
138
|
+
gap: 8px;
|
|
139
|
+
max-width: 340px;
|
|
140
|
+
margin-inline: auto;
|
|
141
|
+
}
|
|
142
|
+
.native-auth-form .native-code-digit {
|
|
143
|
+
min-width: 0;
|
|
144
|
+
height: auto;
|
|
145
|
+
aspect-ratio: 1 / 1;
|
|
146
|
+
padding: 0;
|
|
147
|
+
font-size: 20px;
|
|
148
|
+
font-weight: 650;
|
|
149
|
+
text-align: center;
|
|
150
|
+
font-variant-numeric: tabular-nums;
|
|
151
|
+
}
|
|
152
|
+
.native-code-note { margin: 10px 4px 0; color: #999; font-size: 10px; line-height: 1.4; text-align: left; }
|
|
153
|
+
|
|
154
|
+
.native-pin-requirements {
|
|
155
|
+
margin: 14px 0 4px;
|
|
156
|
+
padding: 0;
|
|
157
|
+
list-style: none;
|
|
158
|
+
text-align: left;
|
|
159
|
+
}
|
|
160
|
+
.native-pin-requirements li {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
gap: 9px;
|
|
164
|
+
padding: 2px 0;
|
|
165
|
+
color: #6c6c6c;
|
|
166
|
+
font-size: 13px;
|
|
167
|
+
line-height: 1.35;
|
|
168
|
+
transition: color 160ms ease;
|
|
169
|
+
}
|
|
170
|
+
.native-pin-requirements li.is-met { color: #222; }
|
|
171
|
+
.native-pin-requirements li > span {
|
|
172
|
+
display: grid;
|
|
173
|
+
width: 15px;
|
|
174
|
+
height: 15px;
|
|
175
|
+
flex: 0 0 15px;
|
|
176
|
+
place-items: center;
|
|
177
|
+
border: 2px solid #d5d5d5;
|
|
178
|
+
border-radius: 50%;
|
|
179
|
+
background: #fff;
|
|
180
|
+
transition: border-color 160ms ease, background 160ms ease;
|
|
181
|
+
}
|
|
182
|
+
.native-pin-requirements li.is-met > span {
|
|
183
|
+
border-color: #22c55e;
|
|
184
|
+
background: #22c55e;
|
|
185
|
+
}
|
|
186
|
+
.native-pin-requirements li > span svg { width: 9px; height: 9px; color: #fff; stroke-width: 3; }
|
|
187
|
+
|
|
188
|
+
/* PIN screen rhythm: push the subtitle down so it sits directly above the
|
|
189
|
+
input, and give the remember card + continue button their own sections. */
|
|
190
|
+
.native-onboarding-content .native-pin-lock ~ .native-onboarding-copy {
|
|
191
|
+
margin-top: 56px;
|
|
192
|
+
margin-bottom: 0;
|
|
193
|
+
}
|
|
194
|
+
.native-pin-lock ~ .native-auth-form { margin-top: 8px; }
|
|
195
|
+
#onairos-sdk-pin { margin-top: 4px; }
|
|
196
|
+
.native-pin-remember + .native-primary-button { margin-top: 24px; }
|
|
197
|
+
.native-pin-remember {
|
|
198
|
+
margin: 52px 0 6px;
|
|
199
|
+
padding: 12px 14px;
|
|
200
|
+
border-radius: 14px;
|
|
201
|
+
background: #f4f4f5;
|
|
202
|
+
text-align: left;
|
|
203
|
+
}
|
|
204
|
+
.native-pin-remember-row {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
gap: 14px;
|
|
209
|
+
}
|
|
210
|
+
.native-pin-remember-copy {
|
|
211
|
+
display: flex;
|
|
212
|
+
min-width: 0;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
gap: 2px;
|
|
215
|
+
}
|
|
216
|
+
.native-pin-remember-label {
|
|
217
|
+
color: #222;
|
|
218
|
+
font-size: 13px;
|
|
219
|
+
font-weight: 600;
|
|
220
|
+
line-height: 1.3;
|
|
221
|
+
}
|
|
222
|
+
.native-pin-remember-sub {
|
|
223
|
+
color: #6c6c6c;
|
|
224
|
+
font-size: 12px;
|
|
225
|
+
line-height: 1.4;
|
|
226
|
+
}
|
|
227
|
+
.native-pin-remember-switch {
|
|
228
|
+
position: relative;
|
|
229
|
+
flex: 0 0 auto;
|
|
230
|
+
width: 44px;
|
|
231
|
+
height: 26px;
|
|
232
|
+
padding: 0;
|
|
233
|
+
border: 0;
|
|
234
|
+
border-radius: 999px;
|
|
235
|
+
background: #d9d9d9;
|
|
236
|
+
transition: background 160ms ease;
|
|
237
|
+
}
|
|
238
|
+
.native-pin-remember-switch[data-on="true"] { background: #4cc38a; }
|
|
239
|
+
.native-pin-remember-switch:disabled { opacity: 0.55; }
|
|
240
|
+
.native-pin-remember-knob {
|
|
241
|
+
position: absolute;
|
|
242
|
+
top: 3px;
|
|
243
|
+
left: 3px;
|
|
244
|
+
width: 20px;
|
|
245
|
+
height: 20px;
|
|
246
|
+
border-radius: 50%;
|
|
247
|
+
background: #fff;
|
|
248
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
|
|
249
|
+
transition: transform 180ms ease;
|
|
250
|
+
}
|
|
251
|
+
.native-pin-remember-switch[data-on="true"] .native-pin-remember-knob { transform: translateX(18px); }
|
|
252
|
+
.native-pin-remember-ack.is-on { color: #5fce8b; }
|
|
253
|
+
.native-pin-remember-ack {
|
|
254
|
+
margin: 10px 0 0;
|
|
255
|
+
color: #b3452f;
|
|
256
|
+
transition: color 180ms ease;
|
|
257
|
+
font-size: 12px;
|
|
258
|
+
font-weight: 650;
|
|
259
|
+
line-height: 1.45;
|
|
260
|
+
text-align: center;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.native-primary-button {
|
|
264
|
+
display: flex;
|
|
265
|
+
width: 100%;
|
|
266
|
+
min-height: 52px;
|
|
267
|
+
margin-top: 12px;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-content: center;
|
|
270
|
+
gap: 8px;
|
|
271
|
+
border: 0;
|
|
272
|
+
border-radius: 16px;
|
|
273
|
+
background: #0b0b0c;
|
|
274
|
+
color: #fff;
|
|
275
|
+
font-size: 14px;
|
|
276
|
+
font-weight: 650;
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
|
|
279
|
+
}
|
|
280
|
+
.native-primary-button:hover:not(:disabled) { transform: translateY(-1px); background: #222; }
|
|
281
|
+
.native-primary-button:disabled { cursor: not-allowed; opacity: 0.25; }
|
|
282
|
+
.native-primary-button svg { width: 17px; height: 17px; }
|
|
283
|
+
|
|
284
|
+
.native-auth-divider { display: flex; width: 100%; align-items: center; gap: 12px; margin: 18px 0; color: #aaa; font-size: 11px; }
|
|
285
|
+
.native-auth-divider::before, .native-auth-divider::after { content: ""; height: 1px; flex: 1; background: #ececec; }
|
|
286
|
+
.native-google-button { display: flex; width: 100%; justify-content: center; overflow: hidden; border-radius: 999px; }
|
|
287
|
+
.native-privacy-link {
|
|
288
|
+
display: inline-block;
|
|
289
|
+
margin-top: 18px;
|
|
290
|
+
color: #8c8c8c;
|
|
291
|
+
font-size: 11px;
|
|
292
|
+
text-decoration: underline;
|
|
293
|
+
text-decoration-color: #c8c8c8;
|
|
294
|
+
text-underline-offset: 3px;
|
|
295
|
+
}
|
|
296
|
+
.native-privacy-link:hover { color: #222; text-decoration-color: #777; }
|
|
297
|
+
.native-text-button { margin-top: 18px; border: 0; background: none; color: #777; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
|
|
298
|
+
|
|
299
|
+
.native-sources-step { display: flex; flex: 1; flex-direction: column; min-height: 0; text-align: center; }
|
|
300
|
+
.native-sources-step h2 { font-size: clamp(38px, 8vw, 49px); }
|
|
301
|
+
.native-sources-step .native-onboarding-copy { margin-inline: auto; }
|
|
302
|
+
|
|
303
|
+
.native-connector-stage {
|
|
304
|
+
position: relative;
|
|
305
|
+
width: min(470px, 100%);
|
|
306
|
+
aspect-ratio: 1 / 1;
|
|
307
|
+
margin: 0 auto;
|
|
308
|
+
pointer-events: none;
|
|
309
|
+
}
|
|
310
|
+
.native-connector-persona {
|
|
311
|
+
width: 100%;
|
|
312
|
+
height: 100%;
|
|
313
|
+
transform: translateY(-16px);
|
|
314
|
+
filter: drop-shadow(0 18px 28px rgba(42, 50, 83, .14));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.native-platform-carousel {
|
|
318
|
+
position: relative;
|
|
319
|
+
z-index: 2;
|
|
320
|
+
margin-top: -235px;
|
|
321
|
+
margin-inline: -30px;
|
|
322
|
+
overflow-x: auto;
|
|
323
|
+
overflow-y: hidden;
|
|
324
|
+
overscroll-behavior-x: contain;
|
|
325
|
+
padding: 9px 30px 3px;
|
|
326
|
+
scroll-padding-inline: 30px;
|
|
327
|
+
scroll-snap-type: x proximity;
|
|
328
|
+
scrollbar-width: none;
|
|
329
|
+
touch-action: pan-x;
|
|
330
|
+
-webkit-overflow-scrolling: touch;
|
|
331
|
+
user-select: none;
|
|
332
|
+
}
|
|
333
|
+
.native-platform-carousel::-webkit-scrollbar { display: none; }
|
|
334
|
+
.native-platform-icon-row {
|
|
335
|
+
display: flex;
|
|
336
|
+
width: max-content;
|
|
337
|
+
min-width: 100%;
|
|
338
|
+
align-items: start;
|
|
339
|
+
gap: 10px;
|
|
340
|
+
min-height: 66px;
|
|
341
|
+
}
|
|
342
|
+
.native-platform-orb {
|
|
343
|
+
display: flex;
|
|
344
|
+
width: 76px;
|
|
345
|
+
flex: 0 0 76px;
|
|
346
|
+
flex-direction: column;
|
|
347
|
+
align-items: center;
|
|
348
|
+
gap: 0;
|
|
349
|
+
border: 0;
|
|
350
|
+
background: transparent;
|
|
351
|
+
color: #8a8a8a;
|
|
352
|
+
font-size: 10px;
|
|
353
|
+
font-weight: 650;
|
|
354
|
+
cursor: pointer;
|
|
355
|
+
scroll-snap-align: center;
|
|
356
|
+
transition: color 180ms ease, transform 180ms ease;
|
|
357
|
+
}
|
|
358
|
+
.native-platform-orb > span {
|
|
359
|
+
display: grid;
|
|
360
|
+
width: 54px;
|
|
361
|
+
height: 54px;
|
|
362
|
+
place-items: center;
|
|
363
|
+
border: 2px solid #dedede;
|
|
364
|
+
border-radius: 50%;
|
|
365
|
+
background: #fff;
|
|
366
|
+
box-shadow: 0 8px 22px rgba(0,0,0,.08);
|
|
367
|
+
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
|
|
368
|
+
}
|
|
369
|
+
.native-platform-orb img { width: 27px; height: 27px; object-fit: contain; }
|
|
370
|
+
.native-platform-orb:hover > span { transform: translateY(-2px); border-color: #bdbdbd; }
|
|
371
|
+
.native-platform-orb.is-selected { color: #222; transform: scale(1.03); }
|
|
372
|
+
.native-platform-orb.is-selected > span { border-color: #202020; box-shadow: 0 0 0 3px rgba(20,20,20,.12), 0 9px 24px rgba(0,0,0,.1); }
|
|
373
|
+
.native-platform-orb.is-connected > span { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,.2), 0 9px 24px rgba(0,0,0,.08); }
|
|
374
|
+
.native-platform-orb.is-selected.is-connected > span { box-shadow: 0 0 0 4px rgba(37,99,235,.38), 0 9px 24px rgba(0,0,0,.1); }
|
|
375
|
+
|
|
376
|
+
.native-platform-scroll-controls {
|
|
377
|
+
display: flex;
|
|
378
|
+
height: 28px;
|
|
379
|
+
align-items: center;
|
|
380
|
+
justify-content: center;
|
|
381
|
+
gap: 3px;
|
|
382
|
+
margin: 2px 0 5px;
|
|
383
|
+
}
|
|
384
|
+
.native-platform-scroll-arrow {
|
|
385
|
+
display: inline-flex;
|
|
386
|
+
width: 34px;
|
|
387
|
+
height: 28px;
|
|
388
|
+
align-items: center;
|
|
389
|
+
justify-content: center;
|
|
390
|
+
border: 0;
|
|
391
|
+
border-radius: 999px;
|
|
392
|
+
background: transparent;
|
|
393
|
+
color: #a3a3a3;
|
|
394
|
+
cursor: pointer;
|
|
395
|
+
transition: color 160ms ease, background 160ms ease, opacity 160ms ease;
|
|
396
|
+
}
|
|
397
|
+
.native-platform-scroll-arrow:hover:not(:disabled) {
|
|
398
|
+
background: rgba(0, 0, 0, 0.045);
|
|
399
|
+
color: #555;
|
|
400
|
+
}
|
|
401
|
+
.native-platform-scroll-arrow:disabled {
|
|
402
|
+
opacity: .22;
|
|
403
|
+
cursor: default;
|
|
404
|
+
pointer-events: none;
|
|
405
|
+
}
|
|
406
|
+
.native-platform-scroll-arrow svg {
|
|
407
|
+
width: 19px;
|
|
408
|
+
height: 19px;
|
|
409
|
+
stroke-width: 1.8;
|
|
410
|
+
animation: native-platform-arrow 1.8s ease-in-out infinite;
|
|
411
|
+
}
|
|
412
|
+
.native-platform-scroll-arrow:first-child svg {
|
|
413
|
+
animation-name: native-platform-arrow-left;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.native-selected-platform {
|
|
417
|
+
position: relative;
|
|
418
|
+
z-index: 10;
|
|
419
|
+
display: flex;
|
|
420
|
+
flex-direction: column;
|
|
421
|
+
margin-top: 0;
|
|
422
|
+
border: 1px solid #e2e2e2;
|
|
423
|
+
border-radius: 18px;
|
|
424
|
+
background: #fff !important;
|
|
425
|
+
opacity: 1;
|
|
426
|
+
isolation: isolate;
|
|
427
|
+
height: 148px;
|
|
428
|
+
overflow: hidden;
|
|
429
|
+
padding: 14px 15px 15px;
|
|
430
|
+
text-align: left;
|
|
431
|
+
box-shadow: 0 8px 26px rgba(0,0,0,.045);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
@keyframes native-platform-arrow {
|
|
435
|
+
0%, 100% { transform: translateX(-1px); opacity: .55; }
|
|
436
|
+
50% { transform: translateX(2px); opacity: 1; }
|
|
437
|
+
}
|
|
438
|
+
@keyframes native-platform-arrow-left {
|
|
439
|
+
0%, 100% { transform: translateX(1px); opacity: .55; }
|
|
440
|
+
50% { transform: translateX(-2px); opacity: 1; }
|
|
441
|
+
}
|
|
442
|
+
.native-selected-platform.is-connected { border-color: #cbe7d3; }
|
|
443
|
+
.native-selected-platform.is-error { border-color: #efcccc; }
|
|
444
|
+
.native-selected-platform-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
|
|
445
|
+
.native-selected-platform-topline > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
|
|
446
|
+
.native-selected-platform-topline strong { color: #222; font-size: 17px; font-weight: 680; }
|
|
447
|
+
.native-selected-platform-topline span { color: #9a9a9a; font-size: 11px; }
|
|
448
|
+
.native-selected-platform > p {
|
|
449
|
+
display: flex;
|
|
450
|
+
flex: 1;
|
|
451
|
+
flex-direction: column;
|
|
452
|
+
justify-content: center;
|
|
453
|
+
margin: 12px 0 0;
|
|
454
|
+
overflow: hidden;
|
|
455
|
+
border-radius: 12px;
|
|
456
|
+
background: #f7f7f7;
|
|
457
|
+
padding: 12px 15px;
|
|
458
|
+
}
|
|
459
|
+
.native-selected-platform-desc {
|
|
460
|
+
color: #6c6c6c;
|
|
461
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
462
|
+
font-size: 15px;
|
|
463
|
+
font-weight: 400;
|
|
464
|
+
line-height: 1.45;
|
|
465
|
+
letter-spacing: -0.018em;
|
|
466
|
+
}
|
|
467
|
+
.native-selected-platform-desc strong {
|
|
468
|
+
color: #1f1f1f;
|
|
469
|
+
font-weight: 650;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.native-platform-switch {
|
|
473
|
+
position: relative;
|
|
474
|
+
width: 52px;
|
|
475
|
+
height: 30px;
|
|
476
|
+
flex: 0 0 52px;
|
|
477
|
+
border: 0;
|
|
478
|
+
border-radius: 99px;
|
|
479
|
+
background: #dedede;
|
|
480
|
+
cursor: pointer;
|
|
481
|
+
transition: background 180ms ease;
|
|
482
|
+
}
|
|
483
|
+
.native-platform-switch > span {
|
|
484
|
+
position: absolute;
|
|
485
|
+
top: 4px;
|
|
486
|
+
left: 5px;
|
|
487
|
+
display: grid;
|
|
488
|
+
width: 22px;
|
|
489
|
+
height: 22px;
|
|
490
|
+
place-items: center;
|
|
491
|
+
border-radius: 50%;
|
|
492
|
+
background: #fff;
|
|
493
|
+
box-shadow: 0 2px 6px rgba(0,0,0,.2);
|
|
494
|
+
transition: transform 180ms ease;
|
|
495
|
+
}
|
|
496
|
+
.native-platform-switch.is-on { background: #22c55e; }
|
|
497
|
+
.native-platform-switch.is-on > span { transform: translateX(21px); }
|
|
498
|
+
.native-platform-switch.is-loading { background: #111; }
|
|
499
|
+
.native-platform-switch svg { width: 12px; height: 12px; color: #777; }
|
|
500
|
+
|
|
501
|
+
.native-linkedin-form { display: flex; align-items: center; margin-top: 10px; border-top: 1px solid #eee; padding-top: 10px; color: #999; font-size: 11px; }
|
|
502
|
+
.native-linkedin-form input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 7px 4px; outline: none; color: #222; }
|
|
503
|
+
.native-linkedin-form button { border: 0; border-radius: 9px; background: #0a66c2; padding: 8px 12px; color: #fff; font-size: 11px; font-weight: 650; cursor: pointer; }
|
|
504
|
+
|
|
505
|
+
.native-sources-footer { margin-top: auto; padding-top: 8px; }
|
|
506
|
+
.native-sources-footer .native-primary-button { margin-top: 0; }
|
|
507
|
+
.native-onboarding-message { margin: 16px 2px 0; font-size: 12px; line-height: 1.45; text-align: center; }
|
|
508
|
+
.native-onboarding-message.is-error { color: #b33b3b; }
|
|
509
|
+
.native-onboarding-message.is-success { color: #398454; }
|
|
510
|
+
.is-spinning { animation: native-spin 750ms linear infinite; }
|
|
511
|
+
|
|
512
|
+
.native-training-step {
|
|
513
|
+
position: relative;
|
|
514
|
+
display: flex;
|
|
515
|
+
flex: 1;
|
|
516
|
+
min-height: 0;
|
|
517
|
+
flex-direction: column;
|
|
518
|
+
align-items: center;
|
|
519
|
+
justify-content: center;
|
|
520
|
+
text-align: center;
|
|
521
|
+
}
|
|
522
|
+
.native-training-brand {
|
|
523
|
+
position: absolute;
|
|
524
|
+
bottom: 2px;
|
|
525
|
+
left: 50%;
|
|
526
|
+
color: #d0d0d0;
|
|
527
|
+
font-size: 12px;
|
|
528
|
+
font-weight: 500;
|
|
529
|
+
letter-spacing: 0.02em;
|
|
530
|
+
transform: translateX(-50%);
|
|
531
|
+
}
|
|
532
|
+
.native-training-phrase {
|
|
533
|
+
display: flex;
|
|
534
|
+
min-height: 58px;
|
|
535
|
+
align-items: center;
|
|
536
|
+
justify-content: center;
|
|
537
|
+
}
|
|
538
|
+
.native-training-phrase h2 { max-width: 360px; margin: 0; font-size: 38px; }
|
|
539
|
+
.native-training-visual { width: min(330px, 78vw); aspect-ratio: 1 / 1; margin-top: 6px; }
|
|
540
|
+
.native-training-lottie { width: 100%; height: 100%; }
|
|
541
|
+
.native-training-progress { width: min(100%, 360px); margin-top: 8px; }
|
|
542
|
+
.native-training-progress > div { height: 6px; overflow: hidden; border-radius: 99px; background: #e5e5e5; }
|
|
543
|
+
.native-training-progress span {
|
|
544
|
+
display: block;
|
|
545
|
+
height: 100%;
|
|
546
|
+
border-radius: inherit;
|
|
547
|
+
background: linear-gradient(90deg, #181818 0%, #454545 50%, #181818 100%);
|
|
548
|
+
background-size: 220% 100%;
|
|
549
|
+
transition: width 300ms ease;
|
|
550
|
+
animation: native-progress-wave 1.9s ease-in-out infinite;
|
|
551
|
+
}
|
|
552
|
+
.native-training-progress.is-complete span { background: #22a447; animation: none; }
|
|
553
|
+
.native-training-progress.is-complete p { color: #228a40; font-weight: 650; }
|
|
554
|
+
.native-training-progress p { margin-top: 11px; color: #aaa; font-size: 11px; }
|
|
555
|
+
.native-training-warning { width: min(100%, 360px); margin-top: 8px; }
|
|
556
|
+
.native-training-warning p { color: #777; font-size: 12px; line-height: 1.5; }
|
|
557
|
+
.native-training-warning button { margin-top: 14px; border: 0; border-radius: 999px; background: #111; padding: 12px 20px; color: #fff; font-size: 12px; font-weight: 650; cursor: pointer; }
|
|
558
|
+
|
|
559
|
+
/* Profile-ready review and consent handoff. */
|
|
560
|
+
.native-ready-step {
|
|
561
|
+
position: relative;
|
|
562
|
+
display: flex;
|
|
563
|
+
flex: 1;
|
|
564
|
+
min-height: 0;
|
|
565
|
+
flex-direction: column;
|
|
566
|
+
padding: 14px 0 28px;
|
|
567
|
+
text-align: center;
|
|
568
|
+
}
|
|
569
|
+
.native-ready-step h2 {
|
|
570
|
+
margin: 0;
|
|
571
|
+
font-size: clamp(42px, 8vw, 50px);
|
|
572
|
+
line-height: .98;
|
|
573
|
+
}
|
|
574
|
+
.native-ready-persona {
|
|
575
|
+
width: 158px;
|
|
576
|
+
height: 158px;
|
|
577
|
+
margin: 16px auto 24px;
|
|
578
|
+
filter: drop-shadow(0 16px 24px rgba(54, 66, 113, .1));
|
|
579
|
+
}
|
|
580
|
+
.native-ready-panel {
|
|
581
|
+
width: min(100%, 368px);
|
|
582
|
+
margin: 0 auto;
|
|
583
|
+
overflow: hidden;
|
|
584
|
+
border: 1px solid rgba(255, 255, 255, .18);
|
|
585
|
+
border-radius: 25px;
|
|
586
|
+
background: linear-gradient(155deg, #444447 0%, #303033 37%, #202023 100%);
|
|
587
|
+
box-shadow:
|
|
588
|
+
0 22px 52px rgba(0, 0, 0, .17),
|
|
589
|
+
inset 0 1px 0 rgba(255, 255, 255, .17),
|
|
590
|
+
0 0 0 1px rgba(0, 0, 0, .04);
|
|
591
|
+
text-align: left;
|
|
592
|
+
}
|
|
593
|
+
.native-ready-panel-heading {
|
|
594
|
+
padding: 22px 24px 20px;
|
|
595
|
+
border-bottom: 1px solid rgba(255, 255, 255, .12);
|
|
596
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
597
|
+
text-align: center;
|
|
598
|
+
}
|
|
599
|
+
.native-ready-panel-heading span {
|
|
600
|
+
display: block;
|
|
601
|
+
color: rgba(255, 255, 255, .96);
|
|
602
|
+
font-size: 13px;
|
|
603
|
+
font-weight: 650;
|
|
604
|
+
line-height: 1.3;
|
|
605
|
+
letter-spacing: -.01em;
|
|
606
|
+
}
|
|
607
|
+
.native-ready-panel-heading small {
|
|
608
|
+
display: block;
|
|
609
|
+
margin-top: 6px;
|
|
610
|
+
color: rgba(255, 255, 255, .52);
|
|
611
|
+
font-size: 10px;
|
|
612
|
+
font-weight: 450;
|
|
613
|
+
line-height: 1.35;
|
|
614
|
+
}
|
|
615
|
+
.native-ready-list {
|
|
616
|
+
padding: 10px 21px 6px;
|
|
617
|
+
}
|
|
618
|
+
.native-ready-row {
|
|
619
|
+
display: grid;
|
|
620
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
621
|
+
gap: 14px;
|
|
622
|
+
align-items: center;
|
|
623
|
+
min-height: 59px;
|
|
624
|
+
padding: 10px 0;
|
|
625
|
+
border-bottom: 1px dashed rgba(255, 255, 255, .18);
|
|
626
|
+
}
|
|
627
|
+
.native-ready-row:last-child { border-bottom: 0; }
|
|
628
|
+
.native-ready-row-copy {
|
|
629
|
+
min-width: 0;
|
|
630
|
+
color: rgba(255, 255, 255, .95);
|
|
631
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
632
|
+
font-size: 12px;
|
|
633
|
+
font-weight: 650;
|
|
634
|
+
line-height: 1.25;
|
|
635
|
+
letter-spacing: -.01em;
|
|
636
|
+
}
|
|
637
|
+
.native-ready-row-copy small {
|
|
638
|
+
display: block;
|
|
639
|
+
margin-top: 3px;
|
|
640
|
+
color: rgba(255, 255, 255, .47);
|
|
641
|
+
font-size: 10px;
|
|
642
|
+
font-weight: 450;
|
|
643
|
+
line-height: 1.32;
|
|
644
|
+
letter-spacing: -.005em;
|
|
645
|
+
}
|
|
646
|
+
.native-ready-row-status {
|
|
647
|
+
color: rgba(255, 255, 255, .94);
|
|
648
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
649
|
+
font-size: 9px;
|
|
650
|
+
font-weight: 600;
|
|
651
|
+
line-height: 1.2;
|
|
652
|
+
letter-spacing: .01em;
|
|
653
|
+
white-space: nowrap;
|
|
654
|
+
}
|
|
655
|
+
.native-ready-button {
|
|
656
|
+
position: relative;
|
|
657
|
+
width: min(100%, 368px);
|
|
658
|
+
min-height: 54px;
|
|
659
|
+
margin: 15px auto 0;
|
|
660
|
+
border-radius: 18px;
|
|
661
|
+
background-color: #050506;
|
|
662
|
+
background-image: linear-gradient(180deg, #161618 0%, #050506 100%);
|
|
663
|
+
color: #fff;
|
|
664
|
+
box-shadow: 0 12px 24px rgba(0, 0, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .12);
|
|
665
|
+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
666
|
+
font-size: 13px;
|
|
667
|
+
letter-spacing: -.01em;
|
|
668
|
+
transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
|
|
669
|
+
}
|
|
670
|
+
.native-ready-button:hover:not(:disabled) {
|
|
671
|
+
background-color: #050506;
|
|
672
|
+
background-image: linear-gradient(180deg, #161618 0%, #050506 100%);
|
|
673
|
+
box-shadow: 0 15px 30px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .14);
|
|
674
|
+
filter: brightness(1.08);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
@keyframes native-spin { to { transform: rotate(360deg); } }
|
|
678
|
+
@keyframes native-progress-wave {
|
|
679
|
+
0% { background-position: 180% 0; }
|
|
680
|
+
100% { background-position: -80% 0; }
|
|
681
|
+
}
|
|
682
|
+
@keyframes native-training-phrase-in {
|
|
683
|
+
0% { opacity: 0; transform: translateY(8px); filter: blur(3px); }
|
|
684
|
+
100% { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
@media (max-width: 560px) {
|
|
688
|
+
.native-onboarding-content { padding: 16px 22px max(28px, env(safe-area-inset-bottom)); }
|
|
689
|
+
.native-connector-stage { width: min(410px, 100%); }
|
|
690
|
+
.native-connector-persona { transform: translateY(-12px); }
|
|
691
|
+
.native-platform-carousel {
|
|
692
|
+
margin-inline: -22px;
|
|
693
|
+
margin-top: -185px;
|
|
694
|
+
padding-inline: 22px;
|
|
695
|
+
scroll-padding-inline: 22px;
|
|
696
|
+
}
|
|
697
|
+
.native-platform-icon-row { gap: 4px; }
|
|
698
|
+
.native-platform-orb { width: 70px; flex-basis: 70px; }
|
|
699
|
+
.native-platform-orb > span { width: 48px; height: 48px; }
|
|
700
|
+
.native-code-grid { gap: 6px; max-width: 300px; }
|
|
701
|
+
.native-auth-form .native-code-digit { font-size: 18px; }
|
|
702
|
+
.native-ready-persona { width: 138px; height: 138px; margin-top: 12px; margin-bottom: 20px; }
|
|
703
|
+
.native-ready-panel { max-width: 390px; }
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
@media (prefers-reduced-motion: reduce) {
|
|
707
|
+
.native-training-progress span { animation: none; }
|
|
708
|
+
.native-training-phrase h2 { animation: none; }
|
|
709
|
+
}
|