@gemboss/ui 0.63.0 → 0.65.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 +98 -0
- package/README.md +98 -4
- package/catalog/editor.html +1 -1
- package/catalog/index.html +23 -20
- package/gemboss-ui.css +2 -2
- package/package.json +9 -1
- package/parts/components.css +1 -1
- package/parts/core.css +1 -1
- package/parts/shell.css +1 -1
- package/src/assistant/chat.tsx +67 -4
- package/src/assistant/dictation.ts +292 -0
- package/src/assistant/index.ts +4 -1
- package/src/audiences-table.css +1 -0
- package/src/audiences-table.tsx +167 -0
- package/src/chat-voice.css +1 -0
- package/src/editor/color-choices.ts +9 -0
- package/src/editor/controls.tsx +5 -2
- package/src/editor/field-control.tsx +453 -0
- package/src/editor/field-frame.tsx +182 -0
- package/src/editor/field-spec.ts +345 -0
- package/src/editor/index.ts +16 -0
- package/src/editor.css +1 -1
- package/src/email-editor/editor.tsx +462 -0
- package/src/email-editor/index.ts +16 -0
- package/src/email-editor/model.ts +361 -0
- package/src/email-editor/preview.tsx +208 -0
- package/src/email-editor.css +1 -0
- package/src/gem-at-work.css +1 -1
- package/src/gem-at-work.ts +273 -15
- package/src/index.ts +2 -1
- package/src/list-page.tsx +87 -4
- package/src/skill-feedback.css +1 -1
- package/src/skill-feedback.tsx +5 -1
- package/src/skill-history.tsx +2 -1
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
// A SETTINGS SCHEMA, AS DATA (08/11/2026, one control set: Chris "các control phải có bộ control và kiểu có sự tái sử dụng dùng chung
|
|
2
|
+
// shared component… đừng mỗi cho mỗi kiểu"). What a settings form is made of: a field per setting (`FieldSpec`), its kind deciding the
|
|
3
|
+
// control it is drawn with (field-control.tsx), the control deciding the side of its label (label-side.ts). Moved from the admin
|
|
4
|
+
// (apps/admin: components/shell/FieldRenderer.tsx, lib/held-knobs.ts, lib/element-seam-fields.ts) so every app draws a schema with the
|
|
5
|
+
// same controls, the admin's editors and GemReach's email editor alike.
|
|
6
|
+
//
|
|
7
|
+
// THE KIT'S KINDS are the ones its parts draw (text, textarea, number, range, select, segmented, toggle, color, image, repeater). An app
|
|
8
|
+
// adds kinds of its own (the admin's value presets, date, link, edges, screens, font) as RULES here (`FieldKindRules`: the control it is
|
|
9
|
+
// drawn with, and for a kind over several stored settings how it reads and writes them) and as a drawing in field-control.tsx
|
|
10
|
+
// (`FieldKinds`). A kind no one draws is drawn as a visible "no control" line, never as a text box that seems to work.
|
|
11
|
+
//
|
|
12
|
+
// No React and no RUNTIME import of another module here, only `import type` (erased): a node test reads this file as it is, with no bundler
|
|
13
|
+
// to find an extensionless `./x`. The label's side, which needs the table's values (label-side.ts), is field-control.tsx's `controlOf`. The settings frame's groups and its search are here too.
|
|
14
|
+
import type { FieldControlKind } from "./label-side";
|
|
15
|
+
|
|
16
|
+
/** "content_spacing" → "Content spacing"; "H2" → "H2": the words a field or a choice with no label of its own is drawn with. */
|
|
17
|
+
export function labelize(s: string): string {
|
|
18
|
+
const t = s.replace(/[_-]+/g, " ").trim();
|
|
19
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** One choice of a select or of chips. `glyph`: drawn as that picture (an app's `glyphs`), its `label` its name (aria and tooltip).
|
|
23
|
+
* `name`: what a short label stands for, announced and in its tooltip (a shadow's "S" is "Subtle"). `G`: the glyph names an app
|
|
24
|
+
* draws, so a typo is a type error there. */
|
|
25
|
+
export type SelectOption<G extends string = string> = { value: string; label?: string; glyph?: G; name?: string };
|
|
26
|
+
|
|
27
|
+
/** One field of a kind the kit draws. `id` keys into the flat `values` object the host owns. */
|
|
28
|
+
export type FieldSpec<G extends string = string> =
|
|
29
|
+
// `maxLength`: the box holds no more, and its count stays in sight. `prefix`: what comes before the value, inside the box (a
|
|
30
|
+
// page's "/pages/").
|
|
31
|
+
| { kind: "text"; id: string; label?: string; placeholder?: string; hint?: string; maxLength?: number; prefix?: string;
|
|
32
|
+
/** The box's own type where it says what it holds: a link (`url`: the phone's link keyboard), a search (`search`: the browser's clear
|
|
33
|
+
* button where it draws one, and Enter keeps the focus in it), an email. Default a plain text box. A box with a `prefix` stays text. */
|
|
34
|
+
inputType?: "url" | "search" | "email" }
|
|
35
|
+
// `code`: a stylesheet or a script, in a monospace face, not spell-checked.
|
|
36
|
+
| { kind: "textarea"; id: string; label?: string; rows?: number; placeholder?: string; hint?: string; maxLength?: number; code?: boolean }
|
|
37
|
+
| { kind: "number"; id: string; label?: string; min?: number; max?: number; step?: number; suffix?: string; hint?: string; placeholder?: string }
|
|
38
|
+
| { kind: "range"; id: string; label?: string; min: number; max: number; step?: number; suffix?: string }
|
|
39
|
+
// `numeric`: the setting holds a number (a text's own Weight): the option picked is written as one. `clearable`: "Not set" stays a
|
|
40
|
+
// choice once a value is stored, and picking it clears the setting ("" deletes it).
|
|
41
|
+
| { kind: "select"; id: string; label?: string; options: SelectOption<G>[]; hint?: string; numeric?: boolean; clearable?: boolean }
|
|
42
|
+
// `clearable`: pressing the chip already pressed clears the setting ("" deletes it), as the kit's Segmented does with onClear.
|
|
43
|
+
| { kind: "segmented"; id: string; label?: string; options: SelectOption<G>[]; hint?: string; clearable?: boolean }
|
|
44
|
+
| { kind: "toggle"; id: string; label?: string; onLabel?: string; offLabel?: string; hint?: string }
|
|
45
|
+
| { kind: "color"; id: string; label?: string; hint?: string; placeholder?: string }
|
|
46
|
+
| { kind: "image"; id: string; label?: string }
|
|
47
|
+
// A list of object rows (e.g. pricing tiers, review cards). Each row edits `item` sub-fields; the control's value is the whole array.
|
|
48
|
+
// Rows can be added and removed inline.
|
|
49
|
+
| { kind: "repeater"; id: string; label?: string; item: Array<{ key: string; label?: string; long?: boolean }>; addLabel?: string; hint?: string };
|
|
50
|
+
|
|
51
|
+
/** The kinds the kit draws, in FieldSpec's order (a gate reads every one). */
|
|
52
|
+
export const KIT_FIELD_KINDS = ["text", "textarea", "number", "range", "select", "segmented", "toggle", "color", "image", "repeater"] as const;
|
|
53
|
+
export type KitFieldKind = (typeof KIT_FIELD_KINDS)[number];
|
|
54
|
+
const KIT_KIND: ReadonlySet<string> = new Set(KIT_FIELD_KINDS);
|
|
55
|
+
/** Whether the kit draws this kind itself. */
|
|
56
|
+
export const isKitFieldKind = (kind: string): kind is KitFieldKind => KIT_KIND.has(kind);
|
|
57
|
+
|
|
58
|
+
/** A field of a kind an app draws (`FieldKinds`): its kind and id, the rest its own. */
|
|
59
|
+
export type AppFieldSpec = { kind: string; id: string; label?: string; hint?: string };
|
|
60
|
+
/** Any field a form takes: one of the kit's kinds or one an app registered. */
|
|
61
|
+
export type AnyFieldSpec = FieldSpec | AppFieldSpec;
|
|
62
|
+
|
|
63
|
+
export type FieldGroup<F extends AnyFieldSpec = AnyFieldSpec> = { title?: string; hint?: string; fields: F[] };
|
|
64
|
+
export type FieldSchema<F extends AnyFieldSpec = AnyFieldSpec> = FieldGroup<F>[];
|
|
65
|
+
|
|
66
|
+
/** One write: a setting's id and its new value. */
|
|
67
|
+
export type FieldWrite = readonly [string, unknown];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* A kind over SEVERAL stored settings, one control (the admin's Screens: show_desktop · show_tablet · show_mobile). Its value is read from
|
|
71
|
+
* the form's values, a change is written back as one write per setting it changed, and a lock on any of them locks it.
|
|
72
|
+
*/
|
|
73
|
+
export interface FieldSpread<F extends AppFieldSpec = AppFieldSpec> {
|
|
74
|
+
/** The settings it stands for. */
|
|
75
|
+
ids(field: F): readonly string[];
|
|
76
|
+
/** Its value, from the form's values. */
|
|
77
|
+
read(field: F, values: Record<string, unknown>): unknown;
|
|
78
|
+
/** The writes a change makes (only the settings it changed). */
|
|
79
|
+
write(field: F, next: unknown, values: Record<string, unknown>): FieldWrite[];
|
|
80
|
+
/** Whether it holds a value of its own (a settings frame's + and −). */
|
|
81
|
+
holds(field: F, value: unknown): boolean;
|
|
82
|
+
/** The writes that take it off. */
|
|
83
|
+
clear(field: F, values: Record<string, unknown>): FieldWrite[];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** A function of the field written in method form, so a rule that names its own spec (`(f: Stars) => …`) fits a set of any kinds. */
|
|
87
|
+
type ControlOfField<F> = { decide(field: F, value: unknown): FieldControlKind }["decide"];
|
|
88
|
+
/** What a form needs to know of a kind an app draws, besides its drawing: the control it is drawn with (its label's side, and where a
|
|
89
|
+
* list puts it), and for a kind over several settings how it reads and writes them. An app's rules name its own spec. */
|
|
90
|
+
export interface FieldKindRules<F extends AppFieldSpec = AppFieldSpec> {
|
|
91
|
+
control: FieldControlKind | ControlOfField<F>;
|
|
92
|
+
spread?: FieldSpread<F>;
|
|
93
|
+
}
|
|
94
|
+
/** An app's kinds' rules, by kind. A rule for a kit kind takes its place (the admin's colour, which may be a gradient). */
|
|
95
|
+
export type FieldKindRuleSet = Readonly<Record<string, FieldKindRules | undefined>>;
|
|
96
|
+
/** A kind's own entry in a set (an own property: a field whose kind is "constructor" or "toString" is no one's kind). */
|
|
97
|
+
export function kindIn<T>(set: Readonly<Record<string, T | undefined>> | undefined, kind: string): T | undefined {
|
|
98
|
+
return set && Object.prototype.hasOwnProperty.call(set, kind) ? set[kind] : undefined;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// ── Fit: whether a row of chips fits beside its label ──────────────────────────────────────────────────────────────────────────────
|
|
102
|
+
|
|
103
|
+
/** The editors' narrowest settings column, px: the theme inspector's. The Canvas and page editor panels are wider. */
|
|
104
|
+
export const NARROWEST_COLUMN_PX = 266;
|
|
105
|
+
/** The control's column when a field is a row (label 2 parts, control 3, an 8px gap): what a row's chips must fit. Chips that fit
|
|
106
|
+
* 266px were cut at 155px ("UPPERCASE", "Center"). */
|
|
107
|
+
export const ROW_CONTROL_COLUMN_PX = Math.floor(((NARROWEST_COLUMN_PX - 8) * 3) / 5);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* A label's width in the editors' caption type (12px, weight 550), px, from its characters. Measured in Chromium on 14/10/2026:
|
|
111
|
+
* "Secondary" 62.6, "UPPERCASE" 72.2, "As typed" 51.8, "Heading" 48.6, "Left" 23. The estimate is at or above each of them: an estimate
|
|
112
|
+
* that runs short is a label clipped in its button.
|
|
113
|
+
*/
|
|
114
|
+
export function labelWidthPx(label: string): number {
|
|
115
|
+
let w = 0;
|
|
116
|
+
for (const ch of label) w += ch === " " ? 3.5 : /[MW]/.test(ch) ? 10.5 : /[mw]/.test(ch) ? 9.5 : /[A-Z0-9]/.test(ch) ? 8.2 : 7.3;
|
|
117
|
+
return w;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* A SHORT, CLOSED choice reads as a row of buttons (Chris 13/10/2026: "giống hệt gempages"): the value is in sight and one tap changes it.
|
|
122
|
+
* Only when every label FITS its button: `.ui-seg--fill` shares the row equally, so each label gets the column split N ways, less the
|
|
123
|
+
* button's 12px padding each side, its 1px divider and 2px to spare. 2 to 4 choices; more is a list however short.
|
|
124
|
+
*/
|
|
125
|
+
export function segmentable(options: ReadonlyArray<{ value: string; label?: string }>, column = NARROWEST_COLUMN_PX): boolean {
|
|
126
|
+
const n = options.length;
|
|
127
|
+
if (n < 2 || n > 4) return false;
|
|
128
|
+
const room = column / n - 24 - 1 - 2;
|
|
129
|
+
return options.every((o) => labelWidthPx(o.label ?? o.value) <= room);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Whether a row of chips fits beside its label: glyphs (2 to 4 of them) always fit the control column, words 3 at most and only when
|
|
133
|
+
* each fits its share of it. Chips that do not are drawn as a list beside the label (FieldControl), not under it (Chris 04/11/2026:
|
|
134
|
+
* labels beside their controls, "gọn hơn"). */
|
|
135
|
+
export function chipsFitBeside(field: { options: ReadonlyArray<SelectOption> }): boolean {
|
|
136
|
+
return field.options.every((o) => o.glyph) ? field.options.length <= 4 : field.options.length <= 3 && segmentable(field.options, ROW_CONTROL_COLUMN_PX);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// ── A list's order ────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
140
|
+
|
|
141
|
+
/** A list's rows with the label on the side of its FIRST row first, then the others, each in their own order (`beside`): the label column
|
|
142
|
+
* switches side once at most (control standard §13b), and the list still opens on the row it opened on, its most used. */
|
|
143
|
+
export function firstSideFirst<T>(rows: readonly T[], beside: (row: T) => boolean): T[] {
|
|
144
|
+
if (!rows.length) return [...rows];
|
|
145
|
+
const side = rows.map(beside);
|
|
146
|
+
if (side.every((b) => b === side[0])) return [...rows];
|
|
147
|
+
return [...rows.filter((_, i) => side[i] === side[0]), ...rows.filter((_, i) => side[i] !== side[0])];
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// ── What a knob holds (a settings frame's + and −) ─────────────────────────────────────────────────────────────────────────────────
|
|
151
|
+
|
|
152
|
+
/** A "shown" setting that is off: `false` (or "false", as a stored text reads); absent is shown. */
|
|
153
|
+
export const hides = (v: unknown) => v === false || v === "false";
|
|
154
|
+
|
|
155
|
+
const spreadOf = (field: AnyFieldSpec, rules?: FieldKindRuleSet) => kindIn(rules, field.kind)?.spread;
|
|
156
|
+
|
|
157
|
+
/** What a knob holds: its own value, or for a kind over several settings (`spread`) the value it reads from them. */
|
|
158
|
+
export function knobValue(field: AnyFieldSpec, values: Record<string, unknown>, rules?: FieldKindRuleSet): unknown {
|
|
159
|
+
const spread = spreadOf(field, rules);
|
|
160
|
+
return spread ? spread.read(field, values) : values[field.id];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** Whether a knob holds a value of its own: a Visibility toggle when it hides (shown is what no value means), a kind over several settings
|
|
164
|
+
* as it says, any other when set. */
|
|
165
|
+
export function knobHolds(field: AnyFieldSpec, value: unknown, rules?: FieldKindRuleSet): boolean {
|
|
166
|
+
const spread = spreadOf(field, rules);
|
|
167
|
+
if (spread) return spread.holds(field, value);
|
|
168
|
+
if (field.kind === "toggle") return hides(value);
|
|
169
|
+
if (value === undefined || value === null || value === "") return false;
|
|
170
|
+
if (typeof value === "object") return Object.values(value as Record<string, unknown>).some((v) => v !== undefined && v !== null && v !== "");
|
|
171
|
+
return true;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/** The value that takes a knob off: shown for a Visibility toggle, empty for the rest (the host reads it as none). */
|
|
175
|
+
export const knobCleared = (field: AnyFieldSpec): unknown => (field.kind === "toggle" ? true : "");
|
|
176
|
+
|
|
177
|
+
/** The writes that take a knob off, `[setting id, value]`: a kind over several settings as it says, any other knob one. */
|
|
178
|
+
export function knobClearWrites(field: AnyFieldSpec, values: Record<string, unknown>, rules?: FieldKindRuleSet): Array<[string, unknown]> {
|
|
179
|
+
const spread = spreadOf(field, rules);
|
|
180
|
+
if (spread) return spread.clear(field, values).map(([id, v]) => [id, v]);
|
|
181
|
+
return [[field.id, knobCleared(field)]];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** The schema with only the knobs that hold a value; a group left with none is dropped. */
|
|
185
|
+
export function heldKnobsOnly<F extends AnyFieldSpec>(schema: FieldSchema<F>, values: Record<string, unknown>, rules?: FieldKindRuleSet): FieldSchema<F> {
|
|
186
|
+
return schema.map((g) => ({ ...g, fields: g.fields.filter((f) => knobHolds(f, knobValue(f, values, rules), rules)) })).filter((g) => g.fields.length > 0);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// ── THE SETTINGS FRAME ──
|
|
190
|
+
// WHERE A SCHEMA'S FIELDS STAND IN THE SETTINGS FRAME, AND HOW A SEARCH FINDS ONE (one settings frame slice 1, 06/11/2026; moved from the
|
|
191
|
+
// admin's lib/settings-frame-groups.ts and lib/find-a-setting.ts with FieldFrame, 08/11/2026). Chris saw three frames around one set of
|
|
192
|
+
// controls; the element panel's is the standard (InspectorFrame). A schema form places each of its fields where the element panel places
|
|
193
|
+
// the same setting, so the panels read alike:
|
|
194
|
+
//
|
|
195
|
+
// LOOK the schema's own groups first (an element's own lead its look), then Typography (open), Background +, Shape +
|
|
196
|
+
// LAYOUT Spacing (open: Padding, Margin), Arrangement + (Align, Spacing, Width: the content box's knobs)
|
|
197
|
+
// VISIBILITY Who sees it + (Screens)
|
|
198
|
+
// CODE Advanced + (a section's advanced settings, its custom CSS)
|
|
199
|
+
//
|
|
200
|
+
// `open`: always drawn. `add`: a + line (a chip in Look) until it holds a value or + shows it, then its rows under its name and a − that
|
|
201
|
+
// clears them. The stored keys and what they write are the schema's: this only decides where a field stands. Pure, no React.
|
|
202
|
+
//
|
|
203
|
+
// WHICH FIELDS ARE PLACED BY ID (`FramePlaces`): only those of the style groups the places name (`groups`), by id; every other group is the
|
|
204
|
+
// schema's own, drawn open first in Look, and one titled Advanced goes to Code. The default places none (`OWN_FRAME_PLACES`): a group title
|
|
205
|
+
// means nothing more until an app says so. The admin passes `STYLE_FRAME_PLACES` (its styleConfigureSchema's titles and knobs, Screens).
|
|
206
|
+
|
|
207
|
+
// ── Find a setting ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
208
|
+
|
|
209
|
+
const words = (s: string) => s.toLowerCase().normalize("NFKD").replace(/[̀-ͯ]/g, "").split(/[^a-z0-9]+/).filter(Boolean);
|
|
210
|
+
|
|
211
|
+
/** Every word of `query` begins a word of `text` ("rad" finds "Corner radius"; "corner rad" too; "dius" does not). */
|
|
212
|
+
export function settingMatches(query: string, text: string): boolean {
|
|
213
|
+
const want = words(query);
|
|
214
|
+
if (!want.length) return false;
|
|
215
|
+
const have = words(text);
|
|
216
|
+
return want.every((w) => have.some((h) => h.startsWith(w)));
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* The sections with only the rows `query` finds: a row by its own name, or every row of a section whose name it finds ("typography"
|
|
221
|
+
* keeps the whole Typography group). Empty sections are dropped. `rowName` is what the panel prints for a row.
|
|
222
|
+
*/
|
|
223
|
+
export function findSettings<S extends { label: string; rows: ReadonlyArray<{ id: string }> }>(sections: readonly S[], query: string, rowName: (id: string) => string): S[] {
|
|
224
|
+
if (!words(query).length) return [];
|
|
225
|
+
return sections
|
|
226
|
+
.map((g) => (settingMatches(query, g.label) ? g : { ...g, rows: g.rows.filter((r) => settingMatches(query, rowName(r.id))) }))
|
|
227
|
+
.filter((g) => g.rows.length > 0);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// ── The frame's groups ─────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
231
|
+
|
|
232
|
+
export type FrameCluster = "look" | "place" | "when" | "code";
|
|
233
|
+
export type FrameWay = "open" | "add";
|
|
234
|
+
export type FrameGroup<F extends AnyFieldSpec = AnyFieldSpec> = { key: string; title: string; cluster: FrameCluster; way: FrameWay; fields: F[]; hint?: string; own: boolean };
|
|
235
|
+
/** A shared group's place: its key, its title, its cluster, and whether it is always drawn or added. */
|
|
236
|
+
export type FramePlace = Omit<FrameGroup, "fields" | "hint" | "own">;
|
|
237
|
+
|
|
238
|
+
/** Which fields are placed, and where. */
|
|
239
|
+
export type FramePlaces = {
|
|
240
|
+
/** The titles of the style groups whose fields are placed by id (`byId`); a field of another group is its group's. */
|
|
241
|
+
groups: ReadonlySet<string>;
|
|
242
|
+
/** A style knob's place, by its id without the schema's prefix. */
|
|
243
|
+
byId: Readonly<Record<string, FramePlace>>;
|
|
244
|
+
/** A kind's place wherever its field stands (the admin's Screens: Who sees it). */
|
|
245
|
+
byKind: Readonly<Record<string, FramePlace>>;
|
|
246
|
+
/** The shared groups' order, by key. */
|
|
247
|
+
order: readonly string[];
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
const TYPOGRAPHY: FramePlace = { key: "typography", title: "Typography", cluster: "look", way: "open" };
|
|
251
|
+
const SIZE: FramePlace = { key: "size", title: "Size", cluster: "look", way: "add" };
|
|
252
|
+
const EFFECTS: FramePlace = { key: "effects", title: "Effects", cluster: "look", way: "add" };
|
|
253
|
+
const BACKGROUND: FramePlace = { key: "background", title: "Background", cluster: "look", way: "add" };
|
|
254
|
+
const SHAPE: FramePlace = { key: "shape", title: "Shape", cluster: "look", way: "add" };
|
|
255
|
+
const SPACING: FramePlace = { key: "spacing", title: "Spacing", cluster: "place", way: "open" };
|
|
256
|
+
// Not "Layout": the cluster is named Layout, and a LAYOUT label over a group named Layout reads twice (element review C34). Not "Content"
|
|
257
|
+
// either: that is the section's words, in Look (decided for Chris 06/11/2026).
|
|
258
|
+
const ARRANGEMENT: FramePlace = { key: "arrangement", title: "Arrangement", cluster: "place", way: "add" };
|
|
259
|
+
const WHO: FramePlace = { key: "visibility", title: "Who sees it", cluster: "when", way: "add" };
|
|
260
|
+
const ADVANCED: FramePlace = { key: "advanced", title: "Advanced", cluster: "code", way: "add" };
|
|
261
|
+
|
|
262
|
+
/** The element panel's places for the admin's style schema (styleConfigureSchema, a theme part's own knobs), which the admin passes. An app
|
|
263
|
+
* whose schema uses these titles for the same knobs may pass them too. */
|
|
264
|
+
export const STYLE_FRAME_PLACES: FramePlaces = {
|
|
265
|
+
groups: new Set(["Layout", "Typography", "Spacing & shape", "Background", "Visibility", "Appearance", "Size"]),
|
|
266
|
+
byId: {
|
|
267
|
+
font_size: TYPOGRAPHY, font_weight: TYPOGRAPHY, line_height: TYPOGRAPHY, letter_spacing: TYPOGRAPHY, text_transform: TYPOGRAPHY, text_color: TYPOGRAPHY,
|
|
268
|
+
// A theme part's own (ThemePartPanel, one settings frame slice 2): its align and italic are its type, as the element panel's text.
|
|
269
|
+
text_align: TYPOGRAPHY, font_style: TYPOGRAPHY,
|
|
270
|
+
max_width: SIZE,
|
|
271
|
+
background: BACKGROUND, background_image: BACKGROUND, gem_background: BACKGROUND,
|
|
272
|
+
radius: SHAPE, shadow: SHAPE, border_radius: SHAPE, border_width: SHAPE, border_color: SHAPE,
|
|
273
|
+
opacity: EFFECTS,
|
|
274
|
+
padding: SPACING, margin: SPACING,
|
|
275
|
+
content_alignment: ARRANGEMENT, content_spacing: ARRANGEMENT, content_width: ARRANGEMENT,
|
|
276
|
+
},
|
|
277
|
+
byKind: { screens: WHO },
|
|
278
|
+
/** The order a cluster's shared groups stand in (the element panel's: LOOK_FRAME, PLACE_FRAME). */
|
|
279
|
+
order: [TYPOGRAPHY, SIZE, BACKGROUND, SHAPE, EFFECTS, SPACING, ARRANGEMENT, WHO, ADVANCED].map((p) => p.key),
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/** The frame's default: no field placed by id or kind, so every group is the schema's own, open in Look (one titled Advanced in Code). A
|
|
283
|
+
* group title means nothing more until an app passes its places. */
|
|
284
|
+
export const OWN_FRAME_PLACES: FramePlaces = { groups: new Set(), byId: {}, byKind: {}, order: STYLE_FRAME_PLACES.order };
|
|
285
|
+
|
|
286
|
+
const bareId = (id: string, prefix: string) => (prefix && id.startsWith(prefix) ? id.slice(prefix.length) : id);
|
|
287
|
+
|
|
288
|
+
/** The style groups' fields that have no place: a knob added to a style group and not to `byId`. frameGroups refuses to draw one (it would
|
|
289
|
+
* stand as a group of its own, out of every cluster's order); a test reads the real schema with this. */
|
|
290
|
+
export function unplacedStyleFields(schema: FieldSchema, prefix = "", places: FramePlaces = OWN_FRAME_PLACES): string[] {
|
|
291
|
+
return schema.filter((g) => places.groups.has(g.title ?? "")).flatMap((g) => g.fields)
|
|
292
|
+
.filter((f) => !places.byKind[f.kind] && !places.byId[bareId(f.id, prefix)]).map((f) => f.id);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/** Each field of `schema` in its frame group. A group the schema names that holds none of the placed knobs is the schema's own (Content,
|
|
296
|
+
* Options, Design), drawn open first in Look; one titled Advanced goes to Code. A style field with no place throws: it is a knob added
|
|
297
|
+
* to the schema and not to the places, and CI draws the real schema. */
|
|
298
|
+
export function frameGroups<F extends AnyFieldSpec>(schema: FieldSchema<F>, prefix = "", places: FramePlaces = OWN_FRAME_PLACES): FrameGroup<F>[] {
|
|
299
|
+
const unplaced = unplacedStyleFields(schema, prefix, places);
|
|
300
|
+
if (unplaced.length) throw new Error(`settings-frame: no place for ${unplaced.join(", ")}: add it to the frame's places (byId)`);
|
|
301
|
+
const own: FrameGroup<F>[] = [];
|
|
302
|
+
const shared = new Map<string, FrameGroup<F>>();
|
|
303
|
+
for (const g of schema) {
|
|
304
|
+
for (const f of g.fields) {
|
|
305
|
+
const place = places.byKind[f.kind] ?? (places.groups.has(g.title ?? "") ? places.byId[bareId(f.id, prefix)] : undefined) ?? (g.title === "Advanced" ? ADVANCED : null);
|
|
306
|
+
if (place) {
|
|
307
|
+
const at = shared.get(place.key) ?? { ...place, fields: [], own: false };
|
|
308
|
+
at.fields.push(f);
|
|
309
|
+
if (g.hint && !at.hint) at.hint = g.hint;
|
|
310
|
+
shared.set(place.key, at);
|
|
311
|
+
continue;
|
|
312
|
+
}
|
|
313
|
+
const title = g.title ?? "Settings";
|
|
314
|
+
let at = own.find((o) => o.title === title);
|
|
315
|
+
if (!at) own.push((at = { key: `own:${title}`, title, cluster: "look", way: "open", fields: [], hint: g.hint, own: true }));
|
|
316
|
+
at.fields.push(f);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return [...own, ...places.order.map((k) => shared.get(k)).filter((g): g is FrameGroup<F> => !!g)];
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/** Whether any field of `g` holds a value of its own (a Visibility screen when it hides: field-spec.ts knobHolds). */
|
|
323
|
+
export function groupHolds(g: FrameGroup, values: Record<string, unknown>, rules?: FieldKindRuleSet): boolean {
|
|
324
|
+
return g.fields.some((f) => knobHolds(f, knobValue(f, values, rules), rules));
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** How `g` draws (InspectorFrameGroup): `open` (its rows under its name), `add` (its name and a +), `added` (its rows under its name and a
|
|
328
|
+
* −). `shown`: the groups + showed with nothing in them. */
|
|
329
|
+
export function groupState(g: FrameGroup, values: Record<string, unknown>, shown: ReadonlySet<string>, rules?: FieldKindRuleSet): "open" | "add" | "added" {
|
|
330
|
+
if (g.way === "open") return "open";
|
|
331
|
+
return groupHolds(g, values, rules) || shown.has(g.key) ? "added" : "add";
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/** Whether a group's − may clear what it holds. Not where it holds a text the seller wrote (the section editor's Custom CSS): one press
|
|
335
|
+
* would erase it with no way back there; it is emptied in its box. */
|
|
336
|
+
export function groupClearable(g: FrameGroup): boolean {
|
|
337
|
+
return !g.fields.some((f) => f.kind === "textarea");
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/** A search's groups (settingMatches): a group whose title matches whole, else the fields whose label matches. */
|
|
341
|
+
export function foundGroups<F extends AnyFieldSpec>(groups: readonly FrameGroup<F>[], query: string): FrameGroup<F>[] {
|
|
342
|
+
return groups
|
|
343
|
+
.map((g) => (settingMatches(query, g.title) ? g : { ...g, fields: g.fields.filter((f) => settingMatches(query, `${f.label ?? ""} ${f.id}`)) }))
|
|
344
|
+
.filter((g) => g.fields.length > 0);
|
|
345
|
+
}
|
package/src/editor/index.ts
CHANGED
|
@@ -65,6 +65,22 @@ export {
|
|
|
65
65
|
INSPECTOR_CLUSTERS, InspectorClusterBreak, InspectorFrame, InspectorFrameGroup, InspectorFramePart, InspectorSearch,
|
|
66
66
|
type InspectorFrameCluster, type InspectorFrameGroupProps, type InspectorFrameProps, type InspectorSearchProps,
|
|
67
67
|
} from "./inspector-frame";
|
|
68
|
+
// 08/11/2026 (one control set): the schema-driven form, moved from the admin. A schema as data (`field-spec`, no React: the kit's kinds,
|
|
69
|
+
// the fit of a row of chips, what a knob holds, where a field stands in the frame, a search's words), one control per kind (`field-control`:
|
|
70
|
+
// FieldControl, FieldRows, FieldRenderer; an app adds its own kinds with `kinds`) and the schema in the settings frame (`field-frame`).
|
|
71
|
+
export {
|
|
72
|
+
chipsFitBeside, findSettings, firstSideFirst, foundGroups, frameGroups, groupClearable, groupHolds, groupState, heldKnobsOnly, hides, isKitFieldKind,
|
|
73
|
+
kindIn, KIT_FIELD_KINDS, knobClearWrites, knobCleared, knobHolds, knobValue, labelize, labelWidthPx, NARROWEST_COLUMN_PX, ROW_CONTROL_COLUMN_PX, segmentable,
|
|
74
|
+
OWN_FRAME_PLACES, settingMatches, STYLE_FRAME_PLACES, unplacedStyleFields,
|
|
75
|
+
type AnyFieldSpec, type AppFieldSpec, type FieldGroup, type FieldKindRules, type FieldKindRuleSet, type FieldSchema, type FieldSpec, type FieldSpread,
|
|
76
|
+
type FieldWrite, type FrameCluster, type FrameGroup, type FramePlace, type FramePlaces, type FrameWay, type KitFieldKind, type SelectOption,
|
|
77
|
+
} from "./field-spec";
|
|
78
|
+
export {
|
|
79
|
+
controlOf, FieldControl, FieldKindsProvider, FieldRenderer, FieldRows, labelBeside,
|
|
80
|
+
type FieldControlProps, type FieldGlyphs, type FieldKind, type FieldKindProps, type FieldKinds, type FieldRowsProps,
|
|
81
|
+
} from "./field-control";
|
|
82
|
+
export { FieldFrame, PartsFrame, usePartHits, type FieldFrameProps, type FramePart } from "./field-frame";
|
|
83
|
+
export { ColorChoicesContext, type ColorChoices } from "./color-choices";
|
|
68
84
|
// 24/10/2026: a setting's small panel beside the settings column (top layer; a sheet at phone width); its own CSS part.
|
|
69
85
|
export { Popover, type PopoverProps } from "./popover";
|
|
70
86
|
// 24/10/2026: the colour picker ColorControl's swatch opens (square, hue, opacity, hex, eyedropper, theme/recent/None).
|
package/src/editor.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes gemboss-editor-enter{0%{opacity:0}to{opacity:1}}@keyframes gemboss-editor-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}@keyframes gemboss-flyout-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes gemboss-statusbar-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.gemboss-platform-main:has(.gemboss-editor){box-sizing:border-box;height:100dvh;min-height:0;padding-top:0;padding-bottom:0;overflow:hidden}.gemboss-editor{--gemboss-editor-inset: 5px;position:fixed;inset:0;box-sizing:border-box;display:flex;flex-direction:column;background:var(--gemboss-canvas);overflow:hidden;z-index:400;animation:gemboss-editor-enter .26s cubic-bezier(.16,1,.3,1)}@media (prefers-reduced-motion: reduce){.gemboss-editor{animation:none}}.gemboss-editor--embedded{position:relative;inset:auto;height:100%;min-height:0;z-index:auto;animation:none}.gemboss-editor-toast{position:absolute;top:62px;left:50%;transform:translate(-50%);z-index:500;display:flex;align-items:center;gap:12px;max-width:min(560px,92vw);padding:12px 12px 12px 16px;background:var(--gemboss-text);color:#fff;border-radius:12px;font-size:13px;line-height:1.4;box-shadow:var(--gemboss-shadow-overlay);animation:gemboss-editor-toast-in .24s cubic-bezier(.16,1,.3,1)}.gemboss-editor-toast strong{font-weight:600}.gemboss-editor-toast button{flex:0 0 auto;border:0;background:#ffffff29;color:#fff;width:22px;height:22px;border-radius:8px;cursor:pointer;font-size:12px;line-height:1;transition:background var(--gemboss-transition-fast) ease}.gemboss-editor-toast button:hover{background:#ffffff47}.gemboss-editor-toast button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media (prefers-reduced-motion: reduce){.gemboss-editor-toast{animation:none}}.gemboss-editor-topbar{flex:0 0 auto;height:var(--gemboss-editor-topbar-h, 52px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:0 16px;background:var(--gemboss-surface);border-bottom:1px solid var(--gemboss-divider)}@media (min-width: 1001px){.gemboss-editor-topbar--theme{grid-template-columns:auto auto auto;justify-content:space-between}.gemboss-editor-topbar.gemboss-pageedit-top{grid-template-columns:auto fit-content(100%) auto}}.gemboss-editor-tb-left{display:flex;align-items:center;gap:12px;min-width:0}.gemboss-editor-tb-center{display:flex;align-items:center;gap:12px;justify-self:center}.gemboss-editor-topbar--theme .gemboss-editor-tb-center,.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-editor-tb-center{min-width:0}.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-pageedit-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 1200px){.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-editor-tb-name,.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-sec-type{display:none}}.gemboss-editor-tb-right{display:flex;align-items:center;gap:16px;min-width:0;justify-self:end}.gemboss-editor-back{border:0;background:transparent;padding:0;font-family:inherit;font-size:18px;line-height:1;color:var(--gemboss-text);text-decoration:none;cursor:pointer;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--gemboss-radius-md);transition:background var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}.gemboss-editor-back:hover{background:var(--gemboss-hover)}.gemboss-editor-back:active{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}.gemboss-editor-back:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-name{font-family:var(--gemboss-serif);font-size:15px;font-weight:600}.gemboss-editor-savestate{display:inline-flex;align-items:center;gap:6px;font-size:var(--gemboss-fs-micro);font-weight:500;line-height:1;padding:4px 8px;border-radius:var(--gemboss-radius-full);white-space:nowrap;transition:opacity .2s ease}.gemboss-editor-savestate.is-idle,.gemboss-editor-savestate.is-saving{color:var(--gemboss-text-muted)}.gemboss-editor-savestate.is-saved{color:var(--gemboss-success-strong);background:var(--gemboss-success-soft)}.gemboss-editor-savestate .gemboss-narr-spin{width:10px;height:10px;border-width:1.5px;border-color:var(--gemboss-divider);border-top-color:currentColor}@media (max-width: 760px){.gemboss-editor-savestate.is-saved{display:none}}.gemboss-editor-tb-ghost{font-size:13px;color:var(--gemboss-text);text-decoration:none;padding:8px 12px;border:1px solid var(--gemboss-divider);border-radius:8px;white-space:nowrap;cursor:pointer;background:var(--gemboss-surface);transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease,background var(--gemboss-transition-fast) ease}.gemboss-editor-tb-ghost:hover{border-color:var(--gemboss-primary)}.gemboss-editor-tb-ghost:active{background:var(--gemboss-active-bg);border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-tb-ghost:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-ghost:disabled{opacity:.5;cursor:default;border-color:var(--gemboss-divider);color:var(--gemboss-text-muted)}.gemboss-editor-tb-publish{background:var(--gemboss-primary);color:#fff;border:0;border-radius:8px;box-sizing:border-box;height:var(--ui-btn-h, 28px);padding:0 12px;font-size:12px;font-weight:550;line-height:16px;cursor:pointer;white-space:nowrap;transition:background var(--gemboss-transition-fast) ease,filter var(--gemboss-transition-fast) ease}.gemboss-editor-tb-publish:hover{background:var(--gemboss-primary-dark)}.gemboss-editor-tb-publish:active{background:var(--gemboss-primary-dark);filter:brightness(.94)}.gemboss-editor-tb-publish:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-publish:disabled{opacity:.5;cursor:default;filter:none}.gemboss-editor-tb-undo{font-size:15px}.gemboss-editor-publish{position:relative;display:inline-flex;align-items:stretch}.gemboss-editor-publish-main{border-radius:8px 0 0 8px}.gemboss-editor-publish-caret{border-radius:0 8px 8px 0;padding:0 8px;font-size:12px;line-height:1;border-left:1px solid color-mix(in srgb,#fff 24%,transparent);display:inline-flex;align-items:center;justify-content:center}.gemboss-editor-publish-caret.active{filter:brightness(.94)}.gemboss-editor-menu-label{padding:6px 6px 2px;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--gemboss-text-muted);white-space:nowrap}.gemboss-editor-overflow{position:relative;display:inline-flex}.gemboss-editor-overflow-trigger{font-size:18px;line-height:1}.gemboss-editor-menu{position:fixed;z-index:500;min-width:210px;max-height:calc(100vh - 16px);overflow-y:auto;padding:6px;animation:gemboss-flyout-in var(--gemboss-transition-fast) ease}@media (prefers-reduced-motion: reduce){.gemboss-editor-menu{animation:none}}.gemboss-editor-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:32px;padding:4px 6px;border:0;border-radius:var(--gemboss-radius-md);background:transparent;font:inherit;font-size:13px;color:var(--gemboss-text);text-align:left;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-menu-item{min-height:44px;padding:8px 12px}.gemboss-editor-menu-label{padding:6px 12px 2px}}.gemboss-editor-menu-item:hover{background:var(--gemboss-hover)}.gemboss-editor-menu-item:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:-2px;background:var(--gemboss-hover)}.gemboss-editor-menu-item:disabled{opacity:.45;cursor:default}.gemboss-editor-menu-item:disabled:hover{background:transparent}.gemboss-editor-menu-item[aria-disabled=true]{color:var(--gemboss-text-muted);cursor:default}.gemboss-editor-menu-item[aria-disabled=true]:hover{background:transparent}.gemboss-editor-menu-why{display:block;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-editor-menu-item.active{color:var(--gemboss-active-fg)}.gemboss-editor-menu-ext{color:var(--gemboss-text-muted)}.gemboss-editor-menu-check{color:var(--gemboss-active-fg);font-weight:600}.gemboss-editor-menu-val{font-size:11px;color:var(--gemboss-text-muted);border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-sm);padding:1px 8px}.gemboss-editor-menu-sep{height:1px;background:var(--gemboss-divider-soft);margin:6px}.gemboss-editor-body{flex:1;min-height:0;display:flex;gap:0;padding:var(--gemboss-editor-inset);box-sizing:border-box}.gemboss-editor-body>.gemboss-ec,.gemboss-editor-body>.gemboss-editor-preview-pane{border:1px solid var(--gemboss-divider);border-radius:16px;overflow:hidden}.gemboss-editor-body>.gemboss-ec{border-right:1px solid var(--gemboss-divider)}.gemboss-ec-tabs{display:flex;gap:var(--ui-space-1);padding:var(--ui-space-2) var(--gemboss-ec-inset, 12px);border-bottom:1px solid var(--gemboss-divider);flex:none;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}.gemboss-ec-tabs>[role=tab]{flex:1 1 0;min-width:max-content;white-space:nowrap;font:inherit;font-size:13px;font-weight:600;line-height:16px;cursor:pointer;box-sizing:border-box;min-height:32px;padding:0 var(--ui-space-3);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;background:transparent;color:var(--gemboss-text-muted);box-shadow:none}.gemboss-ec-tabs>[role=tab]:hover:not([aria-selected=true]){color:var(--gemboss-text);background:var(--gemboss-primary-soft)}.gemboss-ei-tab:not(.on):hover{color:var(--gemboss-text);background:var(--gemboss-divider)}.gemboss-ec-tabs>[role=tab]:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:-2px}.gemboss-ec-tabs>[role=tab][aria-selected=true]{border-color:var(--gemboss-divider);background:var(--gemboss-surface);color:var(--gemboss-text);box-shadow:inset 0 -2px 0 var(--gemboss-primary)}@media (max-width:47.9975em){.gemboss-ec-tabs>[role=tab]{min-height:44px}}.gemboss-pv{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--gemboss-preview-canvas);overflow:hidden}.ui-seg.gemboss-pv-devices>button.gemboss-pv-device{width:calc(var(--ui-btn-h) - 2px);height:calc(var(--ui-btn-h) - 2px);border:0;border-radius:0}@media (pointer: coarse),(max-width:47.9975em){.ui-seg.gemboss-pv-devices>button.gemboss-pv-device{width:44px;height:44px}}.gemboss-pv-device{border:1px solid var(--gemboss-divider);background:var(--gemboss-surface);cursor:pointer;width:28px;height:28px;border-radius:8px;color:var(--gemboss-text-muted);font-size:14px;display:inline-flex;align-items:center;justify-content:center;line-height:1;transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease,background var(--gemboss-transition-fast) ease}.gemboss-pv-device svg{display:block}.gemboss-editor-tb-tools{display:flex;align-items:center;gap:16px;min-width:0}@media (max-width: 1200px){.gemboss-editor-tb-tools{display:none}}.gemboss-pv-device:hover{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-pv-device:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-pv-device.active{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg);background:var(--gemboss-active-bg)}.gemboss-pagepicker{position:relative;display:inline-flex}.gemboss-pagepicker>.gemboss-pagepicker-trigger{width:auto;max-width:220px;font-size:13px;font-weight:600}.gemboss-pagepicker-trigger .gemboss-ei-pickbtn-pic{color:var(--gemboss-text-muted)}.gemboss-pagepicker-trigger .gemboss-ei-pickbtn-pic svg{width:18px;height:18px}.gemboss-pagepicker-note{margin:0;padding:8px 12px 12px;font-size:12px;line-height:1.5;color:var(--gemboss-text-muted);border-bottom:1px solid var(--gemboss-divider)}.gemboss-pagepicker-note-link{color:var(--gemboss-primary);font-weight:600;text-decoration:none}.gemboss-pagepicker-note-link:hover{text-decoration:underline}.gemboss-pv-stage{flex:1;min-height:0;overflow:hidden;display:flex;justify-content:center;padding:0}.gemboss-pv-frame{background:var(--gemboss-surface);overflow:hidden;height:100%;position:relative}.gemboss-pv-frame.desktop{width:100%;max-width:none}.gemboss-pv-frame.gemboss-pv-fit.desktop{position:absolute;top:0;left:0;width:var(--gemboss-pv-w, 100%);height:var(--gemboss-pv-h, 100%);transform:scale(calc(var(--gemboss-pv-scale, 1) * var(--gemboss-pv-user-zoom, 1)));transform-origin:top left}.gemboss-pv-frame.mobile{box-sizing:border-box;width:392px;flex:0 0 392px;align-self:center;margin:16px 0;border:1px solid var(--gemboss-divider);border-radius:20px;box-shadow:var(--gemboss-shadow-overlay)}.gemboss-pv-frame.tablet{box-sizing:border-box;width:770px;flex:0 0 770px;align-self:center;margin:16px 0;border:1px solid var(--gemboss-divider);border-radius:16px;box-shadow:var(--gemboss-shadow-overlay)}.gemboss-pv-iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:var(--gemboss-surface);transition:opacity .18s ease}.gemboss-pv-empty{margin:auto;text-align:center;max-width:340px;display:flex;flex-direction:column;align-items:center;gap:8px}.gemboss-pv-empty-art{font-size:40px;line-height:1;opacity:.7}.gemboss-pv-empty-title{font-family:var(--gemboss-serif);font-size:18px;margin:0}.gemboss-pv-empty-sub{font-size:13px;color:var(--gemboss-text-muted);margin:0;line-height:1.5}.gemboss-pv-empty-cta{margin-top:6px;font-size:13px;font-weight:600;color:var(--gemboss-active-fg);text-decoration:none}.gemboss-pv-empty-cta:hover{text-decoration:underline}.gemboss-pv-spin{width:22px;height:22px;border:2px solid var(--gemboss-divider-soft);border-top-color:var(--gemboss-primary);border-radius:50%;animation:gemboss-spin .7s linear infinite}.gemboss-editor-resizer{flex:0 0 var(--gemboss-editor-inset);align-self:stretch}body.ui-resizing .gemboss-pv-iframe{pointer-events:none}.gemboss-editor-chat-toggle{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gemboss-divider);background:var(--gemboss-surface);border-radius:var(--gemboss-radius-md);cursor:pointer;font-size:14px;line-height:1;color:var(--gemboss-text-muted);transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}.gemboss-editor-chat-toggle:hover{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-chat-toggle:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-chat-toggle.collapsed{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-chat-toggle svg{display:block}.gemboss-editor-body .gemboss-ec{transition:flex-basis .28s cubic-bezier(.16,1,.3,1),width .28s cubic-bezier(.16,1,.3,1)}body.ui-resizing .gemboss-editor-body .gemboss-ec{transition:none;will-change:flex-basis,width}body.ui-resizing .gemboss-editor-body .gemboss-pv{will-change:flex-basis}.gemboss-editor-body.is-chat-collapsed .gemboss-ec{border-width:0;overflow:hidden}.gemboss-editor-body.is-chat-collapsed>.gemboss-ec{visibility:hidden}.gemboss-editor-body.is-chat-collapsed .gemboss-editor-resizer{display:none}@media (max-width: 1000px){.gemboss-editor-body{flex-direction:column;gap:var(--gemboss-editor-inset)}}@media (max-width: 1000px){.gemboss-editor-resizer{display:none}.gemboss-editor-body.is-chat-collapsed .gemboss-ec{max-height:0;min-height:0}.gemboss-editor-topbar{height:auto;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"left right" "center center";gap:8px 12px;padding:8px 12px}.gemboss-editor-tb-left{grid-area:left}.gemboss-editor-tb-right{padding-block:6px;grid-area:right;min-width:0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.gemboss-editor-tb-center{grid-area:center;justify-self:stretch;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.gemboss-editor-tb-right::-webkit-scrollbar,.gemboss-editor-tb-center::-webkit-scrollbar{display:none}.gemboss-editor-tb-right>*{flex:0 0 auto}.gemboss-editor-tb-right>.gemboss-editor-tb-publish{position:sticky;right:0;z-index:1;box-shadow:-8px 0 8px -6px color-mix(in srgb,var(--gemboss-text) 18%,transparent)}.gemboss-editor-tb-name{display:none}.gemboss-editor-tb-ghost{padding:6px 12px;font-size:12px}.gemboss-editor-tb-publish{padding:8px 16px;font-size:13px}}@media (max-width: 640px){.gemboss-pv-frame.mobile{width:100%;max-width:392px;flex:0 1 auto;margin:8px 0}.gemboss-pv-frame.tablet{width:100%;max-width:770px;flex:0 1 auto;margin:8px 0}}.gemboss-editor-preview-pane{display:flex}.gemboss-editor-mobile-tabs{display:none}.gemboss-editor-dock{position:absolute;top:0;right:0;bottom:0;width:320px;max-width:90%;z-index:5;overflow-y:auto;background:var(--gemboss-surface);border-left:1px solid var(--gemboss-divider);box-shadow:var(--gemboss-shadow-overlay)}.gemboss-editor-preview-pane:has(>.gemboss-editor-dock){position:relative}:where(.gemboss-editor-body>.gemboss-ec){position:relative;width:var(--gemboss-chat-w, 384px);flex:0 0 var(--gemboss-chat-w, 384px);display:flex;flex-direction:column;background:var(--gemboss-panel-bg);border-right:1px solid var(--gemboss-divider);overflow:hidden}:where(.gemboss-editor-preview-pane){flex:1;min-width:0}@media (max-width: 1000px){:where(.gemboss-editor-body>.gemboss-ec){width:auto;flex:0 0 auto;max-height:48%}}@media (max-width: 760px){.gemboss-editor-resizer{display:none}.gemboss-editor-body .gemboss-ec{flex:1 1 auto;width:100%;min-width:0;max-height:none;border-right:none}.gemboss-editor-body .gemboss-editor-preview-pane{flex:1 1 auto}.gemboss-editor-body[data-mobile-pane=chat] .gemboss-editor-preview-pane,.gemboss-editor-body[data-mobile-pane=preview] .gemboss-ec{display:none}.gemboss-editor-mobile-tabs{display:flex;flex:0 0 auto;gap:6px;padding:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom));background:var(--gemboss-surface);border-top:1px solid var(--gemboss-divider)}.gemboss-editor-mobile-tab{flex:1 1 0;height:44px;border:0;border-radius:8px;background:transparent;color:var(--gemboss-text-muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.gemboss-editor-mobile-tab.active{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}}.gemboss-editor-statusbar{position:absolute;top:60px;right:14px;z-index:480;max-width:min(380px,calc(100vw - 28px));padding:8px 16px;font-size:12px;line-height:1.4;color:var(--gemboss-text-muted);background:var(--gemboss-surface);border:1px solid var(--gemboss-divider);border-radius:12px;box-shadow:var(--gemboss-shadow-raised);pointer-events:none;animation:gemboss-statusbar-in .18s cubic-bezier(.16,1,.3,1) both}.gemboss-editor-statusbar.done{background:#eaf6ef;color:#1f7a4d;border-color:var(--gemboss-success-border)}.gemboss-editor-statusbar.error{background:#fdecea;color:var(--gemboss-danger);border-color:#f3c2bb}@media (pointer: coarse),(max-width:47.9975em){.gemboss-pv-device{width:44px;height:44px;font-size:16px}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-back{width:44px;height:44px;font-size:20px}.gemboss-editor-chat-toggle{width:44px;height:44px;font-size:16px}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-tb-ghost{padding:8px 16px;min-height:44px}.gemboss-editor-tb-publish{padding:12px 20px;min-height:44px}.gemboss-pagepicker-trigger{min-height:44px}}@media (pointer: coarse){.gemboss-ec-tab{min-height:44px}}@media (max-width: 760px){.gemboss-editor-chat-toggle{display:none}}.gemboss-pageedit{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--gemboss-panel-bg,#ffffff);z-index:320}.gemboss-pageedit-top{background:#fff;border-bottom:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-pageedit .gemboss-editor-tb-center{display:flex;align-items:center;gap:12px;justify-content:center}.gemboss-pageedit .gemboss-editor-tb-right{display:flex;align-items:center;gap:12px;min-width:0}.gemboss-pageedit .gemboss-editor-tb-right>:first-child{margin-inline-start:auto}.gemboss-pageedit .gemboss-editor-tb-left{--gemboss-tb-gap:12px;display:flex;align-items:center;gap:var(--gemboss-tb-gap);min-width:0}.gemboss-pageedit-title{font-family:var(--gemboss-serif,inherit);font-size:15px;font-weight:600;color:var(--gemboss-text,#1b1c1e);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32ch}.gemboss-pageedit-notice{display:flex;flex-wrap:wrap;align-items:center;gap:12px;flex:0 0 auto;padding:12px 16px;background:var(--gemboss-surface);border-bottom:1px solid var(--gemboss-divider);color:var(--gemboss-text);font-size:13px;line-height:1.5}.gemboss-pageedit-notice span{flex:1 1 240px;min-width:0}.gemboss-pageedit-notice button{min-height:44px;padding:8px 12px;flex:0 0 auto;border:1px solid var(--gemboss-divider);border-radius:8px;background:var(--gemboss-surface);color:var(--gemboss-text);cursor:pointer}@media (max-width:900px){.gemboss-pageedit-top{height:auto;grid-template-columns:minmax(0,1fr);grid-template-areas:"left" "right" "center";gap:8px;padding:8px 12px}.gemboss-pageedit-top .gemboss-editor-tb-right{flex-wrap:wrap;overflow:visible}.gemboss-pageedit-top .gemboss-editor-tb-right button{min-height:44px}.gemboss-pageedit .gemboss-editor-tb-left{width:100%;overflow:hidden;flex-wrap:wrap}.gemboss-pageedit .gemboss-editor-tb-right,.gemboss-pageedit .gemboss-editor-tb-center{justify-self:stretch;justify-content:flex-start;max-width:100%;overflow-x:auto}.gemboss-pageedit-top .gemboss-editor-tb-center{flex-wrap:wrap;row-gap:8px;overflow:visible}}.gemboss-sec-type{font-size:11px;font-weight:700;letter-spacing:.02em;padding:2px 8px;border-radius:12px;background:#f1efe9;color:var(--gemboss-text-muted);text-transform:capitalize}.gemboss-sec-insert-wrap{position:relative}.gemboss-sec-insert-menu{position:absolute;top:42px;right:0;width:280px;max-height:60vh;overflow-y:auto;padding:6px;z-index:80}.gemboss-sec-insert-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:0;background:transparent;border-radius:8px;cursor:pointer;text-align:left;font-size:13px;color:var(--gemboss-text,#1b1c1e);transition:background .12s ease,color .12s ease}.gemboss-sec-insert-item:hover{background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-sec-insert-item:focus-visible{outline:2px solid var(--ui-focus,currentColor);outline-offset:-2px;background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-sec-insert-item:disabled{opacity:.6;cursor:default}.gemboss-sec-insert-item:disabled:hover{background:transparent}.gemboss-sec-insert-cat{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);text-transform:capitalize}.gemboss-sec-insert-empty{display:block;padding:16px;font-size:13px;color:var(--gemboss-text-muted,#686b71);text-decoration:none}.gemboss-pageedit-scope{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}@media (max-width:1200px){.gemboss-pageedit-scope{display:none}}.gemboss-pageedit-pv{flex:1;min-width:0;background:var(--gemboss-preview-canvas);display:flex;justify-content:center;overflow:auto;position:relative}.gemboss-pageedit-pv .gemboss-pv-frame iframe{width:100%;height:100%;border:0;background:#fff;display:block}.gemboss-pageedit-chip{display:flex;align-items:center;gap:8px;margin:0 12px 8px;padding:6px 12px;border-radius:8px;background:var(--gemboss-active-bg);border:1px solid var(--gemboss-divider);font-size:12px;color:var(--gemboss-active-fg)}.gemboss-pageedit-chip button{flex:none;margin-left:auto;border:0;background:transparent;color:var(--gemboss-active-fg);cursor:pointer;font-size:12px}.gemboss-pageedit-standing{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;background:#b07d1817;border-bottom:1px solid rgba(176,125,24,.28);font-size:13px;line-height:1.5;color:#7a5710}.gemboss-pageedit-standing code{font-size:12px;background:#b07d1824;border-radius:4px;padding:2px 4px}.gemboss-pageedit-standing button{margin-left:auto;flex:0 0 auto;border:1px solid rgba(176,125,24,.4);background:#fff;color:#7a5710;border-radius:8px;padding:4px 12px;font:inherit;font-weight:600;cursor:pointer}.gemboss-pageedit-standing button:disabled{opacity:.6;cursor:default}.gemboss-picker-backdrop{position:fixed;inset:0;background:#1f1e1d38;z-index:70}.gemboss-picker-head{flex:0 0 auto;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--gemboss-divider,#e5e7ea);font-weight:600;font-size:15px}.gemboss-picker-head button{border:0;background:transparent;font-size:15px;cursor:pointer;color:var(--gemboss-text-muted,#686b71)}.gemboss-picker-empty{padding:20px;text-align:center;color:var(--gemboss-text-muted,#686b71);font-size:13px}.gemboss-layers{position:fixed;top:0;left:0;bottom:0;width:300px;background:#fff;border-right:1px solid var(--gemboss-divider,#e5e7ea);box-shadow:8px 0 30px #1f1e1d1f;z-index:71;display:flex;flex-direction:column}.gemboss-layers-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px;display:flex;flex-direction:column;gap:4px}.gemboss-layer{display:flex;align-items:center;gap:4px;border:1px solid transparent;border-radius:8px;padding:0 4px 0 6px}.gemboss-layer:hover{background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-layer.is-sel{border-color:var(--gemboss-primary, #1b1c1e);background:var(--gemboss-active-bg)}.gemboss-layer-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:transparent;border:0;cursor:pointer;text-align:left;padding:8px 4px}.gemboss-layer-type{font-size:13px;font-weight:600;color:var(--gemboss-text,#1b1c1e)}.gemboss-layer-type,.gemboss-pageedit-chip>span{overflow-wrap:anywhere}.gemboss-layer-head{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:195px}.gemboss-layer-acts{display:flex;gap:0;flex:0 0 auto}.gemboss-layer-acts button{width:26px;height:26px;border:0;background:transparent;border-radius:6px;cursor:pointer;color:var(--gemboss-text-muted,#686b71);font-size:13px;line-height:1}.gemboss-layer-acts button:hover:not(:disabled){background:var(--gemboss-hover,rgba(0,0,0,.07))}.gemboss-layer-acts button:disabled{opacity:.28;cursor:default}.gemboss-layer-del:hover:not(:disabled){color:#c0392b}@media (pointer: coarse){.gemboss-layer{flex-wrap:wrap}.gemboss-layer-acts{margin-left:auto}.gemboss-layer-acts button{width:44px;height:44px;font-size:15px}.gemboss-layer-main{flex:1 1 140px;min-height:44px;justify-content:center}.gemboss-layer-head{max-width:100%}}.gemboss-layer-grip{flex:0 0 auto;width:12px;margin-right:-2px;color:var(--gemboss-text-muted,#686b71);font-size:11px;letter-spacing:-2px;line-height:1;text-align:center;cursor:grab;user-select:none}.gemboss-layer[draggable=true]{cursor:grab}.gemboss-layer.is-dragging{opacity:.4}.gemboss-layer[data-drop=before]{box-shadow:0 -2px 0 var(--gemboss-primary, #1b1c1e)}.gemboss-layer[data-drop=after]{box-shadow:0 2px 0 var(--gemboss-primary, #1b1c1e)}.gemboss-layer.is-hidden .gemboss-layer-main{opacity:.5}.gemboss-layer-acts .gemboss-layer-eye{display:inline-grid;place-items:center}.gemboss-layer-acts .gemboss-layer-eye[aria-pressed=true]{color:var(--gemboss-text,#1b1c1e)}.gemboss-layers[hidden],.gemboss-settings[hidden],.gemboss-picker-backdrop[hidden]{display:none}.gemboss-settings{position:fixed;top:0;right:0;bottom:0;width:min(380px,100%);box-sizing:border-box;background:#fff;border-left:1px solid var(--gemboss-divider,#e5e7ea);box-shadow:-8px 0 30px #1f1e1d1f;z-index:71;display:flex;flex-direction:column}.gemboss-settings-body{flex:1;min-height:0;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.gemboss-settings-grouphead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:16px;border-top:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-settings-grouphead>span{font-size:var(--gemboss-fs-caption);font-weight:700;color:var(--gemboss-text,#1b1c1e)}.gemboss-settings-gen{border:1px solid var(--gemboss-divider,#e5e7ea);background:var(--gemboss-surface,#fff);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;font-family:inherit;color:var(--gemboss-text,#1b1c1e);cursor:pointer;white-space:nowrap}.gemboss-settings-gen:hover:not(:disabled){background:var(--gemboss-hover,#eceef2)}.gemboss-settings-gen:disabled{opacity:.55;cursor:default}.gemboss-settings-note{margin:0 0 4px;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);line-height:1.5}.gemboss-settings-error{margin:0 0 8px;padding:8px 12px;border-radius:8px;font-size:var(--gemboss-fs-caption);line-height:1.45;color:#8a1c1c;background:#fdecec;border:1px solid #f5c2c2}textarea.gemboss-ei-inp.gemboss-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5}.gemboss-ei-prefix{flex:none;white-space:nowrap;color:var(--gemboss-text-muted,#686b71)}.gemboss-ei-pickbtn{display:flex;align-items:center;gap:8px;width:100%;text-align:left;cursor:pointer}.gemboss-ei-pickbtn[aria-expanded=true]{border-color:var(--gemboss-field-line-active)}.gemboss-ei-pickbtn-pic{display:inline-flex;flex:none;min-width:20px;height:20px;align-items:center;justify-content:center}.gemboss-ei-pickbtn-pic :is(svg,img){width:20px;height:20px}.gemboss-ei-pickbtn-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-pickbtn-chev{flex:none;color:var(--gemboss-text-muted,#686b71)}.gemboss-settings-foot{flex:0 0 auto;display:flex;justify-content:flex-end;gap:12px;padding:12px 20px;border-top:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-settings-cancel{background:transparent;border:1px solid var(--gemboss-divider,#e5e7ea);border-radius:8px;font-size:13px;font-weight:600;padding:8px 16px;cursor:pointer;color:var(--gemboss-text,#1b1c1e)}.gemboss-settings-save{background:var(--gemboss-primary, #1b1c1e);color:#fff;border:0;border-radius:8px;font-size:13px;font-weight:700;padding:8px 20px;cursor:pointer}.gemboss-settings-save:disabled{opacity:.6;cursor:default}.gemboss-pageedit .gemboss-pv-device{flex-shrink:0}@media (pointer: coarse),(max-width:47.9975em){.gemboss-pageedit .gemboss-ec-dock-body :is(button:where(:not(.gemboss-ei-help)),input,select){min-height:44px}}.gemboss-bundle-look .gemboss-ei-body :is(button:where(:not(.gemboss-ei-help)),input){min-height:44px}.gemboss-bundle-look .gemboss-ei-body input[type=color]{min-width:44px}.gemboss-page-draft-status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:8px 12px;border-radius:8px;background:var(--gemboss-surface,#fff);color:var(--gemboss-text,#1b1c1e);font-size:12px;line-height:1.5;box-shadow:0 1px 6px #0001}.gemboss-page-draft-status button{min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--gemboss-divider);border-radius:6px;background:var(--gemboss-surface,#fff);cursor:pointer}.gemboss-page-draft-status button:hover{background:var(--gemboss-hover,#eceef2)}.gemboss-page-draft-status button:focus-visible{outline:2px solid var(--ui-focus,currentColor);outline-offset:2px}.gemboss-page-draft-status[data-page-preview-state=ready]{pointer-events:none}.gemboss-pageedit .gemboss-pageedit-pv{flex-direction:column;min-height:0;justify-content:flex-start}.gemboss-page-draft-stage{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;justify-content:center}@media (max-width:1000px){.gemboss-pageedit .gemboss-editor-body>.gemboss-ec{flex:0 0 auto;height:44%;min-height:min(520px,76%);max-height:76%}}.gemboss-ei{position:absolute;top:12px;right:12px;z-index:6;width:320px;max-width:calc(100% - 24px);display:flex;flex-direction:column;max-height:calc(100% - 24px);background:var(--gemboss-surface);border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-xl);box-shadow:var(--gemboss-shadow-overlay);overflow:hidden}.gemboss-ei--docked{position:static;top:auto;right:auto;width:100%;max-width:none;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent;flex:1;min-height:0}.gemboss-ei-head{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--gemboss-divider)}.gemboss-ec>.gemboss-ei-head{padding-inline:var(--gemboss-ec-inset,12px)}.gemboss-ec .gemboss-ei--docked .gemboss-ei-head{padding-inline:var(--gemboss-ec-inset,12px)}.gemboss-ec .gemboss-ei--docked .gemboss-ei-tabs{margin-inline:var(--gemboss-ec-inset,12px)}:is(.gemboss-settings-body,.gemboss-ec-dock-body) .gemboss-ei-tabs{margin-inline:0}.gemboss-ec .gemboss-ei--docked .gemboss-ei-pane{padding-inline:var(--gemboss-ec-inset,16px)}.gemboss-ei-title{font-size:var(--gemboss-fs-body);font-weight:700;line-height:1.2;min-width:0;overflow:hidden;overflow-wrap:break-word}.gemboss-ei-title small{display:block;font-weight:500;font-size:11px;color:var(--gemboss-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gemboss-ei-act,.gemboss-ei-x{margin-left:auto;width:26px;height:26px;flex:none;border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);border-radius:6px;display:grid;place-items:center;font-size:14px}.gemboss-ei-x{margin-left:2px;font-size:13px}.gemboss-ei-act:hover,.gemboss-ei-x:hover{background:var(--gemboss-hover);color:var(--gemboss-text)}.gemboss-ei-act:disabled{opacity:.5;cursor:default}.gemboss-ei-tabs{display:flex;gap:2px;margin:8px 12px 0;background:var(--gemboss-active-bg);padding:4px;border-radius:8px}.gemboss-ei-tab{flex:1;border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);font-weight:550;font-size:13px;line-height:20px;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px}.gemboss-ei-tab.on{background:var(--gemboss-surface);color:var(--gemboss-text);box-shadow:var(--gemboss-shadow-resting)}.gemboss-ei-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:2px 0 4px}.gemboss-ei-body::-webkit-scrollbar{width:9px}.gemboss-ei-body::-webkit-scrollbar-thumb{background:#1f1e1d33;border-radius:6px;border:2px solid var(--gemboss-surface);background-clip:content-box}.gemboss-ei-pane{padding:4px 16px 6px}.gemboss-ei-note{margin:0 0 8px;padding:8px 12px;border-radius:8px;background:var(--gemboss-hover,#eceef2);border:1px solid var(--gemboss-divider,#e5e7ea);color:var(--gemboss-text-muted,#686b71);font-size:12px;line-height:1.45}.gemboss-ec-dock-body,.gemboss-ei,.gemboss-ei-grp,.gemboss-ei-group{--gemboss-ei-gap-part:4px;--gemboss-ei-gap-setting:16px;--gemboss-ei-gap-sub:24px;--gemboss-ei-gap-group:16px;--gemboss-ei-gap-head:8px}.gemboss-ei-grp{border-bottom:1px solid var(--gemboss-divider-soft);padding:var(--gemboss-ei-gap-group) 0}.gemboss-ei-grp:last-child{border-bottom:none}.gemboss-ei-gh{font-size:13px;line-height:20px;color:var(--gemboss-text);font-weight:650;margin-bottom:var(--gemboss-ei-gap-head);display:flex;align-items:center;gap:6px;width:100%;border:0;background:transparent;cursor:pointer;text-align:left;padding:0;-webkit-appearance:none}.gemboss-ei-chev{order:1;flex:none;margin:0 4px 0 auto;width:6px;height:6px;font-size:0;border:solid var(--gemboss-text-muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.gemboss-ei-gh[data-open=closed]>.gemboss-ei-chev{transform:rotate(-45deg)}.gemboss-ei-gh-note{margin-left:6px;font-size:12px;font-weight:450;opacity:.55}.gemboss-ei-gh[data-open=closed]{margin-bottom:0}.gemboss-ei-grp:where(:has(>.gemboss-ei-gh[data-open=closed])){padding:8px 0}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-grp:where(:has(>.gemboss-ei-gh[data-open=closed])){padding:2px 0}.gemboss-ec-dock-body,.gemboss-ei,.gemboss-ei-grp,.gemboss-ei-group{--gemboss-ei-gap-setting:12px;--gemboss-ei-gap-sub:20px;--gemboss-ei-gap-group:12px;--gemboss-ei-gap-head:4px}}.gemboss-ei-grp>.gemboss-ei-gh[data-open=closed]~*{display:none}.gemboss-ei-fld{margin-bottom:var(--gemboss-ei-gap-setting)}.gemboss-ei-fld:last-child{margin-bottom:0}.gemboss-ei-fld:has(+.gemboss-ei-rule){margin-bottom:0}.gemboss-ei-group>.gemboss-ei-hint+button{margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp>:not(.gemboss-ei-gh)+:not(.gemboss-ei-hint){margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp>[data-ei-head]+:not(.gemboss-ei-hint){margin-top:var(--gemboss-ei-gap-head)}.gemboss-ei-grp>:not(.gemboss-ei-gh)+[data-ei-sub]{margin-top:var(--gemboss-ei-gap-sub)}.gemboss-ei-grp>[data-ei-sub=line]+[data-ei-sub=line]{margin-top:var(--gemboss-ei-gap-part)}.gemboss-ei-grp [data-ei-sub]>*+*{margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp [data-ei-sub]>[data-ei-head]+*{margin-top:var(--gemboss-ei-gap-head)}.gemboss-ei-fld>label:where(:not(.gemboss-field)),.gemboss-ei-lbl{display:block;font-size:13px;font-weight:500;color:var(--gemboss-text);margin-bottom:var(--gemboss-ei-gap-part)}.gemboss-ei-lbl>label{margin:0}.gemboss-ei-help{display:none}:is(.gemboss-ei-grp,.gemboss-ei-group) :is(.gemboss-ei-fld>label:where(:not(.gemboss-field)),.gemboss-ei-lbl){font-weight:450;color:var(--gemboss-text-muted)}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-lbl{display:flex;gap:4px;align-items:start}.gemboss-ei-fld.gemboss-ei-fld--row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:0 8px;align-items:start}.gemboss-ei-fld.gemboss-ei-fld--row>:not(:first-child){grid-column:2}.gemboss-ei-fld.gemboss-ei-fld--row>:first-child{margin:0;padding-top:6px}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-hint{grid-column:1/-1}@media (max-width:22.4975em){.gemboss-ei-fld.gemboss-ei-fld--row:has(>.ui-seg>:nth-child(4)){grid-template-columns:minmax(0,1fr)}.gemboss-ei-fld.gemboss-ei-fld--row:has(>.ui-seg>:nth-child(4))>*{grid-column:1}}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-help{display:block;flex:none;width:16px;height:16px;padding:0;border:0;border-radius:50%;box-shadow:inset 0 0 0 1px;background:none;color:inherit;font:650 10px/16px var(--gemboss-font-sans);cursor:help;position:relative}.gemboss-ei-help:after{content:"";position:absolute;inset:-4px;border-radius:50%}.gemboss-ei-help:is(:hover,[aria-expanded=true]){color:var(--gemboss-text)}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-fld:has(>.gemboss-ei-lbl>.gemboss-ei-help[aria-expanded=false])>.gemboss-ei-help-text{display:none}.gemboss-ei-lbl:has(>.gemboss-ei-lbl-aside){display:flex;align-items:center;gap:4px}.gemboss-ei-lbl-aside{margin-left:auto}.gemboss-ei-inp{width:100%}.gemboss-ei-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5}select.gemboss-ei-inp{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gemboss-text-muted) 50%),linear-gradient(135deg,var(--gemboss-text-muted) 50%,transparent 50%);background-position:calc(100% - 15px) center,calc(100% - 10px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:32px}.gemboss-ei-swatches{display:flex;gap:8px}.gemboss-ei-sw{width:30px;height:30px;border-radius:8px;border:2px solid transparent;cursor:pointer;padding:0;box-shadow:inset 0 0 0 1px #1f1e1d1a}.gemboss-ei-sw.on{border-color:var(--gemboss-text);box-shadow:0 0 0 2px var(--gemboss-surface),0 0 0 3px var(--gemboss-primary)}.gemboss-ei-sw:disabled{cursor:default;opacity:.7}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-tab,.gemboss-ei-gh{min-height:44px}.gemboss-ei-sw{width:44px;height:44px}.gemboss-ei-swatches{flex-wrap:wrap}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-fld :is(input:not([type=checkbox]):not([type=radio]),select,button:not(.gemboss-ei-help)){min-height:44px}.gemboss-ei-fld :is(button:not(.gemboss-ei-help),input[type=color]){min-width:44px}.gemboss-ei-help:after{inset:-14px}}.gemboss-ei-apply{margin-top:2px;background:var(--gemboss-primary);color:#fff;border:0;border-radius:8px;font-size:var(--gemboss-fs-caption);font-weight:700;padding:8px 16px;cursor:pointer}.gemboss-ei-apply:hover{background:var(--gemboss-primary-dark)}.gemboss-ei-apply:disabled{opacity:.6;cursor:default}.gemboss-ei-hint{margin:var(--gemboss-ei-gap-part) 0 0;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-ei-empty{padding:24px 16px;text-align:center;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.gemboss-ei-foot{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 16px;border-top:1px solid var(--gemboss-divider);font-size:11px;color:var(--gemboss-text-muted)}.gemboss-ei-savedot{width:6px;height:6px;border-radius:50%;background:var(--gemboss-success);box-shadow:0 0 0 3px #2e8b572e}.gemboss-ei-savedot.busy{background:var(--gemboss-primary);box-shadow:0 0 0 3px var(--gemboss-primary-soft)}.gemboss-ei-foot.is-error{color:var(--gemboss-danger)}.gemboss-ei-foot.is-error .gemboss-ei-savedot{background:var(--gemboss-danger);box-shadow:0 0 0 3px #d72c0d29}.gemboss-ei-drag{cursor:grab;user-select:none}.gemboss-ei-drag:active{cursor:grabbing}.gemboss-ei-dragmask{position:fixed;inset:0;z-index:9998;cursor:grabbing}.gemboss-ei-block{border:1px solid var(--gemboss-divider);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--gemboss-panel-bg)}.gemboss-ei-block:last-child{margin-bottom:0}.gemboss-ei-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;font-weight:700;color:var(--gemboss-text)}.gemboss-ei-block-x{border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);width:22px;height:22px;border-radius:6px;font-size:11px;flex:none}.gemboss-ei-block-x:hover{background:var(--gemboss-hover);color:var(--gemboss-danger-strong)}.gemboss-ei-block-x:disabled{opacity:.5;cursor:default}.gemboss-ei-block .gemboss-ei-inp{background:var(--gemboss-surface)}.gemboss-ei-img{display:flex;gap:8px;align-items:flex-start;border-radius:8px}.gemboss-ei-img-thumb{flex:none;width:56px;height:56px;border-radius:8px;border:1px solid var(--gemboss-divider);background:var(--gemboss-panel-bg) center/cover no-repeat;display:grid;place-items:center;color:var(--gemboss-text-muted);font-size:16px}.gemboss-ei-img-ctl{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.gemboss-ei-img-actions{display:flex;flex-wrap:wrap;gap:6px}.gemboss-ei-img-info{display:flex;flex-direction:column;min-width:0}.gemboss-ei-img-name{font-size:13px;line-height:20px;color:var(--gemboss-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-img-meta{font-size:12px;line-height:16px;color:var(--gemboss-text-muted);min-height:16px}.gemboss-ei-img-drop{font-size:13px;line-height:20px;color:var(--gemboss-text-muted)}.gemboss-ei-img[data-over]{outline:2px dashed var(--gemboss-accent);outline-offset:4px}.gemboss-ei-gen{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding:8px;border:1px solid var(--gemboss-divider);border-radius:12px;background:var(--gemboss-panel-bg)}.gemboss-ei-gen .gemboss-ei-apply{align-self:flex-start;display:inline-flex;align-items:center;gap:6px}.gemboss-ei-gen .gemboss-narr-spin{width:11px;height:11px}.gemboss-ei-oos{margin:4px 16px 12px;padding:12px;border:1px solid var(--gemboss-divider);border-left:3px solid var(--gemboss-text-muted);border-radius:8px;background:var(--gemboss-panel-bg)}.gemboss-ei-oos-h{font-size:var(--gemboss-fs-micro);letter-spacing:.1em;text-transform:uppercase;color:var(--gemboss-text-muted);font-weight:700;margin-bottom:8px}.gemboss-ei-oos p{margin:0 0 6px;font-size:12px;color:var(--gemboss-text-muted);line-height:1.45}.gemboss-ei-oos p:last-child{margin-bottom:0}.gemboss-ei-oos b{color:var(--gemboss-text);font-weight:600}.gemboss-ei-edgebox{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px}.gemboss-ei-value{display:grid;gap:8px}.gemboss-ei-value-row{display:flex;align-items:center;gap:12px}.gemboss-ei-value--words>.ui-seg.ui-seg--fill>.is-text{flex:1 1 auto;padding:0 8px}@media (max-width:47.9975em){.gemboss-ei-value--words>.ui-seg.ui-seg--fill>.is-text{min-width:44px}}.gemboss-ei-value-box{flex:0 0 7em}.gemboss-ei-value-box input{text-align:right;font-variant-numeric:tabular-nums}.gemboss-ei-value-row .gemboss-ei-range{flex:1 1 auto;min-width:0}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value{display:contents}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value>.gemboss-ei-value-row{grid-column:2}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value>:not(.gemboss-ei-value-row){grid-column:1/-1;margin-top:var(--gemboss-ei-gap-part)}.gemboss-ei-edge{display:flex;flex-direction:column;align-items:center;gap:4px}.gemboss-ei-edge input{width:100%;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}.gemboss-ei-edge span{font-size:var(--gemboss-fs-micro);letter-spacing:.06em;color:var(--gemboss-text-muted);font-weight:700}.gemboss-ei-edge-scrub{align-self:stretch;min-height:24px;margin-top:4px;display:flex;align-items:center;justify-content:center;border-radius:var(--gemboss-radius-sm);cursor:ew-resize;user-select:none;touch-action:pan-y}@media (hover: hover){.gemboss-ei-edge-scrub:not([aria-disabled]):hover{background:var(--gemboss-hover);color:var(--gemboss-text)}}.gemboss-ei-edge-scrub[aria-disabled]{cursor:default}.gemboss-ec-dock-body{flex:1;min-height:0;overflow-y:auto;padding:var(--gemboss-ec-inset,12px)}.gemboss-ei-group{padding:var(--gemboss-ei-gap-group) 0}.gemboss-ei-group+.gemboss-ei-group{border-top:1px solid var(--gemboss-divider)}.gemboss-ei-grouphead{margin:0 0 12px;font-size:var(--gemboss-fs-micro,11px);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gemboss-text-muted)}.gemboss-ei-color{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.gemboss-ei-color-why{display:block;flex:1 0 100%;margin:-4px 0 0;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-ei-color .gemboss-ei-inp{flex:1;min-width:0}.gemboss-ei-swatch{flex:none;width:32px;height:32px;padding:0;border:1px solid var(--gemboss-divider);border-radius:8px;background:var(--gemboss-surface);cursor:pointer}.gemboss-ei-swatch::-webkit-color-swatch-wrapper{padding:2px}.gemboss-ei-swatch::-webkit-color-swatch{border:none;border-radius:6px}.gemboss-ei-swatch[data-empty]::-webkit-color-swatch{background-image:linear-gradient(to top right,#0000 46%,var(--gemboss-text-muted,#686b71) 46% 54%,#0000 54%)}.gemboss-ei-swatch:disabled{cursor:default;opacity:.7}:is(.gemboss-ei-fld,.gemboss-ei-lbl)>label>.gemboss-ei-rangeval{float:right;font-weight:700;color:var(--gemboss-text);font-variant-numeric:tabular-nums}.gemboss-ei-range{width:100%;margin-inline:0;accent-color:var(--gemboss-primary);cursor:pointer}.gemboss-ei-range:disabled{cursor:default;opacity:.7}@media (max-width:760px){.gemboss-ei{position:static;width:auto;max-width:none;max-height:none;margin:8px;box-shadow:var(--gemboss-shadow-raised)}}.gemboss-ei-tree{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}.gemboss-ei-tnode{display:flex;align-items:center;gap:4px;flex-wrap:wrap;border-radius:6px;padding-right:4px}.gemboss-ei-tnode:hover{background:var(--gemboss-surface)}.gemboss-ei-tnode.on{background:var(--gemboss-primary-soft,var(--gemboss-surface));box-shadow:inset 2px 0 0 var(--gemboss-primary)}.gemboss-ei-tname{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;border:0;background:transparent;cursor:pointer;text-align:left;padding:6px 2px;color:var(--gemboss-text);font-size:12px;font-weight:600}.gemboss-ei-tname small{font-weight:400;font-size:10px;color:var(--gemboss-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-tacts{flex:none;display:flex;gap:1px;opacity:0;transition:opacity .12s}.gemboss-ei-tnode:hover .gemboss-ei-tacts,.gemboss-ei-tnode.on .gemboss-ei-tacts,.gemboss-ei-tacts:focus-within{opacity:1}.gemboss-ei-tacts button{border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);font-size:11px;line-height:1;padding:4px 6px;border-radius:6px}.gemboss-ei-tacts button:hover:not(:disabled){background:var(--gemboss-surface);color:var(--gemboss-text)}.gemboss-ei-tacts button:disabled{opacity:.3;cursor:default}.gemboss-ei-tadd{flex-basis:100%;padding:4px 2px 6px}.gemboss-editor-topbar--guest{grid-template-columns:1fr auto 1fr}.gemboss-guest-mark{flex:0 0 auto;display:block}.gemboss-guest-brand{font-weight:700;letter-spacing:-.02em;font-size:15px;margin-left:8px}.gemboss-guest-note{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);border:1px solid var(--gemboss-divider-soft);border-radius:999px;padding:4px 12px;white-space:nowrap}.gemboss-editor-topbar--guest .gemboss-editor-tb-right{display:flex;align-items:center;gap:16px;justify-content:flex-end}.gemboss-guest-signin{font-size:var(--gemboss-fs-body);font-weight:600;color:var(--gemboss-text-muted);text-decoration:none}.gemboss-guest-signin:hover{color:var(--gemboss-text)}.gemboss-guest-keep{border:0;border-radius:999px;background:var(--gemboss-primary);color:var(--gemboss-on-primary);cursor:pointer;font:inherit;font-size:var(--gemboss-fs-caption);font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:8px 20px;white-space:nowrap}.gemboss-guest-keep:hover{background:var(--gemboss-primary-dark)}@media (max-width: 720px){.gemboss-guest-note{display:none}}@media (max-width: 1000px){.gemboss-editor-topbar--guest{grid-template-columns:auto minmax(0,1fr)}}@media (max-width: 460px){.gemboss-guest-brand{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.gemboss-editor-topbar--guest .gemboss-editor-tb-right{gap:8px}.gemboss-editor-topbar--guest .gemboss-guest-keep{padding-inline:12px}}@media (max-width: 400px){.gemboss-editor-topbar--guest{padding-inline:8px;column-gap:8px}}
|
|
1
|
+
@keyframes gemboss-editor-enter{0%{opacity:0}to{opacity:1}}@keyframes gemboss-editor-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}@keyframes gemboss-flyout-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes gemboss-statusbar-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.gemboss-platform-main:has(.gemboss-editor){box-sizing:border-box;height:100dvh;min-height:0;padding-top:0;padding-bottom:0;overflow:hidden}.gemboss-editor{--gemboss-editor-inset: 5px;position:fixed;inset:0;box-sizing:border-box;display:flex;flex-direction:column;background:var(--gemboss-canvas);overflow:hidden;z-index:400;animation:gemboss-editor-enter .26s cubic-bezier(.16,1,.3,1)}@media (prefers-reduced-motion: reduce){.gemboss-editor{animation:none}}.gemboss-editor--embedded{position:relative;inset:auto;height:100%;min-height:0;z-index:auto;animation:none}.gemboss-editor-toast{position:absolute;top:62px;left:50%;transform:translate(-50%);z-index:500;display:flex;align-items:center;gap:12px;max-width:min(560px,92vw);padding:12px 12px 12px 16px;background:var(--gemboss-text);color:#fff;border-radius:12px;font-size:13px;line-height:1.4;box-shadow:var(--gemboss-shadow-overlay);animation:gemboss-editor-toast-in .24s cubic-bezier(.16,1,.3,1)}.gemboss-editor-toast strong{font-weight:600}.gemboss-editor-toast button{flex:0 0 auto;border:0;background:#ffffff29;color:#fff;width:22px;height:22px;border-radius:8px;cursor:pointer;font-size:12px;line-height:1;transition:background var(--gemboss-transition-fast) ease}.gemboss-editor-toast button:hover{background:#ffffff47}.gemboss-editor-toast button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media (prefers-reduced-motion: reduce){.gemboss-editor-toast{animation:none}}.gemboss-editor-topbar{flex:0 0 auto;height:var(--gemboss-editor-topbar-h, 52px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:0 16px;background:var(--gemboss-surface);border-bottom:1px solid var(--gemboss-divider)}@media (min-width: 1001px){.gemboss-editor-topbar--theme{grid-template-columns:auto auto auto;justify-content:space-between}.gemboss-editor-topbar.gemboss-pageedit-top{grid-template-columns:auto fit-content(100%) auto}}.gemboss-editor-tb-left{display:flex;align-items:center;gap:12px;min-width:0}.gemboss-editor-tb-center{display:flex;align-items:center;gap:12px;justify-self:center}.gemboss-editor-topbar--theme .gemboss-editor-tb-center,.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-editor-tb-center{min-width:0}.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-pageedit-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 1200px){.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-editor-tb-name,.gemboss-editor-topbar.gemboss-pageedit-top .gemboss-sec-type{display:none}}.gemboss-editor-tb-right{display:flex;align-items:center;gap:16px;min-width:0;justify-self:end}.gemboss-editor-back{border:0;background:transparent;padding:0;font-family:inherit;font-size:18px;line-height:1;color:var(--gemboss-text);text-decoration:none;cursor:pointer;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--gemboss-radius-md);transition:background var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}.gemboss-editor-back:hover{background:var(--gemboss-hover)}.gemboss-editor-back:active{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}.gemboss-editor-back:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-name{font-family:var(--gemboss-serif);font-size:15px;font-weight:600}.gemboss-editor-savestate{display:inline-flex;align-items:center;gap:6px;font-size:var(--gemboss-fs-micro);font-weight:500;line-height:1;padding:4px 8px;border-radius:var(--gemboss-radius-full);white-space:nowrap;transition:opacity .2s ease}.gemboss-editor-savestate.is-idle,.gemboss-editor-savestate.is-saving{color:var(--gemboss-text-muted)}.gemboss-editor-savestate.is-saved{color:var(--gemboss-success-strong);background:var(--gemboss-success-soft)}.gemboss-editor-savestate .gemboss-narr-spin{width:10px;height:10px;border-width:1.5px;border-color:var(--gemboss-divider);border-top-color:currentColor}@media (max-width: 760px){.gemboss-editor-savestate.is-saved{display:none}}.gemboss-editor-tb-ghost{font-size:13px;color:var(--gemboss-text);text-decoration:none;padding:8px 12px;border:1px solid var(--gemboss-divider);border-radius:8px;white-space:nowrap;cursor:pointer;background:var(--gemboss-surface);transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease,background var(--gemboss-transition-fast) ease}.gemboss-editor-tb-ghost:hover{border-color:var(--gemboss-primary)}.gemboss-editor-tb-ghost:active{background:var(--gemboss-active-bg);border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-tb-ghost:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-ghost:disabled{opacity:.5;cursor:default;border-color:var(--gemboss-divider);color:var(--gemboss-text-muted)}.gemboss-editor-tb-publish{background:var(--gemboss-primary);color:#fff;border:0;border-radius:8px;box-sizing:border-box;height:var(--ui-btn-h, 28px);padding:0 12px;font-size:12px;font-weight:550;line-height:16px;cursor:pointer;white-space:nowrap;transition:background var(--gemboss-transition-fast) ease,filter var(--gemboss-transition-fast) ease}.gemboss-editor-tb-publish:hover{background:var(--gemboss-primary-dark)}.gemboss-editor-tb-publish:active{background:var(--gemboss-primary-dark);filter:brightness(.94)}.gemboss-editor-tb-publish:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-tb-publish:disabled{opacity:.5;cursor:default;filter:none}.gemboss-editor-tb-undo{font-size:15px}.gemboss-editor-publish{position:relative;display:inline-flex;align-items:stretch}.gemboss-editor-publish-main{border-radius:8px 0 0 8px}.gemboss-editor-publish-caret{border-radius:0 8px 8px 0;padding:0 8px;font-size:12px;line-height:1;border-left:1px solid color-mix(in srgb,#fff 24%,transparent);display:inline-flex;align-items:center;justify-content:center}.gemboss-editor-publish-caret.active{filter:brightness(.94)}.gemboss-editor-menu-label{padding:6px 6px 2px;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--gemboss-text-muted);white-space:nowrap}.gemboss-editor-overflow{position:relative;display:inline-flex}.gemboss-editor-overflow-trigger{font-size:18px;line-height:1}.gemboss-editor-menu{position:fixed;z-index:500;min-width:210px;max-height:calc(100vh - 16px);overflow-y:auto;padding:6px;animation:gemboss-flyout-in var(--gemboss-transition-fast) ease}@media (prefers-reduced-motion: reduce){.gemboss-editor-menu{animation:none}}.gemboss-editor-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:32px;padding:4px 6px;border:0;border-radius:var(--gemboss-radius-md);background:transparent;font:inherit;font-size:13px;color:var(--gemboss-text);text-align:left;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-menu-item{min-height:44px;padding:8px 12px}.gemboss-editor-menu-label{padding:6px 12px 2px}}.gemboss-editor-menu-item:hover{background:var(--gemboss-hover)}.gemboss-editor-menu-item:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:-2px;background:var(--gemboss-hover)}.gemboss-editor-menu-item:disabled{opacity:.45;cursor:default}.gemboss-editor-menu-item:disabled:hover{background:transparent}.gemboss-editor-menu-item[aria-disabled=true]{color:var(--gemboss-text-muted);cursor:default}.gemboss-editor-menu-item[aria-disabled=true]:hover{background:transparent}.gemboss-editor-menu-why{display:block;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-editor-menu-icon{display:inline-flex;flex:none;width:16px;height:16px;color:var(--gemboss-text-muted)}.gemboss-editor-menu-item.active{color:var(--gemboss-active-fg)}.gemboss-editor-menu-ext{color:var(--gemboss-text-muted)}.gemboss-editor-menu-check{color:var(--gemboss-active-fg);font-weight:600}.gemboss-editor-menu-val{font-size:11px;color:var(--gemboss-text-muted);border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-sm);padding:1px 8px}.gemboss-editor-menu-sep{height:1px;background:var(--gemboss-divider-soft);margin:6px}.gemboss-editor-body{flex:1;min-height:0;display:flex;gap:0;padding:var(--gemboss-editor-inset);box-sizing:border-box}.gemboss-editor-body>.gemboss-ec,.gemboss-editor-body>.gemboss-editor-preview-pane{border:1px solid var(--gemboss-divider);border-radius:16px;overflow:hidden}.gemboss-editor-body>.gemboss-ec{border-right:1px solid var(--gemboss-divider)}.gemboss-ec-tabs{display:flex;gap:var(--ui-space-1);padding:var(--ui-space-2) var(--gemboss-ec-inset, 12px);border-bottom:1px solid var(--gemboss-divider);flex:none;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}.gemboss-ec-tabs>[role=tab]{flex:1 1 0;min-width:max-content;white-space:nowrap;font:inherit;font-size:13px;font-weight:600;line-height:16px;cursor:pointer;box-sizing:border-box;min-height:32px;padding:0 var(--ui-space-3);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;background:transparent;color:var(--gemboss-text-muted);box-shadow:none}.gemboss-ec-tabs>[role=tab]:hover:not([aria-selected=true]){color:var(--gemboss-text);background:var(--gemboss-primary-soft)}.gemboss-ei-tab:not(.on):hover{color:var(--gemboss-text);background:var(--gemboss-divider)}.gemboss-ec-tabs>[role=tab]:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:-2px}.gemboss-ec-tabs>[role=tab][aria-selected=true]{border-color:var(--gemboss-divider);background:var(--gemboss-surface);color:var(--gemboss-text);box-shadow:inset 0 -2px 0 var(--gemboss-primary)}@media (max-width:47.9975em){.gemboss-ec-tabs>[role=tab]{min-height:44px}}.gemboss-pv{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--gemboss-preview-canvas);overflow:hidden}.ui-seg.gemboss-pv-devices>button.gemboss-pv-device{width:calc(var(--ui-btn-h) - 2px);height:calc(var(--ui-btn-h) - 2px);border:0;border-radius:0}@media (pointer: coarse),(max-width:47.9975em){.ui-seg.gemboss-pv-devices>button.gemboss-pv-device{width:44px;height:44px}}.gemboss-pv-device{border:1px solid var(--gemboss-divider);background:var(--gemboss-surface);cursor:pointer;width:28px;height:28px;border-radius:8px;color:var(--gemboss-text-muted);font-size:14px;display:inline-flex;align-items:center;justify-content:center;line-height:1;transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease,background var(--gemboss-transition-fast) ease}.gemboss-pv-device svg{display:block}.gemboss-editor-tb-tools{display:flex;align-items:center;gap:16px;min-width:0}@media (max-width: 1200px){.gemboss-editor-tb-tools{display:none}}.gemboss-pv-device:hover{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-pv-device:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-pv-device.active{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg);background:var(--gemboss-active-bg)}.gemboss-pagepicker{position:relative;display:inline-flex}.gemboss-pagepicker>.gemboss-pagepicker-trigger{width:auto;max-width:220px;font-size:13px;font-weight:600}.gemboss-pagepicker-trigger .gemboss-ei-pickbtn-pic{color:var(--gemboss-text-muted)}.gemboss-pagepicker-trigger .gemboss-ei-pickbtn-pic svg{width:18px;height:18px}.gemboss-pagepicker-note{margin:0;padding:8px 12px 12px;font-size:12px;line-height:1.5;color:var(--gemboss-text-muted);border-bottom:1px solid var(--gemboss-divider)}.gemboss-pagepicker-note-link{color:var(--gemboss-primary);font-weight:600;text-decoration:none}.gemboss-pagepicker-note-link:hover{text-decoration:underline}.gemboss-pv-stage{flex:1;min-height:0;overflow:hidden;display:flex;justify-content:center;padding:0}.gemboss-pv-frame{background:var(--gemboss-surface);overflow:hidden;height:100%;position:relative}.gemboss-pv-frame.desktop{width:100%;max-width:none}.gemboss-pv-frame.gemboss-pv-fit.desktop{position:absolute;top:0;left:0;width:var(--gemboss-pv-w, 100%);height:var(--gemboss-pv-h, 100%);transform:scale(calc(var(--gemboss-pv-scale, 1) * var(--gemboss-pv-user-zoom, 1)));transform-origin:top left}.gemboss-pv-frame.mobile{box-sizing:border-box;width:392px;flex:0 0 392px;align-self:center;margin:16px 0;border:1px solid var(--gemboss-divider);border-radius:20px;box-shadow:var(--gemboss-shadow-overlay)}.gemboss-pv-frame.tablet{box-sizing:border-box;width:770px;flex:0 0 770px;align-self:center;margin:16px 0;border:1px solid var(--gemboss-divider);border-radius:16px;box-shadow:var(--gemboss-shadow-overlay)}.gemboss-pv-iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:var(--gemboss-surface);transition:opacity .18s ease}.gemboss-pv-empty{margin:auto;text-align:center;max-width:340px;display:flex;flex-direction:column;align-items:center;gap:8px}.gemboss-pv-empty-art{font-size:40px;line-height:1;opacity:.7}.gemboss-pv-empty-title{font-family:var(--gemboss-serif);font-size:18px;margin:0}.gemboss-pv-empty-sub{font-size:13px;color:var(--gemboss-text-muted);margin:0;line-height:1.5}.gemboss-pv-empty-cta{margin-top:6px;font-size:13px;font-weight:600;color:var(--gemboss-active-fg);text-decoration:none}.gemboss-pv-empty-cta:hover{text-decoration:underline}.gemboss-pv-spin{width:22px;height:22px;border:2px solid var(--gemboss-divider-soft);border-top-color:var(--gemboss-primary);border-radius:50%;animation:gemboss-spin .7s linear infinite}.gemboss-editor-resizer{flex:0 0 var(--gemboss-editor-inset);align-self:stretch}body.ui-resizing .gemboss-pv-iframe{pointer-events:none}.gemboss-editor-chat-toggle{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gemboss-divider);background:var(--gemboss-surface);border-radius:var(--gemboss-radius-md);cursor:pointer;font-size:14px;line-height:1;color:var(--gemboss-text-muted);transition:border-color var(--gemboss-transition-fast) ease,color var(--gemboss-transition-fast) ease}.gemboss-editor-chat-toggle:hover{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-chat-toggle:focus-visible{outline:2px solid var(--ui-focus, currentColor);outline-offset:2px}.gemboss-editor-chat-toggle.collapsed{border-color:var(--gemboss-primary);color:var(--gemboss-active-fg)}.gemboss-editor-chat-toggle svg{display:block}.gemboss-editor-body .gemboss-ec{transition:flex-basis .28s cubic-bezier(.16,1,.3,1),width .28s cubic-bezier(.16,1,.3,1)}body.ui-resizing .gemboss-editor-body .gemboss-ec{transition:none;will-change:flex-basis,width}body.ui-resizing .gemboss-editor-body .gemboss-pv{will-change:flex-basis}.gemboss-editor-body.is-chat-collapsed .gemboss-ec{border-width:0;overflow:hidden}.gemboss-editor-body.is-chat-collapsed>.gemboss-ec{visibility:hidden}.gemboss-editor-body.is-chat-collapsed .gemboss-editor-resizer{display:none}@media (max-width: 1000px){.gemboss-editor-body{flex-direction:column;gap:var(--gemboss-editor-inset)}}@media (max-width: 1000px){.gemboss-editor-resizer{display:none}.gemboss-editor-body.is-chat-collapsed .gemboss-ec{max-height:0;min-height:0}.gemboss-editor-topbar{height:auto;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"left right" "center center";gap:8px 12px;padding:8px 12px}.gemboss-editor-tb-left{grid-area:left}.gemboss-editor-tb-right{padding-block:6px;grid-area:right;min-width:0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.gemboss-editor-tb-center{grid-area:center;justify-self:stretch;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.gemboss-editor-tb-right::-webkit-scrollbar,.gemboss-editor-tb-center::-webkit-scrollbar{display:none}.gemboss-editor-tb-right>*{flex:0 0 auto}.gemboss-editor-tb-right>.gemboss-editor-tb-publish{position:sticky;right:0;z-index:1;box-shadow:-8px 0 8px -6px color-mix(in srgb,var(--gemboss-text) 18%,transparent)}.gemboss-editor-tb-name{display:none}.gemboss-editor-tb-ghost{padding:6px 12px;font-size:12px}.gemboss-editor-tb-publish{padding:8px 16px;font-size:13px}}@media (max-width: 640px){.gemboss-pv-frame.mobile{width:100%;max-width:392px;flex:0 1 auto;margin:8px 0}.gemboss-pv-frame.tablet{width:100%;max-width:770px;flex:0 1 auto;margin:8px 0}}.gemboss-editor-preview-pane{display:flex}.gemboss-editor-mobile-tabs{display:none}.gemboss-editor-dock{position:absolute;top:0;right:0;bottom:0;width:320px;max-width:90%;z-index:5;overflow-y:auto;background:var(--gemboss-surface);border-left:1px solid var(--gemboss-divider);box-shadow:var(--gemboss-shadow-overlay)}.gemboss-editor-preview-pane:has(>.gemboss-editor-dock){position:relative}:where(.gemboss-editor-body>.gemboss-ec){position:relative;width:var(--gemboss-chat-w, 384px);flex:0 0 var(--gemboss-chat-w, 384px);display:flex;flex-direction:column;background:var(--gemboss-panel-bg);border-right:1px solid var(--gemboss-divider);overflow:hidden}:where(.gemboss-editor-preview-pane){flex:1;min-width:0}@media (max-width: 1000px){:where(.gemboss-editor-body>.gemboss-ec){width:auto;flex:0 0 auto;max-height:48%}}@media (max-width: 760px){.gemboss-editor-resizer{display:none}.gemboss-editor-body .gemboss-ec{flex:1 1 auto;width:100%;min-width:0;max-height:none;border-right:none}.gemboss-editor-body .gemboss-editor-preview-pane{flex:1 1 auto}.gemboss-editor-body[data-mobile-pane=chat] .gemboss-editor-preview-pane,.gemboss-editor-body[data-mobile-pane=preview] .gemboss-ec{display:none}.gemboss-editor-mobile-tabs{display:flex;flex:0 0 auto;gap:6px;padding:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom));background:var(--gemboss-surface);border-top:1px solid var(--gemboss-divider)}.gemboss-editor-mobile-tab{flex:1 1 0;height:44px;border:0;border-radius:8px;background:transparent;color:var(--gemboss-text-muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.gemboss-editor-mobile-tab.active{background:var(--gemboss-active-bg);color:var(--gemboss-active-fg)}}.gemboss-editor-statusbar{position:absolute;top:60px;right:14px;z-index:480;max-width:min(380px,calc(100vw - 28px));padding:8px 16px;font-size:12px;line-height:1.4;color:var(--gemboss-text-muted);background:var(--gemboss-surface);border:1px solid var(--gemboss-divider);border-radius:12px;box-shadow:var(--gemboss-shadow-raised);pointer-events:none;animation:gemboss-statusbar-in .18s cubic-bezier(.16,1,.3,1) both}.gemboss-editor-statusbar.done{background:#eaf6ef;color:#1f7a4d;border-color:var(--gemboss-success-border)}.gemboss-editor-statusbar.error{background:#fdecea;color:var(--gemboss-danger);border-color:#f3c2bb}@media (pointer: coarse),(max-width:47.9975em){.gemboss-pv-device{width:44px;height:44px;font-size:16px}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-back{width:44px;height:44px;font-size:20px}.gemboss-editor-chat-toggle{width:44px;height:44px;font-size:16px}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-editor-tb-ghost{padding:8px 16px;min-height:44px}.gemboss-editor-tb-publish{padding:12px 20px;min-height:44px}.gemboss-pagepicker-trigger{min-height:44px}}@media (pointer: coarse){.gemboss-ec-tab{min-height:44px}}@media (max-width: 760px){.gemboss-editor-chat-toggle{display:none}}.gemboss-pageedit{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--gemboss-panel-bg,#ffffff);z-index:320}.gemboss-pageedit-top{background:#fff;border-bottom:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-pageedit .gemboss-editor-tb-center{display:flex;align-items:center;gap:12px;justify-content:center}.gemboss-pageedit .gemboss-editor-tb-right{display:flex;align-items:center;gap:12px;min-width:0}.gemboss-pageedit .gemboss-editor-tb-right>:first-child{margin-inline-start:auto}.gemboss-pageedit .gemboss-editor-tb-left{--gemboss-tb-gap:12px;display:flex;align-items:center;gap:var(--gemboss-tb-gap);min-width:0}.gemboss-pageedit-title{font-family:var(--gemboss-serif,inherit);font-size:15px;font-weight:600;color:var(--gemboss-text,#1b1c1e);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32ch}.gemboss-pageedit-notice{display:flex;flex-wrap:wrap;align-items:center;gap:12px;flex:0 0 auto;padding:12px 16px;background:var(--gemboss-surface);border-bottom:1px solid var(--gemboss-divider);color:var(--gemboss-text);font-size:13px;line-height:1.5}.gemboss-pageedit-notice span{flex:1 1 240px;min-width:0}.gemboss-pageedit-notice button{min-height:44px;padding:8px 12px;flex:0 0 auto;border:1px solid var(--gemboss-divider);border-radius:8px;background:var(--gemboss-surface);color:var(--gemboss-text);cursor:pointer}@media (max-width:900px){.gemboss-pageedit-top{height:auto;grid-template-columns:minmax(0,1fr);grid-template-areas:"left" "right" "center";gap:8px;padding:8px 12px}.gemboss-pageedit-top .gemboss-editor-tb-right{flex-wrap:wrap;overflow:visible}.gemboss-pageedit-top .gemboss-editor-tb-right button{min-height:44px}.gemboss-pageedit .gemboss-editor-tb-left{width:100%;overflow:hidden;flex-wrap:wrap}.gemboss-pageedit .gemboss-editor-tb-right,.gemboss-pageedit .gemboss-editor-tb-center{justify-self:stretch;justify-content:flex-start;max-width:100%;overflow-x:auto}.gemboss-pageedit-top .gemboss-editor-tb-center{flex-wrap:wrap;row-gap:8px;overflow:visible}}.gemboss-sec-type{font-size:11px;font-weight:700;letter-spacing:.02em;padding:2px 8px;border-radius:12px;background:#f1efe9;color:var(--gemboss-text-muted);text-transform:capitalize}.gemboss-sec-insert-wrap{position:relative}.gemboss-sec-insert-menu{position:absolute;top:42px;right:0;width:280px;max-height:60vh;overflow-y:auto;padding:6px;z-index:80}.gemboss-sec-insert-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:0;background:transparent;border-radius:8px;cursor:pointer;text-align:left;font-size:13px;color:var(--gemboss-text,#1b1c1e);transition:background .12s ease,color .12s ease}.gemboss-sec-insert-item:hover{background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-sec-insert-item:focus-visible{outline:2px solid var(--ui-focus,currentColor);outline-offset:-2px;background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-sec-insert-item:disabled{opacity:.6;cursor:default}.gemboss-sec-insert-item:disabled:hover{background:transparent}.gemboss-sec-insert-cat{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);text-transform:capitalize}.gemboss-sec-insert-empty{display:block;padding:16px;font-size:13px;color:var(--gemboss-text-muted,#686b71);text-decoration:none}.gemboss-pageedit-scope{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}@media (max-width:1200px){.gemboss-pageedit-scope{display:none}}.gemboss-pageedit-pv{flex:1;min-width:0;background:var(--gemboss-preview-canvas);display:flex;justify-content:center;overflow:auto;position:relative}.gemboss-pageedit-pv .gemboss-pv-frame iframe{width:100%;height:100%;border:0;background:#fff;display:block}.gemboss-pageedit-chip{display:flex;align-items:center;gap:8px;margin:0 12px 8px;padding:6px 12px;border-radius:8px;background:var(--gemboss-active-bg);border:1px solid var(--gemboss-divider);font-size:12px;color:var(--gemboss-active-fg)}.gemboss-pageedit-chip button{flex:none;margin-left:auto;border:0;background:transparent;color:var(--gemboss-active-fg);cursor:pointer;font-size:12px}.gemboss-pageedit-standing{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;background:#b07d1817;border-bottom:1px solid rgba(176,125,24,.28);font-size:13px;line-height:1.5;color:#7a5710}.gemboss-pageedit-standing code{font-size:12px;background:#b07d1824;border-radius:4px;padding:2px 4px}.gemboss-pageedit-standing button{margin-left:auto;flex:0 0 auto;border:1px solid rgba(176,125,24,.4);background:#fff;color:#7a5710;border-radius:8px;padding:4px 12px;font:inherit;font-weight:600;cursor:pointer}.gemboss-pageedit-standing button:disabled{opacity:.6;cursor:default}.gemboss-picker-backdrop{position:fixed;inset:0;background:#1f1e1d38;z-index:70}.gemboss-picker-head{flex:0 0 auto;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--gemboss-divider,#e5e7ea);font-weight:600;font-size:15px}.gemboss-picker-head button{border:0;background:transparent;font-size:15px;cursor:pointer;color:var(--gemboss-text-muted,#686b71)}.gemboss-picker-empty{padding:20px;text-align:center;color:var(--gemboss-text-muted,#686b71);font-size:13px}.gemboss-layers{position:fixed;top:0;left:0;bottom:0;width:300px;background:#fff;border-right:1px solid var(--gemboss-divider,#e5e7ea);box-shadow:8px 0 30px #1f1e1d1f;z-index:71;display:flex;flex-direction:column}.gemboss-layers-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px;display:flex;flex-direction:column;gap:4px}.gemboss-layer{display:flex;align-items:center;gap:4px;border:1px solid transparent;border-radius:8px;padding:0 4px 0 6px}.gemboss-layer:hover{background:var(--gemboss-hover,rgba(0,0,0,.04))}.gemboss-layer.is-sel{border-color:var(--gemboss-primary, #1b1c1e);background:var(--gemboss-active-bg)}.gemboss-layer-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:transparent;border:0;cursor:pointer;text-align:left;padding:8px 4px}.gemboss-layer-type{font-size:13px;font-weight:600;color:var(--gemboss-text,#1b1c1e)}.gemboss-layer-type,.gemboss-pageedit-chip>span{overflow-wrap:anywhere}.gemboss-layer-head{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted,#686b71);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:195px}.gemboss-layer-acts{display:flex;gap:0;flex:0 0 auto}.gemboss-layer-acts button{width:26px;height:26px;border:0;background:transparent;border-radius:6px;cursor:pointer;color:var(--gemboss-text-muted,#686b71);font-size:13px;line-height:1}.gemboss-layer-acts button:hover:not(:disabled){background:var(--gemboss-hover,rgba(0,0,0,.07))}.gemboss-layer-acts button:disabled{opacity:.28;cursor:default}.gemboss-layer-del:hover:not(:disabled){color:#c0392b}@media (pointer: coarse){.gemboss-layer{flex-wrap:wrap}.gemboss-layer-acts{margin-left:auto}.gemboss-layer-acts button{width:44px;height:44px;font-size:15px}.gemboss-layer-main{flex:1 1 140px;min-height:44px;justify-content:center}.gemboss-layer-head{max-width:100%}}.gemboss-layer-grip{flex:0 0 auto;width:12px;margin-right:-2px;color:var(--gemboss-text-muted,#686b71);font-size:11px;letter-spacing:-2px;line-height:1;text-align:center;cursor:grab;user-select:none}.gemboss-layer[draggable=true]{cursor:grab}.gemboss-layer.is-dragging{opacity:.4}.gemboss-layer[data-drop=before]{box-shadow:0 -2px 0 var(--gemboss-primary, #1b1c1e)}.gemboss-layer[data-drop=after]{box-shadow:0 2px 0 var(--gemboss-primary, #1b1c1e)}.gemboss-layer.is-hidden .gemboss-layer-main{opacity:.5}.gemboss-layer-acts .gemboss-layer-eye{display:inline-grid;place-items:center}.gemboss-layer-acts .gemboss-layer-eye[aria-pressed=true]{color:var(--gemboss-text,#1b1c1e)}.gemboss-layers[hidden],.gemboss-settings[hidden],.gemboss-picker-backdrop[hidden]{display:none}.gemboss-settings{position:fixed;top:0;right:0;bottom:0;width:min(380px,100%);box-sizing:border-box;background:#fff;border-left:1px solid var(--gemboss-divider,#e5e7ea);box-shadow:-8px 0 30px #1f1e1d1f;z-index:71;display:flex;flex-direction:column}.gemboss-settings-body{flex:1;min-height:0;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.gemboss-settings-grouphead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:16px;border-top:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-settings-grouphead>span{font-size:var(--gemboss-fs-caption);font-weight:700;color:var(--gemboss-text,#1b1c1e)}.gemboss-settings-gen{border:1px solid var(--gemboss-divider,#e5e7ea);background:var(--gemboss-surface,#fff);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;font-family:inherit;color:var(--gemboss-text,#1b1c1e);cursor:pointer;white-space:nowrap}.gemboss-settings-gen:hover:not(:disabled){background:var(--gemboss-hover,#eceef2)}.gemboss-settings-gen:disabled{opacity:.55;cursor:default}.gemboss-settings-note{margin:0 0 4px;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);line-height:1.5}.gemboss-settings-error{margin:0 0 8px;padding:8px 12px;border-radius:8px;font-size:var(--gemboss-fs-caption);line-height:1.45;color:#8a1c1c;background:#fdecec;border:1px solid #f5c2c2}textarea.gemboss-ei-inp.gemboss-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5}.gemboss-ei-prefix{flex:none;white-space:nowrap;color:var(--gemboss-text-muted,#686b71)}.gemboss-ei-pickbtn{display:flex;align-items:center;gap:8px;width:100%;text-align:left;cursor:pointer}.gemboss-ei-pickbtn[aria-expanded=true]{border-color:var(--gemboss-field-line-active)}.gemboss-ei-pickbtn-pic{display:inline-flex;flex:none;min-width:20px;height:20px;align-items:center;justify-content:center}.gemboss-ei-pickbtn-pic :is(svg,img){width:20px;height:20px}.gemboss-ei-pickbtn-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-pickbtn-chev{flex:none;color:var(--gemboss-text-muted,#686b71)}.gemboss-settings-foot{flex:0 0 auto;display:flex;justify-content:flex-end;gap:12px;padding:12px 20px;border-top:1px solid var(--gemboss-divider,#e5e7ea)}.gemboss-settings-cancel{background:transparent;border:1px solid var(--gemboss-divider,#e5e7ea);border-radius:8px;font-size:13px;font-weight:600;padding:8px 16px;cursor:pointer;color:var(--gemboss-text,#1b1c1e)}.gemboss-settings-save{background:var(--gemboss-primary, #1b1c1e);color:#fff;border:0;border-radius:8px;font-size:13px;font-weight:700;padding:8px 20px;cursor:pointer}.gemboss-settings-save:disabled{opacity:.6;cursor:default}.gemboss-pageedit .gemboss-pv-device{flex-shrink:0}@media (pointer: coarse),(max-width:47.9975em){.gemboss-pageedit .gemboss-ec-dock-body :is(button:where(:not(.gemboss-ei-help)),input,select){min-height:44px}}.gemboss-bundle-look .gemboss-ei-body :is(button:where(:not(.gemboss-ei-help)),input){min-height:44px}.gemboss-bundle-look .gemboss-ei-body input[type=color]{min-width:44px}.gemboss-page-draft-status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:8px 12px;border-radius:8px;background:var(--gemboss-surface,#fff);color:var(--gemboss-text,#1b1c1e);font-size:12px;line-height:1.5;box-shadow:0 1px 6px #0001}.gemboss-page-draft-status button{min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--gemboss-divider);border-radius:6px;background:var(--gemboss-surface,#fff);cursor:pointer}.gemboss-page-draft-status button:hover{background:var(--gemboss-hover,#eceef2)}.gemboss-page-draft-status button:focus-visible{outline:2px solid var(--ui-focus,currentColor);outline-offset:2px}.gemboss-page-draft-status[data-page-preview-state=ready]{pointer-events:none}.gemboss-pageedit .gemboss-pageedit-pv{flex-direction:column;min-height:0;justify-content:flex-start}.gemboss-page-draft-stage{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;justify-content:center}@media (max-width:1000px){.gemboss-pageedit .gemboss-editor-body>.gemboss-ec{flex:0 0 auto;height:44%;min-height:min(520px,76%);max-height:76%}}.gemboss-ei{position:absolute;top:12px;right:12px;z-index:6;width:320px;max-width:calc(100% - 24px);display:flex;flex-direction:column;max-height:calc(100% - 24px);background:var(--gemboss-surface);border:1px solid var(--gemboss-divider);border-radius:var(--gemboss-radius-xl);box-shadow:var(--gemboss-shadow-overlay);overflow:hidden}.gemboss-ei--docked{position:static;top:auto;right:auto;width:100%;max-width:none;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent;flex:1;min-height:0}.gemboss-ei-head{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--gemboss-divider)}.gemboss-ec>.gemboss-ei-head{padding-inline:var(--gemboss-ec-inset,12px)}.gemboss-ec .gemboss-ei--docked .gemboss-ei-head{padding-inline:var(--gemboss-ec-inset,12px)}.gemboss-ec .gemboss-ei--docked .gemboss-ei-tabs{margin-inline:var(--gemboss-ec-inset,12px)}:is(.gemboss-settings-body,.gemboss-ec-dock-body) .gemboss-ei-tabs{margin-inline:0}.gemboss-ec .gemboss-ei--docked .gemboss-ei-pane{padding-inline:var(--gemboss-ec-inset,16px)}.gemboss-ei-title{font-size:var(--gemboss-fs-body);font-weight:700;line-height:1.2;min-width:0;overflow:hidden;overflow-wrap:break-word}.gemboss-ei-title small{display:block;font-weight:500;font-size:11px;color:var(--gemboss-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gemboss-ei-act,.gemboss-ei-x{margin-left:auto;width:26px;height:26px;flex:none;border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);border-radius:6px;display:grid;place-items:center;font-size:14px}.gemboss-ei-x{margin-left:2px;font-size:13px}.gemboss-ei-act:hover,.gemboss-ei-x:hover{background:var(--gemboss-hover);color:var(--gemboss-text)}.gemboss-ei-act:disabled{opacity:.5;cursor:default}.gemboss-ei-tabs{display:flex;gap:2px;margin:8px 12px 0;background:var(--gemboss-active-bg);padding:4px;border-radius:8px}.gemboss-ei-tab{flex:1;border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);font-weight:550;font-size:13px;line-height:20px;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px}.gemboss-ei-tab.on{background:var(--gemboss-surface);color:var(--gemboss-text);box-shadow:var(--gemboss-shadow-resting)}.gemboss-ei-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:2px 0 4px}.gemboss-ei-body::-webkit-scrollbar{width:9px}.gemboss-ei-body::-webkit-scrollbar-thumb{background:#1f1e1d33;border-radius:6px;border:2px solid var(--gemboss-surface);background-clip:content-box}.gemboss-ei-pane{padding:4px 16px 6px}.gemboss-ei-note{margin:0 0 8px;padding:8px 12px;border-radius:8px;background:var(--gemboss-hover,#eceef2);border:1px solid var(--gemboss-divider,#e5e7ea);color:var(--gemboss-text-muted,#686b71);font-size:12px;line-height:1.45}.gemboss-ec-dock-body,.gemboss-ei,.gemboss-ei-grp,.gemboss-ei-group{--gemboss-ei-gap-part:4px;--gemboss-ei-gap-setting:16px;--gemboss-ei-gap-sub:24px;--gemboss-ei-gap-group:16px;--gemboss-ei-gap-head:8px}.gemboss-ei-grp{border-bottom:1px solid var(--gemboss-divider-soft);padding:var(--gemboss-ei-gap-group) 0}.gemboss-ei-grp:last-child{border-bottom:none}.gemboss-ei-gh{font-size:13px;line-height:20px;color:var(--gemboss-text);font-weight:650;margin-bottom:var(--gemboss-ei-gap-head);display:flex;align-items:center;gap:6px;width:100%;border:0;background:transparent;cursor:pointer;text-align:left;padding:0;-webkit-appearance:none}.gemboss-ei-chev{order:1;flex:none;margin:0 4px 0 auto;width:6px;height:6px;font-size:0;border:solid var(--gemboss-text-muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.gemboss-ei-gh[data-open=closed]>.gemboss-ei-chev{transform:rotate(-45deg)}.gemboss-ei-gh-note{margin-left:6px;font-size:12px;font-weight:450;opacity:.55}.gemboss-ei-gh[data-open=closed]{margin-bottom:0}.gemboss-ei-grp:where(:has(>.gemboss-ei-gh[data-open=closed])){padding:8px 0}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-grp:where(:has(>.gemboss-ei-gh[data-open=closed])){padding:2px 0}.gemboss-ec-dock-body,.gemboss-ei,.gemboss-ei-grp,.gemboss-ei-group{--gemboss-ei-gap-setting:12px;--gemboss-ei-gap-sub:20px;--gemboss-ei-gap-group:12px;--gemboss-ei-gap-head:4px}}.gemboss-ei-grp>.gemboss-ei-gh[data-open=closed]~*{display:none}.gemboss-ei-fld{margin-bottom:var(--gemboss-ei-gap-setting)}.gemboss-ei-fld:last-child{margin-bottom:0}.gemboss-ei-fld:has(+.gemboss-ei-rule){margin-bottom:0}.gemboss-ei-group>.gemboss-ei-hint+button{margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp>:not(.gemboss-ei-gh)+:not(.gemboss-ei-hint){margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp>[data-ei-head]+:not(.gemboss-ei-hint){margin-top:var(--gemboss-ei-gap-head)}.gemboss-ei-grp>:not(.gemboss-ei-gh)+[data-ei-sub]{margin-top:var(--gemboss-ei-gap-sub)}.gemboss-ei-grp>[data-ei-sub=line]+[data-ei-sub=line]{margin-top:var(--gemboss-ei-gap-part)}.gemboss-ei-grp [data-ei-sub]>*+*{margin-top:var(--gemboss-ei-gap-setting)}.gemboss-ei-grp [data-ei-sub]>[data-ei-head]+*{margin-top:var(--gemboss-ei-gap-head)}.gemboss-ei-fld>label:where(:not(.gemboss-field)),.gemboss-ei-lbl{display:block;font-size:13px;font-weight:500;color:var(--gemboss-text);margin-bottom:var(--gemboss-ei-gap-part)}.gemboss-ei-lbl>label{margin:0}.gemboss-ei-help{display:none}:is(.gemboss-ei-grp,.gemboss-ei-group) :is(.gemboss-ei-fld>label:where(:not(.gemboss-field)),.gemboss-ei-lbl){font-weight:450;color:var(--gemboss-text-muted)}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-lbl{display:flex;gap:4px;align-items:start}.gemboss-ei-fld.gemboss-ei-fld--row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:0 8px;align-items:start}.gemboss-ei-fld.gemboss-ei-fld--row>:not(:first-child){grid-column:2}.gemboss-ei-fld.gemboss-ei-fld--row>:first-child{margin:0;padding-top:6px}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-hint{grid-column:1/-1}@media (max-width:22.4975em){.gemboss-ei-fld.gemboss-ei-fld--row:has(>.ui-seg>:nth-child(4)){grid-template-columns:minmax(0,1fr)}.gemboss-ei-fld.gemboss-ei-fld--row:has(>.ui-seg>:nth-child(4))>*{grid-column:1}}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-help{display:block;flex:none;width:16px;height:16px;padding:0;border:0;border-radius:50%;box-shadow:inset 0 0 0 1px;background:none;color:inherit;font:650 10px/16px var(--gemboss-font-sans);cursor:help;position:relative}.gemboss-ei-help:after{content:"";position:absolute;inset:-4px;border-radius:50%}.gemboss-ei-help:is(:hover,[aria-expanded=true]){color:var(--gemboss-text)}:is(.gemboss-ei-grp,.gemboss-ei-group) .gemboss-ei-fld:has(>.gemboss-ei-lbl>.gemboss-ei-help[aria-expanded=false])>.gemboss-ei-help-text{display:none}.gemboss-ei-lbl:has(>.gemboss-ei-lbl-aside){display:flex;align-items:center;gap:4px}.gemboss-ei-lbl-aside{margin-left:auto}.gemboss-ei-inp{width:100%}.gemboss-ei-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.5}select.gemboss-ei-inp{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gemboss-text-muted) 50%),linear-gradient(135deg,var(--gemboss-text-muted) 50%,transparent 50%);background-position:calc(100% - 15px) center,calc(100% - 10px) center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:32px}.gemboss-ei-swatches{display:flex;gap:8px}.gemboss-ei-sw{width:30px;height:30px;border-radius:8px;border:2px solid transparent;cursor:pointer;padding:0;box-shadow:inset 0 0 0 1px #1f1e1d1a}.gemboss-ei-sw.on{border-color:var(--gemboss-text);box-shadow:0 0 0 2px var(--gemboss-surface),0 0 0 3px var(--gemboss-primary)}.gemboss-ei-sw:disabled{cursor:default;opacity:.7}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-tab,.gemboss-ei-gh{min-height:44px}.gemboss-ei-sw{width:44px;height:44px}.gemboss-ei-swatches{flex-wrap:wrap}}@media (pointer: coarse),(max-width:47.9975em){.gemboss-ei-fld :is(input:not([type=checkbox]):not([type=radio]),select,button:not(.gemboss-ei-help)){min-height:44px}.gemboss-ei-fld :is(button:not(.gemboss-ei-help),input[type=color]){min-width:44px}.gemboss-ei-help:after{inset:-14px}}.gemboss-ei-apply{margin-top:2px;background:var(--gemboss-primary);color:#fff;border:0;border-radius:8px;font-size:var(--gemboss-fs-caption);font-weight:700;padding:8px 16px;cursor:pointer}.gemboss-ei-apply:hover{background:var(--gemboss-primary-dark)}.gemboss-ei-apply:disabled{opacity:.6;cursor:default}.gemboss-ei-hint{margin:var(--gemboss-ei-gap-part) 0 0;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-ei-empty{padding:24px 16px;text-align:center;font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.gemboss-ei-foot{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 16px;border-top:1px solid var(--gemboss-divider);font-size:11px;color:var(--gemboss-text-muted)}.gemboss-ei-savedot{width:6px;height:6px;border-radius:50%;background:var(--gemboss-success);box-shadow:0 0 0 3px #2e8b572e}.gemboss-ei-savedot.busy{background:var(--gemboss-primary);box-shadow:0 0 0 3px var(--gemboss-primary-soft)}.gemboss-ei-foot.is-error{color:var(--gemboss-danger)}.gemboss-ei-foot.is-error .gemboss-ei-savedot{background:var(--gemboss-danger);box-shadow:0 0 0 3px #d72c0d29}.gemboss-ei-drag{cursor:grab;user-select:none}.gemboss-ei-drag:active{cursor:grabbing}.gemboss-ei-dragmask{position:fixed;inset:0;z-index:9998;cursor:grabbing}.gemboss-ei-block{border:1px solid var(--gemboss-divider);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--gemboss-panel-bg)}.gemboss-ei-block:last-child{margin-bottom:0}.gemboss-ei-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;font-weight:700;color:var(--gemboss-text)}.gemboss-ei-block-x{border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);width:22px;height:22px;border-radius:6px;font-size:11px;flex:none}.gemboss-ei-block-x:hover{background:var(--gemboss-hover);color:var(--gemboss-danger-strong)}.gemboss-ei-block-x:disabled{opacity:.5;cursor:default}.gemboss-ei-block .gemboss-ei-inp{background:var(--gemboss-surface)}.gemboss-ei-img{display:flex;gap:8px;align-items:flex-start;border-radius:8px}.gemboss-ei-img-thumb{flex:none;width:56px;height:56px;border-radius:8px;border:1px solid var(--gemboss-divider);background:var(--gemboss-panel-bg) center/cover no-repeat;display:grid;place-items:center;color:var(--gemboss-text-muted);font-size:16px}.gemboss-ei-img-ctl{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.gemboss-ei-img-actions{display:flex;flex-wrap:wrap;gap:6px}.gemboss-ei-img-info{display:flex;flex-direction:column;min-width:0}.gemboss-ei-img-name{font-size:13px;line-height:20px;color:var(--gemboss-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-img-meta{font-size:12px;line-height:16px;color:var(--gemboss-text-muted);min-height:16px}.gemboss-ei-img-drop{font-size:13px;line-height:20px;color:var(--gemboss-text-muted)}.gemboss-ei-img[data-over]{outline:2px dashed var(--gemboss-accent);outline-offset:4px}.gemboss-ei-gen{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding:8px;border:1px solid var(--gemboss-divider);border-radius:12px;background:var(--gemboss-panel-bg)}.gemboss-ei-gen .gemboss-ei-apply{align-self:flex-start;display:inline-flex;align-items:center;gap:6px}.gemboss-ei-gen .gemboss-narr-spin{width:11px;height:11px}.gemboss-ei-oos{margin:4px 16px 12px;padding:12px;border:1px solid var(--gemboss-divider);border-left:3px solid var(--gemboss-text-muted);border-radius:8px;background:var(--gemboss-panel-bg)}.gemboss-ei-oos-h{font-size:var(--gemboss-fs-micro);letter-spacing:.1em;text-transform:uppercase;color:var(--gemboss-text-muted);font-weight:700;margin-bottom:8px}.gemboss-ei-oos p{margin:0 0 6px;font-size:12px;color:var(--gemboss-text-muted);line-height:1.45}.gemboss-ei-oos p:last-child{margin-bottom:0}.gemboss-ei-oos b{color:var(--gemboss-text);font-weight:600}.gemboss-ei-edgebox{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px}.gemboss-ei-value{display:grid;gap:8px}.gemboss-ei-value-row{display:flex;align-items:center;gap:12px}.gemboss-ei-value--words>.ui-seg.ui-seg--fill>.is-text{flex:1 1 auto;padding:0 8px}@media (max-width:47.9975em){.gemboss-ei-value--words>.ui-seg.ui-seg--fill>.is-text{min-width:44px}}.gemboss-ei-value-box{flex:0 0 7em}.gemboss-ei-value-box input{text-align:right;font-variant-numeric:tabular-nums}.gemboss-ei-value-row .gemboss-ei-range{flex:1 1 auto;min-width:0}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value{display:contents}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value>.gemboss-ei-value-row{grid-column:2}.gemboss-ei-fld.gemboss-ei-fld--row>.gemboss-ei-value>:not(.gemboss-ei-value-row){grid-column:1/-1;margin-top:var(--gemboss-ei-gap-part)}.gemboss-ei-edge{display:flex;flex-direction:column;align-items:center;gap:4px}.gemboss-ei-edge input{width:100%;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}.gemboss-ei-edge span{font-size:var(--gemboss-fs-micro);letter-spacing:.06em;color:var(--gemboss-text-muted);font-weight:700}.gemboss-ei-edge-scrub{align-self:stretch;min-height:24px;margin-top:4px;display:flex;align-items:center;justify-content:center;border-radius:var(--gemboss-radius-sm);cursor:ew-resize;user-select:none;touch-action:pan-y}@media (hover: hover){.gemboss-ei-edge-scrub:not([aria-disabled]):hover{background:var(--gemboss-hover);color:var(--gemboss-text)}}.gemboss-ei-edge-scrub[aria-disabled]{cursor:default}.gemboss-ec-dock-body{flex:1;min-height:0;overflow-y:auto;padding:var(--gemboss-ec-inset,12px)}.gemboss-ei-group{padding:var(--gemboss-ei-gap-group) 0}.gemboss-ei-group+.gemboss-ei-group{border-top:1px solid var(--gemboss-divider)}.gemboss-ei-grouphead{margin:0 0 12px;font-size:var(--gemboss-fs-micro,11px);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gemboss-text-muted)}.gemboss-ei-color{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.gemboss-ei-color-why{display:block;flex:1 0 100%;margin:-4px 0 0;font-size:12px;line-height:16px;color:var(--gemboss-text-muted)}.gemboss-ei-color .gemboss-ei-inp{flex:1;min-width:0}.gemboss-ei-swatch{flex:none;width:32px;height:32px;padding:0;border:1px solid var(--gemboss-divider);border-radius:8px;background:var(--gemboss-surface);cursor:pointer}.gemboss-ei-swatch::-webkit-color-swatch-wrapper{padding:2px}.gemboss-ei-swatch::-webkit-color-swatch{border:none;border-radius:6px}.gemboss-ei-swatch[data-empty]::-webkit-color-swatch{background-image:linear-gradient(to top right,#0000 46%,var(--gemboss-text-muted,#686b71) 46% 54%,#0000 54%)}.gemboss-ei-swatch:disabled{cursor:default;opacity:.7}:is(.gemboss-ei-fld,.gemboss-ei-lbl)>label>.gemboss-ei-rangeval{float:right;font-weight:700;color:var(--gemboss-text);font-variant-numeric:tabular-nums}.gemboss-ei-range{width:100%;margin-inline:0;accent-color:var(--gemboss-primary);cursor:pointer}.gemboss-ei-range:disabled{cursor:default;opacity:.7}@media (max-width:760px){.gemboss-ei{position:static;width:auto;max-width:none;max-height:none;margin:8px;box-shadow:var(--gemboss-shadow-raised)}}.gemboss-ei-tree{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}.gemboss-ei-tnode{display:flex;align-items:center;gap:4px;flex-wrap:wrap;border-radius:6px;padding-right:4px}.gemboss-ei-tnode:hover{background:var(--gemboss-surface)}.gemboss-ei-tnode.on{background:var(--gemboss-primary-soft,var(--gemboss-surface));box-shadow:inset 2px 0 0 var(--gemboss-primary)}.gemboss-ei-tname{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;border:0;background:transparent;cursor:pointer;text-align:left;padding:6px 2px;color:var(--gemboss-text);font-size:12px;font-weight:600}.gemboss-ei-tname small{font-weight:400;font-size:10px;color:var(--gemboss-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gemboss-ei-tacts{flex:none;display:flex;gap:1px;opacity:0;transition:opacity .12s}.gemboss-ei-tnode:hover .gemboss-ei-tacts,.gemboss-ei-tnode.on .gemboss-ei-tacts,.gemboss-ei-tacts:focus-within{opacity:1}.gemboss-ei-tacts button{border:0;background:transparent;cursor:pointer;color:var(--gemboss-text-muted);font-size:11px;line-height:1;padding:4px 6px;border-radius:6px}.gemboss-ei-tacts button:hover:not(:disabled){background:var(--gemboss-surface);color:var(--gemboss-text)}.gemboss-ei-tacts button:disabled{opacity:.3;cursor:default}.gemboss-ei-tadd{flex-basis:100%;padding:4px 2px 6px}.gemboss-editor-topbar--guest{grid-template-columns:1fr auto 1fr}.gemboss-guest-mark{flex:0 0 auto;display:block}.gemboss-guest-brand{font-weight:700;letter-spacing:-.02em;font-size:15px;margin-left:8px}.gemboss-guest-note{font-size:var(--gemboss-fs-caption);color:var(--gemboss-text-muted);border:1px solid var(--gemboss-divider-soft);border-radius:999px;padding:4px 12px;white-space:nowrap}.gemboss-editor-topbar--guest .gemboss-editor-tb-right{display:flex;align-items:center;gap:16px;justify-content:flex-end}.gemboss-guest-signin{font-size:var(--gemboss-fs-body);font-weight:600;color:var(--gemboss-text-muted);text-decoration:none}.gemboss-guest-signin:hover{color:var(--gemboss-text)}.gemboss-guest-keep{border:0;border-radius:999px;background:var(--gemboss-primary);color:var(--gemboss-on-primary);cursor:pointer;font:inherit;font-size:var(--gemboss-fs-caption);font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:8px 20px;white-space:nowrap}.gemboss-guest-keep:hover{background:var(--gemboss-primary-dark)}@media (max-width: 720px){.gemboss-guest-note{display:none}}@media (max-width: 1000px){.gemboss-editor-topbar--guest{grid-template-columns:auto minmax(0,1fr)}}@media (max-width: 460px){.gemboss-guest-brand{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.gemboss-editor-topbar--guest .gemboss-editor-tb-right{gap:8px}.gemboss-editor-topbar--guest .gemboss-guest-keep{padding-inline:12px}}@media (max-width: 400px){.gemboss-editor-topbar--guest{padding-inline:8px;column-gap:8px}}
|