tempest-react-sdk 0.58.0 → 0.60.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.
Files changed (93) hide show
  1. package/README.md +35 -3
  2. package/bin/lib/css/findings.mjs +1 -0
  3. package/bin/lib/css/semantic.mjs +70 -6
  4. package/bin/lib/css/semantic.test.mjs +52 -1
  5. package/dist/components/Alert/Alert.module.cjs.map +1 -1
  6. package/dist/components/Alert/Alert.module.js.map +1 -1
  7. package/dist/components/Badge/Badge.module.cjs.map +1 -1
  8. package/dist/components/Badge/Badge.module.js.map +1 -1
  9. package/dist/components/BarList/BarList.module.cjs.map +1 -1
  10. package/dist/components/BarList/BarList.module.js.map +1 -1
  11. package/dist/components/BottomSheet/BottomSheet.module.cjs.map +1 -1
  12. package/dist/components/BottomSheet/BottomSheet.module.js.map +1 -1
  13. package/dist/components/DataTable/DataTable.module.cjs.map +1 -1
  14. package/dist/components/DataTable/DataTable.module.js.map +1 -1
  15. package/dist/components/Dropzone/Dropzone.module.cjs.map +1 -1
  16. package/dist/components/Dropzone/Dropzone.module.js.map +1 -1
  17. package/dist/components/ErrorText/ErrorText.module.cjs.map +1 -1
  18. package/dist/components/ErrorText/ErrorText.module.js.map +1 -1
  19. package/dist/components/Markdown/Markdown.module.cjs.map +1 -1
  20. package/dist/components/Markdown/Markdown.module.js.map +1 -1
  21. package/dist/components/PasswordInput/PasswordInput.module.cjs.map +1 -1
  22. package/dist/components/PasswordInput/PasswordInput.module.js.map +1 -1
  23. package/dist/components/SegmentedControl/SegmentedControl.module.cjs.map +1 -1
  24. package/dist/components/SegmentedControl/SegmentedControl.module.js.map +1 -1
  25. package/dist/components/Sidebar/Sidebar.module.cjs.map +1 -1
  26. package/dist/components/Sidebar/Sidebar.module.js.map +1 -1
  27. package/dist/components/StepperInput/StepperInput.module.cjs.map +1 -1
  28. package/dist/components/StepperInput/StepperInput.module.js.map +1 -1
  29. package/dist/components/Tag/Tag.module.cjs.map +1 -1
  30. package/dist/components/Tag/Tag.module.js.map +1 -1
  31. package/dist/components/Timeline/Timeline.module.cjs.map +1 -1
  32. package/dist/components/Timeline/Timeline.module.js.map +1 -1
  33. package/dist/components/Toggle/Toggle.module.cjs.map +1 -1
  34. package/dist/components/Toggle/Toggle.module.js.map +1 -1
  35. package/dist/components/ToggleGroup/ToggleGroup.module.cjs.map +1 -1
  36. package/dist/components/ToggleGroup/ToggleGroup.module.js.map +1 -1
  37. package/dist/http/describe-api-error.cjs +1 -1
  38. package/dist/http/describe-api-error.cjs.map +1 -1
  39. package/dist/http/describe-api-error.js +12 -8
  40. package/dist/http/describe-api-error.js.map +1 -1
  41. package/dist/http/errors.cjs +1 -1
  42. package/dist/http/errors.cjs.map +1 -1
  43. package/dist/http/errors.js +21 -16
  44. package/dist/http/errors.js.map +1 -1
  45. package/dist/styles/Alert.css +1 -1
  46. package/dist/styles/Badge.css +1 -1
  47. package/dist/styles/BarList.css +3 -3
  48. package/dist/styles/BottomSheet.css +1 -1
  49. package/dist/styles/DataTable.css +1 -1
  50. package/dist/styles/Dropzone.css +1 -1
  51. package/dist/styles/ErrorText.css +1 -1
  52. package/dist/styles/Markdown.css +1 -1
  53. package/dist/styles/PasswordInput.css +1 -1
  54. package/dist/styles/SegmentedControl.css +1 -1
  55. package/dist/styles/Sidebar.css +2 -2
  56. package/dist/styles/StepperInput.css +1 -1
  57. package/dist/styles/Tag.css +1 -1
  58. package/dist/styles/Timeline.css +1 -1
  59. package/dist/styles/Toggle.css +1 -1
  60. package/dist/styles/ToggleGroup.css +1 -1
  61. package/dist/styles/advanced.css +2 -2
  62. package/dist/styles/auto.css +4 -0
  63. package/dist/styles/base.css +33 -0
  64. package/dist/styles/core.css +4 -2
  65. package/dist/styles/data.css +6 -6
  66. package/dist/styles/feedback.css +3 -3
  67. package/dist/styles/forms.css +3 -3
  68. package/dist/styles/manifest.json +496 -0
  69. package/dist/styles/navigation.css +3 -3
  70. package/dist/styles/overlay.css +1 -1
  71. package/dist/styles/scoped.css +131 -0
  72. package/dist/styles/tokens.css +10 -0
  73. package/dist/styles/utility.css +1 -1
  74. package/dist/styles.css +1 -1
  75. package/dist/tempest-react-sdk.cjs +1 -1
  76. package/dist/tempest-react-sdk.d.ts +81 -7
  77. package/dist/tempest-react-sdk.js +347 -346
  78. package/dist/theme/create-theme.cjs +3 -3
  79. package/dist/theme/create-theme.cjs.map +1 -1
  80. package/dist/theme/create-theme.js +15 -14
  81. package/dist/theme/create-theme.js.map +1 -1
  82. package/dist/utils/dev-mode.cjs +1 -1
  83. package/dist/utils/dev-mode.cjs.map +1 -1
  84. package/dist/utils/dev-mode.js +7 -2
  85. package/dist/utils/dev-mode.js.map +1 -1
  86. package/dist/vite/tempest-styles.cjs +5 -0
  87. package/dist/vite/tempest-styles.cjs.map +1 -0
  88. package/dist/vite/tempest-styles.js +103 -0
  89. package/dist/vite/tempest-styles.js.map +1 -0
  90. package/dist/vite.cjs +1 -1
  91. package/dist/vite.d.ts +82 -0
  92. package/dist/vite.js +2 -1
  93. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","names":[],"sources":["../../src/http/errors.ts"],"sourcesContent":["import type { ApiError } from \"./types\";\n\n/**\n * Error thrown by {@link createApiClient} / {@link uploadWithProgress} on a\n * non-2xx response. Mirrors the Tempest FastAPI SDK error envelope\n * (`{ detail, code, details.request_id }`) so callers get a typed `code` and a\n * `requestId` for log correlation, while still being a real `Error` (stack\n * trace, `instanceof Error`).\n *\n * @example\n * try {\n * await api.post(\"/users\", { body });\n * } catch (err) {\n * if (isApiError(err) && err.code === \"EMAIL_TAKEN\") {\n * showFieldError(\"email\", err.detail);\n * }\n * }\n */\nexport class TempestApiError extends Error implements ApiError {\n readonly status: number;\n readonly detail: string;\n readonly code?: string;\n readonly requestId?: string;\n readonly fields?: Record<string, string>;\n readonly body?: unknown;\n\n constructor(init: ApiError) {\n super(init.detail);\n this.name = \"TempestApiError\";\n this.status = init.status;\n this.detail = init.detail;\n this.code = init.code;\n this.requestId = init.requestId;\n this.fields = init.fields;\n this.body = init.body;\n }\n}\n\n/**\n * Type guard for the {@link ApiError} shape. Matches both {@link TempestApiError}\n * instances and plain objects carrying `status` + `detail`.\n *\n * @param error - The unknown value (typically a caught error).\n * @returns Whether `error` conforms to the `ApiError` contract.\n */\nexport function isApiError(error: unknown): error is ApiError {\n return (\n typeof error === \"object\" &&\n error !== null &&\n typeof (error as ApiError).status === \"number\" &&\n typeof (error as ApiError).detail === \"string\"\n );\n}\n\n/**\n * Location prefixes FastAPI puts at the head of a validation error's `loc`,\n * naming the part of the request rather than the field. Dropped from the\n * rendered path, so `[\"body\", \"email\"]` reads as `email`.\n */\nconst LOC_ROOTS: ReadonlySet<string> = new Set([\"body\", \"query\", \"path\", \"header\", \"cookie\"]);\n\n/**\n * Render a FastAPI validation error's `loc` tuple as a dotted field path.\n *\n * @param loc - The raw `loc` value from one validation error entry.\n * @returns The dotted path (`\"items.0.price\"`), or undefined when `loc` carries\n * nothing addressable.\n */\nfunction formatLoc(loc: unknown): string | undefined {\n if (!Array.isArray(loc)) return undefined;\n const parts = loc\n .filter(\n (part): part is string | number => typeof part === \"string\" || typeof part === \"number\",\n )\n .filter((part, index) => !(index === 0 && LOC_ROOTS.has(String(part))));\n return parts.length > 0 ? parts.join(\".\") : undefined;\n}\n\n/**\n * How deep {@link normalizeDetail} follows a nested `detail` before giving up.\n *\n * A real envelope needs two or three levels: the list, an entry, the entry's\n * own `detail`. The cap exists because the body is untrusted input arriving on\n * the error path — a response nesting `{\"detail\":{\"detail\":…}}` twenty thousand\n * deep (a 220 KB body) overflowed the stack, and a `RangeError` thrown while\n * *building* the error is worse than the error: the caller's `catch` stops\n * receiving a `TempestApiError`, so `isApiError` is false, `describeApiError`\n * has nothing to read and the `401` handling never runs.\n */\nconst MAX_DETAIL_DEPTH = 4;\n\n/**\n * Pull field-level messages out of a validation `detail` **list**.\n *\n * FastAPI's `422` body is `detail: [{ loc, msg, type }]`, which is exactly what\n * a form needs and exactly what the flattened `detail` string destroys. Only the\n * top level is read: a validation error names one field per entry, and following\n * nesting here would invent paths the backend never sent.\n *\n * This is one of two ways a body names a field — see {@link collectFields}, which\n * is the entry point and falls back to the singular keys when the list names\n * nothing addressable.\n *\n * @param raw - The `detail` value from the error body.\n * @returns Field path to message, or undefined when the body is not a\n * validation list (or carries no entry naming a field).\n */\nfunction collectListFields(raw: unknown): Record<string, string> | undefined {\n if (!Array.isArray(raw)) return undefined;\n\n const fields: Record<string, string> = {};\n for (const entry of raw) {\n if (typeof entry !== \"object\" || entry === null) continue;\n const record = entry as Record<string, unknown>;\n const field = formatLoc(record.loc);\n if (field === undefined || field in fields) continue;\n const message = normalizeDetail(record.msg) ?? normalizeDetail(record.message);\n if (message === undefined) continue;\n fields[field] = message;\n }\n\n return Object.keys(fields).length > 0 ? fields : undefined;\n}\n\n/**\n * Narrow a value to a plain object — a record, and not an array.\n *\n * Arrays are excluded because `typeof [] === \"object\"` while a list means\n * something else entirely here: FastAPI's `detail` list is read by\n * {@link collectListFields}, and reading `.field` off it would only ever be\n * undefined.\n *\n * @param value - The candidate value from the error body.\n * @returns The value as a record, or undefined when it is not a plain object.\n */\nfunction plainRecord(value: unknown): Record<string, unknown> | undefined {\n return typeof value === \"object\" && value !== null && !Array.isArray(value)\n ? (value as Record<string, unknown>)\n : undefined;\n}\n\n/**\n * Read the field a **singular** error envelope names.\n *\n * A backend built on `tempest-fastapi-sdk` never answers with FastAPI's `detail`\n * list once it owns the handler: it names the guilty field in a key beside the\n * message. Three shapes are seen in the wild, and they are read inner-out:\n *\n * 1. `detail.field` — the field sits in the same object as the message it\n * describes (`{ detail: { detail: \"Cidade não encontrada…\", field: \"city\" } }`),\n * so it is the least ambiguous claim about which message belongs to which input.\n * 2. `field` at the top level — a flattened `RequestValidationError`\n * (`{ detail: \"Value error, … for field 'phone' in 'body'\", field: \"phone\" }`)\n * makes the same claim one level out.\n * 3. `details.field` — `details` is the envelope's free-form context bag, not a\n * validation channel, and its `field` may be about something no input on screen\n * carries (an unknown sort column, say). It answers last for exactly that reason.\n *\n * `location` (`\"body -> phone\"`) is deliberately not parsed: it renders the same\n * path `field` already names, no observed envelope sends it without `field`, and\n * splitting an arrow-separated string would invent a path the backend never sent.\n *\n * @param body - The parsed error body, or null when it was not an object.\n * @returns The field name, or undefined when none of the three keys carried a\n * non-empty string — anything else is not usable as a key on `fields`.\n */\nfunction namedField(body: Record<string, unknown> | null): string | undefined {\n if (body === null) return undefined;\n const candidates: readonly unknown[] = [\n plainRecord(body.detail)?.field,\n body.field,\n plainRecord(body.details)?.field,\n ];\n for (const candidate of candidates) {\n if (typeof candidate === \"string\" && candidate !== \"\") return candidate;\n }\n return undefined;\n}\n\n/**\n * Index the body's field-level messages, whichever envelope carried them.\n *\n * The single entry point behind `ApiError.fields`, and it applies two rules the\n * tests pin:\n *\n * - FastAPI's `detail` list wins whenever it names at least one addressable\n * field. A plain FastAPI app still answers a schema-level `422` with that list\n * even on a `tempest-fastapi-sdk` backend, so it stays authoritative.\n * - A named field with no readable message produces nothing. The only string\n * left at that point is the synthetic `Erro <status>`, and `{ phone: \"Erro 422\" }`\n * on an input is noise rather than an error message.\n *\n * @param body - The parsed error body, or null when it was not an object.\n * @param message - The readable message the same body produced, before the\n * synthetic fallback — the string that also becomes `ApiError.detail`.\n * @returns Field name to message, or undefined when nothing named a field.\n */\nfunction collectFields(\n body: Record<string, unknown> | null,\n message: string | undefined,\n): Record<string, string> | undefined {\n const listed = collectListFields(body?.detail);\n if (listed !== undefined) return listed;\n const field = namedField(body);\n if (field === undefined || message === undefined) return undefined;\n return { [field]: message };\n}\n\n/**\n * Collapse a backend `detail` of any shape into a single readable line.\n *\n * FastAPI answers a `422` with `detail` as a **list** of\n * `{ loc, msg, type }` entries, not a string. Passing that through `String()`\n * yields `\"[object Object]\"` — an error message that tells the user nothing and\n * hides which field failed. Each entry becomes `\"<field>: <msg>\"` and the\n * entries are joined with `\"; \"`; a nested object is read through its\n * `msg`/`message`/`detail` string.\n *\n * @param raw - The `detail` (or `message`) value from the error body.\n * @param depth - Current nesting level. Past {@link MAX_DETAIL_DEPTH} the value\n * is treated as unreadable instead of followed further.\n * @returns The rendered message, or undefined when nothing readable is there —\n * letting the caller fall back to the synthetic `Erro <status>`.\n */\nfunction normalizeDetail(raw: unknown, depth: number = 0): string | undefined {\n if (raw === null || raw === undefined) return undefined;\n if (typeof raw === \"string\") return raw === \"\" ? undefined : raw;\n if (typeof raw === \"number\" || typeof raw === \"boolean\") return String(raw);\n if (depth >= MAX_DETAIL_DEPTH) return undefined;\n\n if (Array.isArray(raw)) {\n const lines = raw\n .map((entry) => {\n const message = normalizeDetail(entry, depth + 1);\n if (message === undefined) return undefined;\n const field =\n typeof entry === \"object\" && entry !== null\n ? formatLoc((entry as Record<string, unknown>).loc)\n : undefined;\n return field === undefined ? message : `${field}: ${message}`;\n })\n .filter((line): line is string => line !== undefined);\n return lines.length > 0 ? lines.join(\"; \") : undefined;\n }\n\n if (typeof raw === \"object\") {\n const entry = raw as Record<string, unknown>;\n return (\n normalizeDetail(entry.msg, depth + 1) ??\n normalizeDetail(entry.message, depth + 1) ??\n normalizeDetail(entry.detail, depth + 1)\n );\n }\n\n return undefined;\n}\n\n/**\n * Statuses worth a second attempt, as a set for the sub-500 cases.\n *\n * A network failure (status `0`), a request timeout, a too-early replay, and a\n * rate limit — which usually carries the `Retry-After` the backoff honours.\n * Everything else below 500 is the server refusing on purpose.\n */\nconst RETRIABLE_STATUSES: ReadonlySet<number> = new Set([0, 408, 425, 429]);\n\n/**\n * Whether an HTTP status describes a condition a replay can plausibly fix.\n *\n * The single owner of that decision. It used to be spelled out in three places —\n * the client's own policy, the react-query default and the bare `retry()` helper\n * — and they had already drifted: the query default was missing `425`, so the\n * same `425 Too Early` was replayed through `createApiClient({ retry: true })`\n * and not replayed through `useQuery`. Same app, same error, two behaviours, and\n * no test caught it because each file asserted against its own copy.\n *\n * Deliberately about the status and nothing else. Whether a *non*-API error is\n * worth replaying, and whether the request's method may be replayed at all, are\n * the caller's calls: {@link createApiClient} refuses a non-idempotent method,\n * while a bare `retry()` has no method to inspect.\n *\n * @example\n * await api.get(\"/report\", {\n * retry: { shouldRetry: (error) => isApiError(error) && isRetriableStatus(error.status) },\n * });\n *\n * @param status - The HTTP status, where `0` means the request never landed.\n * @returns Whether a retry is worth attempting.\n */\nexport function isRetriableStatus(status: number): boolean {\n return RETRIABLE_STATUSES.has(status) || status >= 500;\n}\n\n/**\n * Detail text synthesised when a response body carries none.\n *\n * Exported because {@link describeApiError} has to recognise it: a detail the\n * server never sent says strictly less than the caller's own fallback, so the\n * funnel drops it. Comparing against a copied literal would silently stop\n * matching the day this sentence is reworded — no type error, no failing test.\n *\n * @param status - The HTTP status of the error.\n * @returns The synthetic detail for that status.\n */\nexport function syntheticDetail(status: number): string {\n return `Erro ${status}`;\n}\n\n/**\n * Parse an error body + response into the Tempest {@link ApiError} envelope.\n *\n * Reads `detail`/`message`, the programmatic `code`, and the correlation id\n * from `details.request_id` (falling back to the `X-Request-ID` header, then\n * the id the client sent).\n *\n * A `422` from FastAPI carries `detail` as a list of `{ loc, msg, type }`\n * entries, so it is flattened to `\"<field>: <msg>; <field>: <msg>\"` instead of\n * being stringified into `\"[object Object]\"`, and the same entries are indexed\n * on `fields` (`{ email: \"Field required\" }`) for a form to consume without\n * parsing that line back apart. The untouched body stays on `body`.\n *\n * A backend that owns its handlers — every `tempest-fastapi-sdk` app — sends no\n * such list, and names the field in a key instead:\n *\n * ```json\n * { \"detail\": \"Value error, … for field 'phone' in 'body'\", \"field\": \"phone\" }\n * { \"detail\": { \"detail\": \"Cidade não encontrada…\", \"field\": \"city\" },\n * \"code\": \"VALIDATION_ERROR\", \"details\": { \"field\": \"city\" } }\n * ```\n *\n * Those are indexed too, keyed by the field the backend named and valued with the\n * same sentence that becomes `detail`. Precedence is the list first, then\n * `detail.field`, `field`, `details.field` — see {@link collectFields}.\n *\n * A flattened `detail` from the list is developer-facing: it carries the\n * backend's field paths and the validator's own wording. `describeApiError` knows\n * not to show it to a person when `fields` is set — which now also covers a\n * business error that named a field, whose `detail` was a finished sentence. That\n * sentence is not lost: it is on `fields`, attached to the input that failed.\n *\n * @param status - HTTP status code.\n * @param body - The parsed error body (object, string, or null).\n * @param headers - The response headers (for the `X-Request-ID` fallback).\n * @param sentRequestId - The id the client sent on the request, if any.\n * @returns A fully-populated `ApiError`.\n *\n * @tempest-limits param-count — the arguments are the response as it arrives\n * (`status`, `body`, `headers`) plus the id the request was sent with, and they are\n * passed at exactly three places, all of them a client's response path\n * (`createApiClient`, `uploadWithProgress`, `createResumableUpload`). Wrapping them\n * in an options object would name each argument twice at every call site to say\n * nothing new.\n */\nexport function buildApiError(\n status: number,\n body: unknown,\n headers?: Headers | { get(name: string): string | null },\n sentRequestId?: string,\n): ApiError {\n const obj =\n typeof body === \"object\" && body !== null ? (body as Record<string, unknown>) : null;\n const message = normalizeDetail(obj?.detail) ?? normalizeDetail(obj?.message);\n const detail = message ?? syntheticDetail(status);\n const code = typeof obj?.code === \"string\" ? obj.code : undefined;\n const details =\n typeof obj?.details === \"object\" && obj.details !== null\n ? (obj.details as Record<string, unknown>)\n : null;\n const requestId =\n (typeof details?.request_id === \"string\" ? details.request_id : undefined) ??\n headers?.get(\"X-Request-ID\") ??\n sentRequestId ??\n undefined;\n\n return {\n status,\n detail,\n code,\n requestId: requestId ?? undefined,\n retryAfter: parseRetryAfter(headers?.get(\"Retry-After\")),\n fields: collectFields(obj, message),\n body,\n };\n}\n\n/**\n * Parse a `Retry-After` header into seconds. Accepts a delta-seconds integer\n * (`\"120\"`) or an HTTP-date (`\"Wed, 21 Oct 2015 07:28:00 GMT\"`).\n *\n * @param value - The raw header value, or null.\n * @returns The delay in seconds (>= 0), or undefined when absent/unparseable.\n */\nexport function parseRetryAfter(value: string | null | undefined): number | undefined {\n if (!value) return undefined;\n const trimmed = value.trim();\n if (/^\\d+$/.test(trimmed)) return Number(trimmed);\n const when = Date.parse(trimmed);\n if (Number.isNaN(when)) return undefined;\n return Math.max(0, Math.round((when - Date.now()) / 1000));\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"errors.js","names":[],"sources":["../../src/http/errors.ts"],"sourcesContent":["import type { ApiError } from \"./types\";\n\n/**\n * Error thrown by {@link createApiClient} / {@link uploadWithProgress} on a\n * non-2xx response. Mirrors the Tempest FastAPI SDK error envelope\n * (`{ detail, code, details.request_id }`) so callers get a typed `code` and a\n * `requestId` for log correlation, while still being a real `Error` (stack\n * trace, `instanceof Error`).\n *\n * @example\n * try {\n * await api.post(\"/users\", { body });\n * } catch (err) {\n * if (isApiError(err) && err.code === \"EMAIL_TAKEN\") {\n * showFieldError(\"email\", err.detail);\n * }\n * }\n */\nexport class TempestApiError extends Error implements ApiError {\n readonly status: number;\n readonly detail: string;\n readonly code?: string;\n readonly requestId?: string;\n readonly fields?: Record<string, string>;\n readonly body?: unknown;\n\n constructor(init: ApiError) {\n super(init.detail);\n this.name = \"TempestApiError\";\n this.status = init.status;\n this.detail = init.detail;\n this.code = init.code;\n this.requestId = init.requestId;\n this.fields = init.fields;\n this.body = init.body;\n }\n}\n\n/**\n * Type guard for the {@link ApiError} shape. Matches both {@link TempestApiError}\n * instances and plain objects carrying `status` + `detail`.\n *\n * @param error - The unknown value (typically a caught error).\n * @returns Whether `error` conforms to the `ApiError` contract.\n */\nexport function isApiError(error: unknown): error is ApiError {\n return (\n typeof error === \"object\" &&\n error !== null &&\n typeof (error as ApiError).status === \"number\" &&\n typeof (error as ApiError).detail === \"string\"\n );\n}\n\n/**\n * Location prefixes FastAPI puts at the head of a validation error's `loc`,\n * naming the part of the request rather than the field. Dropped from the\n * rendered path, so `[\"body\", \"email\"]` reads as `email`.\n */\nconst LOC_ROOTS: ReadonlySet<string> = new Set([\"body\", \"query\", \"path\", \"header\", \"cookie\"]);\n\n/**\n * Render a FastAPI validation error's `loc` tuple as a dotted field path.\n *\n * @param loc - The raw `loc` value from one validation error entry.\n * @returns The dotted path (`\"items.0.price\"`), or undefined when `loc` carries\n * nothing addressable.\n */\nfunction formatLoc(loc: unknown): string | undefined {\n if (!Array.isArray(loc)) return undefined;\n const parts = loc\n .filter(\n (part): part is string | number => typeof part === \"string\" || typeof part === \"number\",\n )\n .filter((part, index) => !(index === 0 && LOC_ROOTS.has(String(part))));\n return parts.length > 0 ? parts.join(\".\") : undefined;\n}\n\n/**\n * How deep {@link normalizeDetail} follows a nested `detail` before giving up.\n *\n * A real envelope needs two or three levels: the list, an entry, the entry's\n * own `detail`. The cap exists because the body is untrusted input arriving on\n * the error path — a response nesting `{\"detail\":{\"detail\":…}}` twenty thousand\n * deep (a 220 KB body) overflowed the stack, and a `RangeError` thrown while\n * *building* the error is worse than the error: the caller's `catch` stops\n * receiving a `TempestApiError`, so `isApiError` is false, `describeApiError`\n * has nothing to read and the `401` handling never runs.\n */\nconst MAX_DETAIL_DEPTH = 4;\n\n/**\n * Pull field-level messages out of a validation `detail` **list**.\n *\n * FastAPI's `422` body is `detail: [{ loc, msg, type }]`, which is exactly what\n * a form needs and exactly what the flattened `detail` string destroys. Only the\n * top level is read: a validation error names one field per entry, and following\n * nesting here would invent paths the backend never sent.\n *\n * This is one of two ways a body names a field — see {@link collectFields}, which\n * is the entry point and falls back to the singular keys when the list names\n * nothing addressable.\n *\n * @param raw - The `detail` value from the error body.\n * @returns Field path to message, or undefined when the body is not a\n * validation list (or carries no entry naming a field).\n */\nfunction collectListFields(raw: unknown): Record<string, string> | undefined {\n if (!Array.isArray(raw)) return undefined;\n\n const fields: Record<string, string> = {};\n for (const entry of raw) {\n if (typeof entry !== \"object\" || entry === null) continue;\n const record = entry as Record<string, unknown>;\n const field = formatLoc(record.loc);\n if (field === undefined || field in fields) continue;\n const message = normalizeDetail(record.msg) ?? normalizeDetail(record.message);\n if (message === undefined) continue;\n fields[field] = message;\n }\n\n return Object.keys(fields).length > 0 ? fields : undefined;\n}\n\n/**\n * Narrow a value to a plain object — a record, and not an array.\n *\n * Arrays are excluded because `typeof [] === \"object\"` while a list means\n * something else entirely here: FastAPI's `detail` list is read by\n * {@link collectListFields}, and reading `.field` off it would only ever be\n * undefined.\n *\n * @param value - The candidate value from the error body.\n * @returns The value as a record, or undefined when it is not a plain object.\n */\nfunction plainRecord(value: unknown): Record<string, unknown> | undefined {\n return typeof value === \"object\" && value !== null && !Array.isArray(value)\n ? (value as Record<string, unknown>)\n : undefined;\n}\n\n/**\n * Read the field a **singular** error envelope names.\n *\n * A backend built on `tempest-fastapi-sdk` never answers with FastAPI's `detail`\n * list once it owns the handler: it names the guilty field in a key beside the\n * message. Three shapes are seen in the wild, and they are read inner-out:\n *\n * 1. `detail.field` — the field sits in the same object as the message it\n * describes (`{ detail: { detail: \"Cidade não encontrada…\", field: \"city\" } }`),\n * so it is the least ambiguous claim about which message belongs to which input.\n * 2. `field` at the top level — a flattened `RequestValidationError`\n * (`{ detail: \"Value error, … for field 'phone' in 'body'\", field: \"phone\" }`)\n * makes the same claim one level out.\n * 3. `details.field` — `details` is the envelope's free-form context bag, not a\n * validation channel, and its `field` may be about something no input on screen\n * carries (an unknown sort column, say). It answers last for exactly that reason.\n *\n * `location` (`\"body -> phone\"`) is deliberately not parsed: it renders the same\n * path `field` already names, no observed envelope sends it without `field`, and\n * splitting an arrow-separated string would invent a path the backend never sent.\n *\n * @param body - The parsed error body, or null when it was not an object.\n * @returns The field name, or undefined when none of the three keys carried a\n * non-empty string — anything else is not usable as a key on `fields`.\n */\nfunction namedField(body: Record<string, unknown> | null): string | undefined {\n if (body === null) return undefined;\n const candidates: readonly unknown[] = [\n plainRecord(body.detail)?.field,\n body.field,\n plainRecord(body.details)?.field,\n ];\n for (const candidate of candidates) {\n if (typeof candidate === \"string\" && candidate !== \"\") return candidate;\n }\n return undefined;\n}\n\n/**\n * Drop the machine-readable tail a `tempest-fastapi-sdk` backend appends.\n *\n * That backend flattens a field error into\n * `\"CPF ou CNPJ inválido for field 'cpf_cnpj' in 'body'\"` — a finished sentence\n * in the app's language with an English clause glued to the end. The clause\n * carries nothing new: the same two values arrive as `field` and `location` on\n * the envelope, which is where `ApiError.fields` reads them from. Left in, it\n * reaches the user, and every consuming app grew its own regex to shave it off.\n *\n * The trim only fires when the field the tail names is the field the envelope\n * resolved to. That is what keeps it from deleting text it cannot account for:\n * a tail naming some other field is either a different envelope shape or a\n * sentence that genuinely reads that way, and both are left alone.\n *\n * @param message - The readable message, or undefined when the body had none.\n * @param field - The field name {@link namedField} resolved, if any.\n * @returns The message without the tail, or the message unchanged.\n */\nfunction trimFieldSuffix(\n message: string | undefined,\n field: string | undefined,\n): string | undefined {\n if (message === undefined || field === undefined) return message;\n const escaped = field.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n const trimmed = message\n .replace(new RegExp(`\\\\s+for field '${escaped}'(?:\\\\s+in\\\\s+'[^']*')?\\\\.?\\\\s*$`), \"\")\n .trim();\n return trimmed === \"\" ? message : trimmed;\n}\n\n/**\n * Index the body's field-level messages, whichever envelope carried them.\n *\n * The single entry point behind `ApiError.fields`, and it applies two rules the\n * tests pin:\n *\n * - FastAPI's `detail` list wins whenever it names at least one addressable\n * field. A plain FastAPI app still answers a schema-level `422` with that list\n * even on a `tempest-fastapi-sdk` backend, so it stays authoritative.\n * - A named field with no readable message produces nothing. The only string\n * left at that point is the synthetic `Erro <status>`, and `{ phone: \"Erro 422\" }`\n * on an input is noise rather than an error message.\n *\n * @param body - The parsed error body, or null when it was not an object.\n * @param message - The readable message the same body produced, before the\n * synthetic fallback — the string that also becomes `ApiError.detail`.\n * @returns Field name to message, or undefined when nothing named a field.\n */\nfunction collectFields(\n body: Record<string, unknown> | null,\n message: string | undefined,\n): Record<string, string> | undefined {\n const listed = collectListFields(body?.detail);\n if (listed !== undefined) return listed;\n const field = namedField(body);\n if (field === undefined || message === undefined) return undefined;\n return { [field]: message };\n}\n\n/**\n * Collapse a backend `detail` of any shape into a single readable line.\n *\n * FastAPI answers a `422` with `detail` as a **list** of\n * `{ loc, msg, type }` entries, not a string. Passing that through `String()`\n * yields `\"[object Object]\"` — an error message that tells the user nothing and\n * hides which field failed. Each entry becomes `\"<field>: <msg>\"` and the\n * entries are joined with `\"; \"`; a nested object is read through its\n * `msg`/`message`/`detail` string.\n *\n * @param raw - The `detail` (or `message`) value from the error body.\n * @param depth - Current nesting level. Past {@link MAX_DETAIL_DEPTH} the value\n * is treated as unreadable instead of followed further.\n * @returns The rendered message, or undefined when nothing readable is there —\n * letting the caller fall back to the synthetic `Erro <status>`.\n */\nfunction normalizeDetail(raw: unknown, depth: number = 0): string | undefined {\n if (raw === null || raw === undefined) return undefined;\n if (typeof raw === \"string\") return raw === \"\" ? undefined : raw;\n if (typeof raw === \"number\" || typeof raw === \"boolean\") return String(raw);\n if (depth >= MAX_DETAIL_DEPTH) return undefined;\n\n if (Array.isArray(raw)) {\n const lines = raw\n .map((entry) => {\n const message = normalizeDetail(entry, depth + 1);\n if (message === undefined) return undefined;\n const field =\n typeof entry === \"object\" && entry !== null\n ? formatLoc((entry as Record<string, unknown>).loc)\n : undefined;\n return field === undefined ? message : `${field}: ${message}`;\n })\n .filter((line): line is string => line !== undefined);\n return lines.length > 0 ? lines.join(\"; \") : undefined;\n }\n\n if (typeof raw === \"object\") {\n const entry = raw as Record<string, unknown>;\n return (\n normalizeDetail(entry.msg, depth + 1) ??\n normalizeDetail(entry.message, depth + 1) ??\n normalizeDetail(entry.detail, depth + 1)\n );\n }\n\n return undefined;\n}\n\n/**\n * Statuses worth a second attempt, as a set for the sub-500 cases.\n *\n * A network failure (status `0`), a request timeout, a too-early replay, and a\n * rate limit — which usually carries the `Retry-After` the backoff honours.\n * Everything else below 500 is the server refusing on purpose.\n */\nconst RETRIABLE_STATUSES: ReadonlySet<number> = new Set([0, 408, 425, 429]);\n\n/**\n * Whether an HTTP status describes a condition a replay can plausibly fix.\n *\n * The single owner of that decision. It used to be spelled out in three places —\n * the client's own policy, the react-query default and the bare `retry()` helper\n * — and they had already drifted: the query default was missing `425`, so the\n * same `425 Too Early` was replayed through `createApiClient({ retry: true })`\n * and not replayed through `useQuery`. Same app, same error, two behaviours, and\n * no test caught it because each file asserted against its own copy.\n *\n * Deliberately about the status and nothing else. Whether a *non*-API error is\n * worth replaying, and whether the request's method may be replayed at all, are\n * the caller's calls: {@link createApiClient} refuses a non-idempotent method,\n * while a bare `retry()` has no method to inspect.\n *\n * @example\n * await api.get(\"/report\", {\n * retry: { shouldRetry: (error) => isApiError(error) && isRetriableStatus(error.status) },\n * });\n *\n * @param status - The HTTP status, where `0` means the request never landed.\n * @returns Whether a retry is worth attempting.\n */\nexport function isRetriableStatus(status: number): boolean {\n return RETRIABLE_STATUSES.has(status) || status >= 500;\n}\n\n/**\n * Detail text synthesised when a response body carries none.\n *\n * Exported because {@link describeApiError} has to recognise it: a detail the\n * server never sent says strictly less than the caller's own fallback, so the\n * funnel drops it. Comparing against a copied literal would silently stop\n * matching the day this sentence is reworded — no type error, no failing test.\n *\n * @param status - The HTTP status of the error.\n * @returns The synthetic detail for that status.\n */\nexport function syntheticDetail(status: number): string {\n return `Erro ${status}`;\n}\n\n/**\n * Parse an error body + response into the Tempest {@link ApiError} envelope.\n *\n * Reads `detail`/`message`, the programmatic `code`, and the correlation id\n * from `details.request_id` (falling back to the `X-Request-ID` header, then\n * the id the client sent).\n *\n * A `422` from FastAPI carries `detail` as a list of `{ loc, msg, type }`\n * entries, so it is flattened to `\"<field>: <msg>; <field>: <msg>\"` instead of\n * being stringified into `\"[object Object]\"`, and the same entries are indexed\n * on `fields` (`{ email: \"Field required\" }`) for a form to consume without\n * parsing that line back apart. The untouched body stays on `body`.\n *\n * A backend that owns its handlers — every `tempest-fastapi-sdk` app — sends no\n * such list, and names the field in a key instead:\n *\n * ```json\n * { \"detail\": \"Value error, … for field 'phone' in 'body'\", \"field\": \"phone\" }\n * { \"detail\": { \"detail\": \"Cidade não encontrada…\", \"field\": \"city\" },\n * \"code\": \"VALIDATION_ERROR\", \"details\": { \"field\": \"city\" } }\n * ```\n *\n * Those are indexed too, keyed by the field the backend named and valued with the\n * same sentence that becomes `detail`. Precedence is the list first, then\n * `detail.field`, `field`, `details.field` — see {@link collectFields}.\n *\n * A flattened `detail` from the list is developer-facing: it carries the\n * backend's field paths and the validator's own wording. `describeApiError` knows\n * not to show it to a person when `fields` is set — which now also covers a\n * business error that named a field, whose `detail` was a finished sentence. That\n * sentence is not lost: it is on `fields`, attached to the input that failed.\n *\n * @param status - HTTP status code.\n * @param body - The parsed error body (object, string, or null).\n * @param headers - The response headers (for the `X-Request-ID` fallback).\n * @param sentRequestId - The id the client sent on the request, if any.\n * @returns A fully-populated `ApiError`.\n *\n * @tempest-limits param-count — the arguments are the response as it arrives\n * (`status`, `body`, `headers`) plus the id the request was sent with, and they are\n * passed at exactly three places, all of them a client's response path\n * (`createApiClient`, `uploadWithProgress`, `createResumableUpload`). Wrapping them\n * in an options object would name each argument twice at every call site to say\n * nothing new.\n */\nexport function buildApiError(\n status: number,\n body: unknown,\n headers?: Headers | { get(name: string): string | null },\n sentRequestId?: string,\n): ApiError {\n const obj =\n typeof body === \"object\" && body !== null ? (body as Record<string, unknown>) : null;\n const message = trimFieldSuffix(\n normalizeDetail(obj?.detail) ?? normalizeDetail(obj?.message),\n namedField(obj),\n );\n const detail = message ?? syntheticDetail(status);\n const code = typeof obj?.code === \"string\" ? obj.code : undefined;\n const details =\n typeof obj?.details === \"object\" && obj.details !== null\n ? (obj.details as Record<string, unknown>)\n : null;\n const requestId =\n (typeof details?.request_id === \"string\" ? details.request_id : undefined) ??\n headers?.get(\"X-Request-ID\") ??\n sentRequestId ??\n undefined;\n\n return {\n status,\n detail,\n code,\n requestId: requestId ?? undefined,\n retryAfter: parseRetryAfter(headers?.get(\"Retry-After\")),\n fields: collectFields(obj, message),\n body,\n };\n}\n\n/**\n * Parse a `Retry-After` header into seconds. Accepts a delta-seconds integer\n * (`\"120\"`) or an HTTP-date (`\"Wed, 21 Oct 2015 07:28:00 GMT\"`).\n *\n * @param value - The raw header value, or null.\n * @returns The delay in seconds (>= 0), or undefined when absent/unparseable.\n */\nexport function parseRetryAfter(value: string | null | undefined): number | undefined {\n if (!value) return undefined;\n const trimmed = value.trim();\n if (/^\\d+$/.test(trimmed)) return Number(trimmed);\n const when = Date.parse(trimmed);\n if (Number.isNaN(when)) return undefined;\n return Math.max(0, Math.round((when - Date.now()) / 1000));\n}\n"],"mappings":"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"}
@@ -8,7 +8,7 @@
8
8
  .tempest_close_narep:hover{opacity:1;background-color:#0f172a0f}
9
9
  .tempest_close_narep:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:var(--tempest-focus-ring-offset)}
10
10
  .tempest_neutral_J7MH1{background-color:var(--tempest-surface);color:var(--tempest-text);border-color:var(--tempest-border)}
11
- .tempest_neutral_J7MH1.tempest_solid_s-oW5{background-color:var(--tempest-gray-700);color:#fff;border-color:#0000}
11
+ .tempest_neutral_J7MH1.tempest_solid_s-oW5{background-color:var(--tempest-gray-700);color:var(--tempest-neutral-on-solid);border-color:#0000}
12
12
  .tempest_neutral_J7MH1.tempest_outline_v7w9b{border-color:var(--tempest-border-strong);background-color:#0000}
13
13
  .tempest_info_9r3r1{background-color:var(--tempest-info-bg);color:var(--tempest-info-fg);border-color:var(--tempest-info-border)}
14
14
  .tempest_info_9r3r1 .tempest_description_pXPvw{color:var(--tempest-info-fg);opacity:.85}
@@ -5,7 +5,7 @@
5
5
  .tempest_lg_Bseje{padding:3px var(--tempest-space-3);font-size:var(--tempest-text-sm)}
6
6
  .tempest_square_l63D-{border-radius:var(--tempest-radius-sm)}
7
7
  .tempest_neutral_lulSm{background-color:var(--tempest-surface-2);color:var(--tempest-text)}
8
- .tempest_neutral_lulSm.tempest_solid_0Leug{background-color:var(--tempest-gray-700);color:#fff}
8
+ .tempest_neutral_lulSm.tempest_solid_0Leug{background-color:var(--tempest-gray-700);color:var(--tempest-neutral-on-solid)}
9
9
  .tempest_neutral_lulSm.tempest_outline_x06HL{color:var(--tempest-text);border-color:var(--tempest-border-strong);background-color:#0000}
10
10
  .tempest_success_u9JiS{background-color:var(--tempest-success-bg);color:var(--tempest-success-fg)}
11
11
  .tempest_success_u9JiS.tempest_solid_0Leug{background-color:var(--tempest-success-solid);color:var(--tempest-success-on-solid)}
@@ -1,10 +1,10 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
2
  .tempest_list_XtltA{gap:var(--tempest-space-3,.75rem);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}
3
3
  .tempest_item_y-W9f{gap:var(--tempest-space-1,.25rem);flex-direction:column;display:flex}
4
- .tempest_line_WKQ57{justify-content:space-between;align-items:baseline;gap:var(--tempest-space-3,.75rem);font-size:var(--tempest-font-size-sm,.8125rem);display:flex}
4
+ .tempest_line_WKQ57{justify-content:space-between;align-items:baseline;gap:var(--tempest-space-3,.75rem);font-size:var(--tempest-text-sm);display:flex}
5
5
  .tempest_label_AywVf{min-width:0;color:var(--tempest-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
6
6
  .tempest_value_Y0DD0{align-items:baseline;gap:var(--tempest-space-2,.5rem);color:var(--tempest-text);font-variant-numeric:tabular-nums;white-space:nowrap;display:inline-flex}
7
- .tempest_percentage_YTyMa{color:var(--tempest-text-subtle);font-size:var(--tempest-font-size-xs,.75rem)}
7
+ .tempest_percentage_YTyMa{color:var(--tempest-text-subtle);font-size:var(--tempest-text-xs)}
8
8
  .tempest_track_OVSC3{border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-surface-2);width:100%;height:.5rem;overflow:hidden}
9
- .tempest_fill_kg-Vl{border-radius:inherit;height:100%;transition:width var(--tempest-duration-normal,.2s) ease}
9
+ .tempest_fill_kg-Vl{border-radius:inherit;height:100%;transition:width var(--tempest-duration-base) ease}
10
10
  @media (prefers-reduced-motion:reduce){.tempest_fill_kg-Vl{transition:none}}
@@ -3,7 +3,7 @@
3
3
  .tempest_backdrop_WLqh0{animation:tempest_fadeIn_fyyhf var(--tempest-duration-base,.2s) var(--tempest-ease-out,ease-out);background:#00000073;position:absolute;inset:0}
4
4
  .tempest_sheet_Okz1P{background:var(--tempest-surface);border-top-left-radius:var(--tempest-radius-2xl,var(--tempest-radius-lg));border-top-right-radius:var(--tempest-radius-2xl,var(--tempest-radius-lg));width:100%;max-width:720px;max-height:90dvh;box-shadow:var(--tempest-shadow-xl,0 -10px 30px #00000040);padding-bottom:env(safe-area-inset-bottom,0);animation:tempest_slideUp_CSrpB var(--tempest-duration-base,.24s) var(--tempest-ease-out,ease-out);font-family:var(--tempest-font-sans);flex-direction:column;display:flex;position:relative;overflow:hidden}
5
5
  .tempest_handle_GWCoK{padding:var(--tempest-space-2) 0;cursor:grab;background:0 0;border:0;flex:none;justify-content:center;align-items:center;display:flex}
6
- .tempest_handleBar_XPPiI{background:var(--tempest-gray-300);border-radius:var(--tempest-radius-full);width:36px;height:4px;display:block}
6
+ .tempest_handleBar_XPPiI{background:var(--tempest-border-strong);border-radius:var(--tempest-radius-full);width:36px;height:4px;display:block}
7
7
  .tempest_title_i5Vuc{padding:var(--tempest-space-2) var(--tempest-space-4) var(--tempest-space-3);font-size:var(--tempest-text-lg);font-weight:var(--tempest-weight-semibold);color:var(--tempest-text);border-bottom:1px solid var(--tempest-border);flex:none}
8
8
  .tempest_body_bgDhJ{padding:var(--tempest-space-4);color:var(--tempest-text);flex:auto;overflow-y:auto}
9
9
  @keyframes tempest_fadeIn_fyyhf{0%{opacity:0}to{opacity:1}}
@@ -16,4 +16,4 @@
16
16
  .tempest_cellEditor_LfeJW{width:100%;min-width:0;margin:calc(-1 * var(--tempest-space-1,.25rem)) calc(-1 * var(--tempest-space-2,.5rem));padding:var(--tempest-space-1,.25rem) var(--tempest-space-2,.5rem);border:1px solid var(--tempest-border-strong);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-bg);font:inherit;color:var(--tempest-text)}
17
17
  .tempest_cellEditor_LfeJW:focus{box-shadow:0 0 0 var(--tempest-focus-ring-width) var(--tempest-focus-ring-color);outline:none}
18
18
  .tempest_cellEditorInvalid_J7e2W{border-color:var(--tempest-danger-border)}
19
- .tempest_cellError_CRf3e{padding:.125rem var(--tempest-space-2,.5rem);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-danger-bg);color:var(--tempest-danger-fg);font-size:var(--tempest-font-size-sm,.8125rem);white-space:normal;line-height:1.4}
19
+ .tempest_cellError_CRf3e{padding:.125rem var(--tempest-space-2,.5rem);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-danger-bg);color:var(--tempest-danger-fg);font-size:var(--tempest-text-sm);white-space:normal;line-height:1.4}
@@ -1,7 +1,7 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
2
  .tempest_zone_u04pu{text-align:center;min-height:120px;padding:var(--tempest-space-6,24px);border:2px dashed var(--tempest-border);border-radius:var(--tempest-radius-lg,12px);background:var(--tempest-surface);color:var(--tempest-text-muted);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);cursor:pointer;transition:border-color var(--tempest-duration-fast,.12s) var(--tempest-ease-out,ease-out), background var(--tempest-duration-fast,.12s) var(--tempest-ease-out,ease-out);justify-content:center;align-items:center;display:flex}
3
3
  .tempest_zone_u04pu:hover,.tempest_zone_u04pu:focus-visible{border-color:var(--tempest-primary);color:var(--tempest-text);outline:none}
4
- .tempest_dragging_uGtl4{border-color:var(--tempest-primary);background:var(--tempest-primary-subtle,var(--tempest-surface));color:var(--tempest-text)}
4
+ .tempest_dragging_uGtl4{border-color:var(--tempest-primary);background:var(--tempest-primary-soft);color:var(--tempest-text)}
5
5
  .tempest_disabled_GTKfV{opacity:.5;cursor:not-allowed}
6
6
  .tempest_input_qhJ1u{display:none}
7
7
  .tempest_prompt_mlpWz{line-height:1.4}
@@ -1,2 +1,2 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
- .tempest_errorText_LU3jn{font-size:var(--tempest-font-size-sm,.8125rem);color:var(--tempest-danger,var(--tempest-color-danger,#dc2626));margin:0;line-height:1.4}
2
+ .tempest_errorText_LU3jn{font-size:var(--tempest-text-sm);color:var(--tempest-danger);margin:0;line-height:1.4}
@@ -14,7 +14,7 @@
14
14
  .tempest_item_0veAk>p{margin:0}
15
15
  .tempest_quote_QK3OF{border-inline-start:3px solid var(--tempest-border-strong);color:var(--tempest-text-muted);padding-inline-start:var(--tempest-space-4)}
16
16
  .tempest_rule_M019c{background-color:var(--tempest-border);border:0;height:1px}
17
- .tempest_inlineCode_XsQik{border-radius:var(--tempest-radius-sm);background-color:var(--tempest-surface-2);color:var(--tempest-code-text,var(--tempest-text));font-family:var(--tempest-font-mono);padding:.1em .35em;font-size:.9em}
17
+ .tempest_inlineCode_XsQik{border-radius:var(--tempest-radius-sm);background-color:var(--tempest-surface-2);color:var(--tempest-text);font-family:var(--tempest-font-mono);padding:.1em .35em;font-size:.9em}
18
18
  .tempest_link_prTnN{color:var(--tempest-primary);text-underline-offset:2px;text-decoration:underline}
19
19
  .tempest_image_HjzdE{border-radius:var(--tempest-radius-md);max-width:100%;height:auto}
20
20
  .tempest_tableScroll_2u5gY{overflow-x:auto}
@@ -13,7 +13,7 @@
13
13
  .tempest_helper_mBUna{font-size:var(--tempest-text-xs);color:var(--tempest-text-muted)}
14
14
  .tempest_errorText_73Uvv{font-size:var(--tempest-text-xs);color:var(--tempest-danger-fg,var(--tempest-danger))}
15
15
  .tempest_strength_i6RaQ{align-items:center;gap:var(--tempest-space-2);font-size:var(--tempest-text-xs);display:flex}
16
- .tempest_strengthBar_PAPHR{background:var(--tempest-gray-200,var(--tempest-border));border-radius:var(--tempest-radius-full);flex:auto;height:4px;overflow:hidden}
16
+ .tempest_strengthBar_PAPHR{background:var(--tempest-border);border-radius:var(--tempest-radius-full);flex:auto;height:4px;overflow:hidden}
17
17
  .tempest_strengthBar_PAPHR>span{height:100%;transition:width var(--tempest-duration-base,.2s);display:block}
18
18
  .tempest_strengthLabel_u9QHS{color:var(--tempest-text-muted);flex:none}
19
19
  .tempest_level0_n6tWv .tempest_strengthBar_PAPHR>span,.tempest_level1_FOI93 .tempest_strengthBar_PAPHR>span{background:var(--tempest-danger-solid,var(--tempest-danger))}
@@ -1,5 +1,5 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
- .tempest_group_mYyFC{background:var(--tempest-gray-100);border-radius:var(--tempest-radius-md);font-family:var(--tempest-font-sans);gap:0;padding:2px;display:inline-flex}
2
+ .tempest_group_mYyFC{background:var(--tempest-surface-2);border-radius:var(--tempest-radius-md);font-family:var(--tempest-font-sans);gap:0;padding:2px;display:inline-flex}
3
3
  .tempest_group_mYyFC.tempest_fullWidth_unSMm{width:100%;display:flex}
4
4
  .tempest_segment_cu-EL{justify-content:center;align-items:center;gap:var(--tempest-space-1);color:var(--tempest-text-muted);cursor:pointer;border-radius:calc(var(--tempest-radius-md) - 2px);font-weight:var(--tempest-weight-medium);transition:background var(--tempest-duration-fast,.12s), color var(--tempest-duration-fast,.12s);white-space:nowrap;background:0 0;border:0;flex:1 1 0;padding:6px 12px;display:inline-flex}
5
5
  .tempest_group_mYyFC.tempest_sm_CfD41 .tempest_segment_cu-EL{font-size:var(--tempest-text-xs);min-height:24px;padding:4px 10px}
@@ -10,10 +10,10 @@
10
10
  .tempest_separator_Ql9Hr{margin:var(--tempest-space-2) var(--tempest-space-1);border:0;border-top:1px solid var(--tempest-border);flex:none}
11
11
  .tempest_item_IAjHb{align-items:center;gap:var(--tempest-space-3);padding:var(--tempest-space-2) var(--tempest-space-3);border-radius:var(--tempest-radius-md);color:var(--tempest-text);font-size:var(--tempest-text-sm);text-align:left;cursor:pointer;transition:background var(--tempest-duration-fast,.12s);background:0 0;border:0;width:100%;min-height:36px;text-decoration:none;display:flex}
12
12
  .tempest_collapsed_ZbZYA .tempest_item_IAjHb{justify-content:center;padding-left:0;padding-right:0}
13
- .tempest_item_IAjHb:hover{background:var(--tempest-gray-100)}
13
+ .tempest_item_IAjHb:hover{background:var(--tempest-surface-2)}
14
14
  .tempest_item_IAjHb.tempest_active_BgcFy{background:var(--tempest-primary-100);color:var(--tempest-primary-700);font-weight:var(--tempest-weight-medium)}
15
15
  .tempest_item_IAjHb:disabled{opacity:.4;cursor:not-allowed}
16
16
  .tempest_icon_UQswn{flex:none;align-items:center;font-size:18px;line-height:1;display:inline-flex}
17
17
  .tempest_label_TPvJ9{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}
18
- .tempest_badge_xwEZv{border-radius:var(--tempest-radius-full);background:var(--tempest-gray-200);min-width:18px;height:18px;color:var(--tempest-text);text-align:center;flex:none;padding:0 6px;font-size:10px;line-height:18px}
18
+ .tempest_badge_xwEZv{border-radius:var(--tempest-radius-full);background:var(--tempest-surface-3);min-width:18px;height:18px;color:var(--tempest-text);text-align:center;flex:none;padding:0 6px;font-size:10px;line-height:18px}
19
19
  .tempest_footer_TyRyi{padding:var(--tempest-space-3) var(--tempest-space-4);border-top:1px solid var(--tempest-border)}
@@ -10,6 +10,6 @@
10
10
  .tempest_row_cOARX.tempest_sm_RzVSU .tempest_btn_xuHhj{width:28px;height:28px}
11
11
  .tempest_row_cOARX.tempest_md_pezRm .tempest_btn_xuHhj{width:36px;height:36px}
12
12
  .tempest_row_cOARX.tempest_lg_kYbIN .tempest_btn_xuHhj{width:44px;height:44px}
13
- .tempest_btn_xuHhj:hover:not(:disabled){background:var(--tempest-gray-100)}
13
+ .tempest_btn_xuHhj:hover:not(:disabled){background:var(--tempest-surface-2)}
14
14
  .tempest_btn_xuHhj:disabled{color:var(--tempest-text-muted);cursor:not-allowed}
15
15
  .tempest_value_NEatO{min-width:2ch;padding:0 var(--tempest-space-3);text-align:center;font-variant-numeric:tabular-nums}
@@ -3,7 +3,7 @@
3
3
  .tempest_tag_16VPH.tempest_sm_pzyd5{font-size:var(--tempest-text-2xs);padding:2px 8px}
4
4
  .tempest_tag_16VPH.tempest_md_GL6tQ{font-size:var(--tempest-text-xs);padding:4px 10px}
5
5
  .tempest_tag_16VPH.tempest_lg_8tgXU{font-size:var(--tempest-text-sm);padding:6px 12px}
6
- .tempest_tag_16VPH.tempest_neutral_jAd-x{background:var(--tempest-gray-100);color:var(--tempest-text)}
6
+ .tempest_tag_16VPH.tempest_neutral_jAd-x{background:var(--tempest-surface-2);color:var(--tempest-text)}
7
7
  .tempest_tag_16VPH.tempest_primary_AXKlN{background:var(--tempest-primary-100);color:var(--tempest-primary-700)}
8
8
  .tempest_tag_16VPH.tempest_success_56lz4{background:var(--tempest-success-bg);color:var(--tempest-success-fg)}
9
9
  .tempest_tag_16VPH.tempest_warning_UK7SC{background:var(--tempest-warning-bg);color:var(--tempest-warning-fg)}
@@ -4,7 +4,7 @@
4
4
  .tempest_item_T5xdQ:last-child{padding-bottom:0}
5
5
  .tempest_markerColumn_BMe4d{flex-direction:column;flex:none;align-items:center;width:16px;padding-top:4px;display:flex}
6
6
  .tempest_marker_kmPV-{border-radius:var(--tempest-radius-full);color:#fff;flex:none;justify-content:center;align-items:center;width:14px;height:14px;font-size:10px;display:inline-flex}
7
- .tempest_marker-primary_s9BNB{background:var(--tempest-primary-solid,var(--tempest-primary))}
7
+ .tempest_marker-primary_s9BNB{background:var(--tempest-primary)}
8
8
  .tempest_marker-success_areMM{background:var(--tempest-success-solid,var(--tempest-success))}
9
9
  .tempest_marker-warning_rRrS8{background:var(--tempest-warning-solid,var(--tempest-warning))}
10
10
  .tempest_marker-danger_3GEBk{background:var(--tempest-danger-solid,var(--tempest-danger))}
@@ -1,6 +1,6 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
2
  .tempest_toggle_kmzmH{justify-content:center;align-items:center;gap:var(--tempest-space-2);border-radius:var(--tempest-radius-md);background-color:var(--tempest-surface);color:var(--tempest-text);font-family:var(--tempest-font-sans);font-weight:var(--tempest-weight-medium);line-height:var(--tempest-leading-snug);cursor:pointer;transition:var(--tempest-transition-color), background-color var(--tempest-duration-base) var(--tempest-ease-emphasized);white-space:nowrap;border:1px solid #0000;display:inline-flex}
3
- @media (hover:hover) and (pointer:fine){.tempest_toggle_kmzmH:hover{background-color:var(--tempest-surface-hover,var(--tempest-primary-soft))}}
3
+ @media (hover:hover) and (pointer:fine){.tempest_toggle_kmzmH:hover{background-color:var(--tempest-surface-2)}}
4
4
  .tempest_toggle_kmzmH:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:2px}
5
5
  .tempest_toggle_kmzmH:disabled{opacity:.55;cursor:not-allowed}
6
6
  .tempest_outline_aFbzy{border-color:var(--tempest-border);background-color:#0000}
@@ -2,7 +2,7 @@
2
2
  .tempest_group_XZCDJ{border:1px solid var(--tempest-border);border-radius:var(--tempest-radius-md);align-items:stretch;gap:0;display:inline-flex;overflow:hidden}
3
3
  .tempest_item_B-27E{justify-content:center;align-items:center;gap:var(--tempest-space-2);min-height:2.25rem;padding:0 var(--tempest-space-3);border:none;border-left:1px solid var(--tempest-border);background-color:var(--tempest-surface);color:var(--tempest-text);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);font-weight:var(--tempest-weight-medium);line-height:var(--tempest-leading-snug);cursor:pointer;transition:var(--tempest-transition-color), background-color var(--tempest-duration-base) var(--tempest-ease-emphasized);white-space:nowrap;display:inline-flex}
4
4
  .tempest_item_B-27E:first-child{border-left:none}
5
- @media (hover:hover) and (pointer:fine){.tempest_item_B-27E:hover{background-color:var(--tempest-surface-hover,var(--tempest-primary-soft))}}
5
+ @media (hover:hover) and (pointer:fine){.tempest_item_B-27E:hover{background-color:var(--tempest-surface-2)}}
6
6
  .tempest_item_B-27E:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:-2px;z-index:1}
7
7
  .tempest_item_B-27E:disabled{opacity:.55;cursor:not-allowed}
8
8
  .tempest_selected_OHPVQ{background-color:var(--tempest-primary-soft);color:var(--tempest-primary-on-soft)}
@@ -46,7 +46,7 @@
46
46
  .tempest_label_RaRvM{align-items:center;gap:var(--tempest-space-1);color:var(--tempest-text);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);font-weight:var(--tempest-weight-medium);line-height:var(--tempest-leading-snug);display:inline-flex}
47
47
  .tempest_asterisk_1CgE8{color:var(--tempest-danger);font-weight:var(--tempest-weight-semibold)}
48
48
  .tempest_toggle_kmzmH{justify-content:center;align-items:center;gap:var(--tempest-space-2);border-radius:var(--tempest-radius-md);background-color:var(--tempest-surface);color:var(--tempest-text);font-family:var(--tempest-font-sans);font-weight:var(--tempest-weight-medium);line-height:var(--tempest-leading-snug);cursor:pointer;transition:var(--tempest-transition-color), background-color var(--tempest-duration-base) var(--tempest-ease-emphasized);white-space:nowrap;border:1px solid #0000;display:inline-flex}
49
- @media (hover:hover) and (pointer:fine){.tempest_toggle_kmzmH:hover{background-color:var(--tempest-surface-hover,var(--tempest-primary-soft))}}
49
+ @media (hover:hover) and (pointer:fine){.tempest_toggle_kmzmH:hover{background-color:var(--tempest-surface-2)}}
50
50
  .tempest_toggle_kmzmH:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:2px}
51
51
  .tempest_toggle_kmzmH:disabled{opacity:.55;cursor:not-allowed}
52
52
  .tempest_outline_aFbzy{border-color:var(--tempest-border);background-color:#0000}
@@ -59,7 +59,7 @@
59
59
  .tempest_group_XZCDJ{border:1px solid var(--tempest-border);border-radius:var(--tempest-radius-md);align-items:stretch;gap:0;display:inline-flex;overflow:hidden}
60
60
  .tempest_item_B-27E{justify-content:center;align-items:center;gap:var(--tempest-space-2);min-height:2.25rem;padding:0 var(--tempest-space-3);border:none;border-left:1px solid var(--tempest-border);background-color:var(--tempest-surface);color:var(--tempest-text);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);font-weight:var(--tempest-weight-medium);line-height:var(--tempest-leading-snug);cursor:pointer;transition:var(--tempest-transition-color), background-color var(--tempest-duration-base) var(--tempest-ease-emphasized);white-space:nowrap;display:inline-flex}
61
61
  .tempest_item_B-27E:first-child{border-left:none}
62
- @media (hover:hover) and (pointer:fine){.tempest_item_B-27E:hover{background-color:var(--tempest-surface-hover,var(--tempest-primary-soft))}}
62
+ @media (hover:hover) and (pointer:fine){.tempest_item_B-27E:hover{background-color:var(--tempest-surface-2)}}
63
63
  .tempest_item_B-27E:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:-2px;z-index:1}
64
64
  .tempest_item_B-27E:disabled{opacity:.55;cursor:not-allowed}
65
65
  .tempest_selected_OHPVQ{background-color:var(--tempest-primary-soft);color:var(--tempest-primary-on-soft)}
@@ -0,0 +1,4 @@
1
+ /* Generated by scripts/split-css.mjs — do not edit. */
2
+ /* Without `tempestStyles()` this is the complete sheet: the plugin narrows
3
+ it to the components the app imports. Costs bytes, never correctness. */
4
+ @import "../styles.css";
@@ -0,0 +1,33 @@
1
+ /* Generated by scripts/split-css.mjs — do not edit. */
2
+ *,:before,:after{box-sizing:border-box}
3
+ html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;tab-size:4}
4
+ :where(html,body,#root){height:100%}
5
+ body{background-color:var(--tempest-bg);color:var(--tempest-text);margin:0}
6
+ img,svg,video,canvas,audio,iframe,embed,object{max-width:100%;display:block}
7
+ img,video{height:auto}
8
+ :where(button,a,label,summary)>svg:only-child{margin-inline:auto}
9
+ button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;letter-spacing:inherit}
10
+ button{cursor:pointer;background:0 0;border:0;padding:0}
11
+ button:disabled{cursor:not-allowed}
12
+ button::-moz-focus-inner{border:0;padding:0}
13
+ textarea{resize:vertical}
14
+ input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
15
+ input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}
16
+ input[type=search]::-webkit-search-results-button{-webkit-appearance:none}
17
+ input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}
18
+ table{border-collapse:collapse;border-spacing:0}
19
+ :where(ul,ol)[class]{margin:0;padding:0;list-style:none}
20
+ :focus-visible{outline:var(--tempest-focus-ring-width,3px) solid var(--tempest-focus-ring-color,#0066ff59);outline-offset:var(--tempest-focus-ring-offset,2px)}
21
+ @media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
22
+ @media (width<=767.98px){.tempest-hide-mobile{display:none!important}}
23
+ @media (width>=768px) and (width<=1023.98px){.tempest-hide-tablet{display:none!important}}
24
+ @media (width>=1024px){.tempest-hide-desktop{display:none!important}}
25
+ @media (width>=768px){.tempest-show-only-mobile{display:none!important}}
26
+ @media (width<=767.98px),(width>=1024px){.tempest-show-only-tablet{display:none!important}}
27
+ @media (width<=1023.98px){.tempest-show-only-desktop{display:none!important}}
28
+ @media (pointer:fine){.tempest-show-only-touch{display:none!important}}
29
+ @media (pointer:coarse){.tempest-hide-touch{display:none!important}}
30
+ @media print{.tempest-hide-print{display:none!important}}
31
+ @media screen{.tempest-show-only-print{display:none!important}}
32
+ @media print{*,:before,:after{box-shadow:none!important;text-shadow:none!important;color:#000!important;background-color:#0000!important}body{font-size:11pt;line-height:1.4;color:#000!important;background:#fff!important}.tempest-hide-print,[role=dialog],[aria-modal=true],[role=tooltip],[role=status][aria-live]{display:none!important}table,figure,pre,[class*=card]{page-break-inside:avoid;break-inside:avoid}a[href]:after{content:" (" attr(href) ")";font-size:90%;color:#555!important}a[href^=\#]:after,a[href^=javascript\:]:after{content:""}h1,h2,h3,h4,h5,h6{page-break-after:avoid;break-after:avoid-page;color:#000!important}}
33
+ /*$vite$:1*/
@@ -1,6 +1,6 @@
1
1
  /* Generated by scripts/split-css.mjs — do not edit. */
2
- :root{--tempest-primary-50:#eef4ff;--tempest-primary-100:#d9e6ff;--tempest-primary-200:#b3ccff;--tempest-primary-300:#80aaff;--tempest-primary-400:#4d85ff;--tempest-primary-500:#06f;--tempest-primary-600:#0052cc;--tempest-primary-700:#003d99;--tempest-primary-800:#002e75;--tempest-primary-900:#001f4d;--tempest-primary:var(--tempest-primary-500);--tempest-primary-hover:var(--tempest-primary-600);--tempest-primary-active:var(--tempest-primary-700);--tempest-primary-soft:var(--tempest-primary-50);--tempest-primary-soft-hover:var(--tempest-primary-100);--tempest-primary-foreground:#fff;--tempest-danger-on-solid:#fff;--tempest-info-on-solid:#fff;--tempest-success-on-solid:#1f0606;--tempest-warning-on-solid:#1f0606;--tempest-primary-on-soft:var(--tempest-primary-600);--tempest-gray-50:#f8f9fb;--tempest-gray-100:#f1f3f6;--tempest-gray-200:#e4e7ec;--tempest-gray-300:#d0d5dd;--tempest-gray-400:#98a2b3;--tempest-gray-500:#667085;--tempest-gray-600:#475467;--tempest-gray-700:#344054;--tempest-gray-800:#1d2939;--tempest-gray-900:#101828;--tempest-bg:#fff;--tempest-surface:var(--tempest-gray-50);--tempest-surface-2:var(--tempest-gray-100);--tempest-surface-3:var(--tempest-gray-200);--tempest-border:var(--tempest-gray-200);--tempest-border-strong:var(--tempest-gray-300);--tempest-text:var(--tempest-gray-900);--tempest-text-muted:var(--tempest-gray-600);--tempest-text-subtle:var(--tempest-gray-500);--tempest-text-on-primary:#fff;--tempest-success:#15803d;--tempest-success-fg:#14532d;--tempest-success-bg:#dcfce7;--tempest-success-border:#86efac;--tempest-success-solid:#16a34a;--tempest-warning:#b45309;--tempest-warning-fg:#78350f;--tempest-warning-bg:#fef3c7;--tempest-warning-border:#fcd34d;--tempest-warning-solid:#d97706;--tempest-danger:#b91c1c;--tempest-danger-fg:#7f1d1d;--tempest-danger-bg:#fee2e2;--tempest-danger-border:#fca5a5;--tempest-danger-solid:#dc2626;--tempest-danger-hover:#991b1b;--tempest-info:#1d4ed8;--tempest-info-fg:#1e3a8a;--tempest-info-bg:#dbeafe;--tempest-info-border:#93c5fd;--tempest-info-solid:#2563eb;--tempest-focus-ring-color:#0066ff59;--tempest-focus-ring-width:3px;--tempest-focus-ring-offset:2px;--tempest-radius-xs:2px;--tempest-radius-sm:4px;--tempest-radius-md:8px;--tempest-radius-lg:12px;--tempest-radius-xl:16px;--tempest-radius-2xl:24px;--tempest-radius-full:9999px;--tempest-shadow-xs:0 1px 2px #0f172a0a;--tempest-shadow-sm:0 1px 3px #0f172a14, 0 1px 2px #0f172a0a;--tempest-shadow-md:0 4px 12px #0f172a14, 0 2px 4px #0f172a0a;--tempest-shadow-lg:0 12px 32px #0f172a1f, 0 4px 8px #0f172a0f;--tempest-shadow-xl:0 24px 48px #0f172a2e, 0 8px 16px #0f172a14;--tempest-shadow-inner:inset 0 2px 4px #0f172a0f;--tempest-space-0:0px;--tempest-space-1:4px;--tempest-space-2:8px;--tempest-space-3:12px;--tempest-space-4:16px;--tempest-space-5:20px;--tempest-space-6:24px;--tempest-space-7:28px;--tempest-space-8:32px;--tempest-space-10:40px;--tempest-space-12:48px;--tempest-space-16:64px;--tempest-space-20:80px;--tempest-space-24:96px;--tempest-font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;--tempest-font-mono:ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;--tempest-font-display:var(--tempest-font-sans);--tempest-z-base:0;--tempest-z-raised:10;--tempest-z-dropdown:1000;--tempest-z-sticky:1020;--tempest-z-overlay:1050;--tempest-z-modal:1100;--tempest-z-popover:1150;--tempest-z-toast:1200;--tempest-z-tooltip:1300;--tempest-bp-xs:480px;--tempest-bp-sm:640px;--tempest-bp-md:768px;--tempest-bp-lg:1024px;--tempest-bp-xl:1280px;--tempest-bp-2xl:1536px;--tempest-chart-1:#2563eb;--tempest-chart-2:#16a34a;--tempest-chart-3:#f59e0b;--tempest-chart-4:#7c3aed;--tempest-chart-5:#ec4899;--tempest-chart-6:#06b6d4;--tempest-chart-7:#ea580c;--tempest-chart-8:#0f766e;--tempest-chart-sequential-1:#dde8fe;--tempest-chart-sequential-2:#acc8fe;--tempest-chart-sequential-3:#7aa7ff;--tempest-chart-sequential-4:#4983fc;--tempest-chart-sequential-5:#3667ce;--tempest-chart-sequential-6:#2b4e96;--tempest-chart-sequential-7:#25375a;--tempest-chart-diverging-1:#0f3ca1;--tempest-chart-diverging-2:#416eca;--tempest-chart-diverging-3:#7ba0e7;--tempest-chart-diverging-4:#bdd2f9;--tempest-chart-diverging-5:#e4e7ec;--tempest-chart-diverging-6:#f6c3bc;--tempest-chart-diverging-7:#de847a;--tempest-chart-diverging-8:#ba473f;--tempest-chart-diverging-9:#870f11;--tempest-chart-grid:var(--tempest-gray-200);--tempest-chart-axis:var(--tempest-gray-500);--tempest-code-comment:#5f666e;--tempest-code-punctuation:#5d6671;--tempest-code-string:#327243;--tempest-code-number:#9d5035;--tempest-code-keyword:#625baf;--tempest-code-literal:#9f4c4f;--tempest-code-function:#1a6c94;--tempest-code-tag:#974d72;--tempest-code-attribute:#127171;--tempest-code-property:#127171;--tempest-safe-area-top:env(safe-area-inset-top,0px);--tempest-safe-area-right:env(safe-area-inset-right,0px);--tempest-safe-area-bottom:env(safe-area-inset-bottom,0px);--tempest-safe-area-left:env(safe-area-inset-left,0px)}
3
- [data-tempest-theme=dark]{--tempest-primary-50:#0a1730;--tempest-primary-100:#0f2245;--tempest-primary-200:#133066;--tempest-primary-300:#1a4399;--tempest-primary-400:#2563eb;--tempest-primary-500:#3b82f6;--tempest-primary-600:#60a5fa;--tempest-primary-700:#93c5fd;--tempest-primary-800:#bfdbfe;--tempest-primary-900:#dbeafe;--tempest-primary:var(--tempest-primary-500);--tempest-primary-hover:var(--tempest-primary-600);--tempest-primary-active:var(--tempest-primary-700);--tempest-primary-soft:var(--tempest-primary-100);--tempest-primary-soft-hover:var(--tempest-primary-200);--tempest-primary-on-soft:var(--tempest-primary-700);--tempest-bg:#0b0d12;--tempest-surface:#14171f;--tempest-surface-2:#1d2230;--tempest-surface-3:#262d3f;--tempest-border:#2a3142;--tempest-border-strong:#3a4258;--tempest-text:#f1f3f8;--tempest-text-muted:#aab2c0;--tempest-text-subtle:#7b849a;--tempest-primary-foreground:#1f0606;--tempest-text-on-primary:var(--tempest-primary-foreground);--tempest-danger-on-solid:#1f0606;--tempest-info-on-solid:#1f0606;--tempest-success-on-solid:#1f0606;--tempest-warning-on-solid:#1f0606;--tempest-success-fg:#4ade80;--tempest-success-bg:#052e16;--tempest-success-border:#166534;--tempest-success-solid:#22c55e;--tempest-success:#4ade80;--tempest-warning-fg:#fbbf24;--tempest-warning-bg:#2c1c05;--tempest-warning-border:#78350f;--tempest-warning-solid:#f59e0b;--tempest-warning:#fbbf24;--tempest-danger-fg:#f87171;--tempest-danger-bg:#2c0a0a;--tempest-danger-border:#7f1d1d;--tempest-danger-solid:#ef4444;--tempest-danger:#f87171;--tempest-danger-hover:#f87171;--tempest-info-fg:#60a5fa;--tempest-info-bg:#0a1730;--tempest-info-border:#1e3a8a;--tempest-info-solid:#3b82f6;--tempest-info:#60a5fa;--tempest-focus-ring-color:#60a5fa73;--tempest-shadow-xs:0 1px 2px #0000004d;--tempest-shadow-sm:0 1px 3px #0006, 0 1px 2px #0003;--tempest-shadow-md:0 4px 12px #0006, 0 2px 4px #0003;--tempest-shadow-lg:0 12px 32px #00000080, 0 4px 8px #0000004d;--tempest-shadow-xl:0 24px 48px #0009, 0 8px 16px #0000004d;--tempest-chart-1:#60a5fa;--tempest-chart-2:#4ade80;--tempest-chart-3:#fbbf24;--tempest-chart-4:#a78bfa;--tempest-chart-5:#f472b6;--tempest-chart-6:#22d3ee;--tempest-chart-7:#fb923c;--tempest-chart-8:#2dd4bf;--tempest-chart-sequential-1:#172849;--tempest-chart-sequential-2:#1b3c83;--tempest-chart-sequential-3:#2453b9;--tempest-chart-sequential-4:#376fe5;--tempest-chart-sequential-5:#5b90fb;--tempest-chart-sequential-6:#8cb2fa;--tempest-chart-sequential-7:#bad2fe;--tempest-chart-diverging-1:#1543a8;--tempest-chart-diverging-2:#416eca;--tempest-chart-diverging-3:#7599e0;--tempest-chart-diverging-4:#b0c5ec;--tempest-chart-diverging-5:#262d3f;--tempest-chart-diverging-6:#e8b6af;--tempest-chart-diverging-7:#d77e74;--tempest-chart-diverging-8:#ba473f;--tempest-chart-diverging-9:#94020c;--tempest-chart-grid:var(--tempest-gray-300);--tempest-chart-axis:var(--tempest-gray-600);--tempest-code-comment:#838b93;--tempest-code-punctuation:#818b95;--tempest-code-string:#589866;--tempest-code-number:#c57558;--tempest-code-keyword:#8580d8;--tempest-code-literal:#c87172;--tempest-code-function:#2893c6;--tempest-code-tag:#c07197;--tempest-code-attribute:#349897;--tempest-code-property:#349897}
2
+ :root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--tempest-primary-50:#eef4ff;--tempest-primary-100:#d9e6ff;--tempest-primary-200:#b3ccff;--tempest-primary-300:#80aaff;--tempest-primary-400:#4d85ff;--tempest-primary-500:#06f;--tempest-primary-600:#0052cc;--tempest-primary-700:#003d99;--tempest-primary-800:#002e75;--tempest-primary-900:#001f4d;--tempest-primary:var(--tempest-primary-500);--tempest-primary-hover:var(--tempest-primary-600);--tempest-primary-active:var(--tempest-primary-700);--tempest-primary-soft:var(--tempest-primary-50);--tempest-primary-soft-hover:var(--tempest-primary-100);--tempest-primary-foreground:#fff;--tempest-danger-on-solid:#fff;--tempest-info-on-solid:#fff;--tempest-success-on-solid:#1f0606;--tempest-warning-on-solid:#1f0606;--tempest-neutral-on-solid:#fff;--tempest-primary-on-soft:var(--tempest-primary-600);--tempest-gray-50:#f8f9fb;--tempest-gray-100:#f1f3f6;--tempest-gray-200:#e4e7ec;--tempest-gray-300:#d0d5dd;--tempest-gray-400:#98a2b3;--tempest-gray-500:#667085;--tempest-gray-600:#475467;--tempest-gray-700:#344054;--tempest-gray-800:#1d2939;--tempest-gray-900:#101828;--tempest-bg:#fff;--tempest-surface:var(--tempest-gray-50);--tempest-surface-2:var(--tempest-gray-100);--tempest-surface-3:var(--tempest-gray-200);--tempest-border:var(--tempest-gray-200);--tempest-border-strong:var(--tempest-gray-300);--tempest-text:var(--tempest-gray-900);--tempest-text-muted:var(--tempest-gray-600);--tempest-text-subtle:var(--tempest-gray-500);--tempest-text-on-primary:#fff;--tempest-success:#15803d;--tempest-success-fg:#14532d;--tempest-success-bg:#dcfce7;--tempest-success-border:#86efac;--tempest-success-solid:#16a34a;--tempest-warning:#b45309;--tempest-warning-fg:#78350f;--tempest-warning-bg:#fef3c7;--tempest-warning-border:#fcd34d;--tempest-warning-solid:#d97706;--tempest-danger:#b91c1c;--tempest-danger-fg:#7f1d1d;--tempest-danger-bg:#fee2e2;--tempest-danger-border:#fca5a5;--tempest-danger-solid:#dc2626;--tempest-danger-hover:#991b1b;--tempest-info:#1d4ed8;--tempest-info-fg:#1e3a8a;--tempest-info-bg:#dbeafe;--tempest-info-border:#93c5fd;--tempest-info-solid:#2563eb;--tempest-focus-ring-color:#0066ff59;--tempest-focus-ring-width:3px;--tempest-focus-ring-offset:2px;--tempest-radius-xs:2px;--tempest-radius-sm:4px;--tempest-radius-md:8px;--tempest-radius-lg:12px;--tempest-radius-xl:16px;--tempest-radius-2xl:24px;--tempest-radius-full:9999px;--tempest-shadow-xs:0 1px 2px #0f172a0a;--tempest-shadow-sm:0 1px 3px #0f172a14, 0 1px 2px #0f172a0a;--tempest-shadow-md:0 4px 12px #0f172a14, 0 2px 4px #0f172a0a;--tempest-shadow-lg:0 12px 32px #0f172a1f, 0 4px 8px #0f172a0f;--tempest-shadow-xl:0 24px 48px #0f172a2e, 0 8px 16px #0f172a14;--tempest-shadow-inner:inset 0 2px 4px #0f172a0f;--tempest-space-0:0px;--tempest-space-1:4px;--tempest-space-2:8px;--tempest-space-3:12px;--tempest-space-4:16px;--tempest-space-5:20px;--tempest-space-6:24px;--tempest-space-7:28px;--tempest-space-8:32px;--tempest-space-10:40px;--tempest-space-12:48px;--tempest-space-16:64px;--tempest-space-20:80px;--tempest-space-24:96px;--tempest-font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;--tempest-font-mono:ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;--tempest-font-display:var(--tempest-font-sans);--tempest-z-base:0;--tempest-z-raised:10;--tempest-z-dropdown:1000;--tempest-z-sticky:1020;--tempest-z-overlay:1050;--tempest-z-modal:1100;--tempest-z-popover:1150;--tempest-z-toast:1200;--tempest-z-tooltip:1300;--tempest-bp-xs:480px;--tempest-bp-sm:640px;--tempest-bp-md:768px;--tempest-bp-lg:1024px;--tempest-bp-xl:1280px;--tempest-bp-2xl:1536px;--tempest-chart-1:#2563eb;--tempest-chart-2:#16a34a;--tempest-chart-3:#f59e0b;--tempest-chart-4:#7c3aed;--tempest-chart-5:#ec4899;--tempest-chart-6:#06b6d4;--tempest-chart-7:#ea580c;--tempest-chart-8:#0f766e;--tempest-chart-sequential-1:#dde8fe;--tempest-chart-sequential-2:#acc8fe;--tempest-chart-sequential-3:#7aa7ff;--tempest-chart-sequential-4:#4983fc;--tempest-chart-sequential-5:#3667ce;--tempest-chart-sequential-6:#2b4e96;--tempest-chart-sequential-7:#25375a;--tempest-chart-diverging-1:#0f3ca1;--tempest-chart-diverging-2:#416eca;--tempest-chart-diverging-3:#7ba0e7;--tempest-chart-diverging-4:#bdd2f9;--tempest-chart-diverging-5:#e4e7ec;--tempest-chart-diverging-6:#f6c3bc;--tempest-chart-diverging-7:#de847a;--tempest-chart-diverging-8:#ba473f;--tempest-chart-diverging-9:#870f11;--tempest-chart-grid:var(--tempest-gray-200);--tempest-chart-axis:var(--tempest-gray-500);--tempest-code-comment:#5f666e;--tempest-code-punctuation:#5d6671;--tempest-code-string:#327243;--tempest-code-number:#9d5035;--tempest-code-keyword:#625baf;--tempest-code-literal:#9f4c4f;--tempest-code-function:#1a6c94;--tempest-code-tag:#974d72;--tempest-code-attribute:#127171;--tempest-code-property:#127171;--tempest-safe-area-top:env(safe-area-inset-top,0px);--tempest-safe-area-right:env(safe-area-inset-right,0px);--tempest-safe-area-bottom:env(safe-area-inset-bottom,0px);--tempest-safe-area-left:env(safe-area-inset-left,0px)}
3
+ [data-tempest-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--tempest-primary-50:#0a1730;--tempest-primary-100:#0f2245;--tempest-primary-200:#133066;--tempest-primary-300:#1a4399;--tempest-primary-400:#2563eb;--tempest-primary-500:#3b82f6;--tempest-primary-600:#60a5fa;--tempest-primary-700:#93c5fd;--tempest-primary-800:#bfdbfe;--tempest-primary-900:#dbeafe;--tempest-primary:var(--tempest-primary-500);--tempest-primary-hover:var(--tempest-primary-600);--tempest-primary-active:var(--tempest-primary-700);--tempest-primary-soft:var(--tempest-primary-100);--tempest-primary-soft-hover:var(--tempest-primary-200);--tempest-primary-on-soft:var(--tempest-primary-700);--tempest-bg:#0b0d12;--tempest-surface:#14171f;--tempest-surface-2:#1d2230;--tempest-surface-3:#262d3f;--tempest-border:#2a3142;--tempest-border-strong:#3a4258;--tempest-text:#f1f3f8;--tempest-text-muted:#aab2c0;--tempest-text-subtle:#7b849a;--tempest-primary-foreground:#1f0606;--tempest-text-on-primary:var(--tempest-primary-foreground);--tempest-danger-on-solid:#1f0606;--tempest-info-on-solid:#1f0606;--tempest-success-on-solid:#1f0606;--tempest-warning-on-solid:#1f0606;--tempest-neutral-on-solid:#fff;--tempest-success-fg:#4ade80;--tempest-success-bg:#052e16;--tempest-success-border:#166534;--tempest-success-solid:#22c55e;--tempest-success:#4ade80;--tempest-warning-fg:#fbbf24;--tempest-warning-bg:#2c1c05;--tempest-warning-border:#78350f;--tempest-warning-solid:#f59e0b;--tempest-warning:#fbbf24;--tempest-danger-fg:#f87171;--tempest-danger-bg:#2c0a0a;--tempest-danger-border:#7f1d1d;--tempest-danger-solid:#ef4444;--tempest-danger:#f87171;--tempest-danger-hover:#f87171;--tempest-info-fg:#60a5fa;--tempest-info-bg:#0a1730;--tempest-info-border:#1e3a8a;--tempest-info-solid:#3b82f6;--tempest-info:#60a5fa;--tempest-focus-ring-color:#60a5fa73;--tempest-shadow-xs:0 1px 2px #0000004d;--tempest-shadow-sm:0 1px 3px #0006, 0 1px 2px #0003;--tempest-shadow-md:0 4px 12px #0006, 0 2px 4px #0003;--tempest-shadow-lg:0 12px 32px #00000080, 0 4px 8px #0000004d;--tempest-shadow-xl:0 24px 48px #0009, 0 8px 16px #0000004d;--tempest-chart-1:#60a5fa;--tempest-chart-2:#4ade80;--tempest-chart-3:#fbbf24;--tempest-chart-4:#a78bfa;--tempest-chart-5:#f472b6;--tempest-chart-6:#22d3ee;--tempest-chart-7:#fb923c;--tempest-chart-8:#2dd4bf;--tempest-chart-sequential-1:#172849;--tempest-chart-sequential-2:#1b3c83;--tempest-chart-sequential-3:#2453b9;--tempest-chart-sequential-4:#376fe5;--tempest-chart-sequential-5:#5b90fb;--tempest-chart-sequential-6:#8cb2fa;--tempest-chart-sequential-7:#bad2fe;--tempest-chart-diverging-1:#1543a8;--tempest-chart-diverging-2:#416eca;--tempest-chart-diverging-3:#7599e0;--tempest-chart-diverging-4:#b0c5ec;--tempest-chart-diverging-5:#262d3f;--tempest-chart-diverging-6:#e8b6af;--tempest-chart-diverging-7:#d77e74;--tempest-chart-diverging-8:#ba473f;--tempest-chart-diverging-9:#94020c;--tempest-chart-grid:var(--tempest-gray-300);--tempest-chart-axis:var(--tempest-gray-600);--tempest-code-comment:#838b93;--tempest-code-punctuation:#818b95;--tempest-code-string:#589866;--tempest-code-number:#c57558;--tempest-code-keyword:#8580d8;--tempest-code-literal:#c87172;--tempest-code-function:#2893c6;--tempest-code-tag:#c07197;--tempest-code-attribute:#349897;--tempest-code-property:#349897}
4
4
  :root{--tempest-text-2xs:10px;--tempest-text-xs:12px;--tempest-text-sm:13px;--tempest-text-base:14px;--tempest-text-md:15px;--tempest-text-lg:16px;--tempest-text-xl:18px;--tempest-text-2xl:20px;--tempest-text-3xl:24px;--tempest-text-4xl:30px;--tempest-text-5xl:36px;--tempest-text-6xl:48px;--tempest-leading-none:1;--tempest-leading-tight:1.2;--tempest-leading-snug:1.35;--tempest-leading-normal:1.5;--tempest-leading-relaxed:1.65;--tempest-leading-loose:1.9;--tempest-weight-regular:400;--tempest-weight-medium:500;--tempest-weight-semibold:600;--tempest-weight-bold:700;--tempest-weight-extrabold:800;--tempest-tracking-tight:-.02em;--tempest-tracking-normal:0;--tempest-tracking-wide:.025em;--tempest-tracking-wider:.05em;--tempest-tracking-widest:.1em;--tempest-text-fluid-sm:clamp(13px, 12px + .2vw, 15px);--tempest-text-fluid-base:clamp(14px, 13px + .3vw, 16px);--tempest-text-fluid-lg:clamp(16px, 14px + .5vw, 20px);--tempest-text-fluid-xl:clamp(18px, 15px + .8vw, 24px);--tempest-text-fluid-2xl:clamp(20px, 16px + 1.2vw, 30px);--tempest-text-fluid-3xl:clamp(24px, 18px + 2vw, 40px);--tempest-text-fluid-4xl:clamp(28px, 20px + 3vw, 56px);--tempest-text-fluid-5xl:clamp(32px, 24px + 4vw, 72px);--tempest-text-fluid-6xl:clamp(40px, 28px + 5vw, 96px);--tempest-duration-instant:0s;--tempest-duration-fast:.12s;--tempest-duration-base:.18s;--tempest-duration-slow:.28s;--tempest-duration-slower:.42s;--tempest-ease-linear:linear;--tempest-ease-in:cubic-bezier(.4, 0, 1, 1);--tempest-ease-out:cubic-bezier(0, 0, .2, 1);--tempest-ease-in-out:cubic-bezier(.4, 0, .2, 1);--tempest-ease-emphasized:cubic-bezier(.2, 0, 0, 1);--tempest-ease-bounce:cubic-bezier(.34, 1.56, .64, 1);--tempest-transition-color:color var(--tempest-duration-fast) var(--tempest-ease-out), background-color var(--tempest-duration-fast) var(--tempest-ease-out), border-color var(--tempest-duration-fast) var(--tempest-ease-out);--tempest-transition-shadow:box-shadow var(--tempest-duration-base) var(--tempest-ease-out);--tempest-transition-transform:transform var(--tempest-duration-fast) var(--tempest-ease-out);--tempest-transition-base:color var(--tempest-duration-fast) var(--tempest-ease-out), background-color var(--tempest-duration-fast) var(--tempest-ease-out), border-color var(--tempest-duration-fast) var(--tempest-ease-out), box-shadow var(--tempest-duration-base) var(--tempest-ease-out), transform var(--tempest-duration-fast) var(--tempest-ease-out), opacity var(--tempest-duration-fast) var(--tempest-ease-out)}
5
5
  @media (prefers-reduced-motion:reduce){:root{--tempest-duration-fast:.01ms;--tempest-duration-base:.01ms;--tempest-duration-slow:.01ms;--tempest-duration-slower:.01ms}}
6
6
  :root,[data-tempest-density=comfortable]{--tempest-control-height-xs:24px;--tempest-control-height-sm:32px;--tempest-control-height-md:40px;--tempest-control-height-lg:48px;--tempest-control-height-xl:56px;--tempest-control-padding-xs:var(--tempest-space-2);--tempest-control-padding-sm:var(--tempest-space-3);--tempest-control-padding-md:var(--tempest-space-4);--tempest-control-padding-lg:var(--tempest-space-5);--tempest-control-padding-xl:var(--tempest-space-6);--tempest-control-font-xs:var(--tempest-text-xs);--tempest-control-font-sm:var(--tempest-text-sm);--tempest-control-font-md:var(--tempest-text-base);--tempest-control-font-lg:var(--tempest-text-lg);--tempest-control-font-xl:var(--tempest-text-xl);--tempest-control-radius:var(--tempest-radius-md);--tempest-control-gap:var(--tempest-space-2)}
@@ -10,6 +10,8 @@
10
10
  @media (pointer:coarse){:root:not([data-tempest-density=compact]){--tempest-control-height-xs:32px;--tempest-control-height-sm:40px;--tempest-control-height-md:44px}}
11
11
  *,:before,:after{box-sizing:border-box}
12
12
  html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;tab-size:4}
13
+ :where(html,body,#root){height:100%}
14
+ body{background-color:var(--tempest-bg);color:var(--tempest-text);margin:0}
13
15
  img,svg,video,canvas,audio,iframe,embed,object{max-width:100%;display:block}
14
16
  img,video{height:auto}
15
17
  :where(button,a,label,summary)>svg:only-child{margin-inline:auto}
@@ -12,12 +12,12 @@
12
12
  .tempest_panel_Wx50w{padding:0 var(--tempest-space-4) var(--tempest-space-4);color:var(--tempest-text);line-height:var(--tempest-leading-normal)}
13
13
  .tempest_list_XtltA{gap:var(--tempest-space-3,.75rem);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}
14
14
  .tempest_item_y-W9f{gap:var(--tempest-space-1,.25rem);flex-direction:column;display:flex}
15
- .tempest_line_WKQ57{justify-content:space-between;align-items:baseline;gap:var(--tempest-space-3,.75rem);font-size:var(--tempest-font-size-sm,.8125rem);display:flex}
15
+ .tempest_line_WKQ57{justify-content:space-between;align-items:baseline;gap:var(--tempest-space-3,.75rem);font-size:var(--tempest-text-sm);display:flex}
16
16
  .tempest_label_AywVf{min-width:0;color:var(--tempest-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
17
17
  .tempest_value_Y0DD0{align-items:baseline;gap:var(--tempest-space-2,.5rem);color:var(--tempest-text);font-variant-numeric:tabular-nums;white-space:nowrap;display:inline-flex}
18
- .tempest_percentage_YTyMa{color:var(--tempest-text-subtle);font-size:var(--tempest-font-size-xs,.75rem)}
18
+ .tempest_percentage_YTyMa{color:var(--tempest-text-subtle);font-size:var(--tempest-text-xs)}
19
19
  .tempest_track_OVSC3{border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-surface-2);width:100%;height:.5rem;overflow:hidden}
20
- .tempest_fill_kg-Vl{border-radius:inherit;height:100%;transition:width var(--tempest-duration-normal,.2s) ease}
20
+ .tempest_fill_kg-Vl{border-radius:inherit;height:100%;transition:width var(--tempest-duration-base) ease}
21
21
  @media (prefers-reduced-motion:reduce){.tempest_fill_kg-Vl{transition:none}}
22
22
  .tempest_wrapper_iB6ka{gap:var(--tempest-space-3,.75rem);flex-direction:column;display:flex}
23
23
  .tempest_search_2y-yM{max-width:20rem}
@@ -36,7 +36,7 @@
36
36
  .tempest_cellEditor_LfeJW{width:100%;min-width:0;margin:calc(-1 * var(--tempest-space-1,.25rem)) calc(-1 * var(--tempest-space-2,.5rem));padding:var(--tempest-space-1,.25rem) var(--tempest-space-2,.5rem);border:1px solid var(--tempest-border-strong);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-bg);font:inherit;color:var(--tempest-text)}
37
37
  .tempest_cellEditor_LfeJW:focus{box-shadow:0 0 0 var(--tempest-focus-ring-width) var(--tempest-focus-ring-color);outline:none}
38
38
  .tempest_cellEditorInvalid_J7e2W{border-color:var(--tempest-danger-border)}
39
- .tempest_cellError_CRf3e{padding:.125rem var(--tempest-space-2,.5rem);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-danger-bg);color:var(--tempest-danger-fg);font-size:var(--tempest-font-size-sm,.8125rem);white-space:normal;line-height:1.4}
39
+ .tempest_cellError_CRf3e{padding:.125rem var(--tempest-space-2,.5rem);border-radius:var(--tempest-radius-sm,.25rem);background-color:var(--tempest-danger-bg);color:var(--tempest-danger-fg);font-size:var(--tempest-text-sm);white-space:normal;line-height:1.4}
40
40
  .tempest_bar_UC3Cd{align-items:center;gap:var(--tempest-space-2);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);flex-wrap:wrap;display:flex}
41
41
  .tempest_chips_9fymy{align-items:center;gap:var(--tempest-space-2);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}
42
42
  .tempest_chip_GG8zb{align-items:center;gap:var(--tempest-space-1);padding:var(--tempest-space-1) var(--tempest-space-1) var(--tempest-space-1) var(--tempest-space-3);border:1px solid var(--tempest-border);border-radius:var(--tempest-radius-full);background-color:var(--tempest-surface);color:var(--tempest-text);display:inline-flex}
@@ -97,7 +97,7 @@
97
97
  .tempest_item_0veAk>p{margin:0}
98
98
  .tempest_quote_QK3OF{border-inline-start:3px solid var(--tempest-border-strong);color:var(--tempest-text-muted);padding-inline-start:var(--tempest-space-4)}
99
99
  .tempest_rule_M019c{background-color:var(--tempest-border);border:0;height:1px}
100
- .tempest_inlineCode_XsQik{border-radius:var(--tempest-radius-sm);background-color:var(--tempest-surface-2);color:var(--tempest-code-text,var(--tempest-text));font-family:var(--tempest-font-mono);padding:.1em .35em;font-size:.9em}
100
+ .tempest_inlineCode_XsQik{border-radius:var(--tempest-radius-sm);background-color:var(--tempest-surface-2);color:var(--tempest-text);font-family:var(--tempest-font-mono);padding:.1em .35em;font-size:.9em}
101
101
  .tempest_link_prTnN{color:var(--tempest-primary);text-underline-offset:2px;text-decoration:underline}
102
102
  .tempest_image_HjzdE{border-radius:var(--tempest-radius-md);max-width:100%;height:auto}
103
103
  .tempest_tableScroll_2u5gY{overflow-x:auto}
@@ -131,7 +131,7 @@
131
131
  .tempest_item_T5xdQ:last-child{padding-bottom:0}
132
132
  .tempest_markerColumn_BMe4d{flex-direction:column;flex:none;align-items:center;width:16px;padding-top:4px;display:flex}
133
133
  .tempest_marker_kmPV-{border-radius:var(--tempest-radius-full);color:#fff;flex:none;justify-content:center;align-items:center;width:14px;height:14px;font-size:10px;display:inline-flex}
134
- .tempest_marker-primary_s9BNB{background:var(--tempest-primary-solid,var(--tempest-primary))}
134
+ .tempest_marker-primary_s9BNB{background:var(--tempest-primary)}
135
135
  .tempest_marker-success_areMM{background:var(--tempest-success-solid,var(--tempest-success))}
136
136
  .tempest_marker-warning_rRrS8{background:var(--tempest-warning-solid,var(--tempest-warning))}
137
137
  .tempest_marker-danger_3GEBk{background:var(--tempest-danger-solid,var(--tempest-danger))}
@@ -8,7 +8,7 @@
8
8
  .tempest_close_narep:hover{opacity:1;background-color:#0f172a0f}
9
9
  .tempest_close_narep:focus-visible{outline:var(--tempest-focus-ring-width) solid var(--tempest-focus-ring-color);outline-offset:var(--tempest-focus-ring-offset)}
10
10
  .tempest_neutral_J7MH1{background-color:var(--tempest-surface);color:var(--tempest-text);border-color:var(--tempest-border)}
11
- .tempest_neutral_J7MH1.tempest_solid_s-oW5{background-color:var(--tempest-gray-700);color:#fff;border-color:#0000}
11
+ .tempest_neutral_J7MH1.tempest_solid_s-oW5{background-color:var(--tempest-gray-700);color:var(--tempest-neutral-on-solid);border-color:#0000}
12
12
  .tempest_neutral_J7MH1.tempest_outline_v7w9b{border-color:var(--tempest-border-strong);background-color:#0000}
13
13
  .tempest_info_9r3r1{background-color:var(--tempest-info-bg);color:var(--tempest-info-fg);border-color:var(--tempest-info-border)}
14
14
  .tempest_info_9r3r1 .tempest_description_pXPvw{color:var(--tempest-info-fg);opacity:.85}
@@ -36,7 +36,7 @@
36
36
  .tempest_lg_Bseje{padding:3px var(--tempest-space-3);font-size:var(--tempest-text-sm)}
37
37
  .tempest_square_l63D-{border-radius:var(--tempest-radius-sm)}
38
38
  .tempest_neutral_lulSm{background-color:var(--tempest-surface-2);color:var(--tempest-text)}
39
- .tempest_neutral_lulSm.tempest_solid_0Leug{background-color:var(--tempest-gray-700);color:#fff}
39
+ .tempest_neutral_lulSm.tempest_solid_0Leug{background-color:var(--tempest-gray-700);color:var(--tempest-neutral-on-solid)}
40
40
  .tempest_neutral_lulSm.tempest_outline_x06HL{color:var(--tempest-text);border-color:var(--tempest-border-strong);background-color:#0000}
41
41
  .tempest_success_u9JiS{background-color:var(--tempest-success-bg);color:var(--tempest-success-fg)}
42
42
  .tempest_success_u9JiS.tempest_solid_0Leug{background-color:var(--tempest-success-solid);color:var(--tempest-success-on-solid)}
@@ -161,7 +161,7 @@
161
161
  .tempest_tag_16VPH.tempest_sm_pzyd5{font-size:var(--tempest-text-2xs);padding:2px 8px}
162
162
  .tempest_tag_16VPH.tempest_md_GL6tQ{font-size:var(--tempest-text-xs);padding:4px 10px}
163
163
  .tempest_tag_16VPH.tempest_lg_8tgXU{font-size:var(--tempest-text-sm);padding:6px 12px}
164
- .tempest_tag_16VPH.tempest_neutral_jAd-x{background:var(--tempest-gray-100);color:var(--tempest-text)}
164
+ .tempest_tag_16VPH.tempest_neutral_jAd-x{background:var(--tempest-surface-2);color:var(--tempest-text)}
165
165
  .tempest_tag_16VPH.tempest_primary_AXKlN{background:var(--tempest-primary-100);color:var(--tempest-primary-700)}
166
166
  .tempest_tag_16VPH.tempest_success_56lz4{background:var(--tempest-success-bg);color:var(--tempest-success-fg)}
167
167
  .tempest_tag_16VPH.tempest_warning_UK7SC{background:var(--tempest-warning-bg);color:var(--tempest-warning-fg)}
@@ -61,7 +61,7 @@
61
61
  .tempest_rangeEnd_mUaKW{border-top-left-radius:0;border-bottom-left-radius:0}
62
62
  .tempest_zone_u04pu{text-align:center;min-height:120px;padding:var(--tempest-space-6,24px);border:2px dashed var(--tempest-border);border-radius:var(--tempest-radius-lg,12px);background:var(--tempest-surface);color:var(--tempest-text-muted);font-family:var(--tempest-font-sans);font-size:var(--tempest-text-sm);cursor:pointer;transition:border-color var(--tempest-duration-fast,.12s) var(--tempest-ease-out,ease-out), background var(--tempest-duration-fast,.12s) var(--tempest-ease-out,ease-out);justify-content:center;align-items:center;display:flex}
63
63
  .tempest_zone_u04pu:hover,.tempest_zone_u04pu:focus-visible{border-color:var(--tempest-primary);color:var(--tempest-text);outline:none}
64
- .tempest_dragging_uGtl4{border-color:var(--tempest-primary);background:var(--tempest-primary-subtle,var(--tempest-surface));color:var(--tempest-text)}
64
+ .tempest_dragging_uGtl4{border-color:var(--tempest-primary);background:var(--tempest-primary-soft);color:var(--tempest-text)}
65
65
  .tempest_disabled_GTKfV{opacity:.5;cursor:not-allowed}
66
66
  .tempest_input_qhJ1u{display:none}
67
67
  .tempest_prompt_mlpWz{line-height:1.4}
@@ -173,7 +173,7 @@
173
173
  .tempest_helper_mBUna{font-size:var(--tempest-text-xs);color:var(--tempest-text-muted)}
174
174
  .tempest_errorText_73Uvv{font-size:var(--tempest-text-xs);color:var(--tempest-danger-fg,var(--tempest-danger))}
175
175
  .tempest_strength_i6RaQ{align-items:center;gap:var(--tempest-space-2);font-size:var(--tempest-text-xs);display:flex}
176
- .tempest_strengthBar_PAPHR{background:var(--tempest-gray-200,var(--tempest-border));border-radius:var(--tempest-radius-full);flex:auto;height:4px;overflow:hidden}
176
+ .tempest_strengthBar_PAPHR{background:var(--tempest-border);border-radius:var(--tempest-radius-full);flex:auto;height:4px;overflow:hidden}
177
177
  .tempest_strengthBar_PAPHR>span{height:100%;transition:width var(--tempest-duration-base,.2s);display:block}
178
178
  .tempest_strengthLabel_u9QHS{color:var(--tempest-text-muted);flex:none}
179
179
  .tempest_level0_n6tWv .tempest_strengthBar_PAPHR>span,.tempest_level1_FOI93 .tempest_strengthBar_PAPHR>span{background:var(--tempest-danger-solid,var(--tempest-danger))}
@@ -281,7 +281,7 @@
281
281
  .tempest_row_cOARX.tempest_sm_RzVSU .tempest_btn_xuHhj{width:28px;height:28px}
282
282
  .tempest_row_cOARX.tempest_md_pezRm .tempest_btn_xuHhj{width:36px;height:36px}
283
283
  .tempest_row_cOARX.tempest_lg_kYbIN .tempest_btn_xuHhj{width:44px;height:44px}
284
- .tempest_btn_xuHhj:hover:not(:disabled){background:var(--tempest-gray-100)}
284
+ .tempest_btn_xuHhj:hover:not(:disabled){background:var(--tempest-surface-2)}
285
285
  .tempest_btn_xuHhj:disabled{color:var(--tempest-text-muted);cursor:not-allowed}
286
286
  .tempest_value_NEatO{min-width:2ch;padding:0 var(--tempest-space-3);text-align:center;font-variant-numeric:tabular-nums}
287
287
  .tempest_wrapper_kudO9{align-items:center;gap:var(--tempest-space-2);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex}