@yuanhhou/ds 0.0.0-stage → 0.3.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Yuan Hou
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,47 @@
1
- # Temporary Holding Version
1
+ # web
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ React + TypeScript + Vite implementation of the design system, published on npm as `@yuanhhou/ds`. See the [root README](../README.md) for the whole project.
4
+
5
+ ```bash
6
+ npm install
7
+ npm run dev # demo catalog at http://localhost:5173 (one page per foundation and component)
8
+ npm run build # type-check and build the demo
9
+ npm run build:lib # build the package into lib/ (index.js, style.css, types)
10
+ npm run lint # oxlint
11
+ ```
12
+
13
+ Components are in `src/components/`, tokens in `src/styles/` (`primitives.css`, `tokens.css`, and `colors.css`, which is generated from `../tokens/colors.json`), English and Japanese strings for the demo in `src/i18n/`.
14
+
15
+ ## Using the package in an app
16
+ ```bash
17
+ npm install @yuanhhou/ds
18
+ ```
19
+ ```tsx
20
+ import { applyTheme, Button } from '@yuanhhou/ds'
21
+ import '@yuanhhou/ds/style.css'
22
+
23
+ applyTheme() // once when the app starts; or applyTheme('eva'), applyTheme('heritage-luxury')
24
+
25
+ <Button variant="primary">Save</Button>
26
+ ```
27
+ `applyTheme` sets the brand and follows the device's Light or Dark setting, like `.dsTheme(_:)` on iOS. To force one mode, set `data-theme` on `<html>` instead: `light`, `dark`, `eva-light`, `eva-dark`, `heritage-luxury-light`, `heritage-luxury-dark`.
28
+
29
+ React 19 is a peer dependency. `style.css` loads Figtree and Material Symbols Rounded from Google Fonts, so there is nothing to add to the page.
30
+
31
+ ### Trying kit changes before they are published
32
+ Install a packed file: `npm pack` in `web/` builds `lib/` and writes `yuanhhou-ds-<version>.tgz`, then run `npm install path/to/that.tgz` in the app. Or run `npm run build:lib` and then `npm install --install-links ../path/to/web`, which copies the package. Repeat either after each kit change.
33
+
34
+ **Do not install the folder with a plain `npm install ../path/to/web`.** That links to `web/`, which has its own copy of React. A production build then holds two Reacts, and every component that uses hooks (Input, Toggle, Accordion, Checkbox, Radio and the groups) crashes to a blank page, although `npm run dev` looks fine. If a linked folder is unavoidable, add `resolve: { dedupe: ['react', 'react-dom'] }` to the app's `vite.config.ts`.
35
+
36
+ ### Tokens in your own CSS
37
+ Use the same variables as the components. Never hardcode a color, and follow the pairing table in [design-system-rules.md](../design-system-rules.md).
38
+
39
+ | What | Use |
40
+ |---|---|
41
+ | Color | `--color-<role>-<name>`, named like the Figma variable: `color/background/primary` is `--color-background-primary` |
42
+ | Spacing | `--spacing-2xs`, `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl` (2 to 48) |
43
+ | Semantic space | `--space-inset-compact`, `default`, `comfortable`; `--space-gap-tight`, `inline`, `stack`, `section`; `--space-page-mobile`, `desktop` |
44
+ | Radius, size, border | `--radius-*`, `--size-icon-*`, `--size-control-*`, `--border-width-*` in `src/styles/tokens.css` |
45
+ | Text | `h1`, `h2`, `h3` and `p` are styled for you. Other elements take a class: `text-body-1`, `text-body-2`, `text-button-1`, `text-button-2`, `text-caption-1`, `text-caption-2`, `text-headline`, `text-large-title`, `text-title-1`, `text-title-2`, `text-title-3`, plus `text-emphasized` |
46
+
47
+ English and Japanese are up to the app: the package has no text of its own to translate on web, and `src/i18n/` belongs to the demo.
package/lib/index.js ADDED
@@ -0,0 +1,386 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { useEffect as n, useId as r, useRef as i, useState as a } from "react";
3
+ // src/components/theme.ts
4
+ var o;
5
+ function s(e = "default") {
6
+ o?.();
7
+ let t = window.matchMedia("(prefers-color-scheme: dark)"), n = () => {
8
+ let n = t.matches ? "dark" : "light";
9
+ document.documentElement.dataset.theme = e === "default" ? n : `${e}-${n}`;
10
+ };
11
+ n(), t.addEventListener("change", n);
12
+ let r = () => {
13
+ t.removeEventListener("change", n), o === r && (o = void 0);
14
+ };
15
+ return o = r, r;
16
+ }
17
+ // src/components/Icon/Icon.tsx
18
+ function c({ name: t, size: n = "md", className: r }) {
19
+ let i = { "--icon-size": `var(--size-icon-${n})` };
20
+ return /* @__PURE__ */ e("span", {
21
+ className: ["icon", r].filter(Boolean).join(" "),
22
+ style: i,
23
+ "aria-hidden": "true",
24
+ children: t
25
+ });
26
+ }
27
+ // src/components/Button/Button.tsx
28
+ function l({ variant: n = "primary", size: r = "large", leadingIcon: i, trailingIcon: a, fullWidth: o, className: s, children: l, type: u = "button", ...d }) {
29
+ let f = [
30
+ "btn",
31
+ `btn--${n}`,
32
+ `btn--${r}`,
33
+ o && "btn--full",
34
+ s
35
+ ].filter(Boolean).join(" ");
36
+ return /* @__PURE__ */ t("button", {
37
+ type: u,
38
+ className: f,
39
+ ...d,
40
+ children: [
41
+ i && /* @__PURE__ */ e(c, {
42
+ name: i,
43
+ size: "md"
44
+ }),
45
+ /* @__PURE__ */ e("span", {
46
+ className: "btn__label",
47
+ children: l
48
+ }),
49
+ a && /* @__PURE__ */ e(c, {
50
+ name: a,
51
+ size: "md"
52
+ })
53
+ ]
54
+ });
55
+ }
56
+ // src/components/IconButton/IconButton.tsx
57
+ function u({ icon: t, variant: n = "primary", size: r = "large", iconSize: i = "lg", className: a, type: o = "button", ...s }) {
58
+ let l = [
59
+ "icon-btn",
60
+ `icon-btn--${n}`,
61
+ `icon-btn--${r}`,
62
+ a
63
+ ].filter(Boolean).join(" ");
64
+ return /* @__PURE__ */ e("button", {
65
+ type: o,
66
+ className: l,
67
+ ...s,
68
+ children: /* @__PURE__ */ e(c, {
69
+ name: t,
70
+ size: i
71
+ })
72
+ });
73
+ }
74
+ // src/components/Badge/Badge.tsx
75
+ function d({ type: n = "brand", badgeStyle: r = "subtle", size: i = "medium", icon: a, className: o, children: s, ...l }) {
76
+ let u = [
77
+ "badge",
78
+ `badge--${n}`,
79
+ `badge--${r}`,
80
+ `badge--${i}`,
81
+ o
82
+ ].filter(Boolean).join(" ");
83
+ return /* @__PURE__ */ t("span", {
84
+ className: u,
85
+ ...l,
86
+ children: [a && /* @__PURE__ */ e(c, {
87
+ name: a,
88
+ size: "sm"
89
+ }), s]
90
+ });
91
+ }
92
+ // src/components/ImageCard/ImageCard.tsx
93
+ function f({ orientation: n = "vertical", media: r, badge: i, title: a, description: o, actions: s, className: c, ...l }) {
94
+ let u = [
95
+ "image-card",
96
+ `image-card--${n}`,
97
+ c
98
+ ].filter(Boolean).join(" ");
99
+ return /* @__PURE__ */ t("article", {
100
+ className: u,
101
+ ...l,
102
+ children: [/* @__PURE__ */ e("div", {
103
+ className: "image-card__media",
104
+ children: r
105
+ }), /* @__PURE__ */ t("div", {
106
+ className: "image-card__body",
107
+ children: [
108
+ i && /* @__PURE__ */ e("div", {
109
+ className: "image-card__badge",
110
+ children: i
111
+ }),
112
+ /* @__PURE__ */ e("h3", {
113
+ className: "image-card__title text-headline",
114
+ children: a
115
+ }),
116
+ o && /* @__PURE__ */ e("p", {
117
+ className: "image-card__description text-body-2",
118
+ children: o
119
+ }),
120
+ s && /* @__PURE__ */ e("div", {
121
+ className: "image-card__actions",
122
+ children: s
123
+ })
124
+ ]
125
+ })]
126
+ });
127
+ }
128
+ // src/components/Input/Input.tsx
129
+ function p({ label: n, helper: i, invalid: a, size: o = "medium", leadingIcon: s, trailingAction: l, className: u, id: d, ...f }) {
130
+ let p = r(), m = d ?? p, h = `${m}-helper`, g = [
131
+ "input",
132
+ `input--${o}`,
133
+ a && "input--invalid",
134
+ u
135
+ ].filter(Boolean).join(" ");
136
+ return /* @__PURE__ */ t("div", {
137
+ className: g,
138
+ children: [
139
+ n && /* @__PURE__ */ e("label", {
140
+ className: "input__label text-body-2 text-emphasized",
141
+ htmlFor: m,
142
+ children: n
143
+ }),
144
+ /* @__PURE__ */ t("div", {
145
+ className: "input__field",
146
+ children: [
147
+ s && /* @__PURE__ */ e(c, {
148
+ name: s,
149
+ size: "md",
150
+ className: "input__leading"
151
+ }),
152
+ /* @__PURE__ */ e("input", {
153
+ id: m,
154
+ className: "input__control",
155
+ "aria-invalid": a || void 0,
156
+ "aria-describedby": i ? h : void 0,
157
+ ...f
158
+ }),
159
+ l && /* @__PURE__ */ e("div", {
160
+ className: "input__trailing",
161
+ children: l
162
+ })
163
+ ]
164
+ }),
165
+ i && /* @__PURE__ */ e("p", {
166
+ id: h,
167
+ className: "input__helper text-caption-1",
168
+ children: i
169
+ })
170
+ ]
171
+ });
172
+ }
173
+ // src/components/Toggle/Toggle.tsx
174
+ function m({ label: n, className: i, id: a, ...o }) {
175
+ let s = r();
176
+ return /* @__PURE__ */ t("label", {
177
+ className: ["toggle", i].filter(Boolean).join(" "),
178
+ children: [
179
+ /* @__PURE__ */ e("input", {
180
+ id: a ?? s,
181
+ type: "checkbox",
182
+ role: "switch",
183
+ className: "toggle__input",
184
+ ...o
185
+ }),
186
+ /* @__PURE__ */ e("span", {
187
+ className: "toggle__track",
188
+ "aria-hidden": "true",
189
+ children: /* @__PURE__ */ e("span", { className: "toggle__knob" })
190
+ }),
191
+ n && /* @__PURE__ */ e("span", {
192
+ className: "toggle__label text-body-1",
193
+ children: n
194
+ })
195
+ ]
196
+ });
197
+ }
198
+ // src/components/Accordion/Accordion.tsx
199
+ function h({ title: n, children: i, defaultExpanded: o = !1, expanded: s, onExpandedChange: l, disabled: u, className: d }) {
200
+ let [f, p] = a(o), m = s ?? f, h = r();
201
+ return /* @__PURE__ */ t("div", {
202
+ className: ["accordion", d].filter(Boolean).join(" "),
203
+ children: [/* @__PURE__ */ t("button", {
204
+ type: "button",
205
+ id: `${h}-header`,
206
+ className: "accordion__header",
207
+ "aria-expanded": m,
208
+ "aria-controls": `${h}-content`,
209
+ disabled: u,
210
+ onClick: () => {
211
+ u || (s === void 0 && p(!m), l?.(!m));
212
+ },
213
+ children: [/* @__PURE__ */ e("span", {
214
+ className: "accordion__title text-body-1",
215
+ children: n
216
+ }), /* @__PURE__ */ e("span", {
217
+ className: "accordion__chevron",
218
+ children: /* @__PURE__ */ e(c, {
219
+ name: m ? "expand_more" : "chevron_right",
220
+ size: "lg"
221
+ })
222
+ })]
223
+ }), /* @__PURE__ */ e("div", {
224
+ id: `${h}-content`,
225
+ role: "region",
226
+ "aria-labelledby": `${h}-header`,
227
+ className: "accordion__content text-body-2",
228
+ hidden: !m,
229
+ children: i
230
+ })]
231
+ });
232
+ }
233
+ // src/components/Checkbox/Checkbox.tsx
234
+ function g({ label: a, indeterminate: o = !1, invalid: s, className: c, id: l, ...u }) {
235
+ let d = r(), f = i(null);
236
+ n(() => {
237
+ f.current && (f.current.indeterminate = o);
238
+ }, [o]);
239
+ let p = [
240
+ "checkbox",
241
+ s && "checkbox--invalid",
242
+ c
243
+ ].filter(Boolean).join(" ");
244
+ return /* @__PURE__ */ t("label", {
245
+ className: p,
246
+ children: [
247
+ /* @__PURE__ */ e("input", {
248
+ ref: f,
249
+ id: l ?? d,
250
+ type: "checkbox",
251
+ className: "checkbox__input",
252
+ "aria-invalid": s || void 0,
253
+ ...u
254
+ }),
255
+ /* @__PURE__ */ t("span", {
256
+ className: "checkbox__box",
257
+ "aria-hidden": "true",
258
+ children: [/* @__PURE__ */ e("svg", {
259
+ className: "checkbox__mark checkbox__mark--check",
260
+ viewBox: "0 0 24 24",
261
+ children: /* @__PURE__ */ e("path", { d: "M5 12.5l4.5 4.5L19 7.5" })
262
+ }), /* @__PURE__ */ e("svg", {
263
+ className: "checkbox__mark checkbox__mark--dash",
264
+ viewBox: "0 0 24 24",
265
+ children: /* @__PURE__ */ e("path", { d: "M6 12h12" })
266
+ })]
267
+ }),
268
+ a && /* @__PURE__ */ e("span", {
269
+ className: "checkbox__label text-body-1",
270
+ children: a
271
+ })
272
+ ]
273
+ });
274
+ }
275
+ // src/components/Radio/Radio.tsx
276
+ function _({ label: n, invalid: i, className: a, id: o, ...s }) {
277
+ let c = r(), l = [
278
+ "radio",
279
+ i && "radio--invalid",
280
+ a
281
+ ].filter(Boolean).join(" ");
282
+ return /* @__PURE__ */ t("label", {
283
+ className: l,
284
+ children: [
285
+ /* @__PURE__ */ e("input", {
286
+ id: o ?? c,
287
+ type: "radio",
288
+ className: "radio__input",
289
+ "aria-invalid": i || void 0,
290
+ ...s
291
+ }),
292
+ /* @__PURE__ */ e("span", {
293
+ className: "radio__circle",
294
+ "aria-hidden": "true",
295
+ children: /* @__PURE__ */ e("span", { className: "radio__dot" })
296
+ }),
297
+ n && /* @__PURE__ */ e("span", {
298
+ className: "radio__label text-body-1",
299
+ children: n
300
+ })
301
+ ]
302
+ });
303
+ }
304
+ // src/components/RadioGroup/RadioGroup.tsx
305
+ function v({ legend: n, options: i, value: o, defaultValue: s, onValueChange: c, name: l, helper: u, invalid: d, required: f, disabled: p, orientation: m = "vertical", className: h }) {
306
+ let g = r(), v = `${g}-helper`, [y, b] = a(s), x = o ?? y, S = [
307
+ "selection-group",
308
+ `selection-group--${m}`,
309
+ d && "selection-group--invalid",
310
+ h
311
+ ].filter(Boolean).join(" ");
312
+ return /* @__PURE__ */ t("fieldset", {
313
+ className: S,
314
+ disabled: p,
315
+ "aria-required": f || void 0,
316
+ "aria-invalid": d || void 0,
317
+ "aria-describedby": u ? v : void 0,
318
+ children: [
319
+ /* @__PURE__ */ e("legend", {
320
+ className: "selection-group__legend text-body-2 text-emphasized",
321
+ children: n
322
+ }),
323
+ /* @__PURE__ */ e("div", {
324
+ className: "selection-group__options",
325
+ children: i.map((t) => /* @__PURE__ */ e(_, {
326
+ name: l ?? g,
327
+ value: t.value,
328
+ label: t.label,
329
+ disabled: t.disabled,
330
+ invalid: d,
331
+ checked: x === t.value,
332
+ onChange: () => {
333
+ b(t.value), c?.(t.value);
334
+ }
335
+ }, t.value))
336
+ }),
337
+ u && /* @__PURE__ */ e("p", {
338
+ id: v,
339
+ className: "selection-group__helper text-caption-1",
340
+ children: u
341
+ })
342
+ ]
343
+ });
344
+ }
345
+ // src/components/CheckboxGroup/CheckboxGroup.tsx
346
+ function y({ legend: n, options: i, value: o, defaultValue: s = [], onValueChange: c, name: l, helper: u, invalid: d, disabled: f, orientation: p = "vertical", className: m }) {
347
+ let h = r(), _ = `${h}-helper`, [v, y] = a(s), b = o ?? v, x = (e, t) => {
348
+ let n = t ? [...b, e] : b.filter((t) => t !== e);
349
+ y(n), c?.(n);
350
+ }, S = [
351
+ "selection-group",
352
+ `selection-group--${p}`,
353
+ d && "selection-group--invalid",
354
+ m
355
+ ].filter(Boolean).join(" ");
356
+ return /* @__PURE__ */ t("fieldset", {
357
+ className: S,
358
+ disabled: f,
359
+ "aria-invalid": d || void 0,
360
+ "aria-describedby": u ? _ : void 0,
361
+ children: [
362
+ /* @__PURE__ */ e("legend", {
363
+ className: "selection-group__legend text-body-2 text-emphasized",
364
+ children: n
365
+ }),
366
+ /* @__PURE__ */ e("div", {
367
+ className: "selection-group__options",
368
+ children: i.map((t) => /* @__PURE__ */ e(g, {
369
+ name: l ?? h,
370
+ value: t.value,
371
+ label: t.label,
372
+ disabled: t.disabled,
373
+ invalid: d,
374
+ checked: b.includes(t.value),
375
+ onChange: (e) => x(t.value, e.target.checked)
376
+ }, t.value))
377
+ }),
378
+ u && /* @__PURE__ */ e("p", {
379
+ id: _,
380
+ className: "selection-group__helper text-caption-1",
381
+ children: u
382
+ })
383
+ ]
384
+ });
385
+ }
386
+ export { h as Accordion, d as Badge, l as Button, g as Checkbox, y as CheckboxGroup, c as Icon, u as IconButton, f as ImageCard, p as Input, _ as Radio, v as RadioGroup, m as Toggle, s as applyTheme };
package/lib/style.css ADDED
@@ -0,0 +1,2 @@
1
+ @import "https://fonts.googleapis.com/css2?family=Figtree:wght@400;600&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,400,0..1,0&display=swap";*,:before,:after{box-sizing:border-box}*{margin:0}img,svg,video{max-width:100%;display:block}input,button,textarea,select{font:inherit}:root{--yuanhhouColorBlue100:#f1f8ff;--yuanhhouColorBlue200:#8fc7ff;--yuanhhouColorBlue300:#57abff;--yuanhhouColorBlue400:#3a9dff;--yuanhhouColorBlue500:#0073e5;--yuanhhouColorBlue550:#0069d1;--yuanhhouColorBlue600:#005bbf;--yuanhhouColorBlue700:#003f96;--yuanhhouColorBlue800:#101274;--yuanhhouColorBlue900:#0a0b52;--yuanhhouColorNeutral100:#fff;--yuanhhouColorNeutral200:#f6f4f4;--yuanhhouColorNeutral300:#dde1e6;--yuanhhouColorNeutral400:#bdc3c9;--yuanhhouColorNeutral500:#6d6d73;--yuanhhouColorNeutral550:#6b717a;--yuanhhouColorNeutral600:#4b5158;--yuanhhouColorNeutral700:#404040;--yuanhhouColorNeutral800:#1a1a1a;--yuanhhouColorNeutral900:#000;--yuanhhouColorGreen100:#e9f9e9;--yuanhhouColorGreen200:#d4f8dc;--yuanhhouColorGreen300:#9ddd96;--yuanhhouColorGreen400:#7eca6b;--yuanhhouColorGreen500:#08872e;--yuanhhouColorGreen550:#038229;--yuanhhouColorGreen600:#0e6027;--yuanhhouColorGreen700:#044317;--yuanhhouColorGreen800:#022d0d;--yuanhhouColorGreen900:#071908;--yuanhhouColorRed100:#fce2e2;--yuanhhouColorRed200:#fcc;--yuanhhouColorRed300:#f67a7a;--yuanhhouColorRed400:#e04848;--yuanhhouColorRed500:#c41616;--yuanhhouColorRed550:#9f1853;--yuanhhouColorRed600:#ad1818;--yuanhhouColorRed700:#8f0e0e;--yuanhhouColorRed800:#7a002b;--yuanhhouColorRed900:#330012;--yuanhhouColorPurple100:#f7f2fc;--yuanhhouColorPurple200:#e8daff;--yuanhhouColorPurple300:#de98ff;--yuanhhouColorPurple400:#b670fa;--yuanhhouColorPurple500:#914cd4;--yuanhhouColorPurple550:#6929c4;--yuanhhouColorPurple600:#491d8b;--yuanhhouColorPurple700:#31135e;--yuanhhouColorPurple800:#1c0f30;--yuanhhouColorPurple900:#120f24;--yuanhhouColorOrange100:#feece1;--yuanhhouColorOrange200:#fddcb5;--yuanhhouColorOrange300:#fdb487;--yuanhhouColorOrange400:#fb8e4b;--yuanhhouColorOrange500:#ea5e00;--yuanhhouColorOrange550:#b72900;--yuanhhouColorOrange600:#781800;--yuanhhouColorOrange700:#8f6425;--yuanhhouColorOrange800:#570d00;--yuanhhouColorOrange900:#380400;--yuanhhouColorAlphaWhite10:#f6f4f41a;--yuanhhouColorAlphaWhite20:#f6f4f433;--yuanhhouColorAlphaWhite30:#f6f4f44d;--yuanhhouColorAlphaWhite40:#f6f4f466;--yuanhhouColorAlphaWhite50:#f6f4f480;--yuanhhouColorAlphaWhite60:#f6f4f499;--yuanhhouColorAlphaWhite70:#f6f4f4b3;--yuanhhouColorAlphaWhite80:#f6f4f4cc;--yuanhhouColorAlphaWhite90:#f6f4f4e6;--yuanhhouColorAlphaBlack10:#1a1a1a1a;--yuanhhouColorAlphaBlack20:#1a1a1a33;--yuanhhouColorAlphaBlack30:#1a1a1a4d;--yuanhhouColorAlphaBlack40:#1a1a1a66;--yuanhhouColorAlphaBlack50:#1a1a1a80;--yuanhhouColorAlphaBlack60:#1a1a1a99;--yuanhhouColorAlphaBlack70:#1a1a1ab3;--yuanhhouColorAlphaBlack80:#1a1a1acc;--yuanhhouColorAlphaBlack90:#1a1a1ae6;--yuanhhouColorAlphaBrand10:#0073e51a;--yuanhhouColorAlphaBrand20:#0073e533;--yuanhhouColorAlphaBrand30:#0073e54d;--yuanhhouColorAlphaBrand40:#0073e566;--yuanhhouColorAlphaBrand50:#0073e580;--yuanhhouColorAlphaBrand60:#0073e599;--yuanhhouColorAlphaBrand70:#0073e5b3;--yuanhhouColorAlphaBrand80:#0073e5cc;--yuanhhouColorAlphaBrand90:#0073e5e6;--yuanhhouColorEvaPurple100:#eedcff;--yuanhhouColorEvaPurple200:#d2aaff;--yuanhhouColorEvaPurple300:#b478f5;--yuanhhouColorEvaPurple400:#9446e1;--yuanhhouColorEvaPurple500:#8000c8;--yuanhhouColorEvaPurple600:#6400a0;--yuanhhouColorEvaPurple700:#4b0078;--yuanhhouColorEvaPurple800:#320050;--yuanhhouColorEvaPurple900:#1e0532;--yuanhhouColorEvaLime100:#dcffb4;--yuanhhouColorEvaLime200:#beff78;--yuanhhouColorEvaLime300:#a0ff3c;--yuanhhouColorEvaLime400:#82e600;--yuanhhouColorEvaLime500:#64c800;--yuanhhouColorEvaLime600:#469600;--yuanhhouColorEvaLime700:#4d7c0f;--yuanhhouColorEvaLime800:#3f6212;--yuanhhouColorEvaLime900:#365314;--yuanhhouColorHeritageParchment100:#fbf7ef;--yuanhhouColorHeritageParchment200:#f1e8d8;--yuanhhouColorHeritageParchment300:#e2d0b3;--yuanhhouColorHeritageParchment400:#c3ac88;--yuanhhouColorHeritageParchment500:#9a7e5a;--yuanhhouColorHeritageParchment600:#72593e;--yuanhhouColorHeritageParchment700:#503b28;--yuanhhouColorHeritageParchment800:#322319;--yuanhhouColorHeritageParchment900:#1c140f;--yuanhhouColorHeritageBrass100:#fbf4e3;--yuanhhouColorHeritageBrass200:#f2e1b7;--yuanhhouColorHeritageBrass300:#ddbf7c;--yuanhhouColorHeritageBrass400:#c4a05b;--yuanhhouColorHeritageBrass500:#aa8240;--yuanhhouColorHeritageBrass600:#8b6832;--yuanhhouColorHeritageBrass700:#6e512a;--yuanhhouColorHeritageBrass800:#49351d;--yuanhhouColorHeritageBrass900:#2f2213;--yuanhhouColorHeritageBordeaux100:#f9eef0;--yuanhhouColorHeritageBordeaux200:#ecd5d9;--yuanhhouColorHeritageBordeaux300:#d4a6b0;--yuanhhouColorHeritageBordeaux400:#b97b8a;--yuanhhouColorHeritageBordeaux500:#a2596c;--yuanhhouColorHeritageBordeaux600:#8c4050;--yuanhhouColorHeritageBordeaux700:#692c35;--yuanhhouColorHeritageBordeaux800:#481b26;--yuanhhouColorHeritageBordeaux900:#2c1019;--yuanhhouColorHeritageForest100:#eff4e9;--yuanhhouColorHeritageForest200:#d9e4cb;--yuanhhouColorHeritageForest300:#b9caa4;--yuanhhouColorHeritageForest400:#94ac7f;--yuanhhouColorHeritageForest500:#718a60;--yuanhhouColorHeritageForest600:#4e6848;--yuanhhouColorHeritageForest700:#294432;--yuanhhouColorHeritageForest800:#1b2d23;--yuanhhouColorHeritageForest900:#101d17;--yuanhhouColorHeritageSlate100:#eef3f1;--yuanhhouColorHeritageSlate200:#d8e3df;--yuanhhouColorHeritageSlate300:#b4cbc4;--yuanhhouColorHeritageSlate400:#8daca6;--yuanhhouColorHeritageSlate500:#668d86;--yuanhhouColorHeritageSlate600:#456b65;--yuanhhouColorHeritageSlate700:#2d4549;--yuanhhouColorHeritageSlate800:#1e3034;--yuanhhouColorHeritageSlate900:#111d20;--yuanhhouSpacing0:0;--yuanhhouSpacing12:1px;--yuanhhouSpacing25:2px;--yuanhhouSpacing50:4px;--yuanhhouSpacing100:8px;--yuanhhouSpacing150:12px;--yuanhhouSpacing200:16px;--yuanhhouSpacing250:20px;--yuanhhouSpacing300:24px;--yuanhhouSpacing350:28px;--yuanhhouSpacing400:32px;--yuanhhouSpacing450:36px;--yuanhhouSpacing500:40px;--yuanhhouSpacing550:44px;--yuanhhouSpacing600:48px;--yuanhhouSpacing650:52px;--yuanhhouSpacing700:56px;--yuanhhouSpacing750:60px;--yuanhhouSpacing800:64px;--yuanhhouSpacing850:68px;--yuanhhouSpacing900:72px;--yuanhhouSpacing950:76px;--yuanhhouSpacing1000:80px;--yuanhhouSpacing1050:84px;--yuanhhouSpacing1100:88px;--yuanhhouSpacing1150:92px;--yuanhhouSpacing1200:96px;--yuanhhouSpacing1250:100px;--yuanhhouSpacing1300:104px;--yuanhhouSpacing1350:108px;--yuanhhouSpacing1400:112px;--yuanhhouSpacing1450:116px;--yuanhhouSpacing1500:120px;--yuanhhouRadius0:0;--yuanhhouRadius2:2px;--yuanhhouRadius4:4px;--yuanhhouRadius8:8px;--yuanhhouRadius12:12px;--yuanhhouRadius16:16px;--yuanhhouRadius24:24px;--yuanhhouRadius32:32px;--yuanhhouRadius9999:9999px;--yuanhhouOpacity100:.1;--yuanhhouOpacity200:.2;--yuanhhouOpacity300:.3;--yuanhhouOpacity400:.4;--yuanhhouOpacity500:.5;--yuanhhouOpacity600:.6;--yuanhhouOpacity700:.7;--yuanhhouOpacity800:.8;--yuanhhouOpacity900:.9;--spacing-0:0px;--spacing-2xs:2px;--spacing-xs:4px;--spacing-sm:8px;--spacing-md:12px;--spacing-lg:16px;--spacing-xl:24px;--spacing-2xl:32px;--spacing-3xl:48px;--radius-none:0px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:999px;--border-width-thin:1px;--border-width-default:1.5px;--border-width-focus:2px;--size-icon-xs:12px;--size-icon-sm:16px;--size-icon-md:20px;--size-icon-lg:24px;--size-icon-xl:32px;--size-control-sm:32px;--size-control-md:40px;--size-control-lg:48px;--radius-control:8px;--radius-card:12px;--radius-dialog:16px;--radius-sheet:24px;--radius-pill:9999px;--space-inset-compact:8px;--space-inset-default:16px;--space-inset-comfortable:24px;--space-gap-tight:4px;--space-gap-inline:8px;--space-gap-stack:16px;--space-gap-section:32px;--space-page-mobile:16px;--space-page-desktop:32px;--opacity-disabled:.4;--opacity-scrim:.6;--shadow-sm:0 1px 2px #1a1a1a14;--shadow-md:0 4px 8px #1a1a1a1a, 0 1px 2px #1a1a1a0f;--shadow-lg:0 12px 24px #1a1a1a24, 0 2px 4px #1a1a1a0f;--typography-font-family:"Figtree", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--typography-large-title-weight-regular:400;--typography-large-title-weight-emphasized:600;--typography-title-1-weight-regular:400;--typography-title-1-weight-emphasized:600;--typography-title-2-weight-regular:400;--typography-title-2-weight-emphasized:600;--typography-title-3-weight-regular:400;--typography-title-3-weight-emphasized:600;--typography-headline-weight-regular:400;--typography-headline-weight-emphasized:600;--typography-body-1-weight-regular:400;--typography-body-1-weight-emphasized:600;--typography-body-2-weight-regular:400;--typography-body-2-weight-emphasized:600;--typography-button-1-weight-regular:400;--typography-button-1-weight-emphasized:600;--typography-button-2-weight-regular:400;--typography-button-2-weight-emphasized:600;--typography-caption-1-weight-regular:400;--typography-caption-1-weight-emphasized:600;--typography-caption-2-weight-regular:400;--typography-caption-2-weight-emphasized:600;--typography-large-title-size:40px;--typography-title-1-size:32px;--typography-title-2-size:24px;--typography-title-3-size:20px;--typography-headline-size:18px;--typography-body-1-size:16px;--typography-body-2-size:14px;--typography-button-1-size:16px;--typography-button-2-size:14px;--typography-caption-1-size:12px;--typography-caption-2-size:11px;--typography-large-title-letter-spacing:0px;--typography-title-1-letter-spacing:0px;--typography-title-2-letter-spacing:0px;--typography-title-3-letter-spacing:0px;--typography-headline-letter-spacing:0px;--typography-body-1-letter-spacing:0px;--typography-body-2-letter-spacing:0px;--typography-button-1-letter-spacing:0px;--typography-button-2-letter-spacing:0px;--typography-caption-1-letter-spacing:0px;--typography-caption-2-letter-spacing:0px;--typography-large-title-line-height:48px;--typography-title-1-line-height:40px;--typography-title-2-line-height:32px;--typography-title-3-line-height:28px;--typography-headline-line-height:26px;--typography-body-1-line-height:24px;--typography-body-2-line-height:20px;--typography-button-1-line-height:24px;--typography-button-2-line-height:20px;--typography-caption-1-line-height:16px;--typography-caption-2-line-height:16px}[data-density=compact]{--typography-large-title-letter-spacing:-1px;--typography-title-1-letter-spacing:-1px;--typography-title-2-letter-spacing:-1px;--typography-title-3-letter-spacing:-1px;--typography-headline-letter-spacing:-1px;--typography-body-1-letter-spacing:-1px;--typography-body-2-letter-spacing:-1px;--typography-button-1-letter-spacing:-1px;--typography-button-2-letter-spacing:-1px;--typography-caption-1-letter-spacing:-1px;--typography-caption-2-letter-spacing:-1px;--typography-large-title-line-height:48px;--typography-title-1-line-height:38px;--typography-title-2-line-height:29px;--typography-title-3-line-height:24px;--typography-headline-line-height:22px;--typography-body-1-line-height:19px;--typography-body-2-line-height:17px;--typography-button-1-line-height:19px;--typography-button-2-line-height:17px;--typography-caption-1-line-height:14px;--typography-caption-2-line-height:13px}[data-density=default]{--typography-large-title-letter-spacing:0px;--typography-title-1-letter-spacing:0px;--typography-title-2-letter-spacing:0px;--typography-title-3-letter-spacing:0px;--typography-headline-letter-spacing:0px;--typography-body-1-letter-spacing:0px;--typography-body-2-letter-spacing:0px;--typography-button-1-letter-spacing:0px;--typography-button-2-letter-spacing:0px;--typography-caption-1-letter-spacing:0px;--typography-caption-2-letter-spacing:0px;--typography-large-title-line-height:48px;--typography-title-1-line-height:40px;--typography-title-2-line-height:32px;--typography-title-3-line-height:28px;--typography-headline-line-height:26px;--typography-body-1-line-height:24px;--typography-body-2-line-height:20px;--typography-button-1-line-height:24px;--typography-button-2-line-height:20px;--typography-caption-1-line-height:16px;--typography-caption-2-line-height:16px}[data-density=loose]{--typography-large-title-letter-spacing:1px;--typography-title-1-letter-spacing:1px;--typography-title-2-letter-spacing:1px;--typography-title-3-letter-spacing:1px;--typography-headline-letter-spacing:1px;--typography-body-1-letter-spacing:1px;--typography-body-2-letter-spacing:1px;--typography-button-1-letter-spacing:1px;--typography-button-2-letter-spacing:1px;--typography-caption-1-letter-spacing:1px;--typography-caption-2-letter-spacing:1px;--typography-large-title-line-height:64px;--typography-title-1-line-height:51px;--typography-title-2-line-height:38px;--typography-title-3-line-height:32px;--typography-headline-line-height:29px;--typography-body-1-line-height:26px;--typography-body-2-line-height:22px;--typography-button-1-line-height:26px;--typography-button-2-line-height:22px;--typography-caption-1-line-height:19px;--typography-caption-2-line-height:18px}:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-background-primary:#fff;--color-background-secondary:#f6f4f4;--color-background-inverted-primary:#000;--color-background-inverted-secondary:#101274;--color-background-overlay:#1a1a1a1a;--color-background-disabled:#bdc3c9;--color-background-brand-primary:#0073e5;--color-background-brand-secondary:#f1f8ff;--color-background-brand-primary-pressed:#101274;--color-background-brand-secondary-pressed:#8fc7ff;--color-background-info-primary:#0073e5;--color-background-info-secondary:#f1f8ff;--color-background-info-primary-pressed:#101274;--color-background-info-secondary-pressed:#8fc7ff;--color-background-success-primary:#08872e;--color-background-success-secondary:#e9f9e9;--color-background-success-primary-pressed:#0e6027;--color-background-success-secondary-pressed:#9ddd96;--color-background-warning-primary:#fdb487;--color-background-warning-secondary:#feece1;--color-background-warning-primary-pressed:#fb8e4b;--color-background-warning-secondary-pressed:#fdb487;--color-background-error-primary:#c41616;--color-background-error-secondary:#fce2e2;--color-background-error-primary-pressed:#ad1818;--color-background-error-secondary-pressed:#f67a7a;--color-background-promote-primary:#de98ff;--color-background-promote-secondary:#f7f2fc;--color-background-promote-primary-pressed:#b670fa;--color-background-promote-secondary-pressed:#de98ff;--color-foreground-hero:#101274;--color-foreground-primary:#000;--color-foreground-secondary:#6d6d73;--color-foreground-inverted-primary:#fff;--color-foreground-inverted-secondary:#bdc3c9;--color-foreground-disabled:#bdc3c9;--color-foreground-on-disabled:#6d6d73;--color-foreground-brand:#0069d1;--color-foreground-brand-on-primary:#fff;--color-foreground-brand-on-secondary:#003f96;--color-foreground-info:#0069d1;--color-foreground-info-on-primary:#fff;--color-foreground-info-on-secondary:#003f96;--color-foreground-success:#038229;--color-foreground-success-on-primary:#fff;--color-foreground-success-on-secondary:#0e6027;--color-foreground-warning:#8f6425;--color-foreground-warning-on-primary:#1a1a1a;--color-foreground-warning-on-secondary:#570d00;--color-foreground-error:#c41616;--color-foreground-error-on-primary:#fff;--color-foreground-error-on-secondary:#330012;--color-foreground-promote:#914cd4;--color-foreground-promote-on-primary:#1a1a1a;--color-foreground-promote-on-secondary:#491d8b;--color-action-primary:#0069d1;--color-action-secondary:#bdc3c9;--color-border-primary:#dde1e6;--color-border-secondary:#bdc3c9;--color-border-tertiary:#6d6d73;--color-border-inverted:#fff;--color-border-brand:#0073e5;--color-border-brand-pressed:#101274;--color-border-info:#0073e5;--color-border-info-pressed:#101274;--color-border-success:#08872e;--color-border-success-pressed:#0e6027;--color-border-warning:#ea5e00;--color-border-warning-pressed:#fb8e4b;--color-border-error:#c41616;--color-border-error-pressed:#ad1818;--color-border-promote:#914cd4;--color-border-promote-pressed:#b670fa;--color-ai-gradient-start:#0069d1;--color-ai-gradient-end:#914cd4;--color-border-focus:#0069d1}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-background-primary:#000;--color-background-secondary:#1a1a1a;--color-background-inverted-primary:#fff;--color-background-inverted-secondary:#f6f4f4;--color-background-overlay:#f6f4f433;--color-background-disabled:#6d6d73;--color-background-brand-primary:#0073e5;--color-background-brand-secondary:#f1f8ff;--color-background-brand-primary-pressed:#101274;--color-background-brand-secondary-pressed:#8fc7ff;--color-background-info-primary:#0073e5;--color-background-info-secondary:#f1f8ff;--color-background-info-primary-pressed:#101274;--color-background-info-secondary-pressed:#8fc7ff;--color-background-success-primary:#08872e;--color-background-success-secondary:#e9f9e9;--color-background-success-primary-pressed:#0e6027;--color-background-success-secondary-pressed:#9ddd96;--color-background-warning-primary:#fdb487;--color-background-warning-secondary:#feece1;--color-background-warning-primary-pressed:#fb8e4b;--color-background-warning-secondary-pressed:#fdb487;--color-background-error-primary:#c41616;--color-background-error-secondary:#fce2e2;--color-background-error-primary-pressed:#ad1818;--color-background-error-secondary-pressed:#f67a7a;--color-background-promote-primary:#de98ff;--color-background-promote-secondary:#f7f2fc;--color-background-promote-primary-pressed:#b670fa;--color-background-promote-secondary-pressed:#de98ff;--color-foreground-hero:#fff;--color-foreground-primary:#fff;--color-foreground-secondary:#bdc3c9;--color-foreground-inverted-primary:#000;--color-foreground-inverted-secondary:#404040;--color-foreground-disabled:#6d6d73;--color-foreground-on-disabled:#4b5158;--color-foreground-brand:#57abff;--color-foreground-brand-on-primary:#fff;--color-foreground-brand-on-secondary:#003f96;--color-foreground-info:#57abff;--color-foreground-info-on-primary:#fff;--color-foreground-info-on-secondary:#003f96;--color-foreground-success:#7eca6b;--color-foreground-success-on-primary:#fff;--color-foreground-success-on-secondary:#0e6027;--color-foreground-warning:#fdb487;--color-foreground-warning-on-primary:#1a1a1a;--color-foreground-warning-on-secondary:#570d00;--color-foreground-error:#f67a7a;--color-foreground-error-on-primary:#fff;--color-foreground-error-on-secondary:#330012;--color-foreground-promote:#de98ff;--color-foreground-promote-on-primary:#1a1a1a;--color-foreground-promote-on-secondary:#491d8b;--color-action-primary:#0073e5;--color-action-secondary:#6d6d73;--color-border-primary:#404040;--color-border-secondary:#6d6d73;--color-border-tertiary:#bdc3c9;--color-border-inverted:#1a1a1a;--color-border-brand:#57abff;--color-border-brand-pressed:#0073e5;--color-border-info:#57abff;--color-border-info-pressed:#0073e5;--color-border-success:#7eca6b;--color-border-success-pressed:#08872e;--color-border-warning:#fdb487;--color-border-warning-pressed:#fb8e4b;--color-border-error:#f67a7a;--color-border-error-pressed:#c41616;--color-border-promote:#de98ff;--color-border-promote-pressed:#b670fa;--color-ai-gradient-start:#3a9dff;--color-ai-gradient-end:#de98ff;--color-border-focus:#57abff}[data-theme=eva-light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-background-primary:#fff;--color-background-secondary:#f6f4f4;--color-background-inverted-primary:#1e0532;--color-background-inverted-secondary:#320050;--color-background-overlay:#1a1a1a1a;--color-background-disabled:#d2aaff;--color-background-brand-primary:#8000c8;--color-background-brand-secondary:#dcffb4;--color-background-brand-primary-pressed:#6400a0;--color-background-brand-secondary-pressed:#beff78;--color-background-info-primary:#0073e5;--color-background-info-secondary:#f1f8ff;--color-background-info-primary-pressed:#101274;--color-background-info-secondary-pressed:#8fc7ff;--color-background-success-primary:#4d7c0f;--color-background-success-secondary:#dcffb4;--color-background-success-primary-pressed:#3f6212;--color-background-success-secondary-pressed:#beff78;--color-background-warning-primary:#fdb487;--color-background-warning-secondary:#feece1;--color-background-warning-primary-pressed:#fb8e4b;--color-background-warning-secondary-pressed:#fdb487;--color-background-error-primary:#c41616;--color-background-error-secondary:#fce2e2;--color-background-error-primary-pressed:#ad1818;--color-background-error-secondary-pressed:#f67a7a;--color-background-promote-primary:#9446e1;--color-background-promote-secondary:#eedcff;--color-background-promote-primary-pressed:#8000c8;--color-background-promote-secondary-pressed:#d2aaff;--color-foreground-hero:#4b0078;--color-foreground-primary:#1e0532;--color-foreground-secondary:#4b5158;--color-foreground-inverted-primary:#fff;--color-foreground-inverted-secondary:#d2aaff;--color-foreground-disabled:#b478f5;--color-foreground-on-disabled:#6400a0;--color-foreground-brand:#8000c8;--color-foreground-brand-on-primary:#fff;--color-foreground-brand-on-secondary:#4b0078;--color-foreground-info:#0069d1;--color-foreground-info-on-primary:#fff;--color-foreground-info-on-secondary:#003f96;--color-foreground-success:#3f6212;--color-foreground-success-on-primary:#fff;--color-foreground-success-on-secondary:#365314;--color-foreground-warning:#8f6425;--color-foreground-warning-on-primary:#1a1a1a;--color-foreground-warning-on-secondary:#570d00;--color-foreground-error:#c41616;--color-foreground-error-on-primary:#fff;--color-foreground-error-on-secondary:#330012;--color-foreground-promote:#8000c8;--color-foreground-promote-on-primary:#fff;--color-foreground-promote-on-secondary:#4b0078;--color-action-primary:#8000c8;--color-action-secondary:#b478f5;--color-border-primary:#d2aaff;--color-border-secondary:#b478f5;--color-border-tertiary:#9446e1;--color-border-inverted:#b478f5;--color-border-brand:#8000c8;--color-border-brand-pressed:#4b0078;--color-border-info:#0073e5;--color-border-info-pressed:#101274;--color-border-success:#4d7c0f;--color-border-success-pressed:#3f6212;--color-border-warning:#ea5e00;--color-border-warning-pressed:#fb8e4b;--color-border-error:#c41616;--color-border-error-pressed:#ad1818;--color-border-promote:#9446e1;--color-border-promote-pressed:#8000c8;--color-ai-gradient-start:#4d7c0f;--color-ai-gradient-end:#8000c8;--color-border-focus:#8000c8}[data-theme=eva-dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-background-primary:#320050;--color-background-secondary:#1e0532;--color-background-inverted-primary:#fff;--color-background-inverted-secondary:#eedcff;--color-background-overlay:#f6f4f41a;--color-background-disabled:#4b0078;--color-background-brand-primary:#8000c8;--color-background-brand-secondary:#4b0078;--color-background-brand-primary-pressed:#6400a0;--color-background-brand-secondary-pressed:#320050;--color-background-info-primary:#0073e5;--color-background-info-secondary:#0a0b52;--color-background-info-primary-pressed:#005bbf;--color-background-info-secondary-pressed:#101274;--color-background-success-primary:#82e600;--color-background-success-secondary:#3f6212;--color-background-success-primary-pressed:#a0ff3c;--color-background-success-secondary-pressed:#365314;--color-background-warning-primary:#fdb487;--color-background-warning-secondary:#380400;--color-background-warning-primary-pressed:#fb8e4b;--color-background-warning-secondary-pressed:#570d00;--color-background-error-primary:#c41616;--color-background-error-secondary:#330012;--color-background-error-primary-pressed:#ad1818;--color-background-error-secondary-pressed:#7a002b;--color-background-promote-primary:#8000c8;--color-background-promote-secondary:#4b0078;--color-background-promote-primary-pressed:#6400a0;--color-background-promote-secondary-pressed:#320050;--color-foreground-hero:#a0ff3c;--color-foreground-primary:#fff;--color-foreground-secondary:#eedcff;--color-foreground-inverted-primary:#1e0532;--color-foreground-inverted-secondary:#4b0078;--color-foreground-disabled:#d2aaff;--color-foreground-on-disabled:#eedcff;--color-foreground-brand:#a0ff3c;--color-foreground-brand-on-primary:#fff;--color-foreground-brand-on-secondary:#a0ff3c;--color-foreground-info:#8fc7ff;--color-foreground-info-on-primary:#fff;--color-foreground-info-on-secondary:#8fc7ff;--color-foreground-success:#a0ff3c;--color-foreground-success-on-primary:#1e0532;--color-foreground-success-on-secondary:#dcffb4;--color-foreground-warning:#fddcb5;--color-foreground-warning-on-primary:#1e0532;--color-foreground-warning-on-secondary:#fddcb5;--color-foreground-error:#fcc;--color-foreground-error-on-primary:#fff;--color-foreground-error-on-secondary:#fcc;--color-foreground-promote:#d2aaff;--color-foreground-promote-on-primary:#fff;--color-foreground-promote-on-secondary:#eedcff;--color-action-primary:#a0ff3c;--color-action-secondary:#eedcff;--color-border-primary:#d2aaff;--color-border-secondary:#eedcff;--color-border-tertiary:#b478f5;--color-border-inverted:#4b0078;--color-border-brand:#a0ff3c;--color-border-brand-pressed:#82e600;--color-border-info:#8fc7ff;--color-border-info-pressed:#57abff;--color-border-success:#a0ff3c;--color-border-success-pressed:#82e600;--color-border-warning:#fddcb5;--color-border-warning-pressed:#fdb487;--color-border-error:#fcc;--color-border-error-pressed:#f67a7a;--color-border-promote:#d2aaff;--color-border-promote-pressed:#b478f5;--color-ai-gradient-start:#a0ff3c;--color-ai-gradient-end:#d2aaff;--color-border-focus:#a0ff3c}[data-theme=heritage-luxury-light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-background-primary:#fbf7ef;--color-background-secondary:#f1e8d8;--color-background-inverted-primary:#1c140f;--color-background-inverted-secondary:#322319;--color-background-overlay:#1a1a1a1a;--color-background-disabled:#e2d0b3;--color-background-brand-primary:#6e512a;--color-background-brand-secondary:#fbf4e3;--color-background-brand-primary-pressed:#49351d;--color-background-brand-secondary-pressed:#f2e1b7;--color-background-info-primary:#2d4549;--color-background-info-secondary:#eef3f1;--color-background-info-primary-pressed:#1e3034;--color-background-info-secondary-pressed:#d8e3df;--color-background-success-primary:#294432;--color-background-success-secondary:#eff4e9;--color-background-success-primary-pressed:#1b2d23;--color-background-success-secondary-pressed:#d9e4cb;--color-background-warning-primary:#ddbf7c;--color-background-warning-secondary:#fbf4e3;--color-background-warning-primary-pressed:#c4a05b;--color-background-warning-secondary-pressed:#f2e1b7;--color-background-error-primary:#692c35;--color-background-error-secondary:#f9eef0;--color-background-error-primary-pressed:#481b26;--color-background-error-secondary-pressed:#ecd5d9;--color-background-promote-primary:#8c4050;--color-background-promote-secondary:#f1e8d8;--color-background-promote-primary-pressed:#692c35;--color-background-promote-secondary-pressed:#e2d0b3;--color-foreground-hero:#481b26;--color-foreground-primary:#1c140f;--color-foreground-secondary:#503b28;--color-foreground-inverted-primary:#fbf7ef;--color-foreground-inverted-secondary:#f1e8d8;--color-foreground-disabled:#503b28;--color-foreground-on-disabled:#322319;--color-foreground-brand:#49351d;--color-foreground-brand-on-primary:#fbf7ef;--color-foreground-brand-on-secondary:#49351d;--color-foreground-info:#1e3034;--color-foreground-info-on-primary:#fbf7ef;--color-foreground-info-on-secondary:#1e3034;--color-foreground-success:#1b2d23;--color-foreground-success-on-primary:#fbf7ef;--color-foreground-success-on-secondary:#1b2d23;--color-foreground-warning:#49351d;--color-foreground-warning-on-primary:#2f2213;--color-foreground-warning-on-secondary:#49351d;--color-foreground-error:#481b26;--color-foreground-error-on-primary:#fbf7ef;--color-foreground-error-on-secondary:#481b26;--color-foreground-promote:#692c35;--color-foreground-promote-on-primary:#fbf7ef;--color-foreground-promote-on-secondary:#481b26;--color-action-primary:#49351d;--color-action-secondary:#503b28;--color-border-primary:#72593e;--color-border-secondary:#503b28;--color-border-tertiary:#6e512a;--color-border-inverted:#f1e8d8;--color-border-brand:#6e512a;--color-border-brand-pressed:#49351d;--color-border-info:#2d4549;--color-border-info-pressed:#1e3034;--color-border-success:#294432;--color-border-success-pressed:#1b2d23;--color-border-warning:#6e512a;--color-border-warning-pressed:#49351d;--color-border-error:#692c35;--color-border-error-pressed:#481b26;--color-border-promote:#692c35;--color-border-promote-pressed:#481b26;--color-ai-gradient-start:#6e512a;--color-ai-gradient-end:#692c35;--color-border-focus:#692c35}[data-theme=heritage-luxury-dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-background-primary:#1c140f;--color-background-secondary:#322319;--color-background-inverted-primary:#fbf7ef;--color-background-inverted-secondary:#f1e8d8;--color-background-overlay:#f6f4f41a;--color-background-disabled:#503b28;--color-background-brand-primary:#ddbf7c;--color-background-brand-secondary:#49351d;--color-background-brand-primary-pressed:#c4a05b;--color-background-brand-secondary-pressed:#2f2213;--color-background-info-primary:#b4cbc4;--color-background-info-secondary:#1e3034;--color-background-info-primary-pressed:#8daca6;--color-background-info-secondary-pressed:#111d20;--color-background-success-primary:#b9caa4;--color-background-success-secondary:#1b2d23;--color-background-success-primary-pressed:#94ac7f;--color-background-success-secondary-pressed:#101d17;--color-background-warning-primary:#c4a05b;--color-background-warning-secondary:#49351d;--color-background-warning-primary-pressed:#ddbf7c;--color-background-warning-secondary-pressed:#2f2213;--color-background-error-primary:#d4a6b0;--color-background-error-secondary:#481b26;--color-background-error-primary-pressed:#b97b8a;--color-background-error-secondary-pressed:#2c1019;--color-background-promote-primary:#b97b8a;--color-background-promote-secondary:#322319;--color-background-promote-primary-pressed:#d4a6b0;--color-background-promote-secondary-pressed:#503b28;--color-foreground-hero:#ddbf7c;--color-foreground-primary:#fbf7ef;--color-foreground-secondary:#c3ac88;--color-foreground-inverted-primary:#1c140f;--color-foreground-inverted-secondary:#503b28;--color-foreground-disabled:#72593e;--color-foreground-on-disabled:#c3ac88;--color-foreground-brand:#ddbf7c;--color-foreground-brand-on-primary:#1c140f;--color-foreground-brand-on-secondary:#f2e1b7;--color-foreground-info:#b4cbc4;--color-foreground-info-on-primary:#111d20;--color-foreground-info-on-secondary:#d8e3df;--color-foreground-success:#b9caa4;--color-foreground-success-on-primary:#101d17;--color-foreground-success-on-secondary:#d9e4cb;--color-foreground-warning:#f2e1b7;--color-foreground-warning-on-primary:#2f2213;--color-foreground-warning-on-secondary:#f2e1b7;--color-foreground-error:#d4a6b0;--color-foreground-error-on-primary:#2c1019;--color-foreground-error-on-secondary:#ecd5d9;--color-foreground-promote:#ecd5d9;--color-foreground-promote-on-primary:#1c140f;--color-foreground-promote-on-secondary:#ecd5d9;--color-action-primary:#ddbf7c;--color-action-secondary:#9a7e5a;--color-border-primary:#503b28;--color-border-secondary:#72593e;--color-border-tertiary:#9a7e5a;--color-border-inverted:#72593e;--color-border-brand:#ddbf7c;--color-border-brand-pressed:#c4a05b;--color-border-info:#b4cbc4;--color-border-info-pressed:#8daca6;--color-border-success:#b9caa4;--color-border-success-pressed:#94ac7f;--color-border-warning:#f2e1b7;--color-border-warning-pressed:#ddbf7c;--color-border-error:#d4a6b0;--color-border-error-pressed:#b97b8a;--color-border-promote:#ecd5d9;--color-border-promote-pressed:#d4a6b0;--color-ai-gradient-start:#ddbf7c;--color-ai-gradient-end:#d4a6b0;--color-border-focus:#d4a6b0}h1,h2,h3,p{letter-spacing:var(--_tracking)}h1,.text-title-1{--_weight-regular:var(--typography-title-1-weight-regular);--_weight-emphasized:var(--typography-title-1-weight-emphasized);--_tracking:var(--typography-title-1-letter-spacing);font-size:var(--typography-title-1-size);line-height:var(--typography-title-1-line-height);font-weight:var(--_weight-emphasized)}h2,.text-title-2{--_weight-regular:var(--typography-title-2-weight-regular);--_weight-emphasized:var(--typography-title-2-weight-emphasized);--_tracking:var(--typography-title-2-letter-spacing);font-size:var(--typography-title-2-size);line-height:var(--typography-title-2-line-height);font-weight:var(--_weight-emphasized)}h3,.text-title-3{--_weight-regular:var(--typography-title-3-weight-regular);--_weight-emphasized:var(--typography-title-3-weight-emphasized);--_tracking:var(--typography-title-3-letter-spacing);font-size:var(--typography-title-3-size);line-height:var(--typography-title-3-line-height);font-weight:var(--_weight-emphasized)}.text-large-title{--_weight-regular:var(--typography-large-title-weight-regular);--_weight-emphasized:var(--typography-large-title-weight-emphasized);--_tracking:var(--typography-large-title-letter-spacing);font-size:var(--typography-large-title-size);line-height:var(--typography-large-title-line-height)}.text-headline{--_weight-regular:var(--typography-headline-weight-regular);--_weight-emphasized:var(--typography-headline-weight-emphasized);--_tracking:var(--typography-headline-letter-spacing);font-size:var(--typography-headline-size);line-height:var(--typography-headline-line-height)}p,.text-body-1{--_weight-regular:var(--typography-body-1-weight-regular);--_weight-emphasized:var(--typography-body-1-weight-emphasized);--_tracking:var(--typography-body-1-letter-spacing);font-size:var(--typography-body-1-size);line-height:var(--typography-body-1-line-height)}.text-body-2{--_weight-regular:var(--typography-body-2-weight-regular);--_weight-emphasized:var(--typography-body-2-weight-emphasized);--_tracking:var(--typography-body-2-letter-spacing);font-size:var(--typography-body-2-size);line-height:var(--typography-body-2-line-height)}.text-button-1{--_weight-regular:var(--typography-button-1-weight-regular);--_weight-emphasized:var(--typography-button-1-weight-emphasized);--_tracking:var(--typography-button-1-letter-spacing);font-size:var(--typography-button-1-size);line-height:var(--typography-button-1-line-height)}.text-button-2{--_weight-regular:var(--typography-button-2-weight-regular);--_weight-emphasized:var(--typography-button-2-weight-emphasized);--_tracking:var(--typography-button-2-letter-spacing);font-size:var(--typography-button-2-size);line-height:var(--typography-button-2-line-height)}.text-caption-1{--_weight-regular:var(--typography-caption-1-weight-regular);--_weight-emphasized:var(--typography-caption-1-weight-emphasized);--_tracking:var(--typography-caption-1-letter-spacing);font-size:var(--typography-caption-1-size);line-height:var(--typography-caption-1-line-height)}.text-caption-2{--_weight-regular:var(--typography-caption-2-weight-regular);--_weight-emphasized:var(--typography-caption-2-weight-emphasized);--_tracking:var(--typography-caption-2-letter-spacing);font-size:var(--typography-caption-2-size);line-height:var(--typography-caption-2-line-height)}.text-large-title,.text-headline,.text-body-1,.text-body-2,.text-button-1,.text-button-2,.text-caption-1,.text-caption-2{font-weight:var(--_weight-regular);letter-spacing:var(--_tracking)}.text-emphasized{font-weight:var(--_weight-emphasized)}body{font-family:var(--typography-font-family);font-size:var(--typography-body-1-size);line-height:var(--typography-body-1-line-height);letter-spacing:var(--typography-body-1-letter-spacing);color:var(--color-foreground-primary);background:var(--color-background-primary);-webkit-font-smoothing:antialiased}:focus-visible{outline:var(--border-width-focus) solid var(--color-border-focus);outline-offset:2px}.icon{width:var(--icon-size);height:var(--icon-size);font-family:Material Symbols Rounded;font-size:var(--icon-size);letter-spacing:normal;text-transform:none;white-space:nowrap;color:inherit;font-variation-settings:"FILL" 0, "GRAD" 0;-webkit-font-feature-settings:"liga";font-feature-settings:"liga";-webkit-user-select:none;user-select:none;flex:none;justify-content:center;align-items:center;font-style:normal;font-weight:400;line-height:1;display:inline-flex;overflow:hidden}.btn{--btn-bg:transparent;--btn-bg-pressed:transparent;--btn-border:transparent;--btn-border-pressed:transparent;--btn-fg:var(--color-foreground-brand);justify-content:center;align-items:center;gap:var(--spacing-sm);border-radius:var(--radius-pill);background:var(--btn-bg);color:var(--btn-fg);font-weight:var(--typography-button-1-weight-emphasized);letter-spacing:var(--typography-button-1-letter-spacing);white-space:nowrap;cursor:pointer;border:0;display:inline-flex;position:relative}.btn:after{content:"";border:var(--border-width-default) solid var(--btn-border);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.btn:active:not(:disabled,[aria-disabled=true]){background:var(--btn-bg-pressed)}.btn:active:not(:disabled,[aria-disabled=true]):after{border-color:var(--btn-border-pressed)}.btn--large{padding:var(--spacing-md) var(--spacing-xl);gap:var(--space-gap-tight);font-size:var(--typography-button-1-size);line-height:var(--typography-button-1-line-height)}.btn--small{font-weight:var(--typography-button-2-weight-emphasized);letter-spacing:var(--typography-button-2-letter-spacing);padding:var(--spacing-sm) var(--spacing-lg);font-size:var(--typography-button-2-size);line-height:var(--typography-button-2-line-height)}.btn--full{width:100%;display:flex}.btn--primary{--btn-bg:var(--color-background-brand-primary);--btn-bg-pressed:var(--color-background-brand-primary-pressed);--btn-fg:var(--color-foreground-brand-on-primary)}.btn--secondary{--btn-border:var(--color-border-brand);--btn-border-pressed:var(--color-border-brand-pressed);--btn-bg-pressed:var(--color-background-overlay)}.btn--tertiary{--btn-bg-pressed:var(--color-background-overlay)}.btn--alert{--btn-bg:var(--color-background-error-secondary);--btn-bg-pressed:var(--color-background-error-secondary-pressed);--btn-fg:var(--color-foreground-error-on-secondary)}.btn:disabled,.btn[aria-disabled=true]{cursor:not-allowed}.btn--primary:disabled,.btn--primary[aria-disabled=true],.btn--alert:disabled,.btn--alert[aria-disabled=true]{background:var(--color-background-disabled);color:var(--color-foreground-on-disabled)}.btn--secondary:disabled,.btn--secondary[aria-disabled=true],.btn--tertiary:disabled,.btn--tertiary[aria-disabled=true]{color:var(--color-foreground-disabled)}.btn--secondary:disabled,.btn--secondary[aria-disabled=true]{--btn-border:var(--color-foreground-disabled)}.icon-btn{--btn-bg:transparent;--btn-bg-pressed:transparent;--btn-border:transparent;--btn-border-pressed:transparent;--btn-fg:var(--color-foreground-brand);border:var(--border-width-default) solid var(--btn-border);border-radius:var(--radius-md);background:var(--btn-bg);color:var(--btn-fg);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn:active:not(:disabled,[aria-disabled=true]){background:var(--btn-bg-pressed);border-color:var(--btn-border-pressed)}.icon-btn--large{width:var(--size-control-lg);height:var(--size-control-lg)}.icon-btn--small{width:var(--size-control-sm);height:var(--size-control-sm)}.icon-btn--primary{--btn-bg:var(--color-background-brand-primary);--btn-bg-pressed:var(--color-background-brand-primary-pressed);--btn-fg:var(--color-foreground-brand-on-primary)}.icon-btn--secondary{--btn-border:var(--color-border-brand);--btn-border-pressed:var(--color-border-brand-pressed);--btn-bg-pressed:var(--color-background-overlay)}.icon-btn--tertiary{--btn-bg-pressed:var(--color-background-overlay)}.icon-btn--alert{--btn-bg:var(--color-background-error-primary);--btn-bg-pressed:var(--color-background-error-primary-pressed);--btn-fg:var(--color-foreground-error-on-primary)}.icon-btn:disabled,.icon-btn[aria-disabled=true]{cursor:not-allowed;color:var(--color-foreground-on-disabled)}.icon-btn--primary:disabled,.icon-btn--primary[aria-disabled=true],.icon-btn--alert:disabled,.icon-btn--alert[aria-disabled=true]{background:var(--color-background-disabled)}.icon-btn--secondary:disabled,.icon-btn--secondary[aria-disabled=true]{border-color:var(--color-foreground-disabled)}.badge{justify-content:center;align-items:center;gap:var(--spacing-xs);padding:var(--spacing-xs) var(--spacing-sm);border-radius:var(--radius-full);font-weight:var(--typography-caption-1-weight-emphasized);letter-spacing:var(--typography-caption-1-letter-spacing);white-space:nowrap;display:inline-flex}.badge--medium{font-size:var(--typography-caption-1-size);line-height:var(--typography-caption-1-line-height)}.badge--small{padding-block:var(--spacing-2xs);font-size:var(--typography-caption-2-size);font-weight:var(--typography-caption-2-weight-emphasized);letter-spacing:var(--typography-caption-2-letter-spacing);line-height:var(--typography-caption-2-line-height)}.badge--brand.badge--solid{background:var(--color-background-brand-primary);color:var(--color-foreground-brand-on-primary)}.badge--brand.badge--subtle{background:var(--color-background-brand-secondary);color:var(--color-foreground-brand-on-secondary)}.badge--info.badge--solid{background:var(--color-background-info-primary);color:var(--color-foreground-info-on-primary)}.badge--info.badge--subtle{background:var(--color-background-info-secondary);color:var(--color-foreground-info-on-secondary)}.badge--success.badge--solid{background:var(--color-background-success-primary);color:var(--color-foreground-success-on-primary)}.badge--success.badge--subtle{background:var(--color-background-success-secondary);color:var(--color-foreground-success-on-secondary)}.badge--warning.badge--solid{background:var(--color-background-warning-primary);color:var(--color-foreground-warning-on-primary)}.badge--warning.badge--subtle{background:var(--color-background-warning-secondary);color:var(--color-foreground-warning-on-secondary)}.badge--error.badge--solid{background:var(--color-background-error-primary);color:var(--color-foreground-error-on-primary)}.badge--error.badge--subtle{background:var(--color-background-error-secondary);color:var(--color-foreground-error-on-secondary)}.badge--promote.badge--solid{background:var(--color-background-promote-primary);color:var(--color-foreground-promote-on-primary)}.badge--promote.badge--subtle{background:var(--color-background-promote-secondary);color:var(--color-foreground-promote-on-secondary)}.image-card{background:var(--color-background-primary);border:var(--border-width-thin) solid var(--color-border-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);display:flex;overflow:clip}.image-card--vertical{flex-direction:column;width:320px;max-width:100%}.image-card--horizontal{width:520px;max-width:100%}.image-card__media{background:var(--color-background-secondary);flex:none;overflow:hidden}.image-card__media>img,.image-card__media>video{object-fit:cover;width:100%;height:100%}.image-card--vertical .image-card__media{height:180px}.image-card--horizontal .image-card__media{width:200px}.image-card__body{align-items:flex-start;gap:var(--spacing-sm);min-width:0;padding:var(--spacing-lg);flex-direction:column;flex:1;display:flex}.image-card__title{color:var(--color-foreground-primary);font-weight:var(--typography-headline-weight-emphasized);letter-spacing:var(--typography-headline-letter-spacing)}.image-card__description{color:var(--color-foreground-secondary)}.image-card__actions{gap:var(--spacing-sm);display:flex}.input{gap:var(--spacing-xs);flex-direction:column;width:100%;max-width:320px;display:flex}.input__label{color:var(--color-foreground-primary)}.input__field{align-items:center;gap:var(--spacing-sm);padding:0 var(--spacing-md);background:var(--color-background-primary);border:var(--border-width-default) solid var(--color-border-tertiary);border-radius:var(--radius-md);display:flex}.input--medium .input__field{height:var(--size-control-md)}.input--large .input__field{height:var(--size-control-lg)}.input__control{min-width:0;color:var(--color-foreground-primary);font-size:var(--typography-body-1-size);line-height:var(--typography-body-1-line-height);letter-spacing:var(--typography-body-1-letter-spacing);background:0 0;border:0;flex:1;padding:0}.input__control::placeholder{color:var(--color-foreground-secondary);opacity:1}.input__control:focus-visible{outline:none}.input__leading{color:var(--color-foreground-secondary)}.input__trailing{flex:none;display:flex}.input__helper{color:var(--color-foreground-secondary)}.input__field:focus-within{border-color:var(--color-border-focus);box-shadow:inset 0 0 0 calc(var(--border-width-focus) - var(--border-width-default)) var(--color-border-focus)}.input--invalid .input__field{border-color:var(--color-border-error)}.input--invalid .input__field:focus-within{border-color:var(--color-border-focus)}.input--invalid .input__helper{color:var(--color-foreground-error)}.input:has(.input__control:disabled) .input__field{background:var(--color-background-secondary);border-color:var(--color-border-primary)}.input:has(.input__control:disabled) .input__control{color:var(--color-foreground-disabled)}.input:has(.input__control:disabled) .input__control::placeholder{color:var(--color-foreground-disabled)}.input:has(.input__control:disabled) .input__leading{color:var(--color-foreground-disabled)}.input:has(.input__control:disabled) .input__helper{color:var(--color-foreground-disabled)}.input:has(.input__control:disabled) .input__label{color:var(--color-foreground-disabled)}.toggle{align-items:center;gap:var(--spacing-sm);cursor:pointer;display:inline-flex}.toggle__input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.toggle__track{width:44px;height:24px;padding:var(--spacing-2xs);border-radius:var(--radius-full);background:var(--color-border-tertiary);flex:none;align-items:center;display:flex}.toggle__knob{border-radius:var(--radius-full);background:var(--color-background-primary);width:20px;height:20px}.toggle__input:checked+.toggle__track{background:var(--color-action-primary)}.toggle__input:checked+.toggle__track .toggle__knob{transform:translate(20px)}.toggle__label{color:var(--color-foreground-primary)}.toggle__input:focus-visible+.toggle__track{outline:var(--border-width-focus) solid var(--color-border-focus);outline-offset:2px}.toggle:has(.toggle__input:disabled){cursor:not-allowed}.toggle__input:disabled+.toggle__track{background:var(--color-border-primary)}.toggle__input:disabled:checked+.toggle__track{background:var(--color-background-disabled)}.toggle__input:disabled+.toggle__track .toggle__knob{background:var(--color-background-primary)}.toggle__input:disabled~.toggle__label{color:var(--color-foreground-disabled)}.accordion{width:100%;max-width:480px;position:relative}.accordion:after{content:"";bottom:0;right:0;left:var(--spacing-lg);border-bottom:var(--border-width-thin) solid var(--color-border-primary);position:absolute}.accordion__header{align-items:center;gap:var(--spacing-sm);width:100%;padding:var(--spacing-md) var(--spacing-lg);color:var(--color-foreground-primary);text-align:left;cursor:pointer;background:0 0;border:0;display:flex}.accordion__title{flex:1}.accordion__chevron{color:var(--color-foreground-secondary);flex:none;display:inline-flex}.accordion__header:active:not(:disabled){background:var(--color-background-overlay)}.accordion__header:disabled{cursor:not-allowed;color:var(--color-foreground-disabled)}.accordion__header:disabled .accordion__chevron{color:var(--color-foreground-disabled)}.accordion__content{padding:0 var(--spacing-lg) var(--spacing-md);color:var(--color-foreground-secondary)}.accordion__header:disabled+.accordion__content{color:var(--color-foreground-disabled)}.checkbox{align-items:center;gap:var(--spacing-sm);min-height:var(--size-control-md);cursor:pointer;display:inline-flex}.checkbox__input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.checkbox__box{box-sizing:border-box;width:var(--size-icon-lg);height:var(--size-icon-lg);border-radius:var(--spacing-xs);border:var(--border-width-default) solid var(--color-border-tertiary);background:var(--color-background-primary);flex:none;place-items:center;display:grid;position:relative}.checkbox__mark{width:var(--size-icon-lg);height:var(--size-icon-lg);fill:none;stroke:var(--color-background-primary);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;visibility:hidden;grid-area:1/1}.checkbox__input:checked+.checkbox__box,.checkbox__input:indeterminate+.checkbox__box{border-color:var(--color-action-primary);background:var(--color-action-primary)}.checkbox__input:checked+.checkbox__box .checkbox__mark--check{visibility:visible}.checkbox__input:indeterminate+.checkbox__box .checkbox__mark--check{visibility:hidden}.checkbox__input:indeterminate+.checkbox__box .checkbox__mark--dash{visibility:visible}.checkbox__label{color:var(--color-foreground-primary)}.checkbox__input:focus-visible+.checkbox__box{outline:var(--border-width-focus) solid var(--color-border-focus);outline-offset:2px}.checkbox--invalid .checkbox__input:not(:checked):not(:indeterminate)+.checkbox__box{border-color:var(--color-border-error)}.checkbox:has(.checkbox__input:disabled){cursor:not-allowed}.checkbox__input:disabled+.checkbox__box{border-color:var(--color-border-primary);background:var(--color-background-primary)}.checkbox__input:disabled:checked+.checkbox__box,.checkbox__input:disabled:indeterminate+.checkbox__box{border-color:var(--color-background-disabled);background:var(--color-background-disabled)}.checkbox__input:disabled~.checkbox__label{color:var(--color-foreground-disabled)}.radio{align-items:center;gap:var(--spacing-sm);min-height:var(--size-control-md);cursor:pointer;display:inline-flex}.radio__input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.radio__circle{box-sizing:border-box;width:var(--size-icon-lg);height:var(--size-icon-lg);border-radius:var(--radius-full);border:var(--border-width-default) solid var(--color-border-tertiary);background:var(--color-background-primary);flex:none;place-items:center;display:grid}.radio__dot{width:var(--size-icon-sm);height:var(--size-icon-sm);border-radius:var(--radius-full);background:var(--color-action-primary);visibility:hidden}.radio__input:checked+.radio__circle{border-color:var(--color-action-primary)}.radio__input:checked+.radio__circle .radio__dot{visibility:visible}.radio__label{color:var(--color-foreground-primary)}.radio__input:focus-visible+.radio__circle{outline:var(--border-width-focus) solid var(--color-border-focus);outline-offset:2px}.radio--invalid .radio__input:not(:checked)+.radio__circle{border-color:var(--color-border-error)}.radio:has(.radio__input:disabled){cursor:not-allowed}.radio__input:disabled+.radio__circle{border-color:var(--color-border-primary)}.radio__input:disabled:checked+.radio__circle{border-color:var(--color-background-disabled)}.radio__input:disabled+.radio__circle .radio__dot{background:var(--color-background-disabled)}.radio__input:disabled~.radio__label{color:var(--color-foreground-disabled)}.selection-group{gap:var(--spacing-xs);border:0;flex-direction:column;min-width:0;margin:0;padding:0;display:flex}.selection-group__legend{margin-bottom:var(--spacing-xs);color:var(--color-foreground-primary);padding:0}.selection-group__options{gap:var(--spacing-xs);flex-direction:column;display:flex}.selection-group--horizontal .selection-group__options{gap:var(--spacing-xs) var(--spacing-xl);flex-flow:wrap}.selection-group__helper{color:var(--color-foreground-secondary);margin:0}.selection-group--invalid .selection-group__helper{color:var(--color-foreground-error)}.selection-group:disabled .selection-group__legend{color:var(--color-foreground-disabled)}
2
+ /*$vite$:1*/
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from 'react';
2
+ import './Accordion.css';
3
+ export interface AccordionProps {
4
+ title: ReactNode;
5
+ children: ReactNode;
6
+ /** Uncontrolled initial state. */
7
+ defaultExpanded?: boolean;
8
+ /** Controlled state; pair with `onExpandedChange`. */
9
+ expanded?: boolean;
10
+ onExpandedChange?: (expanded: boolean) => void;
11
+ disabled?: boolean;
12
+ className?: string;
13
+ }
14
+ /**
15
+ * One accordion item, text based like the iOS disclosure group: a label with a chevron
16
+ * (`chevron_right` closed, `expand_more` open) that opens text right under the label.
17
+ * The whole header is a single button (`aria-expanded`, `aria-controls`); the chevron is a
18
+ * display-only Utility Icon, not a nested button, which would be invalid inside a button.
19
+ * Stack items for a group; single- vs multi-open is up to the caller.
20
+ */
21
+ export declare function Accordion({ title, children, defaultExpanded, expanded: expandedProp, onExpandedChange, disabled, className, }: AccordionProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ import './Badge.css';
3
+ export type BadgeType = 'brand' | 'info' | 'success' | 'warning' | 'error' | 'promote';
4
+ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
5
+ type?: BadgeType;
6
+ /** Solid = high emphasis, Subtle = low emphasis (the default). */
7
+ badgeStyle?: 'solid' | 'subtle';
8
+ size?: 'medium' | 'small';
9
+ /** Material Symbols name for the optional display-only icon. */
10
+ icon?: string;
11
+ }
12
+ /** Non-interactive status label. Use Button or a chip if it must be clickable. */
13
+ export declare function Badge({ type, badgeStyle, size, icon, className, children, ...rest }: BadgeProps): import("react").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ import './Button.css';
3
+ export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'alert';
4
+ export type ButtonSize = 'large' | 'small';
5
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
6
+ /** Figma `Type`. */
7
+ variant?: ButtonType;
8
+ /** Figma `Size`: Large 48px (12px vertical padding + 24px line height), Small 36px. */
9
+ size?: ButtonSize;
10
+ /** Material Symbols name for the `Show leading icon` slot. */
11
+ leadingIcon?: string;
12
+ /** Material Symbols name for the `Show trailing icon` slot. */
13
+ trailingIcon?: string;
14
+ /** Fill the container width (layout concern, not a Figma variant). */
15
+ fullWidth?: boolean;
16
+ }
17
+ /** Pressed and Disabled are `:active` and `:disabled`, not props. */
18
+ export declare function Button({ variant, size, leadingIcon, trailingIcon, fullWidth, className, children, type, ...rest }: ButtonProps): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ import './Checkbox.css';
3
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'role'> {
4
+ label?: string;
5
+ /** Mixed state for a "select all" parent. Shown as a dash; set `checked` to false or true alongside it. */
6
+ indeterminate?: boolean;
7
+ /** Error state: red box, `aria-invalid`. */
8
+ invalid?: boolean;
9
+ }
10
+ /**
11
+ * Native checkbox with the Figma look. Unchecked/Checked/Indeterminate are `:checked` and the
12
+ * `indeterminate` DOM property; Default/Disabled is `:disabled`. The label is part of the click target.
13
+ */
14
+ export declare function Checkbox({ label, indeterminate, invalid, className, id, ...rest }: CheckboxProps): import("react").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import './SelectionGroup.css';
2
+ export interface CheckboxOption {
3
+ value: string;
4
+ label: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface CheckboxGroupProps {
8
+ legend: string;
9
+ options: CheckboxOption[];
10
+ /** Controlled selected values. Omit to let the group manage its own state. */
11
+ value?: string[];
12
+ defaultValue?: string[];
13
+ onValueChange?: (value: string[]) => void;
14
+ name?: string;
15
+ helper?: string;
16
+ invalid?: boolean;
17
+ disabled?: boolean;
18
+ orientation?: 'vertical' | 'horizontal';
19
+ className?: string;
20
+ }
21
+ /** Pick any number of options. A `fieldset` with a legend plus native checkboxes sharing one `name`. */
22
+ export declare function CheckboxGroup({ legend, options, value, defaultValue, onValueChange, name, helper, invalid, disabled, orientation, className, }: CheckboxGroupProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import './Icon.css';
2
+ export type IconSize = 'sm' | 'md' | 'lg';
3
+ export interface IconProps {
4
+ /** Exact Material Symbols name, e.g. `search`, `expand_more`. */
5
+ name: string;
6
+ size?: IconSize;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * Utility Icon: display only (Material Symbols Rounded). If the icon itself triggers
11
+ * an action, use IconButton instead.
12
+ */
13
+ export declare function Icon({ name, size, className }: IconProps): import("react").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ import type { IconSize } from '../Icon/Icon';
3
+ import './IconButton.css';
4
+ export type IconButtonType = 'primary' | 'secondary' | 'tertiary' | 'alert';
5
+ export type IconButtonSize = 'large' | 'small';
6
+ export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
7
+ /** Material Symbols name. */
8
+ icon: string;
9
+ /** Required accessible name: the icon alone has no text. */
10
+ 'aria-label': string;
11
+ variant?: IconButtonType;
12
+ /** Large 48px, Small 32px. */
13
+ size?: IconButtonSize;
14
+ /** Glyph size; Figma variants use 24px (`lg`), nested uses (Input, Accordion) override to 20px (`md`). */
15
+ iconSize?: IconSize;
16
+ }
17
+ /** Interactive icon-only button. For a display-only icon use Icon. */
18
+ export declare function IconButton({ icon, variant, size, iconSize, className, type, ...rest }: IconButtonProps): import("react").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ import './ImageCard.css';
3
+ export interface ImageCardProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
4
+ orientation?: 'vertical' | 'horizontal';
5
+ /** Media slot: any image or media. Fills the image area. */
6
+ media?: ReactNode;
7
+ /** `Badge` row; pass a <Badge size="small" badgeStyle="subtle" />. */
8
+ badge?: ReactNode;
9
+ title: ReactNode;
10
+ description?: ReactNode;
11
+ /** `Actions` row: real Button / IconButton elements. */
12
+ actions?: ReactNode;
13
+ }
14
+ /** The card itself is not clickable; wrap it in a link in code if it needs to be. */
15
+ export declare function ImageCard({ orientation, media, badge, title, description, actions, className, ...rest }: ImageCardProps): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import type { InputHTMLAttributes, ReactNode } from 'react';
2
+ import './Input.css';
3
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
+ label?: string;
5
+ helper?: string;
6
+ /** Error state: red outline, `aria-invalid`. Keep `helper` as the error message. */
7
+ invalid?: boolean;
8
+ /** Medium 40px, Large 48px. */
9
+ size?: 'medium' | 'large';
10
+ /** Material Symbols name. Display only. */
11
+ leadingIcon?: string;
12
+ /** Interactive trailing control (an IconButton with aria-label, e.g. clear). */
13
+ trailingAction?: ReactNode;
14
+ }
15
+ /** Focus is `:focus-within`, Disabled is `disabled`. */
16
+ export declare function Input({ label, helper, invalid, size, leadingIcon, trailingAction, className, id, ...rest }: InputProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ import './Radio.css';
3
+ export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'role'> {
4
+ label?: string;
5
+ /** Error state: red ring, `aria-invalid`. */
6
+ invalid?: boolean;
7
+ }
8
+ /**
9
+ * Native radio with the Figma look. Use inside a `RadioGroup` (shared `name`, arrow-key navigation);
10
+ * a lone Radio is a mistake. Unselected/Selected is `:checked`, Default/Disabled is `:disabled`.
11
+ */
12
+ export declare function Radio({ label, invalid, className, id, ...rest }: RadioProps): import("react").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import '../CheckboxGroup/SelectionGroup.css';
2
+ export interface RadioOption {
3
+ value: string;
4
+ label: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface RadioGroupProps {
8
+ /** Visible group name (rendered as the fieldset legend). */
9
+ legend: string;
10
+ options: RadioOption[];
11
+ /** Controlled value. Omit to let the group manage its own state. */
12
+ value?: string;
13
+ defaultValue?: string;
14
+ onValueChange?: (value: string) => void;
15
+ name?: string;
16
+ helper?: string;
17
+ /** Error state: red radios, `helper` becomes the error message. */
18
+ invalid?: boolean;
19
+ required?: boolean;
20
+ disabled?: boolean;
21
+ /** Stack options (default) or lay them out in a row. */
22
+ orientation?: 'vertical' | 'horizontal';
23
+ className?: string;
24
+ }
25
+ /**
26
+ * Pick exactly one of 2 to 7 options. A `fieldset` with a legend plus native radios sharing one `name`,
27
+ * so Tab enters the group, arrow keys move the selection and it posts with a form.
28
+ */
29
+ export declare function RadioGroup({ legend, options, value, defaultValue, onValueChange, name, helper, invalid, required, disabled, orientation, className, }: RadioGroupProps): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ import './Toggle.css';
3
+ export interface ToggleProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'role'> {
4
+ label?: string;
5
+ }
6
+ /**
7
+ * Switch built on a native checkbox (`role="switch"`), so it works in forms and
8
+ * `:checked` / `:disabled` drive Off/On and Default/Disabled. The label is part of the click target.
9
+ */
10
+ export declare function Toggle({ label, className, id, ...rest }: ToggleProps): import("react").JSX.Element;
@@ -0,0 +1,26 @@
1
+ export { applyTheme } from './theme';
2
+ export type { ThemeBrand } from './theme';
3
+ export { Icon } from './Icon/Icon';
4
+ export type { IconProps, IconSize } from './Icon/Icon';
5
+ export { Button } from './Button/Button';
6
+ export type { ButtonProps, ButtonType, ButtonSize } from './Button/Button';
7
+ export { IconButton } from './IconButton/IconButton';
8
+ export type { IconButtonProps } from './IconButton/IconButton';
9
+ export { Badge } from './Badge/Badge';
10
+ export type { BadgeProps, BadgeType } from './Badge/Badge';
11
+ export { ImageCard } from './ImageCard/ImageCard';
12
+ export type { ImageCardProps } from './ImageCard/ImageCard';
13
+ export { Input } from './Input/Input';
14
+ export type { InputProps } from './Input/Input';
15
+ export { Toggle } from './Toggle/Toggle';
16
+ export type { ToggleProps } from './Toggle/Toggle';
17
+ export { Accordion } from './Accordion/Accordion';
18
+ export type { AccordionProps } from './Accordion/Accordion';
19
+ export { Checkbox } from './Checkbox/Checkbox';
20
+ export type { CheckboxProps } from './Checkbox/Checkbox';
21
+ export { Radio } from './Radio/Radio';
22
+ export type { RadioProps } from './Radio/Radio';
23
+ export { RadioGroup } from './RadioGroup/RadioGroup';
24
+ export type { RadioGroupProps, RadioOption } from './RadioGroup/RadioGroup';
25
+ export { CheckboxGroup } from './CheckboxGroup/CheckboxGroup';
26
+ export type { CheckboxGroupProps, CheckboxOption } from './CheckboxGroup/CheckboxGroup';
@@ -0,0 +1,7 @@
1
+ export type ThemeBrand = 'default' | 'eva' | 'heritage-luxury';
2
+ /**
3
+ * Applies a brand palette to the page and keeps it in step with the device's Light or Dark setting,
4
+ * like `.dsTheme(_:)` on iOS. Call it once when the app starts. Returns a function that stops following.
5
+ * To force one mode instead, set `data-theme` on `<html>` yourself.
6
+ */
7
+ export declare function applyTheme(brand?: ThemeBrand): () => void;
package/package.json CHANGED
@@ -1,6 +1,52 @@
1
1
  {
2
2
  "name": "@yuanhhou/ds",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.0",
4
+ "type": "module",
5
+ "description": "yuanhhou design system for React: components and tokens from the Figma DS.",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/k619tw/yuanhhou-design-system.git",
10
+ "directory": "web"
11
+ },
12
+ "homepage": "https://github.com/k619tw/yuanhhou-design-system#readme",
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "files": [
17
+ "lib"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./lib/types/index.d.ts",
22
+ "import": "./lib/index.js"
23
+ },
24
+ "./style.css": "./lib/style.css"
25
+ },
26
+ "sideEffects": [
27
+ "**/*.css"
28
+ ],
29
+ "peerDependencies": {
30
+ "react": "^19.0.0",
31
+ "react-dom": "^19.0.0"
32
+ },
33
+ "scripts": {
34
+ "dev": "vite",
35
+ "build": "tsc -b && vite build",
36
+ "build:lib": "rm -rf lib && tsc -p tsconfig.lib.json && vite build -c vite.lib.config.ts",
37
+ "prepack": "npm run build:lib",
38
+ "lint": "oxlint",
39
+ "preview": "vite preview"
40
+ },
41
+ "devDependencies": {
42
+ "@types/node": "^24.19.2",
43
+ "@types/react": "^19.3.0",
44
+ "@types/react-dom": "^19.3.0",
45
+ "@vitejs/plugin-react": "^6.1.2",
46
+ "oxlint": "^1.89.0",
47
+ "react": "^19.3.1",
48
+ "react-dom": "^19.3.1",
49
+ "typescript": "~7.0.2",
50
+ "vite": "^8.3.5"
51
+ }
52
+ }