@gemboss/ui 0.48.0 → 0.51.0
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/CHANGELOG.md +457 -0
- package/README.md +280 -12
- package/catalog/editor.html +25 -12
- package/catalog/index.html +641 -99
- package/gemboss-ui.css +3 -3
- package/package.json +29 -2
- package/parts/components.css +3 -3
- package/parts/core.css +1 -1
- package/parts/shell.css +2 -2
- package/src/app-shell.css +1 -1
- package/src/assistant/chat.tsx +50 -6
- package/src/assistant/host.tsx +19 -7
- package/src/assistant/index.ts +1 -1
- package/src/assistant/sessions.tsx +2 -1
- package/src/assistant-chat.css +1 -1
- package/src/assistant.css +1 -1
- package/src/auth-extras.css +1 -0
- package/src/auth-footer.css +1 -0
- package/src/auth-footer.tsx +71 -0
- package/src/auth-signin-plain.js +1 -0
- package/src/auth-sso-plain.js +1 -1
- package/src/auth-steps.css +1 -0
- package/src/auth-steps.tsx +179 -0
- package/src/auth.css +1 -1
- package/src/auth.tsx +239 -14
- package/src/briefing-card.css +1 -1
- package/src/collections.css +1 -1
- package/src/create-shell.css +1 -0
- package/src/create-shell.tsx +221 -0
- package/src/dialog.tsx +3 -0
- package/src/editor/color-picker.tsx +183 -0
- package/src/editor/controls.tsx +49 -33
- package/src/editor/index.ts +8 -0
- package/src/editor/picker-grid.tsx +186 -0
- package/src/editor/picker.tsx +275 -0
- package/src/editor/popover.tsx +160 -0
- package/src/editor/swatch.ts +2 -1
- package/src/editor-color.css +1 -0
- package/src/editor-insert.css +1 -0
- package/src/editor-picker-grid.css +1 -0
- package/src/editor-picker.css +1 -0
- package/src/editor-plain.js +1 -1
- package/src/editor-popover.css +1 -0
- package/src/editor.css +1 -1
- package/src/empty-stage.css +1 -0
- package/src/empty-stage.tsx +31 -0
- package/src/icons.tsx +6 -0
- package/src/index-table.tsx +7 -4
- package/src/index.ts +19 -2
- package/src/kit-plain.css +1 -1
- package/src/kit-plain.js +1 -1
- package/src/language-switcher.tsx +10 -41
- package/src/list-page.css +1 -0
- package/src/list-page.tsx +239 -0
- package/src/menu-extras.css +1 -0
- package/src/menu-keys.ts +199 -0
- package/src/menu-layer.ts +2 -1
- package/src/menu-plain.js +1 -0
- package/src/menu.css +1 -0
- package/src/menu.tsx +83 -35
- package/src/pager-extras.css +1 -0
- package/src/pager.css +1 -0
- package/src/pager.tsx +88 -0
- package/src/portal.css +1 -1
- package/src/segmented.tsx +12 -2
- package/src/selection.tsx +3 -1
- package/src/session-rail-plain.js +1 -1
- package/src/settings-dialog.tsx +29 -2
- package/src/shell.css +1 -1
- package/src/stage-path.css +1 -0
- package/src/stage-path.tsx +89 -0
- package/src/stage.css +1 -0
- package/src/stage.tsx +52 -0
- package/src/starting-point.css +1 -0
- package/src/starting-point.tsx +93 -0
- package/src/status-list.css +1 -0
- package/src/status-list.tsx +65 -0
- package/src/status-matrix.css +1 -0
- package/src/status-matrix.tsx +131 -0
- package/src/team-chat.css +1 -1
- package/src/theme.tsx +13 -3
- package/src/translation-row.css +1 -0
- package/src/translation-row.tsx +113 -0
- package/src/ui.css +1 -1
package/src/auth.tsx
CHANGED
|
@@ -12,8 +12,17 @@
|
|
|
12
12
|
* the height ladder that sheds the tagline and the mark on short screens, the keyboard-aware height,
|
|
13
13
|
* the dark theme. Re-theme it by redefining the `--gb-*` tokens on `.gb-auth` (see auth.css), never
|
|
14
14
|
* by restyling its classes.
|
|
15
|
+
*
|
|
16
|
+
* The standard screen (24/10/2026, Chris's design canvas for GemBoss, GemCommunity and GemBoss Affiliates): the card,
|
|
17
|
+
* "Forgot password?" on the Password row (PasswordField `forgot`), a row under the card (`footer`: AuthFooter in
|
|
18
|
+
* auth-footer.tsx, with the theme, the language and Help · Terms · Privacy), and a real screenshot of the product on
|
|
19
|
+
* the panel (`panel.shot`). A sign-up of several steps adds auth-steps.tsx: the step header, Back + Continue, and the
|
|
20
|
+
* choice cards and chips that answer a step's one question.
|
|
15
21
|
*/
|
|
16
22
|
import "./auth.css"; // its own stylesheet travels with it (0.23.0): a surface that never renders it never loads it
|
|
23
|
+
// What the screen gained on 24/10/2026 (the panel's picture, "Forgot password?", the bottom row's place). Its own entry
|
|
24
|
+
// because auth.css rides in the frozen compatibility bundle, which had 21 bytes of room left (auth-extras.css says more).
|
|
25
|
+
import "./auth-extras.css";
|
|
17
26
|
import React, { useEffect, useRef, useState } from "react";
|
|
18
27
|
|
|
19
28
|
import { GemMark } from "./GemMark";
|
|
@@ -33,24 +42,60 @@ export type AuthBackdrop = "facet" | "grid" | "none";
|
|
|
33
42
|
// Whole class names, not `gb-auth-panel--${backdrop}`: written out, grep and the admin's orphan-rule gate can see them.
|
|
34
43
|
const BACKDROP: Record<AuthBackdrop, string> = { facet: "", grid: "gb-auth-panel--grid", none: "gb-auth-panel--none" };
|
|
35
44
|
|
|
45
|
+
/**
|
|
46
|
+
* A real page of the product in a white window, under the panel's words (24/10/2026). Chris asked for one sign-in for
|
|
47
|
+
* GemBoss, GemCommunity and GemBoss Affiliates that looks better than the words alone: the panel shows what the person
|
|
48
|
+
* is signing in TO (Affiliates its earnings chart, GemCommunity its members, GemBoss its funnels), in a window with a
|
|
49
|
+
* 28px bar and three grey dots so it reads as a screen, not as decoration.
|
|
50
|
+
*
|
|
51
|
+
* Lazy, like AuthPageField's pages: the panel is display:none below 900 wide or 520 tall, and a lazy image there is
|
|
52
|
+
* never fetched, so a phone does not download a picture it cannot see.
|
|
53
|
+
*/
|
|
54
|
+
export interface AuthShot {
|
|
55
|
+
/** The screenshot, served by the surface: a real page, wider than tall (16:10 reads best). */
|
|
56
|
+
src: string;
|
|
57
|
+
/** What it shows, for a screen reader ("This month's earnings, day by day"). `""` when the heading already says it. */
|
|
58
|
+
alt: string;
|
|
59
|
+
/** One line under the window. */
|
|
60
|
+
caption?: React.ReactNode;
|
|
61
|
+
/** The picture's own size, so the window holds its height before the image arrives. */
|
|
62
|
+
width?: number;
|
|
63
|
+
height?: number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function AuthShotWindow({ src, alt, caption, width, height }: AuthShot) {
|
|
67
|
+
return (
|
|
68
|
+
<figure className="gb-auth-shot">
|
|
69
|
+
<div className="gb-auth-shot-win">
|
|
70
|
+
<img src={src} alt={alt} width={width} height={height} loading="lazy" decoding="async" />
|
|
71
|
+
</div>
|
|
72
|
+
{caption ? <figcaption>{caption}</figcaption> : null}
|
|
73
|
+
</figure>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
36
77
|
/**
|
|
37
78
|
* The whole screen. `children` is everything inside the card below the heading: the form, then any
|
|
38
79
|
* lines under it.
|
|
39
80
|
*/
|
|
40
|
-
export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", art, className, children }: {
|
|
81
|
+
export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", art, footer, className, children }: {
|
|
41
82
|
/** The page heading (h1) in the card. */
|
|
42
83
|
brand: React.ReactNode;
|
|
43
84
|
/** One line under the heading; the first thing shed on a short screen. */
|
|
44
85
|
tagline?: React.ReactNode;
|
|
45
86
|
/** Defaults to the GemBoss gem on the `--gb-mark-bg` tile. */
|
|
46
87
|
mark?: React.ReactNode;
|
|
47
|
-
/** The brand panel beside the card — shown only where there is room (900 wide AND 520 tall).
|
|
48
|
-
|
|
88
|
+
/** The brand panel beside the card — shown only where there is room (900 wide AND 520 tall). `shot` (24/10/2026):
|
|
89
|
+
* a screenshot of the product in a window under the words; see `AuthShot`. */
|
|
90
|
+
panel?: { eyebrow?: React.ReactNode; heading: React.ReactNode; body?: React.ReactNode; shot?: AuthShot };
|
|
49
91
|
/** The panel's ground pattern; see `AuthBackdrop`. Only drawn where the panel is (900 wide AND 520 tall). */
|
|
50
92
|
backdrop?: AuthBackdrop;
|
|
51
93
|
/** Drawn on the panel, under its words (16/10/2026): `AuthPageField`, or anything else that is decoration. Pair it
|
|
52
94
|
* with `backdrop="none"`. Only drawn where the panel is. */
|
|
53
95
|
art?: React.ReactNode;
|
|
96
|
+
/** The row at the bottom of the form's column, OUTSIDE the card (24/10/2026): `AuthFooter` (theme, language, Help ·
|
|
97
|
+
* Terms · Privacy). Those are about the page, not the form, so they sit under it rather than in it. */
|
|
98
|
+
footer?: React.ReactNode;
|
|
54
99
|
className?: string;
|
|
55
100
|
children?: React.ReactNode;
|
|
56
101
|
}) {
|
|
@@ -92,7 +137,9 @@ export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", ar
|
|
|
92
137
|
return (
|
|
93
138
|
<main className={cx("gb-auth", className)} ref={shellRef}>
|
|
94
139
|
<div className="gb-auth-split">
|
|
95
|
-
|
|
140
|
+
{/* With a footer the column stacks (gb-auth-stage--foot): the card keeps its auto margins, so it still centres in
|
|
141
|
+
the room above, and the row sits at the bottom. Without one the markup is exactly what it was. */}
|
|
142
|
+
<div className={cx("gb-auth-stage", footer ? "gb-auth-stage--foot" : null)}>
|
|
96
143
|
<div className="gb-auth-card">
|
|
97
144
|
<header className="gb-auth-header">
|
|
98
145
|
<span className="gb-auth-mark" aria-hidden>
|
|
@@ -103,6 +150,7 @@ export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", ar
|
|
|
103
150
|
</header>
|
|
104
151
|
{children}
|
|
105
152
|
</div>
|
|
153
|
+
{footer ? <div className="gb-auth-bottom">{footer}</div> : null}
|
|
106
154
|
</div>
|
|
107
155
|
{/* Left OUT of aria-hidden: the words are an invitation and a screen-reader user should hear
|
|
108
156
|
them. Nothing in it is focusable — it is decoration beside the form, not a second path. */}
|
|
@@ -113,6 +161,7 @@ export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", ar
|
|
|
113
161
|
{panel.eyebrow ? <p className="gb-auth-eyebrow">{panel.eyebrow}</p> : null}
|
|
114
162
|
<h2 className="gb-auth-panel-h">{panel.heading}</h2>
|
|
115
163
|
{panel.body ? <p className="gb-auth-panel-p">{panel.body}</p> : null}
|
|
164
|
+
{panel.shot ? <AuthShotWindow {...panel.shot} /> : null}
|
|
116
165
|
</div>
|
|
117
166
|
</aside>
|
|
118
167
|
) : null}
|
|
@@ -133,14 +182,19 @@ export function AuthLayout({ brand, tagline, mark, panel, backdrop = "facet", ar
|
|
|
133
182
|
*/
|
|
134
183
|
export const GEMBOSS_ISSUER = "https://admin.gemboss.ai";
|
|
135
184
|
const SSO_REASONS: Record<string, string> = {
|
|
136
|
-
not_member: "Your GemBoss account
|
|
185
|
+
not_member: "Your GemBoss account is not a member here. Ask an admin to add your email.",
|
|
137
186
|
invalid: "That sign-in did not go through. Try again, or use the password.",
|
|
138
187
|
off: "Signing in with GemBoss is not available here yet. Use the password.",
|
|
139
188
|
};
|
|
140
189
|
|
|
141
|
-
/**
|
|
142
|
-
|
|
143
|
-
|
|
190
|
+
/**
|
|
191
|
+
* The GemBoss door for one tool, with the path on the tool to come back to, and the name the person is on (`host`):
|
|
192
|
+
* GemBoss sends the token to the tool's registered URL on that name, so the session lands where they are (a tool
|
|
193
|
+
* answers to a flat name and an .ops name). GemBoss only chooses among registered URLs with it.
|
|
194
|
+
*/
|
|
195
|
+
export function gemBossSignInUrl(service: string, next = "/", issuer = GEMBOSS_ISSUER, host?: string): string {
|
|
196
|
+
return `${issuer}/api/auth/sso/authorize?service=${encodeURIComponent(service)}&next=${encodeURIComponent(next)}` +
|
|
197
|
+
(host ? `&host=${encodeURIComponent(host)}` : "");
|
|
144
198
|
}
|
|
145
199
|
|
|
146
200
|
/** Whether this visit should go to GemBoss without a click: the browser came in that way before, and nothing says stay. */
|
|
@@ -150,24 +204,35 @@ export function continuesByItself(cookie: string, search: string): boolean {
|
|
|
150
204
|
return /(?:^|;\s*)gb_sso=1(?:;|$)/.test(cookie);
|
|
151
205
|
}
|
|
152
206
|
|
|
153
|
-
export function AuthContinueWithGemBoss({ service, next = "/", issuer = GEMBOSS_ISSUER }: {
|
|
207
|
+
export function AuthContinueWithGemBoss({ service, next = "/", issuer = GEMBOSS_ISSUER, host: givenHost }: {
|
|
154
208
|
/** This tool's id in GemBoss's list of tools that redeem (FLEET_SSO_SERVICES). */
|
|
155
209
|
service: string;
|
|
156
210
|
/** Where on this tool to land afterwards: a path. */
|
|
157
211
|
next?: string;
|
|
158
212
|
issuer?: string;
|
|
213
|
+
/** The name this page is served on (the request's Host). A server-rendered page passes it, so a click made before
|
|
214
|
+
* React has loaded already carries it; without it the link gains it once mounted. */
|
|
215
|
+
host?: string;
|
|
159
216
|
}) {
|
|
160
|
-
const
|
|
217
|
+
const [host, setHost] = useState<string | undefined>(givenHost);
|
|
218
|
+
const href = gemBossSignInUrl(service, next, issuer, host);
|
|
161
219
|
const [going, setGoing] = useState(false);
|
|
162
220
|
const [reason, setReason] = useState<string | null>(null);
|
|
163
221
|
useEffect(() => {
|
|
222
|
+
setHost(window.location.host);
|
|
164
223
|
const r = new URLSearchParams(window.location.search).get("sso");
|
|
165
224
|
if (r) setReason(SSO_REASONS[r] ?? SSO_REASONS.invalid);
|
|
166
225
|
if (continuesByItself(document.cookie, window.location.search)) {
|
|
167
226
|
setGoing(true);
|
|
168
|
-
window.location.replace(
|
|
227
|
+
window.location.replace(gemBossSignInUrl(service, next, issuer, window.location.host));
|
|
169
228
|
}
|
|
170
|
-
}, [
|
|
229
|
+
}, [service, next, issuer]);
|
|
230
|
+
// Back from GemBoss into a page the browser kept in memory: the door is not still "Continuing with GemBoss…".
|
|
231
|
+
useEffect(() => {
|
|
232
|
+
const back = (e: PageTransitionEvent) => { if (e.persisted) setGoing(false); };
|
|
233
|
+
window.addEventListener("pageshow", back);
|
|
234
|
+
return () => window.removeEventListener("pageshow", back);
|
|
235
|
+
}, []);
|
|
171
236
|
return (
|
|
172
237
|
<div className="gb-auth-sso">
|
|
173
238
|
<a className="gb-auth-sso-btn" href={href} onClick={() => setGoing(true)}>
|
|
@@ -230,17 +295,25 @@ function EyeIcon({ off }: { off: boolean }) {
|
|
|
230
295
|
* Password + reveal toggle inside the field. The input is NOT inside the label: a <button> inside a
|
|
231
296
|
* <label> still fires the label's activation, so every reveal re-focused the input and, on iOS
|
|
232
297
|
* Safari, scrolled the card. `htmlFor` keeps the word "Password" clickable without that.
|
|
298
|
+
*
|
|
299
|
+
* `forgot` (24/10/2026): "Forgot password?" on the label's row, at its right end, as the approved sign-in draws it. It
|
|
300
|
+
* is AFTER the field in the page, and only drawn up on the label's row (a grid, auth-extras.css): someone who Tabs from
|
|
301
|
+
* Email goes straight into Password, types, and presses Enter. Placed before the field it would sit between the two
|
|
302
|
+
* boxes every keyboard user fills.
|
|
233
303
|
*/
|
|
234
304
|
export function PasswordField({ id, label = "Password", toggleLabels = { show: "Show password", hide: "Hide password" },
|
|
235
|
-
inputClassName = "gb-auth-input", ...input }: InputProps & {
|
|
305
|
+
forgot, inputClassName = "gb-auth-input", ...input }: InputProps & {
|
|
236
306
|
id: string;
|
|
237
307
|
label?: React.ReactNode;
|
|
238
308
|
toggleLabels?: { show: string; hide: string };
|
|
309
|
+
/** The "Forgot password?" link: where it goes, its words (default "Forgot password?"), and an onClick for a page that
|
|
310
|
+
* handles it in place (call preventDefault there; the href still works before React has loaded). */
|
|
311
|
+
forgot?: { href: string; label?: React.ReactNode; onClick?: React.MouseEventHandler<HTMLAnchorElement> };
|
|
239
312
|
}) {
|
|
240
313
|
const [shown, setShown] = useState(false);
|
|
241
314
|
const name = shown ? toggleLabels.hide : toggleLabels.show;
|
|
242
315
|
return (
|
|
243
|
-
<div className="gb-auth-field">
|
|
316
|
+
<div className={forgot ? "gb-auth-field gb-auth-field--forgot" : "gb-auth-field"}>
|
|
244
317
|
<label htmlFor={id}>{label}</label>
|
|
245
318
|
<div className="gb-auth-pw">
|
|
246
319
|
<input className={inputClassName} id={id} type={shown ? "text" : "password"} {...input} />
|
|
@@ -260,6 +333,7 @@ export function PasswordField({ id, label = "Password", toggleLabels = { show: "
|
|
|
260
333
|
<EyeIcon off={shown} />
|
|
261
334
|
</button>
|
|
262
335
|
</div>
|
|
336
|
+
{forgot ? <a className="gb-auth-forgot" href={forgot.href} onClick={forgot.onClick}>{forgot.label ?? "Forgot password?"}</a> : null}
|
|
263
337
|
</div>
|
|
264
338
|
);
|
|
265
339
|
}
|
|
@@ -282,3 +356,154 @@ export function AuthFoot({ children }: { children?: React.ReactNode }) {
|
|
|
282
356
|
export function AuthHelp({ children }: { children?: React.ReactNode }) {
|
|
283
357
|
return <p className="gb-auth-help">{children}</p>;
|
|
284
358
|
}
|
|
359
|
+
|
|
360
|
+
/** What the form says when the request never got an answer. */
|
|
361
|
+
export const SIGN_IN_OFFLINE = "Couldn't reach the server. Check your connection and try again.";
|
|
362
|
+
|
|
363
|
+
// The refusals that are about what was typed: a missing or malformed value, a wrong email or password. A lock (429), a
|
|
364
|
+
// closed door (503) or a forbidden (403) marks no field.
|
|
365
|
+
const FIELD_REFUSALS = [400, 401, 422];
|
|
366
|
+
|
|
367
|
+
/** A sign-in route's refusal read the way initSignIn() reads it, for an `onSignIn` that fetches the route itself:
|
|
368
|
+
* the body's `error`, `detail` or `message`, and whether it is about the fields (FIELD_REFUSALS).
|
|
369
|
+
* `if (!res.ok) return signInRefusal(res);` keeps a React form and a plain one saying the same thing. */
|
|
370
|
+
export async function signInRefusal(res: Response): Promise<{ message: string; fields: boolean }> {
|
|
371
|
+
const j = await res.json().catch(() => null);
|
|
372
|
+
const said = j && typeof j === "object" ? [j.error, j.detail, j.message].find((x) => typeof x === "string" && x) : undefined;
|
|
373
|
+
return { message: said || `Couldn't sign in (HTTP ${res.status}). Try again.`, fields: FIELD_REFUSALS.includes(res.status) };
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* The whole sign-in form of a fleet tool (23/10/2026), the part every tool used to write itself: Continue with GemBoss,
|
|
378
|
+
* then Email, Password, the error and Sign in. Chris, 23/10/2026, seeing "Your lark email" on one form and other words on
|
|
379
|
+
* the next: "cái này chắc phải đưa vào gemboss ui". So the words, the fields and their order live here and nowhere else;
|
|
380
|
+
* a tool says which tool it is (`service`), where to land (`next`) and how to check the two values (`onSignIn`).
|
|
381
|
+
*
|
|
382
|
+
* `onSignIn` returns the sentence to show when it did not work (the server's own words, e.g. "The email or password is
|
|
383
|
+
* wrong."; `signInRefusal(res)` reads them from a fetch), or nothing once it has started moving the browser on: the button
|
|
384
|
+
* stays on "Signing in…" until the page goes, so a second press cannot send the password twice. It throwing reads as the
|
|
385
|
+
* network being down.
|
|
386
|
+
*
|
|
387
|
+
* Without `service` there is no GemBoss button: only for a tool that GemBoss does not sign into yet.
|
|
388
|
+
* Plain-HTML twin: `initSignIn()` in auth-signin-plain.js, same markup (auth-signin-browser.test.ts compares the two).
|
|
389
|
+
*/
|
|
390
|
+
/** What `onSignIn` answers: nothing once it has moved on; the server's sentence (about what was typed, so both fields are
|
|
391
|
+
* marked); or `{ message, fields: false }` for a sentence that is not about the fields (a lock, a closed door). */
|
|
392
|
+
export type SignInAnswer = string | { message: string; fields?: boolean } | null | undefined | void;
|
|
393
|
+
|
|
394
|
+
export function AuthSignIn({ service, next, issuer = GEMBOSS_ISSUER, host, action, onSignIn, foot, forgot, idPrefix = "gb-signin",
|
|
395
|
+
error: givenError, errorFields = true, notice, autoFocus = false }: {
|
|
396
|
+
/** This tool's id in GemBoss's FLEET_SSO_SERVICES. */
|
|
397
|
+
service?: string;
|
|
398
|
+
/** The request's Host, from a server-rendered page: see AuthContinueWithGemBoss. */
|
|
399
|
+
host?: string;
|
|
400
|
+
/** Where the form posts if it is sent before React has loaded (a server-rendered page): the tool's sign-in route, which
|
|
401
|
+
* should answer a plain form post with a redirect. The form is always `method="post"`, so that early press never
|
|
402
|
+
* becomes a GET with the password in the URL. */
|
|
403
|
+
action?: string;
|
|
404
|
+
/** Where on this tool to land after GemBoss: a path. It is also posted with the form (`next`), so a press made before
|
|
405
|
+
* React loaded still lands there; left out, the GemBoss door goes to "/" and the form post lets the server choose. */
|
|
406
|
+
next?: string;
|
|
407
|
+
issuer?: string;
|
|
408
|
+
onSignIn: (credentials: { email: string; password: string }) => Promise<SignInAnswer>;
|
|
409
|
+
/** One line under the form, e.g. "Internal use only." */
|
|
410
|
+
foot?: React.ReactNode;
|
|
411
|
+
/** "Forgot password?" on the Password row (24/10/2026): PasswordField's `forgot`. The plain twin reads `data-forgot`. */
|
|
412
|
+
forgot?: { href: string; label?: React.ReactNode };
|
|
413
|
+
/** Prefix of the inputs' ids: only matters with two sign-in forms on one page. */
|
|
414
|
+
idPrefix?: string;
|
|
415
|
+
/** The sentence the server answered a plain form post with (a press before React loaded; the page reads it from its
|
|
416
|
+
* `?error=`): shown as if `onSignIn` had said it. */
|
|
417
|
+
error?: string;
|
|
418
|
+
/** Whether `error` is about what was typed (default): false for a lock or a closed door, so the fields are not marked. */
|
|
419
|
+
errorFields?: boolean;
|
|
420
|
+
/** A line above the form before anyone presses ("Your session expired. Sign in again."); it goes on the first press. */
|
|
421
|
+
notice?: React.ReactNode;
|
|
422
|
+
/** Put the cursor in Email when the form is on the page: unless someone is already in a field, or the page is going on to
|
|
423
|
+
* GemBoss by itself (a phone's keyboard would open over the redirect). */
|
|
424
|
+
autoFocus?: boolean;
|
|
425
|
+
}) {
|
|
426
|
+
const [busy, setBusy] = useState(false);
|
|
427
|
+
const [error, setError] = useState<string | null>(givenError || null);
|
|
428
|
+
// The server refused what was typed: both fields are marked. A lock, a closed door or a dropped network marks neither
|
|
429
|
+
// (nothing in them is wrong).
|
|
430
|
+
const [wrong, setWrong] = useState(!!givenError && errorFields);
|
|
431
|
+
// A new `error` after mount (the page moved to another ?error= without remounting): shown, as the first one was.
|
|
432
|
+
const [given, setGiven] = useState(givenError);
|
|
433
|
+
if (given !== givenError) {
|
|
434
|
+
setGiven(givenError);
|
|
435
|
+
setError(givenError || null);
|
|
436
|
+
setWrong(!!givenError && errorFields);
|
|
437
|
+
}
|
|
438
|
+
const [noticeShown, setNoticeShown] = useState(true);
|
|
439
|
+
const errorId = `${idPrefix}-error`, noticeId = `${idPrefix}-notice`;
|
|
440
|
+
const showNotice = !!notice && noticeShown;
|
|
441
|
+
|
|
442
|
+
// Back to this page from the browser's memory after it moved on (bfcache keeps React's state): not still "Signing in…".
|
|
443
|
+
useEffect(() => {
|
|
444
|
+
const back = (e: PageTransitionEvent) => { if (e.persisted) setBusy(false); };
|
|
445
|
+
window.addEventListener("pageshow", back);
|
|
446
|
+
return () => window.removeEventListener("pageshow", back);
|
|
447
|
+
}, []);
|
|
448
|
+
|
|
449
|
+
// As HTML autofocus, but not under a field someone is already in (a click made while the page loaded) and not over the
|
|
450
|
+
// redirect when the GemBoss door continues by itself.
|
|
451
|
+
useEffect(() => {
|
|
452
|
+
if (!autoFocus) return;
|
|
453
|
+
const at = document.activeElement;
|
|
454
|
+
if (at && at !== document.body) return;
|
|
455
|
+
if (service && continuesByItself(document.cookie, window.location.search)) return;
|
|
456
|
+
document.getElementById(`${idPrefix}-email`)?.focus();
|
|
457
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- once, when the form arrives
|
|
458
|
+
}, []);
|
|
459
|
+
|
|
460
|
+
async function submit(e: React.FormEvent<HTMLFormElement>) {
|
|
461
|
+
e.preventDefault();
|
|
462
|
+
if (busy) return;
|
|
463
|
+
// What is in the fields now, read from the form: a password manager that filled them before React loaded fires no
|
|
464
|
+
// change event, so state would still say "" and the press would send an empty password (a counted wrong try).
|
|
465
|
+
const values = new FormData(e.currentTarget);
|
|
466
|
+
const email = String(values.get("email") ?? "").trim(), password = String(values.get("password") ?? "");
|
|
467
|
+
setBusy(true);
|
|
468
|
+
setError(null);
|
|
469
|
+
setNoticeShown(false);
|
|
470
|
+
let said: SignInAnswer;
|
|
471
|
+
let fields = true;
|
|
472
|
+
try {
|
|
473
|
+
said = await onSignIn({ email, password });
|
|
474
|
+
} catch {
|
|
475
|
+
said = SIGN_IN_OFFLINE;
|
|
476
|
+
fields = false;
|
|
477
|
+
}
|
|
478
|
+
// An answer with no words is still a refusal: the button must not stay on "Signing in…".
|
|
479
|
+
const message = typeof said === "string" ? said : said ? said.message || "Couldn't sign in. Try again." : "";
|
|
480
|
+
if (said && typeof said === "object" && said.fields === false) fields = false;
|
|
481
|
+
if (message) {
|
|
482
|
+
setError(message);
|
|
483
|
+
setWrong(fields);
|
|
484
|
+
setBusy(false);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
// Both fields point at the error once there is one: a screen reader that Tabs back into either hears why. Email also
|
|
489
|
+
// points at the notice: it is on the page from the start, and a live region only speaks when it changes.
|
|
490
|
+
const invalid = error && wrong ? { "aria-invalid": true as const } : {};
|
|
491
|
+
const describedBy = (...ids: (string | false)[]) => ids.filter(Boolean).join(" ") || undefined;
|
|
492
|
+
return (
|
|
493
|
+
<>
|
|
494
|
+
{showNotice ? <p id={noticeId} className="gb-auth-notice" role="status">{notice}</p> : null}
|
|
495
|
+
{service ? <AuthContinueWithGemBoss service={service} next={next ?? "/"} issuer={issuer} host={host} /> : null}
|
|
496
|
+
<AuthForm method="post" action={action} onSubmit={submit}>
|
|
497
|
+
{next !== undefined ? <input type="hidden" name="next" value={next} /> : null}
|
|
498
|
+
{/* Not controlled: the browser keeps what is typed or filled, and submit reads the form. */}
|
|
499
|
+
<AuthField id={`${idPrefix}-email`} label="Email" type="email" name="email" autoComplete="username" required {...invalid}
|
|
500
|
+
aria-describedby={describedBy(showNotice && noticeId, !!error && errorId)} />
|
|
501
|
+
<PasswordField id={`${idPrefix}-password`} name="password" autoComplete="current-password" required forgot={forgot} {...invalid}
|
|
502
|
+
aria-describedby={describedBy(!!error && errorId)} />
|
|
503
|
+
<div id={errorId}><AuthError>{error}</AuthError></div>
|
|
504
|
+
<AuthSubmit disabled={busy}>{busy ? "Signing in…" : "Sign in"}</AuthSubmit>
|
|
505
|
+
</AuthForm>
|
|
506
|
+
{foot ? <AuthFoot>{foot}</AuthFoot> : null}
|
|
507
|
+
</>
|
|
508
|
+
);
|
|
509
|
+
}
|
package/src/briefing-card.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ui-briefing{display:flex;flex-wrap:wrap;align-items:center;gap:24px 32px;min-width:0;padding:40px 44px;border-radius:var(--gemboss-radius-2xl, 20px);background:var(--gemboss-accent-wash, #f7f8ff)}.ui-briefing__body{display:grid;flex:1 1 380px;gap:16px;min-width:0;justify-items:start}.ui-briefing__eyebrow{margin:0;background:var(--gemboss-accent-soft, #eef0fe);color:var(--gemboss-accent-strong, #3a44de)}.ui-briefing__title{margin:0;max-width:24ch;font-size:var(--gemboss-fs-display, 30px);line-height:38px;font-weight:650;letter-spacing:-.01em;color:var(--ui-text-strong);overflow-wrap:anywhere}.ui-briefing__lead{margin:-8px 0 0;max-width:56ch;font-size:var(--gemboss-fs-body-lg, 16px);line-height:24px;color:var(--ui-text-muted)}.ui-briefing__lead :is(strong,b){color:var(--ui-text-strong);font-variant-numeric:tabular-nums}.ui-briefing__evidence{display:flex;flex-wrap:wrap;gap:8px}.ui-briefing__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}.ui-briefing__art{display:flex;flex:0 1 auto;justify-content:center;min-width:0}@media (pointer: coarse),(max-width: 47.9975em){.ui-briefing{padding:28px 24px}.ui-briefing__title{font-size:var(--gemboss-fs-h1, 24px);line-height:32px}}
|
|
1
|
+
.ui-briefing{container-type:inline-size;display:flex;flex-wrap:wrap;align-items:center;gap:24px 32px;min-width:0;padding:40px 44px;border-radius:var(--gemboss-radius-2xl, 20px);background:var(--gemboss-accent-wash, #f7f8ff)}.ui-briefing__body{display:grid;flex:1 1 380px;gap:16px;min-width:0;justify-items:start}.ui-briefing__eyebrow{margin:0;background:var(--gemboss-accent-soft, #eef0fe);color:var(--gemboss-accent-strong, #3a44de)}.ui-briefing__title{margin:0;max-width:24ch;font-size:var(--gemboss-fs-display, 30px);line-height:38px;font-weight:650;letter-spacing:-.01em;color:var(--ui-text-strong);overflow-wrap:anywhere}.ui-briefing__lead{margin:-8px 0 0;max-width:56ch;font-size:var(--gemboss-fs-body-lg, 16px);line-height:24px;color:var(--ui-text-muted)}.ui-briefing__lead :is(strong,b){color:var(--ui-text-strong);font-variant-numeric:tabular-nums}.ui-briefing__evidence{display:flex;flex-wrap:wrap;gap:8px}.ui-briefing__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}.ui-briefing__art{display:flex;flex:0 1 auto;justify-content:center;min-width:0}@container (max-width: 631px){.ui-briefing__art{display:none}}@media (pointer: coarse),(max-width: 47.9975em){.ui-briefing{padding:28px 24px}.ui-briefing__title{font-size:var(--gemboss-fs-h1, 24px);line-height:32px}}
|
package/src/collections.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--ui-coll-head-bg: color-mix(in srgb, var(--ui-text, #1b1c1e) 3.5%, var(--ui-surface, #fff));--ui-coll-hover: color-mix(in srgb, var(--ui-text, #1b1c1e) 3.5%, var(--ui-surface, #fff));--ui-coll-selected: color-mix(in srgb, var(--ui-text, #1b1c1e) 6%, var(--ui-surface, #fff));--ui-coll-check-w: 40px}.ui-table-wrap.ui-table-wrap--flush{border:0;border-radius:0;box-shadow:none;background:transparent}.ui-table--sticky-first tr{background:var(--ui-surface)}.ui-table--sticky-first tbody tr:hover{background:var(--ui-surface-2)}.ui-table--sticky-first :is(th,td):first-child{position:sticky;left:0;z-index:1;background:inherit}@supports (animation-timeline: scroll()){.ui-table-wrap:has(>.ui-table--sticky-first){scroll-timeline:--ui-coll-x inline}.ui-table--sticky-first :is(th,td):first-child{animation:ui-coll-edge linear both;animation-timeline:--ui-coll-x;animation-range:0 24px}}@keyframes ui-coll-edge{0%{box-shadow:none}to{box-shadow:1px 0 0 var(--ui-border),6px 0 8px -6px #0000002e}}.ui-table--compact :is(td,tbody th){padding-block:6px}.ui-table--compact thead th{padding-block:6px}.ui-table__totals>tr{background:var(--ui-coll-head-bg)}.ui-table__totals>tr>:is(td,th){background:var(--ui-coll-head-bg);font-weight:650;color:var(--ui-text);border-top:1px solid var(--ui-border);border-bottom:0}.ui-table__footer{padding:8px 12px;background:var(--ui-coll-head-bg);border-top:1px solid var(--ui-border);color:var(--ui-text-muted);font-size:var(--ui-fs-body);text-align:center}.ui-table th.ui-table__rowhead{font-weight:450;color:var(--ui-text);text-align:left}.ui-table th.ui-table__rowhead:not(.is-num){white-space:normal;min-width:9.0625rem;overflow-wrap:anywhere}.ui-table th.ui-table__rowhead>a,.ui-table:where(:not(.ui-table--index)) tbody :is(td,th) li>a{display:inline-flex;align-items:center;min-height:24px}.ui-table:where(:not(.ui-table--index)) tbody :is(td,th){vertical-align:top}.ui-table:where(:not(.ui-table--index)) tbody :is(td>a,th.ui-table__rowhead>a,:is(td,th) li>a){margin-block:calc((1lh - 24px)/2)}.ui-table__sort{display:flex;width:max-content;max-width:100%;align-items:center;gap:4px;min-height:24px;margin-block:-2px;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:inherit;text-decoration:none;cursor:pointer;white-space:nowrap}.ui-table__sort:hover{color:var(--ui-text)}.ui-table__sort:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px;border-radius:4px}.ui-table__sort:after{content:"";flex:none;width:16px;height:16px;background:currentColor;opacity:0;-webkit-mask:var(--ui-coll-arrow) center / 16px no-repeat;mask:var(--ui-coll-arrow) center / 16px no-repeat;--ui-coll-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M4.5 9 8 12.5 11.5 9' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.ui-table__sort:is(:hover,:focus-visible):after{opacity:.45}th[aria-sort=ascending]>.ui-table__sort:after,th[aria-sort=descending]>.ui-table__sort:after{opacity:1}th[aria-sort=ascending]>.ui-table__sort:after{transform:rotate(180deg)}th[aria-sort=ascending]>.ui-table__sort,th[aria-sort=descending]>.ui-table__sort{color:var(--ui-text)}.ui-table .is-num>.ui-table__sort{flex-direction:row-reverse;margin-left:auto}.ui-trunc{display:block;max-width:var(--ui-trunc, 32ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-clamp-2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}.ui-index{position:relative;container:ui-index / inline-size;min-width:0}.ui-table--index{font-size:var(--ui-fs-body)}.ui-table--index tr{background:var(--ui-surface)}.ui-table.ui-table--index thead th{padding:8px 6px;background:var(--ui-coll-head-bg);color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:20px;font-weight:550;text-transform:none;letter-spacing:0}.ui-table.ui-table--index :is(td,tbody th){padding:6px;line-height:20px;white-space:nowrap;vertical-align:middle;border-bottom:0;border-top:1px solid var(--ui-border)}.ui-table.ui-table--index :is(th,td):where(:first-child){padding-left:var(--ui-space-3)}.ui-table.ui-table--index :is(th,td):where(:last-child){padding-right:var(--ui-space-3)}.ui-table--index tbody tr:hover{background:var(--ui-coll-hover)}.ui-table--index tbody tr:is(.is-selected,[aria-selected=true]){background:var(--ui-coll-selected)}.ui-table--index tbody tr:is([data-href],.is-linked){cursor:pointer}.ui-table--index tbody tr:has(.ui-table__title:focus-visible){outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-table__title:focus-visible{outline:none}.ui-table__primary{min-width:0}.ui-table__primary-inner{display:flex;align-items:center;gap:var(--ui-space-3);min-width:0}.ui-table__primary-text{min-width:0}.ui-table__title{display:block;max-width:var(--ui-trunc, 40ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text);font-weight:650;text-decoration:none}a.ui-table__title:hover{text-decoration:underline}.ui-table--index .ui-table__title+.ui-sub,.ui-table--index .ui-sub{display:block;max-width:var(--ui-trunc, 40ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:0;line-height:16px}.ui-table--index td>a.ui-table__title{display:block;min-height:0}.ui-table--index td>.ui-table__primary-inner>a.ui-table__title,.ui-table--index .ui-table__primary-text>a.ui-table__title{line-height:20px}.ui-table.ui-table--index .ui-table__check{width:var(--ui-coll-check-w);padding:6px 8px 6px 12px}.ui-table.ui-table--index thead .ui-table__check{padding:8px 8px 8px 12px}.ui-table__checkbox{display:flex;width:max-content;align-items:center;justify-content:center;min-width:24px;min-height:24px;margin:-2px 0;cursor:pointer}.ui-table__checkbox>input,.ui-list__check>input{width:16px;height:16px;margin:0;accent-color:var(--ui-accent);cursor:pointer}.ui-table__checkbox>input:focus-visible,.ui-list__check>input:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-table--index :is(.ui-table__check,.ui-table__primary){position:sticky;z-index:1;background:inherit}.ui-table--index .ui-table__check,.ui-table--index .ui-table__primary{left:0}.ui-table--index:has(.ui-table__check) .ui-table__primary{left:var(--ui-coll-check-w)}.ui-table__actions{width:1%;text-align:right}.ui-table__actions>*{vertical-align:middle}.ui-row-actions{display:inline-flex;align-items:center;gap:var(--ui-space-2)}.ui-bulkbar{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2);box-sizing:border-box;min-height:38px;margin-bottom:-38px;padding:4px 8px 4px 12px;background:var(--ui-surface);border:1px solid var(--ui-border);border-bottom-color:transparent;border-radius:var(--ui-radius-lg) var(--ui-radius-lg) 0 0;font-size:var(--ui-fs-body)}.ui-bulkbar[hidden]{display:none}.ui-bulkbar__count{flex:none;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.ui-bulkbar__actions{display:inline-flex;flex-wrap:wrap;gap:var(--ui-space-2);margin-left:auto}.ui-bulkbar .ui-table__checkbox{margin-right:4px}.ui-bulkbar[data-fit=pending]{flex-wrap:nowrap}.ui-bulkbar[data-fit=pending]>.ui-bulkbar__actions{flex:0 1 auto;flex-wrap:nowrap;min-width:0;overflow:hidden}.ui-bulkbar__actions>.ui-bulkbar__more{flex:none}.ui-bulkbar__measure{position:absolute;top:0;left:0;display:inline-flex;gap:var(--ui-space-2);height:0;overflow:hidden;visibility:hidden;pointer-events:none;white-space:nowrap}.ui-bulkbar__measure>*{flex:none}.ui-index__sortbar{display:none}@container ui-index (max-width: 768px){.ui-table--index,.ui-table--index tbody{display:block;width:100%}.ui-table--index thead{display:none}.ui-table--index tbody tr{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;min-height:44px;box-sizing:border-box;padding:10px 12px;border-top:1px solid var(--ui-border)}.ui-table--index tbody tr:first-child{border-top:0}.ui-table--index tbody tr:has(>.ui-table__check){padding-left:48px}.ui-table.ui-table--index tbody :is(td,th){display:block;padding:0;border:0;position:static;background:none;white-space:nowrap}.ui-table--index tbody .ui-table__primary{flex:1 0 100%;white-space:normal}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions){flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:18px}.ui-table--index tbody td[data-label]:not(.ui-table__primary):before{content:attr(data-label) " ";color:var(--ui-text-muted)}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions) .ui-trunc{display:inline-block;vertical-align:bottom}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions) .ui-sub{display:inline;margin-left:6px}.ui-table--index tbody td.is-num{text-align:left}.ui-table--index tbody td[data-condensed=hide]{display:none}.ui-table.ui-table--index tbody .ui-table__check{position:absolute;left:4px;top:4px;width:auto;padding:0}.ui-table.ui-table--index tbody .ui-table__actions{order:99;margin-left:auto;width:auto;padding:0;align-self:center}.ui-table--index .ui-table__checkbox{min-width:44px;min-height:44px;margin:0}.ui-table--index .ui-table__title,.ui-table--index .ui-sub,.ui-table--index .ui-table__title+.ui-sub{max-width:none}.ui-table--index tbody a.ui-table__title{position:relative;z-index:1;padding-block:2px;margin-block:-2px}.ui-index__sortbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2);margin:0 0 var(--ui-space-3);font-size:var(--ui-fs-caption);color:var(--ui-text-muted)}.ui-index .ui-bulkbar{margin-bottom:var(--ui-space-2);border-bottom-color:var(--ui-border);border-radius:var(--ui-radius-lg)}.ui-index .ui-table-wrap{overflow-x:visible}}.ui-list{container:ui-list / inline-size;margin:0;padding:0;list-style:none;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-card-shadow)}.ui-list--flush{border:0;border-radius:0;box-shadow:none;background:transparent}.ui-list__item{position:relative;display:flex;align-items:flex-start;gap:var(--ui-space-3);box-sizing:border-box;padding:var(--ui-space-3);min-height:44px;border-top:1px solid var(--ui-border)}.ui-list>.ui-list__item:first-child{border-top:0}.ui-list>.ui-list__item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.ui-list>.ui-list__item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.ui-list__item:has(>.ui-list__body>.ui-list__title[href]):hover{background:var(--ui-coll-hover)}.ui-list__item:is(.is-selected,[aria-selected=true]){background:var(--ui-coll-selected)}.ui-list__item:has(>.ui-list__body>.ui-list__title:focus-visible){outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-list__media{flex:none;display:flex;align-items:center;min-height:40px}.ui-list__body{flex:1 1 auto;min-width:0}.ui-list__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;font-weight:650;text-decoration:none}.ui-list__title[href]:after{content:"";position:absolute;inset:0;z-index:0}.ui-list__title:focus-visible{outline:none}.ui-list__sub{margin:0;color:var(--ui-text-muted);font-size:var(--ui-fs-body);line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.ui-list__meta{margin:2px 0 0;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:16px}.ui-list__badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.ui-list__aside{flex:none;align-self:center;color:var(--ui-text);font-variant-numeric:tabular-nums;text-align:right}.ui-list__actions{flex:none;align-self:center;display:inline-flex;align-items:center;gap:var(--ui-space-2)}.ui-list__item :is(.ui-list__actions,.ui-list__aside a,.ui-list__body a:not(.ui-list__title),button,input,select,textarea,label,summary,details){position:relative;z-index:1}.ui-list__item>:is(.ui-list__actions,.ui-list__aside) a:not(.ui-btn){display:inline-flex;align-items:center;min-height:24px}@container ui-list (max-width: 400px){.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"media body body" "media aside actions";gap:0;align-items:start}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__media{grid-area:media;margin-inline-end:var(--ui-space-3)}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__body{grid-area:body}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__aside{grid-area:aside;justify-self:start;align-self:center;margin-top:4px;text-align:left}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__actions{grid-area:actions;justify-self:end;align-self:center;margin:4px 0 0 var(--ui-space-3)}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item--disclosure>:is(.ui-list__aside,.ui-list__actions){margin-top:8px}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"media body aside actions";align-items:center}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child)>:is(.ui-list__aside,.ui-list__actions){margin-top:0}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child)>.ui-list__aside{margin-inline-start:var(--ui-space-3);text-align:right}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__panel{grid-column:1 / -1}}.ui-list__item--disclosure{flex-wrap:wrap}.ui-list__toggle{display:block;flex:1 1 0;min-width:0;min-height:24px;margin:0;padding:0;border:0;border-radius:var(--ui-radius-sm, 4px);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.ui-list__toggle:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-list__toggle>.ui-list__meta{display:block}@media (hover: hover){.ui-list__item--disclosure:not(.is-open):has(>.ui-list__toggle:hover){background:var(--ui-coll-hover)}}.ui-list__chev{display:inline-block;width:16px;height:16px;margin:0 4px 0 -2px;vertical-align:-3px;background:var(--ui-text-muted);-webkit-mask:var(--ui-chev) center / 16px no-repeat;mask:var(--ui-chev) center / 16px no-repeat;transition:transform .15s;--ui-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.ui-list__item--disclosure.is-open>.ui-list__toggle .ui-list__chev{transform:rotate(90deg)}@media (forced-colors: active){.ui-list__chev{forced-color-adjust:none;background:CanvasText}}.ui-list__panel{flex:1 0 100%;min-width:0;margin-top:var(--ui-space-2)}.ui-list__panel[hidden]{display:none}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__toggle{min-height:44px}}@media (prefers-reduced-motion: reduce){.ui-list__chev{transition:none}}.ui-resource>.ui-bulkbar{margin-bottom:0;border-bottom-color:var(--ui-border)}.ui-resource>.ui-bulkbar:has(+.ui-list--flush){border-width:0 0 1px;border-radius:0}.ui-resource>.ui-list,.ui-resource>[aria-busy]>.ui-list{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.ui-list__check{display:flex;flex:none;align-items:center;justify-content:center;min-width:24px;min-height:24px;cursor:pointer}.ui-list__check:not(:last-child){margin-inline-end:8px}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__check{min-width:44px;min-height:44px;margin-block:-2px;margin-inline-start:-12px}.ui-list__check:not(:last-child){margin-inline-end:-2px}.ui-resource>.ui-bulkbar>.ui-table__checkbox{min-width:44px;min-height:44px;margin:-8px -8px -8px -12px}}.ui-thumb{display:block;flex:none;width:40px;height:40px;box-sizing:border-box;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-2);overflow:hidden;object-fit:cover}.ui-thumb--xs{width:24px;height:24px;border-radius:var(--ui-radius-sm)}.ui-thumb--md{width:60px;height:60px}.ui-thumb--lg{width:80px;height:80px}.ui-thumb>img{display:block;width:100%;height:100%;object-fit:cover}.ui-list--compact>.ui-list__item{display:block;padding:0;min-height:0}.ui-list__row{display:flex;align-items:center;gap:var(--ui-space-2);box-sizing:border-box;width:100%;min-height:36px;padding:8px 12px;border:0;background:none;color:var(--ui-text);font:inherit;font-size:var(--ui-fs-body);line-height:20px;text-align:left;text-decoration:none;border-radius:inherit}:is(a,button).ui-list__row{cursor:pointer}:is(a,button).ui-list__row:hover{background:var(--ui-coll-hover)}:is(a,button).ui-list__row:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-list__row[aria-current=page],.ui-list__row.is-selected{background:var(--ui-coll-selected)}.ui-list__icon{flex:none;display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;color:var(--ui-text-muted)}.ui-list__icon>svg{width:16px;height:16px}.ui-list__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-list__row>.ui-list__meta{flex:none;margin:0;font-variant-numeric:tabular-nums}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__row{min-height:44px}}.ui-list--activity>.ui-list__item{display:grid;grid-template-columns:20px minmax(0,1fr) auto;column-gap:var(--ui-space-2);align-items:start;padding:8px 12px;min-height:36px;border-top:0}.ui-list--activity>.ui-list__item:before{content:"";position:absolute;left:21.5px;top:0;bottom:0;width:1px;background:var(--ui-border)}.ui-list--activity>.ui-list__item:first-child:before{top:14px}.ui-list--activity>.ui-list__item:last-child:before{bottom:calc(100% - 14px)}.ui-list--activity>.ui-list__item:only-child:before{display:none}.ui-list__dot{position:relative;z-index:1;width:8px;height:8px;margin:6px 0 0 6px;border-radius:50%;background:var(--ui-text-muted);box-shadow:0 0 0 3px var(--ui-surface)}.ui-list__dot--success{background:var(--gemboss-success, #0a8f6a)}.ui-list__dot--warning{background:var(--gemboss-warning, #b25e09)}.ui-list__dot--critical{background:var(--gemboss-danger-strong, #c70a24)}.ui-list__dot--info{background:var(--gemboss-accent, #5661f5)}.ui-list--activity .ui-list__label{display:block;white-space:nowrap}.ui-list--activity a.ui-list__label{position:relative;color:var(--ui-text);text-decoration:none;padding-block:2px;margin-block:-2px}.ui-list--activity a.ui-list__label:hover{text-decoration:underline}.ui-list--activity a.ui-list__label:focus-visible{outline:2px solid var(--ui-focus);outline-offset:0;border-radius:4px}.ui-list--activity .ui-list__detail{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:16px}.ui-list--activity time,.ui-list--activity .ui-list__time{color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.ui-list__content{margin-top:4px;color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;overflow-wrap:anywhere}.ui-list__content>p{margin:0}.ui-list__content>p+p{margin-top:4px}.ui-list--wrap>.ui-list__item>*>:is(.ui-list__label,.ui-list__detail,.ui-list__title){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.ui-list--wrap>.ui-list__item>.ui-list__row{align-items:flex-start}@media (pointer: coarse),(max-width: 47.9975em){.ui-list--wrap>.ui-list__item>.ui-list__row{padding-block:12px}}.ui-list--wrap>.ui-list__item>.ui-list__row>.ui-list__meta{line-height:20px}.ui-cardgrid{--ui-cardgrid-min: 240px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(var(--ui-cardgrid-min),100%),1fr));gap:var(--ui-space-4);margin:0;padding:0;list-style:none}.ui-cardgrid[data-min="200"]{--ui-cardgrid-min: 200px}.ui-cardgrid[data-min="320"]{--ui-cardgrid-min: 320px}.ui-cardgrid>*{min-width:0}.ui-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:var(--ui-space-4);align-items:start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:4px}@media (max-width: 47.9975em){.ui-board{grid-auto-columns:78%}}.ui-board__col{display:flex;flex-direction:column;gap:var(--ui-space-2);min-width:0;padding:var(--ui-space-2);scroll-snap-align:start;background:var(--ui-coll-head-bg);border-radius:var(--ui-radius-lg)}.ui-board__head{display:flex;align-items:center;gap:var(--ui-space-2);min-height:28px;padding:0 4px;font-size:var(--ui-fs-body);font-weight:650}.ui-board__name{min-width:0;margin:0;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-board__count{margin-left:auto;color:var(--ui-text-muted);font-weight:450;font-variant-numeric:tabular-nums}.ui-board__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ui-text-muted)}.ui-board__dot--success{background:var(--gemboss-success, #0a8f6a)}.ui-board__dot--warning{background:var(--gemboss-warning, #b25e09)}.ui-board__dot--critical{background:var(--gemboss-danger-strong, #c70a24)}.ui-board__dot--info{background:var(--gemboss-accent, #5661f5)}.ui-board__list{display:grid;gap:var(--ui-space-2);margin:0;padding:0;list-style:none}.ui-board__list>li{min-width:0}.ui-board__empty{margin:0;padding:var(--ui-space-4) var(--ui-space-2);color:var(--ui-text-muted);font-size:var(--ui-fs-body);text-align:center;border:1px dashed var(--ui-border);border-radius:var(--ui-radius-md)}.ui-board__more>summary{list-style:none;justify-self:center;margin:4px auto 0;width:fit-content}.ui-board__more>summary::-webkit-details-marker{display:none}.ui-board__more[open]>summary{display:none}.ui-board__more{display:grid;gap:var(--ui-space-2)}.ui-board__next.ui-more{padding:4px 0 0}.ui-board__next .ui-more__error{color:var(--gemboss-danger-strong, #c70a24)}.ui-board[data-gb-move] .ui-board__list>li[data-id]{position:relative;border-radius:var(--ui-radius-lg);cursor:grab}.ui-board[data-gb-move] .ui-board__list>li[data-id]:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-board__list>li[data-gb-lifted]{outline:2px solid var(--ui-focus);outline-offset:2px;box-shadow:var(--gemboss-shadow-raised);border-radius:var(--ui-radius-lg)}.ui-board[data-gb-dragging] .ui-board__list>li[data-gb-lifted]{outline:0;opacity:.4}.ui-board__col[data-gb-over]{background:color-mix(in srgb,var(--ui-focus) 10%,var(--ui-coll-head-bg))}.ui-board__list>li[data-gb-drop]:before{content:"";position:absolute;left:0;right:0;height:2px;border-radius:1px;background:var(--ui-focus);pointer-events:none}.ui-board__list>li[data-gb-drop=before]:before{top:-5px}.ui-board__list>li[data-gb-drop=after]:before{bottom:-5px}.ui-empty--no-match{padding-block:32px}.ui-coll-error{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2) var(--ui-space-3);margin:var(--ui-space-3)}.ui-coll-error>:first-child{flex:1 1 240px;min-width:0}.ui-coll-count{margin-left:auto;color:var(--ui-text-muted);font-size:var(--ui-fs-body);font-variant-numeric:tabular-nums;white-space:nowrap}.ui-chip__x{margin-right:-4px;font-size:14px;line-height:1;opacity:.7}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]{position:relative}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]>:not(.ui-bulkbar,.ui-coll-busy){opacity:.55;pointer-events:none;transition:opacity .15s}.ui-coll-busy{position:absolute;top:8px;right:8px;z-index:4}:is(.ui-skeleton--table,.ui-skeleton--list,.ui-skeleton--compact,.ui-skeleton--grid,.ui-skeleton--board) .ui-skeleton__line{height:8px;border-radius:4px}.ui-skeleton--table td .ui-skeleton__line{width:70%;margin-block:6px}.ui-skeleton--table td:first-child .ui-skeleton__line{width:85%}.ui-skeleton--table tbody tr:hover{background:none}.ui-skeleton__block{display:block;flex:none;width:40px;height:40px;border-radius:var(--ui-radius-md);background:var(--ui-surface-2)}.ui-skeleton__block--round{border-radius:50%;width:32px;height:32px}.ui-skeleton--list>.ui-list__item{align-items:center}.ui-skeleton--list .ui-list__body{display:grid;gap:12px}.ui-skeleton--list .ui-list__body>.ui-skeleton__line:last-child{width:60%}.ui-skeleton--compact .ui-list__row{gap:12px}.ui-skeleton--compact .ui-list__row>.ui-skeleton__line{flex:1 1 auto;max-width:60%}.ui-skeleton--grid .ui-card__body{display:grid;gap:12px;justify-items:stretch}.ui-skeleton--grid .ui-card__body>.ui-skeleton__line:last-child{width:50%}.ui-skeleton--board .ui-board__list>li{height:72px;border-radius:var(--ui-radius-md);background:var(--ui-surface)}@media (pointer: coarse){.ui-table__sort{min-height:44px;margin-block:-12px}.ui-table__checkbox{min-width:44px;min-height:44px;margin:-12px 0}}@media (pointer: coarse),(max-width: 47.9975em){.ui-table__sort{min-width:44px}}@media (prefers-reduced-motion: reduce){.ui-table--sticky-first :is(th,td):first-child{animation:none}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]>*{transition:none}.ui-board{scroll-behavior:auto}}
|
|
1
|
+
:root{--ui-coll-head-bg: color-mix(in srgb, var(--ui-text, #1b1c1e) 3.5%, var(--ui-surface, #fff));--ui-coll-hover: color-mix(in srgb, var(--ui-text, #1b1c1e) 3.5%, var(--ui-surface, #fff));--ui-coll-selected: color-mix(in srgb, var(--ui-text, #1b1c1e) 6%, var(--ui-surface, #fff));--ui-coll-check-w: 40px}.ui-table-wrap.ui-table-wrap--flush{border:0;border-radius:0;box-shadow:none;background:transparent}.ui-table--sticky-first tr{background:var(--ui-surface)}.ui-table--sticky-first tbody tr:hover{background:var(--ui-surface-2)}.ui-table--sticky-first :is(th,td):first-child{position:sticky;left:0;z-index:1;background:inherit}@supports (animation-timeline: scroll()){.ui-table-wrap:has(>.ui-table--sticky-first){scroll-timeline:--ui-coll-x inline}.ui-table--sticky-first :is(th,td):first-child{animation:ui-coll-edge linear both;animation-timeline:--ui-coll-x;animation-range:0 24px}}@keyframes ui-coll-edge{0%{box-shadow:none}to{box-shadow:1px 0 0 var(--ui-border),6px 0 8px -6px #0000002e}}.ui-table--compact :is(td,tbody th){padding-block:6px}.ui-table--compact thead th{padding-block:6px}.ui-table__totals>tr{background:var(--ui-coll-head-bg)}.ui-table__totals>tr>:is(td,th){background:var(--ui-coll-head-bg);font-weight:650;color:var(--ui-text);border-top:1px solid var(--ui-border);border-bottom:0}.ui-table__footer{padding:8px 12px;background:var(--ui-coll-head-bg);border-top:1px solid var(--ui-border);color:var(--ui-text-muted);font-size:var(--ui-fs-body);text-align:center}.ui-table th.ui-table__rowhead{font-weight:450;color:var(--ui-text);text-align:left}.ui-table th.ui-table__rowhead:not(.is-num){white-space:normal;min-width:9.0625rem;overflow-wrap:anywhere}.ui-table th.ui-table__rowhead>a,.ui-table:where(:not(.ui-table--index)) tbody :is(td,th) li>a{display:inline-flex;align-items:center;min-height:24px}.ui-table:where(:not(.ui-table--index)) tbody :is(td,th){vertical-align:top}.ui-table:where(:not(.ui-table--index)) tbody :is(td>a,th.ui-table__rowhead>a,:is(td,th) li>a){margin-block:calc((1lh - 24px)/2)}.ui-table__sort{display:flex;width:max-content;max-width:100%;align-items:center;gap:4px;min-height:24px;margin-block:-2px;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:inherit;text-decoration:none;cursor:pointer;white-space:nowrap}.ui-table__sort:hover{color:var(--ui-text)}.ui-table__sort:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px;border-radius:4px}.ui-table__sort:after{content:"";flex:none;width:16px;height:16px;background:currentColor;opacity:0;-webkit-mask:var(--ui-coll-arrow) center / 16px no-repeat;mask:var(--ui-coll-arrow) center / 16px no-repeat;--ui-coll-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M4.5 9 8 12.5 11.5 9' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.ui-table__sort:is(:hover,:focus-visible):after{opacity:.45}th[aria-sort=ascending]>.ui-table__sort:after,th[aria-sort=descending]>.ui-table__sort:after{opacity:1}th[aria-sort=ascending]>.ui-table__sort:after{transform:rotate(180deg)}th[aria-sort=ascending]>.ui-table__sort,th[aria-sort=descending]>.ui-table__sort{color:var(--ui-text)}.ui-table .is-num>.ui-table__sort{flex-direction:row-reverse;margin-left:auto}.ui-trunc{display:block;max-width:var(--ui-trunc, 32ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-clamp-2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}.ui-index{position:relative;container:ui-index / inline-size;min-width:0}.ui-table--index{font-size:var(--ui-fs-body)}.ui-table--index tr{background:var(--ui-surface)}.ui-table.ui-table--index thead th{background:var(--ui-surface);line-height:20px;text-transform:none;letter-spacing:0}.ui-table.ui-table--index :is(td,tbody th){line-height:20px;white-space:nowrap;vertical-align:middle;border-bottom:0;border-top:1px solid var(--ui-border)}.ui-table.ui-table--index :is(th,td):where(:first-child){padding-left:var(--ui-space-3)}.ui-table.ui-table--index :is(th,td):where(:last-child){padding-right:var(--ui-space-3)}.ui-table--index tbody tr:hover{background:var(--ui-coll-hover)}.ui-table--index tbody tr:is(.is-selected,[aria-selected=true]){background:var(--ui-coll-selected)}.ui-table--index tbody tr:is([data-href],.is-linked){cursor:pointer}.ui-table--index tbody tr:has(.ui-table__title:focus-visible){outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-table__title:focus-visible{outline:none}.ui-table__primary{min-width:0}.ui-table__primary-inner{display:flex;align-items:center;gap:var(--ui-space-3);min-width:0}.ui-table__primary-text{min-width:0}.ui-table__title{display:block;max-width:var(--ui-trunc, 40ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text);font-weight:650;text-decoration:none}a.ui-table__title:hover{text-decoration:underline}.ui-table--index .ui-table__title+.ui-sub,.ui-table--index .ui-sub{display:block;max-width:var(--ui-trunc, 40ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:0;line-height:16px}.ui-table--index td>a.ui-table__title{display:block;min-height:0}.ui-table--index td>.ui-table__primary-inner>a.ui-table__title,.ui-table--index .ui-table__primary-text>a.ui-table__title{line-height:20px}.ui-table.ui-table--index .ui-table__check{width:var(--ui-coll-check-w);padding:var(--ui-space-2) 8px var(--ui-space-2) var(--ui-space-3)}.ui-table.ui-table--index thead .ui-table__check{padding-block:var(--ui-space-3)}.ui-table__checkbox{display:flex;width:max-content;align-items:center;justify-content:center;min-width:24px;min-height:24px;margin:-2px 0;cursor:pointer}.ui-table__checkbox>input,.ui-list__check>input{width:16px;height:16px;margin:0;accent-color:var(--ui-accent);cursor:pointer}.ui-table__checkbox>input:focus-visible,.ui-list__check>input:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-table--index :is(.ui-table__check,.ui-table__primary){position:sticky;z-index:1;background:inherit}.ui-table--index .ui-table__check,.ui-table--index .ui-table__primary{left:0}.ui-table--index:has(.ui-table__check) .ui-table__primary{left:var(--ui-coll-check-w)}.ui-table__actions{width:1%;text-align:right}.ui-table__actions>*{vertical-align:middle}.ui-row-actions{display:inline-flex;align-items:center;gap:var(--ui-space-2)}.ui-bulkbar{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2);box-sizing:border-box;min-height:38px;margin-bottom:-38px;padding:4px 8px 4px 12px;background:var(--ui-surface);border:1px solid var(--ui-border);border-bottom-color:transparent;border-radius:var(--ui-radius-lg) var(--ui-radius-lg) 0 0;font-size:var(--ui-fs-body)}.ui-bulkbar[hidden]{display:none}.ui-index .ui-bulkbar{min-height:46px;margin-bottom:-46px}.ui-index--flush .ui-bulkbar{min-height:45px;margin-bottom:-45px;border-width:0 0 1px;border-bottom-color:var(--ui-border);border-radius:0}.ui-bulkbar__count{flex:none;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.ui-bulkbar__actions{display:inline-flex;flex-wrap:wrap;gap:var(--ui-space-2);margin-left:auto}.ui-bulkbar .ui-table__checkbox{margin-right:4px}.ui-bulkbar[data-fit=pending]{flex-wrap:nowrap}.ui-bulkbar[data-fit=pending]>.ui-bulkbar__actions{flex:0 1 auto;flex-wrap:nowrap;min-width:0;overflow:hidden}.ui-bulkbar__actions>.ui-bulkbar__more{flex:none}.ui-bulkbar__measure{position:absolute;top:0;left:0;display:inline-flex;gap:var(--ui-space-2);height:0;overflow:hidden;visibility:hidden;pointer-events:none;white-space:nowrap}.ui-bulkbar__measure>*{flex:none}.ui-index__sortbar{display:none}@container ui-index (max-width: 768px){.ui-table--index,.ui-table--index tbody{display:block;width:100%}.ui-table--index thead{display:none}.ui-table--index tbody tr{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;min-height:44px;box-sizing:border-box;padding:10px 12px;border-top:1px solid var(--ui-border)}.ui-table--index tbody tr:first-child{border-top:0}.ui-table--index tbody tr:has(>.ui-table__check){padding-left:48px}.ui-table.ui-table--index tbody :is(td,th){display:block;padding:0;border:0;position:static;background:none;white-space:nowrap}.ui-table.ui-table--index tbody .ui-table__primary{flex:1 0 100%;white-space:normal;overflow-wrap:anywhere}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions){flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:18px}.ui-table--index tbody td[data-label]:not(.ui-table__primary):before{content:attr(data-label) " ";color:var(--ui-text-muted)}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions) .ui-trunc{display:inline-block;vertical-align:bottom}.ui-table--index tbody td:not(.ui-table__primary,.ui-table__check,.ui-table__actions) .ui-sub{display:inline;margin-left:6px}.ui-table--index tbody td.is-num{text-align:left}.ui-table--index tbody td[data-condensed=hide]{display:none}.ui-table.ui-table--index tbody .ui-table__check{position:absolute;left:4px;top:4px;width:auto;padding:0}.ui-table.ui-table--index tbody .ui-table__actions{order:99;margin-left:auto;width:auto;padding:0;align-self:center}.ui-table--index .ui-table__checkbox{min-width:44px;min-height:44px;margin:0}.ui-table--index .ui-table__title,.ui-table--index .ui-sub,.ui-table--index .ui-table__title+.ui-sub{max-width:none}.ui-table--index tbody a.ui-table__title{position:relative;z-index:1;padding-block:2px;margin-block:-2px}.ui-index__sortbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2);margin:0 0 var(--ui-space-3);font-size:var(--ui-fs-caption);color:var(--ui-text-muted)}.ui-index .ui-bulkbar{min-height:38px;margin-bottom:var(--ui-space-2);border-bottom-color:var(--ui-border);border-radius:var(--ui-radius-lg)}.ui-index .ui-table-wrap{overflow-x:visible}.ui-index--flush .ui-bulkbar{margin-bottom:0;border-radius:0}.ui-index--flush>.ui-index__sortbar{padding:var(--ui-space-2) 12px 0}}.ui-list{container:ui-list / inline-size;margin:0;padding:0;list-style:none;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-card-shadow)}.ui-list--flush{border:0;border-radius:0;box-shadow:none;background:transparent}.ui-list__item{position:relative;display:flex;align-items:flex-start;gap:var(--ui-space-3);box-sizing:border-box;padding:var(--ui-space-3);min-height:44px;border-top:1px solid var(--ui-border)}.ui-list>.ui-list__item:first-child{border-top:0}.ui-list>.ui-list__item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.ui-list>.ui-list__item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.ui-list__item:has(>.ui-list__body>.ui-list__title[href]):hover{background:var(--ui-coll-hover)}.ui-list__item:is(.is-selected,[aria-selected=true]){background:var(--ui-coll-selected)}.ui-list__item:has(>.ui-list__body>.ui-list__title:focus-visible){outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-list__media{flex:none;display:flex;align-items:center;min-height:40px}.ui-list__body{flex:1 1 auto;min-width:0}.ui-list__title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;font-weight:650;text-decoration:none}.ui-list__title[href]:after{content:"";position:absolute;inset:0;z-index:0}.ui-list__title:focus-visible{outline:none}.ui-list__sub{margin:0;color:var(--ui-text-muted);font-size:var(--ui-fs-body);line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.ui-list__meta{margin:2px 0 0;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:16px}.ui-list__badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.ui-list__aside{flex:none;align-self:center;color:var(--ui-text);font-variant-numeric:tabular-nums;text-align:right}.ui-list__actions{flex:none;align-self:center;display:inline-flex;align-items:center;gap:var(--ui-space-2)}.ui-list__item :is(.ui-list__actions,.ui-list__aside a,.ui-list__body a:not(.ui-list__title),button,input,select,textarea,label,summary,details){position:relative;z-index:1}.ui-list__item>:is(.ui-list__actions,.ui-list__aside) a:not(.ui-btn){display:inline-flex;align-items:center;min-height:24px}@container ui-list (max-width: 400px){.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"media body body" "media aside actions";gap:0;align-items:start}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__media{grid-area:media;margin-inline-end:var(--ui-space-3)}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__body{grid-area:body}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__aside{grid-area:aside;justify-self:start;align-self:center;margin-top:4px;text-align:left}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__actions{grid-area:actions;justify-self:end;align-self:center;margin:4px 0 0 var(--ui-space-3)}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item--disclosure>:is(.ui-list__aside,.ui-list__actions){margin-top:8px}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"media body aside actions";align-items:center}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child)>:is(.ui-list__aside,.ui-list__actions){margin-top:0}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item:has(>.ui-list__body>.ui-list__title:only-child)>.ui-list__aside{margin-inline-start:var(--ui-space-3);text-align:right}.ui-list:not(.ui-list--compact,.ui-skeleton--list)>.ui-list__item>.ui-list__panel{grid-column:1 / -1}}.ui-list__item--disclosure{flex-wrap:wrap}.ui-list__toggle{display:block;flex:1 1 0;min-width:0;min-height:24px;margin:0;padding:0;border:0;border-radius:var(--ui-radius-sm, 4px);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.ui-list__toggle:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-list__toggle>.ui-list__meta{display:block}@media (hover: hover){.ui-list__item--disclosure:not(.is-open):has(>.ui-list__toggle:hover){background:var(--ui-coll-hover)}}.ui-list__chev{display:inline-block;width:16px;height:16px;margin:0 4px 0 -2px;vertical-align:-3px;background:var(--ui-text-muted);-webkit-mask:var(--ui-chev) center / 16px no-repeat;mask:var(--ui-chev) center / 16px no-repeat;transition:transform .15s;--ui-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.ui-list__item--disclosure.is-open>.ui-list__toggle .ui-list__chev{transform:rotate(90deg)}@media (forced-colors: active){.ui-list__chev{forced-color-adjust:none;background:CanvasText}}.ui-list__panel{flex:1 0 100%;min-width:0;margin-top:var(--ui-space-2)}.ui-list__panel[hidden]{display:none}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__toggle{min-height:44px}}@media (prefers-reduced-motion: reduce){.ui-list__chev{transition:none}}.ui-resource>.ui-bulkbar{margin-bottom:0;border-bottom-color:var(--ui-border)}.ui-resource>.ui-bulkbar:has(+.ui-list--flush){border-width:0 0 1px;border-radius:0}.ui-resource>.ui-list,.ui-resource>[aria-busy]>.ui-list{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.ui-list__check{display:flex;flex:none;align-items:center;justify-content:center;min-width:24px;min-height:24px;cursor:pointer}.ui-list__check:not(:last-child){margin-inline-end:8px}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__check{min-width:44px;min-height:44px;margin-block:-2px;margin-inline-start:-12px}.ui-list__check:not(:last-child){margin-inline-end:-2px}.ui-resource>.ui-bulkbar>.ui-table__checkbox{min-width:44px;min-height:44px;margin:-8px -8px -8px -12px}}.ui-thumb{display:block;flex:none;width:40px;height:40px;box-sizing:border-box;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-2);overflow:hidden;object-fit:cover}.ui-thumb--xs{width:24px;height:24px;border-radius:var(--ui-radius-sm)}.ui-thumb--md{width:60px;height:60px}.ui-thumb--lg{width:80px;height:80px}.ui-thumb>img{display:block;width:100%;height:100%;object-fit:cover}.ui-list--compact>.ui-list__item{display:block;padding:0;min-height:0}.ui-list__row{display:flex;align-items:center;gap:var(--ui-space-2);box-sizing:border-box;width:100%;min-height:36px;padding:8px 12px;border:0;background:none;color:var(--ui-text);font:inherit;font-size:var(--ui-fs-body);line-height:20px;text-align:left;text-decoration:none;border-radius:inherit}:is(a,button).ui-list__row{cursor:pointer}:is(a,button).ui-list__row:hover{background:var(--ui-coll-hover)}:is(a,button).ui-list__row:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}.ui-list__row[aria-current=page],.ui-list__row.is-selected{background:var(--ui-coll-selected)}.ui-list__icon{flex:none;display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;color:var(--ui-text-muted)}.ui-list__icon>svg{width:16px;height:16px}.ui-list__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-list__row>.ui-list__meta{flex:none;margin:0;font-variant-numeric:tabular-nums}@media (pointer: coarse),(max-width: 47.9975em){.ui-list__row{min-height:44px}}.ui-list--activity>.ui-list__item{display:grid;grid-template-columns:20px minmax(0,1fr) auto;column-gap:var(--ui-space-2);align-items:start;padding:8px 12px;min-height:36px;border-top:0}.ui-list--activity>.ui-list__item:before{content:"";position:absolute;left:21.5px;top:0;bottom:0;width:1px;background:var(--ui-border)}.ui-list--activity>.ui-list__item:first-child:before{top:14px}.ui-list--activity>.ui-list__item:last-child:before{bottom:calc(100% - 14px)}.ui-list--activity>.ui-list__item:only-child:before{display:none}.ui-list__dot{position:relative;z-index:1;width:8px;height:8px;margin:6px 0 0 6px;border-radius:50%;background:var(--ui-text-muted);box-shadow:0 0 0 3px var(--ui-surface)}.ui-list__dot--success{background:var(--gemboss-success, #0a8f6a)}.ui-list__dot--warning{background:var(--gemboss-warning, #b25e09)}.ui-list__dot--critical{background:var(--gemboss-danger-strong, #c70a24)}.ui-list__dot--info{background:var(--gemboss-accent, #5661f5)}.ui-list--activity .ui-list__label{display:block;white-space:nowrap}.ui-list--activity a.ui-list__label{position:relative;color:var(--ui-text);text-decoration:none;padding-block:2px;margin-block:-2px}.ui-list--activity a.ui-list__label:hover{text-decoration:underline}.ui-list--activity a.ui-list__label:focus-visible{outline:2px solid var(--ui-focus);outline-offset:0;border-radius:4px}.ui-list--activity .ui-list__detail{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:16px}.ui-list--activity time,.ui-list--activity .ui-list__time{color:var(--ui-text-muted);font-size:var(--ui-fs-caption);line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.ui-list__content{margin-top:4px;color:var(--ui-text);font-size:var(--ui-fs-body);line-height:20px;overflow-wrap:anywhere}.ui-list__content>p{margin:0}.ui-list__content>p+p{margin-top:4px}.ui-list--wrap>.ui-list__item>*>:is(.ui-list__label,.ui-list__detail,.ui-list__title){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.ui-list--wrap>.ui-list__item>.ui-list__row{align-items:flex-start}@media (pointer: coarse),(max-width: 47.9975em){.ui-list--wrap>.ui-list__item>.ui-list__row{padding-block:12px}}.ui-list--wrap>.ui-list__item>.ui-list__row>.ui-list__meta{line-height:20px}.ui-cardgrid{--ui-cardgrid-min: 240px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(var(--ui-cardgrid-min),100%),1fr));gap:var(--ui-space-4);margin:0;padding:0;list-style:none}.ui-cardgrid[data-min="200"]{--ui-cardgrid-min: 200px}.ui-cardgrid[data-min="320"]{--ui-cardgrid-min: 320px}.ui-cardgrid>*{min-width:0}.ui-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:var(--ui-space-4);align-items:start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:4px}@media (max-width: 47.9975em){.ui-board{grid-auto-columns:78%}}.ui-board__col{display:flex;flex-direction:column;gap:var(--ui-space-2);min-width:0;padding:var(--ui-space-2);scroll-snap-align:start;background:var(--ui-coll-head-bg);border-radius:var(--ui-radius-lg)}.ui-board__head{display:flex;align-items:center;gap:var(--ui-space-2);min-height:28px;padding:0 4px;font-size:var(--ui-fs-body);font-weight:650}.ui-board__name{min-width:0;margin:0;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-board__count{margin-left:auto;color:var(--ui-text-muted);font-weight:450;font-variant-numeric:tabular-nums}.ui-board__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ui-text-muted)}.ui-board__dot--success{background:var(--gemboss-success, #0a8f6a)}.ui-board__dot--warning{background:var(--gemboss-warning, #b25e09)}.ui-board__dot--critical{background:var(--gemboss-danger-strong, #c70a24)}.ui-board__dot--info{background:var(--gemboss-accent, #5661f5)}.ui-board__list{display:grid;gap:var(--ui-space-2);margin:0;padding:0;list-style:none}.ui-board__list>li{min-width:0}.ui-board__empty{margin:0;padding:var(--ui-space-4) var(--ui-space-2);color:var(--ui-text-muted);font-size:var(--ui-fs-body);text-align:center;border:1px dashed var(--ui-border);border-radius:var(--ui-radius-md)}.ui-board__more>summary{list-style:none;justify-self:center;margin:4px auto 0;width:fit-content}.ui-board__more>summary::-webkit-details-marker{display:none}.ui-board__more[open]>summary{display:none}.ui-board__more{display:grid;gap:var(--ui-space-2)}.ui-board__next.ui-more{padding:4px 0 0}.ui-board__next .ui-more__error{color:var(--gemboss-danger-strong, #c70a24)}.ui-board[data-gb-move] .ui-board__list>li[data-id]{position:relative;border-radius:var(--ui-radius-lg);cursor:grab}.ui-board[data-gb-move] .ui-board__list>li[data-id]:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-board__list>li[data-gb-lifted]{outline:2px solid var(--ui-focus);outline-offset:2px;box-shadow:var(--gemboss-shadow-raised);border-radius:var(--ui-radius-lg)}.ui-board[data-gb-dragging] .ui-board__list>li[data-gb-lifted]{outline:0;opacity:.4}.ui-board__col[data-gb-over]{background:color-mix(in srgb,var(--ui-focus) 10%,var(--ui-coll-head-bg))}.ui-board__list>li[data-gb-drop]:before{content:"";position:absolute;left:0;right:0;height:2px;border-radius:1px;background:var(--ui-focus);pointer-events:none}.ui-board__list>li[data-gb-drop=before]:before{top:-5px}.ui-board__list>li[data-gb-drop=after]:before{bottom:-5px}.ui-empty--no-match{padding-block:32px}.ui-coll-error{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2) var(--ui-space-3);margin:var(--ui-space-3)}.ui-coll-error>:first-child{flex:1 1 240px;min-width:0}.ui-coll-count{margin-left:auto;color:var(--ui-text-muted);font-size:var(--ui-fs-body);font-variant-numeric:tabular-nums;white-space:nowrap}.ui-chip__x{margin-right:-4px;font-size:14px;line-height:1;opacity:.7}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]{position:relative}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]>:not(.ui-bulkbar,.ui-coll-busy){opacity:.55;pointer-events:none;transition:opacity .15s}.ui-coll-busy{position:absolute;top:8px;right:8px;z-index:4}:is(.ui-skeleton--table,.ui-skeleton--list,.ui-skeleton--compact,.ui-skeleton--grid,.ui-skeleton--board) .ui-skeleton__line{height:8px;border-radius:4px}.ui-skeleton--table td .ui-skeleton__line{width:70%;margin-block:6px}.ui-skeleton--table td:first-child .ui-skeleton__line{width:85%}.ui-skeleton--table tbody tr:hover{background:none}.ui-skeleton__block{display:block;flex:none;width:40px;height:40px;border-radius:var(--ui-radius-md);background:var(--ui-surface-2)}.ui-skeleton__block--round{border-radius:50%;width:32px;height:32px}.ui-skeleton--list>.ui-list__item{align-items:center}.ui-skeleton--list .ui-list__body{display:grid;gap:12px}.ui-skeleton--list .ui-list__body>.ui-skeleton__line:last-child{width:60%}.ui-skeleton--compact .ui-list__row{gap:12px}.ui-skeleton--compact .ui-list__row>.ui-skeleton__line{flex:1 1 auto;max-width:60%}.ui-skeleton--grid .ui-card__body{display:grid;gap:12px;justify-items:stretch}.ui-skeleton--grid .ui-card__body>.ui-skeleton__line:last-child{width:50%}.ui-skeleton--board .ui-board__list>li{height:72px;border-radius:var(--ui-radius-md);background:var(--ui-surface)}@media (pointer: coarse){.ui-table__sort{min-height:44px;margin-block:-12px}.ui-table__checkbox{min-width:44px;min-height:44px;margin:-12px 0}}@media (pointer: coarse),(max-width: 47.9975em){.ui-table__sort{min-width:44px}}@media (prefers-reduced-motion: reduce){.ui-table--sticky-first :is(th,td):first-child{animation:none}:is(.ui-table-wrap,.ui-index,.ui-list,.ui-cardgrid,.ui-board)[aria-busy=true]>*{transition:none}.ui-board{scroll-behavior:auto}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ui-create-icon{display:grid;place-items:center;width:100%;height:100%;min-width:30px;min-height:30px;border-radius:var(--gemboss-radius-md, 8px);background:var(--gemboss-accent-soft, #eef0fe);color:var(--gemboss-accent, #5661f5)}.ui-create-steps{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;font-size:var(--gemboss-fs-caption, 12px);color:var(--ui-text-muted)}.ui-create-step{display:flex;align-items:center;gap:6px;white-space:nowrap}.ui-create-step+.ui-create-step:before{content:"";width:24px;height:1px;margin-right:2px;background:var(--ui-border)}.ui-create-step__n{display:grid;place-items:center;width:20px;height:20px;box-sizing:border-box;border:1px solid var(--ui-border);border-radius:999px;font-size:var(--gemboss-fs-micro, 11px)}.ui-create-step--on{font-weight:600;color:var(--ui-text)}.ui-create-step--on .ui-create-step__n{border-color:var(--ui-text);background:var(--ui-text);color:var(--gemboss-surface, #fff)}.ui-create-step--done .ui-create-step__n{border-color:transparent;background:var(--gemboss-success-soft, #e6f4ee);color:var(--gemboss-success, #007f5f)}.ui-create-rail{display:flex;flex-direction:column;gap:20px;min-height:100%;box-sizing:border-box;padding:20px;background:var(--ui-surface)}.ui-create-rail__foot{margin:auto 0 0;font-size:var(--gemboss-fs-caption, 12px);line-height:1.5;color:var(--ui-text-muted)}.ui-create-group{display:flex;flex-direction:column;gap:8px}.ui-create-label{font-size:var(--gemboss-fs-micro, 11px);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ui-text-muted)}.ui-create-door{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;text-align:left;cursor:pointer;border:1px solid var(--ui-border);border-radius:var(--gemboss-radius-lg, 12px);background:var(--gemboss-surface, #fff);color:var(--ui-text);font:inherit}.ui-create-door:hover{border-color:var(--ui-text-muted)}.ui-create-door--on{border-color:var(--ui-text);box-shadow:inset 0 0 0 1px var(--ui-text)}.ui-create-door:disabled{opacity:.5;cursor:default}.ui-create-door__art{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:var(--gemboss-radius-md, 8px);background:linear-gradient(160deg,#1d2058,#0d0f2e);color:#c7cbff}.ui-create-door--on .ui-create-door__art{color:#fff}.ui-create-door__col{display:flex;flex-direction:column;gap:2px;min-width:0}.ui-create-door__col b{font-size:var(--gemboss-fs-body, 14px);font-weight:600}.ui-create-door__col span{font-size:var(--gemboss-fs-caption, 12px);line-height:1.4;color:var(--ui-text-muted)}.ui-create-chips{display:flex;flex-wrap:wrap;gap:6px}.ui-create-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;cursor:pointer;border:1px solid var(--ui-border);border-radius:999px;background:var(--gemboss-surface, #fff);color:var(--ui-text);font:inherit;font-size:var(--gemboss-fs-caption, 12px)}.ui-create-chip--on{border-color:var(--ui-text);background:var(--ui-text);color:var(--gemboss-surface, #fff);font-weight:600}.ui-create-chip__n{opacity:.6}.ui-create-dot{flex:none;width:8px;height:8px;border-radius:999px;background:#a4a6ad}.ui-create-dot--cold{background:#5661f5}.ui-create-dot--warm{background:#c27c0e}.ui-create-dot--ready{background:#d9480f}.ui-create-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:16px}.ui-create-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--gemboss-radius-xl, 16px);background:var(--gemboss-surface, #fff)}.ui-create-card--on{border-color:var(--ui-text);box-shadow:inset 0 0 0 1px var(--ui-text)}.ui-create-card--dashed{border-style:dashed}.ui-create-card__pic{position:relative;height:150px}.ui-create-card__pic>.ui-stage{height:100%;box-sizing:border-box;border-radius:0}.ui-create-card__badge{position:absolute;top:8px;left:8px;z-index:1;padding:2px 8px;border-radius:999px;background:var(--gemboss-surface, #fff);color:var(--ui-text);font-size:var(--gemboss-fs-micro, 11px);font-weight:600}.ui-create-card__body{display:flex;flex:1 1 auto;flex-direction:column;gap:6px;padding:12px 16px 16px}.ui-create-card__eyebrow{display:flex;align-items:center;gap:6px;font-size:var(--gemboss-fs-micro, 11px);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ui-text-muted)}.ui-create-card__eyebrow--cold{color:#5661f5}.ui-create-card__eyebrow--warm{color:#a86a0a}.ui-create-card__eyebrow--ready{color:#c2410c}.ui-create-card__title{margin:0;font-size:var(--gemboss-fs-body-lg, 16px);font-weight:600;color:var(--ui-text)}.ui-create-card__line{margin:0;font-size:var(--gemboss-fs-body, 14px);line-height:1.45;color:var(--ui-text-muted)}.ui-create-card__inside{margin:0;font-size:var(--gemboss-fs-caption, 12px);line-height:1.5;color:var(--ui-text)}.ui-create-card__note{margin:0;font-size:var(--gemboss-fs-caption, 12px);line-height:1.5;color:var(--ui-text-muted)}.ui-create-card__act{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px}.ui-stage.ui-create-pic{justify-content:center;gap:6px;padding:16px 20%}.ui-create-pic .ui-stage__tile{padding:6px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-create-pic__more{align-self:center;color:var(--ui-stage-ink-dim)}.ui-stage.ui-create-pic--path{padding:16px}.ui-create-path{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}.ui-create-path__step{display:flex;align-items:center;gap:6px}.ui-create-path__arrow{color:var(--ui-stage-ink-dim)}.ui-create-path__tile{display:flex;flex-direction:column;align-items:center;gap:4px;max-width:76px;padding:6px;text-align:center;border:1px solid var(--ui-stage-glass-line);border-radius:var(--gemboss-radius-md, 8px);background:var(--ui-stage-glass);font-size:var(--gemboss-fs-micro, 11px);line-height:1.2}.ui-create-path__tile img{width:40px;height:40px;object-fit:cover;border-radius:var(--gemboss-radius-sm, 6px);background:#fff}@media (max-width: 47.9975em){.ui-create-step:not(.ui-create-step--on){display:none}.ui-create-step+.ui-create-step:before{display:none}}@media (pointer: coarse){.ui-create-chip{min-height:44px}}
|