@bixlab/mtone 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -3
- package/dist/index.js +15 -8
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,11 +56,10 @@ declare function FormField({ label, error, description, required, children, }: {
|
|
|
56
56
|
}): React.JSX.Element;
|
|
57
57
|
declare const Form: ({ className, ...p }: React.FormHTMLAttributes<HTMLFormElement>) => React.JSX.Element;
|
|
58
58
|
type Tone = "neutral" | "blue" | "green" | "orange" | "red" | "purple";
|
|
59
|
-
declare function
|
|
59
|
+
declare function Badge({ children, tone, onRemove, className, ...p }: React.HTMLAttributes<HTMLSpanElement> & {
|
|
60
60
|
tone?: Tone;
|
|
61
61
|
onRemove?: () => void;
|
|
62
62
|
}): React.JSX.Element;
|
|
63
|
-
declare const Badge: typeof Tag;
|
|
64
63
|
declare const Status: ({ children, tone, }: {
|
|
65
64
|
children: React.ReactNode;
|
|
66
65
|
tone?: Tone;
|
|
@@ -454,4 +453,4 @@ declare const Layout: typeof LayoutRoot & {
|
|
|
454
453
|
Footer: typeof LayoutFooter;
|
|
455
454
|
};
|
|
456
455
|
|
|
457
|
-
export { Alert, Avatar, AvatarGroup, Badge, Breadcrumb, Button, ButtonGroup, type ButtonProps, Card, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, DatePicker, type DatePickerProps, Divider, DocumentCard, type DocumentItem, DocumentList, Drawer, DropdownMenu, type DropdownMenuProps, Dropzone, Empty, FilterBar, FilterChip, Form, FormField, IconButton, Input, Layout, type LayoutContentProps, type LayoutHeaderProps, type LayoutProps, type LayoutSiderProps, List, ListItem, type Locale, type MenuItem, Modal, type ModalProps, MtoneProvider, MtoneScope, MultiSelect, type MultiSelectProps, NavGroup, NavItem, NumberInput, type NumberInputProps, type OpenProps, type Option, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, PropertyItem, PropertyList, RadioGroup, type RadioGroupProps, SearchInput, Segmented, Select, type SelectProps, Sidebar, type SidebarProps, Skeleton, Slider, type SliderProps, Spinner, Status, Switch, type TabItem, Table, type TableColumn, type TableProps, type TableState, Tabs, type TabsProps,
|
|
456
|
+
export { Alert, Avatar, AvatarGroup, Badge, Breadcrumb, Button, ButtonGroup, type ButtonProps, Card, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, DatePicker, type DatePickerProps, Divider, DocumentCard, type DocumentItem, DocumentList, Drawer, DropdownMenu, type DropdownMenuProps, Dropzone, Empty, FilterBar, FilterChip, Form, FormField, IconButton, Input, Layout, type LayoutContentProps, type LayoutHeaderProps, type LayoutProps, type LayoutSiderProps, List, ListItem, type Locale, type MenuItem, Modal, type ModalProps, MtoneProvider, MtoneScope, MultiSelect, type MultiSelectProps, NavGroup, NavItem, NumberInput, type NumberInputProps, type OpenProps, type Option, Pagination, type PaginationProps, Popover, type PopoverProps, Progress, PropertyItem, PropertyList, RadioGroup, type RadioGroupProps, SearchInput, Segmented, Select, type SelectProps, Sidebar, type SidebarProps, Skeleton, Slider, type SliderProps, Spinner, Status, Switch, type TabItem, Table, type TableColumn, type TableProps, type TableState, Tabs, type TabsProps, Text, Textarea, Toast, type ToastOptions, type ToastPosition, type ToastPromiseOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToastUpdateOptions, type Tokens, type Tone, Tooltip, Tree, type TreeItem, type TreeProps, Upload, type UploadAdapter, type UploadContext, type UploadFile, type UploadProps, cn, useMtone, useToast };
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ var Form = ({
|
|
|
136
136
|
className,
|
|
137
137
|
...p
|
|
138
138
|
}) => /* @__PURE__ */ jsx("form", { ...p, className: cn("mt-form", className) });
|
|
139
|
-
function
|
|
139
|
+
function Badge({
|
|
140
140
|
children,
|
|
141
141
|
tone = "neutral",
|
|
142
142
|
onRemove,
|
|
@@ -144,7 +144,7 @@ function Tag({
|
|
|
144
144
|
...p
|
|
145
145
|
}) {
|
|
146
146
|
const { locale } = useMtone();
|
|
147
|
-
return /* @__PURE__ */ jsxs("span", { ...p, className: cn("mt-
|
|
147
|
+
return /* @__PURE__ */ jsxs("span", { ...p, className: cn("mt-badge", `mt-tone-${tone}`, className), children: [
|
|
148
148
|
children,
|
|
149
149
|
onRemove && /* @__PURE__ */ jsx(
|
|
150
150
|
"button",
|
|
@@ -157,7 +157,6 @@ function Tag({
|
|
|
157
157
|
)
|
|
158
158
|
] });
|
|
159
159
|
}
|
|
160
|
-
var Badge = Tag;
|
|
161
160
|
var Status = ({
|
|
162
161
|
children,
|
|
163
162
|
tone = "neutral"
|
|
@@ -331,6 +330,7 @@ import {
|
|
|
331
330
|
|
|
332
331
|
// src/interactive.tsx
|
|
333
332
|
import { useId as useId2, useState as useState2 } from "react";
|
|
333
|
+
import { Check, ChevronDown } from "lucide-react";
|
|
334
334
|
import { Checkbox as BCheckbox } from "@base-ui/react/checkbox";
|
|
335
335
|
import { Switch as BSwitch } from "@base-ui/react/switch";
|
|
336
336
|
import { Radio as BRadio } from "@base-ui/react/radio";
|
|
@@ -570,10 +570,11 @@ function Select({
|
|
|
570
570
|
/* @__PURE__ */ jsx3(
|
|
571
571
|
BSelect.Value,
|
|
572
572
|
{
|
|
573
|
+
className: "mt-select-value",
|
|
573
574
|
placeholder: placeholder ?? (locale === "zh" ? "\u8BF7\u9009\u62E9" : "Select\u2026")
|
|
574
575
|
}
|
|
575
576
|
),
|
|
576
|
-
/* @__PURE__ */ jsx3(BSelect.Icon, { className: "mt-select-icon", children: "
|
|
577
|
+
/* @__PURE__ */ jsx3(BSelect.Icon, { className: "mt-select-icon", children: /* @__PURE__ */ jsx3(ChevronDown, { size: 16, "aria-hidden": "true" }) })
|
|
577
578
|
]
|
|
578
579
|
}
|
|
579
580
|
),
|
|
@@ -591,7 +592,14 @@ function Select({
|
|
|
591
592
|
disabled: o.disabled,
|
|
592
593
|
children: [
|
|
593
594
|
/* @__PURE__ */ jsx3(BSelect.ItemText, { children: o.label }),
|
|
594
|
-
/* @__PURE__ */ jsx3(
|
|
595
|
+
/* @__PURE__ */ jsx3(
|
|
596
|
+
BSelect.ItemIndicator,
|
|
597
|
+
{
|
|
598
|
+
className: "mt-select-item-indicator",
|
|
599
|
+
"aria-hidden": "true",
|
|
600
|
+
children: /* @__PURE__ */ jsx3(Check, { size: 16, strokeWidth: 1.5, "aria-hidden": "true" })
|
|
601
|
+
}
|
|
602
|
+
)
|
|
595
603
|
]
|
|
596
604
|
},
|
|
597
605
|
o.value
|
|
@@ -1107,7 +1115,7 @@ var FilterBar = ({
|
|
|
1107
1115
|
|
|
1108
1116
|
// src/data.tsx
|
|
1109
1117
|
import * as React4 from "react";
|
|
1110
|
-
import { ChevronDown, ChevronRight as ChevronRight2, Upload as UploadIcon } from "lucide-react";
|
|
1118
|
+
import { ChevronDown as ChevronDown2, ChevronRight as ChevronRight2, Upload as UploadIcon } from "lucide-react";
|
|
1111
1119
|
import { Fragment as Fragment3, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1112
1120
|
function Pagination({
|
|
1113
1121
|
total,
|
|
@@ -1472,7 +1480,7 @@ function Tree({
|
|
|
1472
1480
|
e.stopPropagation();
|
|
1473
1481
|
if (!item.disabled) toggle(item.id);
|
|
1474
1482
|
},
|
|
1475
|
-
children: ids.includes(item.id) ? /* @__PURE__ */ jsx5(
|
|
1483
|
+
children: ids.includes(item.id) ? /* @__PURE__ */ jsx5(ChevronDown2, { size: 14 }) : /* @__PURE__ */ jsx5(ChevronRight2, { size: 14 })
|
|
1476
1484
|
}
|
|
1477
1485
|
) : /* @__PURE__ */ jsx5("span", { className: "mt-tree-toggle" }),
|
|
1478
1486
|
item.icon,
|
|
@@ -1914,7 +1922,6 @@ export {
|
|
|
1914
1922
|
Switch,
|
|
1915
1923
|
Table,
|
|
1916
1924
|
Tabs,
|
|
1917
|
-
Tag,
|
|
1918
1925
|
Text,
|
|
1919
1926
|
Textarea,
|
|
1920
1927
|
Toast,
|
package/dist/styles.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.mt-toast-viewport{z-index:1300;pointer-events:none;outline:none;position:fixed;inset:0}.mt-toast-stack{pointer-events:none;box-sizing:border-box;width:min(360px,100vw - 32px);padding:0;display:block;position:absolute}.mt-toast-stack[data-position=top-right]{top:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=bottom-right]{bottom:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=top-left]{top:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=bottom-left]{bottom:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=top-center]{top:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=bottom-center]{bottom:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center]{top:calc(50% - var(--mt-toast-total) / 2 + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center-top]{top:calc(25% + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast{max-height:max(80px, calc((70dvh - 32px) / var(--mt-toast-limit) - 10px));box-sizing:border-box;pointer-events:auto;background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);border:1px solid var(--mt-border,#e9e9e7);border-radius:8px;flex-shrink:0;padding:10px 36px 10px 12px;font-size:14px;position:relative;overflow-y:auto;box-shadow:0 6px 24px #0000001f}.mt-toast-content{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:3px 8px;display:grid}.mt-toast-icon{color:#5378aa;grid-area:1/1;align-self:center}.mt-toast-title,.mt-toast-description,.mt-toast-custom,.mt-toast-action{overflow-wrap:anywhere;grid-column:2;min-width:0}.mt-toast .mt-dialog-close{top:8px;right:8px}.mt-toast[data-type=success]{border-color:#c8dfce}.mt-toast[data-type=success] .mt-toast-icon{color:#34834b}.mt-toast[data-type=error]{border-color:#edc9c6}.mt-toast[data-type=error] .mt-toast-icon{color:#b6403b}.mt-toast-title{font-size:inherit;margin:0;font-weight:600;line-height:20px}.mt-toast-description{color:var(--mt-muted,#787774);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.mt-toast-action{justify-self:start;margin-top:4px}.mt-toast[data-ending]{opacity:0}.mt-toast[data-limited]{display:none}.mt-toast:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-layout{box-sizing:border-box;background:var(--mt-bg,#fff);min-width:0;min-height:0;color:var(--mt-fg,#37352f);flex-direction:column;flex:auto;display:flex}.mt-layout-has-sider{flex-direction:row}.mt-layout-full-height{height:100dvh;overflow:hidden}.mt-layout>.mt-layout{overflow:hidden}.mt-sidebar.mt-layout-sider{width:var(--mt-layout-sider-width,240px);border-right:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:0;flex-direction:column;flex:none;min-width:0;min-height:0;padding:0;display:flex}.mt-sidebar.mt-layout-sider[data-collapsed=true]{width:var(--mt-layout-sider-collapsed-width,52px);min-width:0}.mt-sidebar-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-brand{min-width:0;overflow:hidden}.mt-sidebar-heading .mt-sidebar-toggle{flex-shrink:0;margin:0}.mt-layout-sider .mt-sidebar-heading{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);flex:none;padding:8px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-heading{height:var(--mt-layout-header-height,48px);justify-content:center;gap:0;padding:4px}.mt-layout-sider>.mt-sidebar-toggle{flex-shrink:0;margin:12px}.mt-layout-sider .mt-sidebar-content{scrollbar-width:thin;flex:auto;min-height:0;padding:12px 8px;overflow:auto}.mt-layout-sider .mt-nav-item{margin-bottom:3px}.mt-layout-header{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 24px;display:flex}.mt-layout-header-main{overflow-wrap:anywhere;flex:160px;min-width:0}.mt-layout-header .mt-breadcrumb{flex-wrap:wrap}.mt-layout-header-extra{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.mt-layout-content{box-sizing:border-box;overflow-wrap:anywhere;flex:auto;min-width:0;min-height:0;padding:clamp(16px,3vw,40px);overflow:auto}.mt-layout-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);color:var(--mt-muted,#787774);flex:none;align-items:center;padding:8px 24px;font-size:12px;display:flex;overflow:auto}@media (max-width:575px){.mt-layout-header,.mt-layout-footer{padding:8px 12px}}.mt-layout-sider[data-collapsed=true] .mt-sidebar-brand{max-height:28px}.mt-sidebar-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-footer-content{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--mt-muted,#787774);font-size:12px;overflow:hidden}.mt-sidebar-footer .mt-sidebar-toggle{flex-shrink:0;margin:0 0 0 auto}.mt-layout-sider .mt-sidebar-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);flex:none;padding:6px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer{justify-content:center;padding-inline:4px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer-content{display:none}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer .mt-sidebar-toggle{margin:0}.mt-check-label{cursor:pointer;align-items:center;gap:8px;font-size:14px;display:inline-flex}.mt-checkbox,.mt-radio{border:1px solid var(--mt-border,#d4d4d0);background:var(--mt-bg,#fff);color:#fff;border-radius:3px;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:inline-flex}.mt-checkbox[data-checked],.mt-checkbox[data-indeterminate],.mt-radio[data-checked]{background:var(--mt-primary,#37352f);border-color:var(--mt-primary,#37352f)}.mt-check-indicator{font-size:12px;line-height:1}.mt-radio{border-radius:50%}.mt-radio-indicator{background:#fff;border-radius:50%;width:6px;height:6px}.mt-radio-group{gap:12px;display:flex}.mt-vertical{flex-direction:column}.mt-horizontal{flex-direction:row}.mt-switch{background:#c7c7c3;border:0;border-radius:12px;align-items:center;width:30px;height:18px;padding:2px;display:inline-flex}.mt-switch[data-checked]{background:var(--mt-primary,#37352f)}.mt-switch-thumb{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s}.mt-switch[data-checked] .mt-switch-thumb{transform:translate(12px)}.mt-select,.mt-multiselect,.mt-number-group{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));border-radius:4px;align-items:center;gap:8px;padding:3px 9px;font-size:14px;display:inline-flex}.mt-select{justify-content:space-between;min-width:160px}.mt-select-icon{color:var(--mt-muted,#787774)}.mt-positioner{z-index:1250;outline:0}.mt-popup{min-width:max(160px, var(--anchor-width,0px));max-height:min(320px, var(--available-height,320px));background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);border-radius:6px;outline:none;padding:4px;font-size:14px;overflow:auto;box-shadow:0 4px 16px #00000014}.mt-option,.mt-menu-item{cursor:pointer;border-radius:3px;outline:none;justify-content:space-between;align-items:center;gap:24px;min-height:28px;padding:4px 8px;display:flex}.mt-option[data-highlighted],.mt-menu-item[data-highlighted]{background:var(--mt-hover,#f1f1ef)}.mt-option[data-disabled],.mt-menu-item[data-disabled],[data-disabled].mt-segment{opacity:.4;cursor:not-allowed}.mt-multiselect{flex-wrap:wrap;gap:4px;min-width:200px;max-width:100%;padding:3px 6px}.mt-chip{background:var(--mt-hover,#f1f1ef);border-radius:3px;align-items:center;gap:4px;padding:1px 5px;font-size:12px;display:inline-flex}.mt-chip-remove,.mt-combobox-trigger{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px}.mt-combobox-input{font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1;width:90px;min-width:70px}.mt-combobox-empty{color:var(--mt-muted,#787774);padding:8px}.mt-combobox-empty:empty{display:none}.mt-number-group{gap:0;padding:0;overflow:hidden}.mt-number-input{text-align:center;width:72px;font:inherit;color:inherit;background:0 0;border:0;outline:none}.mt-number-step{color:inherit;cursor:pointer;background:0 0;border:0;width:28px;height:28px}.mt-number-step:hover{background:var(--mt-hover,#f1f1ef)}.mt-slider{width:180px}.mt-slider-control{touch-action:none;padding:10px 0}.mt-slider-track{background:var(--mt-border,#e9e9e7);border-radius:8px;height:4px;position:relative}.mt-slider-indicator{background:var(--mt-primary,#37352f);border-radius:8px}.mt-slider-thumb{border:2px solid var(--mt-primary,#37352f);background:var(--mt-bg,#fff);border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0002}.mt-tab-list{border-bottom:1px solid var(--mt-border,#e9e9e7);gap:16px;display:flex}.mt-tab{font:inherit;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 2px}.mt-tab[data-active]{color:var(--mt-text,var(--mt-fg,#37352f));border-bottom-color:currentColor}.mt-tab-panel{outline:none;padding:16px 0}.mt-segmented{background:var(--mt-hover,#f1f1ef);border-radius:5px;gap:2px;padding:3px;display:inline-flex}.mt-segment{cursor:pointer;border-radius:3px;outline:none;justify-content:center;align-items:center;min-height:26px;padding:3px 10px;display:flex}.mt-segment[data-checked]{background:var(--mt-bg,#fff);box-shadow:0 1px 3px #0000001a}.mt-shortcut{color:var(--mt-muted,#787774);font-size:12px}.mt-popover{max-width:320px;padding:12px}.mt-popup-title{margin:0 0 8px;font-weight:600}.mt-tooltip{color:#fff;background:#37352f;border-radius:4px;max-width:260px;padding:5px 8px;font-size:12px;box-shadow:0 2px 8px #0002}.mt-backdrop{z-index:1200;background:#0005;position:fixed;inset:0}.mt-modal{z-index:1201;background:var(--mt-bg,#fff);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:8px;outline:none;padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 16px 64px #0003}.mt-dialog-title{margin:0 28px 12px 0;font-size:18px;font-weight:600;line-height:1.5}.mt-dialog-description{color:var(--mt-muted,#787774);margin:0 0 16px;font-size:14px}.mt-dialog-close{width:24px;height:24px;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;font-size:20px;display:flex;position:absolute;top:12px;right:12px}.mt-dialog-close:hover{background:var(--mt-hover,#f1f1ef)}.mt-dialog-body{font-size:14px}.mt-dialog-footer{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.mt-action{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));cursor:pointer;border-radius:4px;padding:3px 10px;font-size:14px}.mt-action-primary{background:var(--mt-primary,#37352f);color:#fff;border-color:#0000}.mt-action-danger{background:#d44c47}.mt-drawer-viewport{z-index:1201;justify-content:flex-end;display:flex;position:fixed;inset:0}.mt-drawer{background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));box-sizing:border-box;outline:0;width:min(400px,90vw);height:100%;padding:24px;position:relative;overflow:auto;box-shadow:-4px 0 24px #0002}.mt-checkbox:focus-visible,.mt-radio:focus-visible,.mt-switch:focus-visible,.mt-select:focus-visible,.mt-segment:focus-visible,.mt-action:focus-visible,.mt-tab:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-check-label:has([data-disabled]){opacity:.45;cursor:not-allowed}[data-density=comfortable] .mt-select,[data-density=comfortable] .mt-number-step{min-height:34px}.mt-menu-label{align-items:center;gap:8px;display:inline-flex}.mt-menu-icon{width:16px;height:16px;color:var(--mt-muted,#787774);justify-content:center;align-items:center;display:inline-flex}.mt-menu-icon svg{width:16px;height:16px}.mt-table-wrap{border:1px solid var(--mt-border,#e9e9e7);border-radius:4px;overflow:hidden}.mt-table-scroll{overflow:auto}.mt-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.mt-table th{color:var(--mt-muted,#787774);background:var(--mt-subtle,#f7f7f5);font-weight:500}.mt-table th,.mt-table td{border-bottom:1px solid var(--mt-border,#e9e9e7);white-space:nowrap;padding:8px 12px}.mt-table tr:last-child td{border-bottom:0}.mt-table tr[data-selected]{background:var(--mt-selected,#edf3fa)}.mt-table-sort{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:0;display:flex}.mt-table-filter{width:100%;min-width:72px;margin-top:6px;display:block}.mt-table-empty{text-align:center;color:var(--mt-muted,#787774);height:100px}.mt-pagination{color:var(--mt-muted,#787774);justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.mt-pagination>span:first-child{margin-right:auto}.mt-tree{font-size:14px}.mt-tree-item{cursor:pointer;min-height:28px;color:var(--mt-fg,#37352f);border-radius:4px;align-items:center;gap:6px;padding:4px 8px;display:flex}.mt-tree-item:hover{background:var(--mt-hover,#f1f1ef)}.mt-tree-item[aria-selected=true]{background:var(--mt-selected,#e9eef4)}.mt-tree-item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.mt-tree-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-tree-toggle{flex-shrink:0;align-items:center;width:14px;display:inline-flex}.mt-date-picker{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.mt-date-picker>.mt-error{flex-basis:100%;font-size:12px}.mt-dropzone{border:1px dashed var(--mt-border,#d5d5d2);min-height:140px;color:var(--mt-muted,#787774);border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:14px;display:flex}.mt-dropzone[data-dragging]{background:var(--mt-selected,#edf3fa);border-color:var(--mt-focus,#5378aa)}.mt-dropzone input{max-width:100%;font:inherit;font-size:12px}.mt-dropzone input::file-selector-button{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);cursor:pointer;border-radius:4px;margin-right:8px;padding:4px 8px}.mt-upload-list{margin:8px 0 0;padding:0;list-style:none}.mt-upload-list li{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;min-height:44px;font-size:14px;display:flex}.mt-upload-name{overflow-wrap:anywhere;flex:1;min-width:0}.mt-upload-name small{color:var(--mt-muted,#787774);font-size:12px;display:block}.mt-upload-name small[role=alert]{color:var(--mt-danger,#c44e48)}.mt-upload-list progress{width:80px;height:5px;accent-color:var(--mt-fg,#37352f)}.mt-pagination-pages{align-items:center;gap:2px;display:flex}.mt-pagination-pages .mt-btn{min-width:28px;padding-inline:6px}.mt-pagination-pages [aria-current=page]{font-weight:600}:root,:host{--mt-spacing:.25rem}.mt-scope,.mt-btn,.mt-input,.mt-card,.mt-tag,.mt-list,.mt-table-wrap{color:var(--mt-fg,#37352f);box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,sans-serif;font-size:14px;line-height:1.45}.mt-scope{--mt-fg:#37352f;--mt-text:var(--mt-fg);--mt-primary:#37352f;--mt-hover:#f1f1ef;--mt-muted:#787774;--mt-border:#e9e9e7;--mt-bg:#fff;--mt-subtle:#f7f7f5;--mt-height:28px;--mt-radius:4px;--mt-focus:#5378aa}.mt-scope[data-density=comfortable]{--mt-height:36px}.mt-scope *,.mt-scope :before,.mt-scope :after{box-sizing:border-box}.mt-btn{justify-content:center;align-items:center;gap:calc(var(--mt-spacing) * 1.5);height:var(--mt-height,28px);border:1px solid var(--mt-border,#e9e9e7);border-radius:var(--mt-radius,4px);background:var(--mt-bg,#fff);cursor:pointer;white-space:nowrap;vertical-align:middle;padding:0 9px;font-weight:500;transition:background .12s;display:inline-flex}.mt-btn:hover:not(:disabled){background:var(--mt-subtle,#f7f7f5)}.mt-btn-solid{background:var(--mt-fg,#37352f);color:#fff;border-color:#0000}.mt-btn-solid:hover:not(:disabled){background:#53514c}.mt-btn-blue{color:#f3f9fd;background:#2783de;border-color:#0000;transition:background-color .1s ease-in-out}.mt-btn-blue:hover:not(:disabled){background:#2276c9}.mt-btn-soft{background:var(--mt-subtle,#f7f7f5);border-color:#0000}.mt-btn-ghost{background:0 0;border-color:#0000}.mt-danger{color:#b6403b}.mt-btn-solid.mt-danger,.mt-btn-blue.mt-danger{color:#fff;background:#b6403b}.mt-btn-blue.mt-danger:hover:not(:disabled){background:#9e3632}.mt-btn:disabled{opacity:.45;cursor:not-allowed}.mt-btn.mt-size-sm{height:24px;padding:0 6px;font-size:12px}.mt-btn.mt-size-lg{height:36px;padding:0 14px}.mt-icon-btn{width:var(--mt-height,28px);padding:0}.mt-button-group{gap:4px;display:inline-flex}.mt-btn:focus-visible,.mt-input:focus-visible,.mt-link:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-input{height:var(--mt-height,28px);background:var(--mt-bg,#fff);border:1px solid var(--mt-border,#e9e9e7);width:100%;min-width:0;font:inherit;color:var(--mt-fg,#37352f);border-radius:4px;padding:4px 8px}.mt-input::placeholder{color:var(--mt-muted,#787774)}.mt-input:disabled{opacity:.6;background:#f7f7f5}.mt-input[aria-invalid=true]{border-color:#c66660}.mt-textarea{resize:vertical;min-height:72px}.mt-search{color:var(--mt-muted,#787774);align-items:center;display:flex;position:relative}.mt-search>svg{position:absolute;left:8px}.mt-search .mt-input{padding-left:30px}.mt-field{flex-direction:column;gap:5px;display:flex}.mt-field>label{font-size:13px;font-weight:500}.mt-form{gap:14px;display:grid}.mt-help{color:var(--mt-muted,#787774);font-size:12px}.mt-error{color:#b6403b}.mt-muted,.mt-scope small{color:var(--mt-muted,#787774)}.mt-tag{white-space:nowrap;background:#efefed;border-radius:3px;align-items:center;gap:4px;padding:1px 6px;font-size:12px;display:inline-flex}.mt-tag button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.mt-tone-blue{color:#32679b;background:#e7f0f9}.mt-tone-green{color:#3c7152;background:#e8f1eb}.mt-tone-orange{color:#9c6a2d;background:#fbefdf}.mt-tone-red{color:#ae4d47;background:#f9e9e7}.mt-tone-purple{color:#795a9e;background:#efe9f6}.mt-status{background:0 0;align-items:center;gap:5px;font-size:12px;display:inline-flex}.mt-status i{background:currentColor;border-radius:50%;width:6px;height:6px}.mt-avatar{color:#68645d;background:#eeede9;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:10px;font-weight:600;display:inline-flex;overflow:hidden}.mt-avatar img{object-fit:cover;width:100%;height:100%}.mt-avatar-group{display:inline-flex}.mt-avatar-group .mt-avatar+.mt-avatar{border:2px solid #fff;margin-left:-6px}.mt-progress{background:#efefed;border-radius:9px;width:100%;height:5px;overflow:hidden}.mt-progress>span{border-radius:inherit;background:#7d9c84;height:100%;display:block}.mt-divider{border:0;border-top:1px solid var(--mt-border,#e9e9e7);margin:12px 0}.mt-card{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);border-radius:6px;padding:16px}.mt-list{margin:0;padding:0;list-style:none}.mt-list-item{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;padding:8px;display:flex}.mt-list-item:last-child{border-bottom:0}.mt-list-content{flex:1;min-width:0}.mt-link{color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.mt-link:hover{text-decoration:underline}.mt-doc-icon{margin-bottom:12px}.mt-properties{margin:0}.mt-properties>div{grid-template-columns:100px 1fr;gap:12px;padding:6px 0;display:grid}.mt-properties dt{color:var(--mt-muted,#787774)}.mt-properties dd{margin:0}.mt-alert{background:#f6f8fa;border:1px solid #e4e8ed;border-radius:4px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;display:flex}.mt-alert>div{flex:1}.mt-alert-success{color:#466b4c;background:#f2f7f3;border-color:#deeadf}.mt-alert-warning{color:#8c6b34;background:#fcf8ee;border-color:#eee3c9}.mt-alert-error{color:#a24942;background:#fcf3f2;border-color:#f0dcd9}.mt-empty{color:var(--mt-muted,#787774);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px;display:flex}.mt-empty strong{color:var(--mt-fg,#37352f);font-size:14px}.mt-empty span{font-size:12px}.mt-skeleton{background:#efefed;border-radius:4px;min-width:48px;height:16px;animation:1.6s infinite mt-pulse}.mt-spinner{display:inline-flex}.mt-spin{animation:1s linear infinite mt-spin}@keyframes mt-spin{to{transform:rotate(360deg)}}@keyframes mt-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.mt-spin,.mt-skeleton{animation:none}}.mt-sidebar{background:var(--mt-subtle,#f7f7f5);border-radius:4px;padding:12px 8px}.mt-nav-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:var(--mt-height,28px);background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;padding:5px 8px;display:flex}.mt-nav-item:hover{background:#efefef}.mt-nav-item.mt-active{color:#262626;background:#e5e5e5}.mt-nav-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa)}.mt-nav-item:disabled{opacity:.4;cursor:not-allowed}.mt-nav-group{margin-top:12px}.mt-nav-label{letter-spacing:.04em;color:var(--mt-muted,#787774);padding:4px 8px;font-size:11px}.mt-breadcrumb{color:var(--mt-muted,#787774);align-items:center;gap:8px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.mt-breadcrumb li{align-items:center;gap:8px;display:flex}.mt-breadcrumb a{color:inherit;text-decoration:none}.mt-breadcrumb a:hover{text-decoration:underline}.mt-filter-chip{background:var(--mt-subtle,#f7f7f5);border-radius:4px;align-items:center;gap:3px;padding-left:7px;font-size:12px;display:inline-flex}.mt-filter-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mt-sidebar[data-collapsed=true]{box-sizing:border-box;flex-shrink:0;width:52px;min-width:52px}.mt-sidebar-toggle{margin-bottom:8px}.mt-sidebar-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mt-nav-item-collapsed{justify-content:center;padding-inline:0;position:relative}.mt-nav-item-collapsed>svg{flex-shrink:0}.mt-nav-group-collapsed+.mt-nav-group-collapsed{border-top:1px solid var(--mt-border,#e9e9e7);padding-top:8px}:is(.mt-slider-thumb,.mt-chip,.mt-chip-remove,.mt-combobox-trigger,.mt-dialog-close,.mt-tab-panel,.mt-table-sort):not(:disabled):not([data-disabled]):not([aria-disabled=true]):focus-visible,:is(.mt-tag,.mt-filter-chip)>button:focus-visible,.mt-breadcrumb a:focus-visible,.mt-table input:focus-visible,.mt-dropzone input:focus-visible,.mt-number-group:not(:has(input:disabled)):focus-within,.mt-multiselect:not(:has(input:disabled)):focus-within{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-number-group .mt-number-input:focus-visible,.mt-multiselect .mt-combobox-input:focus-visible{outline:none}.mt-number-step:not(:disabled):not([data-disabled]):focus-visible,.mt-option[data-highlighted]:not([data-disabled]),.mt-menu-item[data-highlighted]:not([data-disabled]){outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}
|
|
2
|
+
.mt-toast-viewport{z-index:1300;pointer-events:none;outline:none;position:fixed;inset:0}.mt-toast-stack{pointer-events:none;box-sizing:border-box;width:min(360px,100vw - 32px);padding:0;display:block;position:absolute}.mt-toast-stack[data-position=top-right]{top:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=bottom-right]{bottom:calc(16px + var(--mt-toast-offset));right:16px}.mt-toast-stack[data-position=top-left]{top:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=bottom-left]{bottom:calc(16px + var(--mt-toast-offset));left:16px}.mt-toast-stack[data-position=top-center]{top:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=bottom-center]{bottom:calc(16px + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center]{top:calc(50% - var(--mt-toast-total) / 2 + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast-stack[data-position=center-top]{top:calc(25% + var(--mt-toast-offset));left:50%;transform:translate(-50%)}.mt-toast{max-height:max(80px, calc((70dvh - 32px) / var(--mt-toast-limit) - 10px));box-sizing:border-box;pointer-events:auto;background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);border:1px solid var(--mt-border,#e9e9e7);border-radius:8px;flex-shrink:0;padding:10px 36px 10px 12px;font-size:14px;position:relative;overflow-y:auto;box-shadow:0 6px 24px #0000001f}.mt-toast-content{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:3px 8px;display:grid}.mt-toast-icon{color:#5378aa;grid-area:1/1;align-self:center}.mt-toast-title,.mt-toast-description,.mt-toast-custom,.mt-toast-action{overflow-wrap:anywhere;grid-column:2;min-width:0}.mt-toast .mt-dialog-close{top:8px;right:8px}.mt-toast[data-type=success]{border-color:#c8dfce}.mt-toast[data-type=success] .mt-toast-icon{color:#34834b}.mt-toast[data-type=error]{border-color:#edc9c6}.mt-toast[data-type=error] .mt-toast-icon{color:#b6403b}.mt-toast-title{font-size:inherit;margin:0;font-weight:600;line-height:20px}.mt-toast-description{color:var(--mt-muted,#787774);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.mt-toast-action{justify-self:start;margin-top:4px}.mt-toast[data-ending]{opacity:0}.mt-toast[data-limited]{display:none}.mt-toast:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-layout{box-sizing:border-box;background:var(--mt-bg,#fff);min-width:0;min-height:0;color:var(--mt-fg,#37352f);flex-direction:column;flex:auto;display:flex}.mt-layout-has-sider{flex-direction:row}.mt-layout-full-height{height:100dvh;overflow:hidden}.mt-layout>.mt-layout{overflow:hidden}.mt-sidebar.mt-layout-sider{width:var(--mt-layout-sider-width,240px);border-right:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:0;flex-direction:column;flex:none;min-width:0;min-height:0;padding:0;display:flex}.mt-sidebar.mt-layout-sider[data-collapsed=true]{width:var(--mt-layout-sider-collapsed-width,52px);min-width:0}.mt-sidebar-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-brand{min-width:0;overflow:hidden}.mt-sidebar-heading .mt-sidebar-toggle{flex-shrink:0;margin:0}.mt-layout-sider .mt-sidebar-heading{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);flex:none;padding:8px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-heading{height:var(--mt-layout-header-height,48px);justify-content:center;gap:0;padding:4px}.mt-layout-sider>.mt-sidebar-toggle{flex-shrink:0;margin:12px}.mt-layout-sider .mt-sidebar-content{scrollbar-width:thin;flex:auto;min-height:0;padding:12px 8px;overflow:auto}.mt-layout-sider .mt-nav-item{margin-bottom:3px}.mt-layout-header{min-height:var(--mt-layout-header-height,48px);box-sizing:border-box;border-bottom:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 24px;display:flex}.mt-layout-header-main{overflow-wrap:anywhere;flex:160px;min-width:0}.mt-layout-header .mt-breadcrumb{flex-wrap:wrap}.mt-layout-header-extra{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.mt-layout-content{box-sizing:border-box;overflow-wrap:anywhere;flex:auto;min-width:0;min-height:0;padding:clamp(16px,3vw,40px);overflow:auto}.mt-layout-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);color:var(--mt-muted,#787774);flex:none;align-items:center;padding:8px 24px;font-size:12px;display:flex;overflow:auto}@media (max-width:575px){.mt-layout-header,.mt-layout-footer{padding:8px 12px}}.mt-layout-sider[data-collapsed=true] .mt-sidebar-brand{max-height:28px}.mt-sidebar-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.mt-sidebar-footer-content{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--mt-muted,#787774);font-size:12px;overflow:hidden}.mt-sidebar-footer .mt-sidebar-toggle{flex-shrink:0;margin:0 0 0 auto}.mt-layout-sider .mt-sidebar-footer{height:var(--mt-layout-footer-height,42px);box-sizing:border-box;border-top:1px solid var(--mt-border,#e9e9e7);flex:none;padding:6px 12px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer{justify-content:center;padding-inline:4px}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer-content{display:none}.mt-layout-sider[data-collapsed=true] .mt-sidebar-footer .mt-sidebar-toggle{margin:0}.mt-check-label{cursor:pointer;align-items:center;gap:8px;font-size:14px;display:inline-flex}.mt-checkbox,.mt-radio{border:1px solid var(--mt-border,#d4d4d0);background:var(--mt-bg,#fff);color:#fff;border-radius:3px;justify-content:center;align-items:center;width:16px;height:16px;padding:0;display:inline-flex}.mt-checkbox[data-checked],.mt-checkbox[data-indeterminate],.mt-radio[data-checked]{background:var(--mt-primary,#37352f);border-color:var(--mt-primary,#37352f)}.mt-check-indicator{font-size:12px;line-height:1}.mt-radio{border-radius:50%}.mt-radio-indicator{background:#fff;border-radius:50%;width:6px;height:6px}.mt-radio-group{gap:12px;display:flex}.mt-vertical{flex-direction:column}.mt-horizontal{flex-direction:row}.mt-switch{background:#c7c7c3;border:0;border-radius:12px;align-items:center;width:30px;height:18px;padding:2px;display:inline-flex}.mt-switch[data-checked]{background:var(--mt-primary,#37352f)}.mt-switch-thumb{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s}.mt-switch[data-checked] .mt-switch-thumb{transform:translate(12px)}.mt-select,.mt-multiselect,.mt-number-group{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));border-radius:4px;align-items:center;gap:8px;padding:3px 9px;font-size:14px;display:inline-flex}.mt-select{justify-content:space-between;min-width:160px}.mt-select-value{text-overflow:ellipsis;white-space:nowrap;text-align:start;min-width:0;overflow:hidden}.mt-select-icon,.mt-select-item-indicator{flex:0 0 16px;justify-content:center;align-items:center;width:16px;height:16px;line-height:1;display:inline-flex}.mt-select-icon{color:var(--mt-muted,#787774)}.mt-select-icon>svg,.mt-select-item-indicator>svg{flex:none;width:16px;height:16px;display:block}.mt-positioner{z-index:1250;outline:0}.mt-popup{min-width:max(160px, var(--anchor-width,0px));max-height:min(320px, var(--available-height,320px));background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);border-radius:6px;outline:none;padding:4px;font-size:14px;overflow:auto;box-shadow:0 4px 16px #00000014}.mt-option,.mt-menu-item{cursor:pointer;border-radius:3px;outline:none;justify-content:space-between;align-items:center;gap:24px;min-height:28px;padding:4px 8px;display:flex}.mt-option[data-highlighted],.mt-menu-item[data-highlighted]{background:var(--mt-hover,#f1f1ef)}.mt-option[data-disabled],.mt-menu-item[data-disabled],[data-disabled].mt-segment{opacity:.4;cursor:not-allowed}.mt-multiselect{flex-wrap:wrap;gap:4px;min-width:200px;max-width:100%;padding:3px 6px}.mt-chip{background:var(--mt-hover,#f1f1ef);border-radius:3px;align-items:center;gap:4px;padding:1px 5px;font-size:12px;display:inline-flex}.mt-chip-remove,.mt-combobox-trigger{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px}.mt-combobox-input{font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1;width:90px;min-width:70px}.mt-combobox-empty{color:var(--mt-muted,#787774);padding:8px}.mt-combobox-empty:empty{display:none}.mt-number-group{gap:0;padding:0;overflow:hidden}.mt-number-input{text-align:center;width:72px;font:inherit;color:inherit;background:0 0;border:0;outline:none}.mt-number-step{color:inherit;cursor:pointer;background:0 0;border:0;width:28px;height:28px}.mt-number-step:hover{background:var(--mt-hover,#f1f1ef)}.mt-slider{width:180px}.mt-slider-control{touch-action:none;padding:10px 0}.mt-slider-track{background:var(--mt-border,#e9e9e7);border-radius:8px;height:4px;position:relative}.mt-slider-indicator{background:var(--mt-primary,#37352f);border-radius:8px}.mt-slider-thumb{border:2px solid var(--mt-primary,#37352f);background:var(--mt-bg,#fff);border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0002}.mt-tab-list{border-bottom:1px solid var(--mt-border,#e9e9e7);gap:16px;display:flex}.mt-tab{font:inherit;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 2px}.mt-tab[data-active]{color:var(--mt-text,var(--mt-fg,#37352f));border-bottom-color:currentColor}.mt-tab-panel{outline:none;padding:16px 0}.mt-segmented{background:var(--mt-hover,#f1f1ef);border-radius:5px;gap:2px;padding:3px;display:inline-flex}.mt-segment{cursor:pointer;border-radius:3px;outline:none;justify-content:center;align-items:center;min-height:26px;padding:3px 10px;display:flex}.mt-segment[data-checked]{background:var(--mt-bg,#fff);box-shadow:0 1px 3px #0000001a}.mt-shortcut{color:var(--mt-muted,#787774);font-size:12px}.mt-popover{max-width:320px;padding:12px}.mt-popup-title{margin:0 0 8px;font-weight:600}.mt-tooltip{color:#fff;background:#37352f;border-radius:4px;max-width:260px;padding:5px 8px;font-size:12px;box-shadow:0 2px 8px #0002}.mt-backdrop{z-index:1200;background:#0005;position:fixed;inset:0}.mt-modal{z-index:1201;background:var(--mt-bg,#fff);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--mt-text,var(--mt-fg,#37352f));border:1px solid var(--mt-border,#e9e9e7);box-sizing:border-box;border-radius:8px;outline:none;padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 16px 64px #0003}.mt-dialog-title{margin:0 28px 12px 0;font-size:18px;font-weight:600;line-height:1.5}.mt-dialog-description{color:var(--mt-muted,#787774);margin:0 0 16px;font-size:14px}.mt-dialog-close{width:24px;height:24px;color:var(--mt-muted,#787774);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;font-size:20px;display:flex;position:absolute;top:12px;right:12px}.mt-dialog-close:hover{background:var(--mt-hover,#f1f1ef)}.mt-dialog-body{font-size:14px}.mt-dialog-footer{justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.mt-action{font:inherit;border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);min-height:28px;color:var(--mt-text,var(--mt-fg,#37352f));cursor:pointer;border-radius:4px;padding:3px 10px;font-size:14px}.mt-action-primary{background:var(--mt-primary,#37352f);color:#fff;border-color:#0000}.mt-action-danger{background:#d44c47}.mt-drawer-viewport{z-index:1201;justify-content:flex-end;display:flex;position:fixed;inset:0}.mt-drawer{background:var(--mt-bg,#fff);color:var(--mt-text,var(--mt-fg,#37352f));box-sizing:border-box;outline:0;width:min(400px,90vw);height:100%;padding:24px;position:relative;overflow:auto;box-shadow:-4px 0 24px #0002}.mt-checkbox:focus-visible,.mt-radio:focus-visible,.mt-switch:focus-visible,.mt-select:focus-visible,.mt-segment:focus-visible,.mt-action:focus-visible,.mt-tab:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-check-label:has([data-disabled]){opacity:.45;cursor:not-allowed}[data-density=comfortable] .mt-select,[data-density=comfortable] .mt-number-step{min-height:34px}.mt-menu-label{align-items:center;gap:8px;display:inline-flex}.mt-menu-icon{width:16px;height:16px;color:var(--mt-muted,#787774);justify-content:center;align-items:center;display:inline-flex}.mt-menu-icon svg{width:16px;height:16px}.mt-table-wrap{border:1px solid var(--mt-border,#e9e9e7);border-radius:4px;overflow:hidden}.mt-table-scroll{overflow:auto}.mt-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.mt-table th{color:var(--mt-muted,#787774);background:var(--mt-subtle,#f7f7f5);font-weight:500}.mt-table th,.mt-table td{border-bottom:1px solid var(--mt-border,#e9e9e7);white-space:nowrap;padding:8px 12px}.mt-table tr:last-child td{border-bottom:0}.mt-table tr[data-selected]{background:var(--mt-selected,#edf3fa)}.mt-table-sort{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:0;display:flex}.mt-table-filter{width:100%;min-width:72px;margin-top:6px;display:block}.mt-table-empty{text-align:center;color:var(--mt-muted,#787774);height:100px}.mt-pagination{color:var(--mt-muted,#787774);justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.mt-pagination>span:first-child{margin-right:auto}.mt-tree{font-size:14px}.mt-tree-item{cursor:pointer;min-height:28px;color:var(--mt-fg,#37352f);border-radius:4px;align-items:center;gap:6px;padding:4px 8px;display:flex}.mt-tree-item:hover{background:var(--mt-hover,#f1f1ef)}.mt-tree-item[aria-selected=true]{background:var(--mt-selected,#e9eef4)}.mt-tree-item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.mt-tree-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}.mt-tree-toggle{flex-shrink:0;align-items:center;width:14px;display:inline-flex}.mt-date-picker{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.mt-date-picker>.mt-error{flex-basis:100%;font-size:12px}.mt-dropzone{border:1px dashed var(--mt-border,#d5d5d2);min-height:140px;color:var(--mt-muted,#787774);border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:14px;display:flex}.mt-dropzone[data-dragging]{background:var(--mt-selected,#edf3fa);border-color:var(--mt-focus,#5378aa)}.mt-dropzone input{max-width:100%;font:inherit;font-size:12px}.mt-dropzone input::file-selector-button{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);color:var(--mt-fg,#37352f);cursor:pointer;border-radius:4px;margin-right:8px;padding:4px 8px}.mt-upload-list{margin:8px 0 0;padding:0;list-style:none}.mt-upload-list li{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;min-height:44px;font-size:14px;display:flex}.mt-upload-name{overflow-wrap:anywhere;flex:1;min-width:0}.mt-upload-name small{color:var(--mt-muted,#787774);font-size:12px;display:block}.mt-upload-name small[role=alert]{color:var(--mt-danger,#c44e48)}.mt-upload-list progress{width:80px;height:5px;accent-color:var(--mt-fg,#37352f)}.mt-pagination-pages{align-items:center;gap:2px;display:flex}.mt-pagination-pages .mt-btn{min-width:28px;padding-inline:6px}.mt-pagination-pages [aria-current=page]{font-weight:600}:root,:host{--mt-spacing:.25rem}.mt-scope,.mt-btn,.mt-input,.mt-card,.mt-badge,.mt-list,.mt-table-wrap{color:var(--mt-fg,#37352f);box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,sans-serif;font-size:14px;line-height:1.45}.mt-scope{--mt-fg:#37352f;--mt-text:var(--mt-fg);--mt-primary:#37352f;--mt-hover:#f1f1ef;--mt-muted:#787774;--mt-border:#e9e9e7;--mt-bg:#fff;--mt-subtle:#f7f7f5;--mt-height:28px;--mt-radius:4px;--mt-focus:#5378aa}.mt-scope[data-density=comfortable]{--mt-height:36px}.mt-scope *,.mt-scope :before,.mt-scope :after{box-sizing:border-box}.mt-btn{justify-content:center;align-items:center;gap:calc(var(--mt-spacing) * 1.5);height:var(--mt-height,28px);border:1px solid var(--mt-border,#e9e9e7);border-radius:var(--mt-radius,4px);background:var(--mt-bg,#fff);cursor:pointer;white-space:nowrap;vertical-align:middle;padding:0 9px;font-weight:500;transition:background .12s;display:inline-flex}.mt-btn:hover:not(:disabled){background:var(--mt-subtle,#f7f7f5)}.mt-btn-solid{background:var(--mt-fg,#37352f);color:#fff;border-color:#0000}.mt-btn-solid:hover:not(:disabled){background:#53514c}.mt-btn-blue{color:#f3f9fd;background:#2783de;border-color:#0000;transition:background-color .1s ease-in-out}.mt-btn-blue:hover:not(:disabled){background:#2276c9}.mt-btn-soft{background:var(--mt-subtle,#f7f7f5);border-color:#0000}.mt-btn-ghost{background:0 0;border-color:#0000}.mt-danger{color:#b6403b}.mt-btn-solid.mt-danger,.mt-btn-blue.mt-danger{color:#fff;background:#b6403b}.mt-btn-blue.mt-danger:hover:not(:disabled){background:#9e3632}.mt-btn:disabled{opacity:.45;cursor:not-allowed}.mt-btn.mt-size-sm{height:24px;padding:0 6px;font-size:12px}.mt-btn.mt-size-lg{height:36px;padding:0 14px}.mt-icon-btn{width:var(--mt-height,28px);padding:0}.mt-button-group{gap:4px;display:inline-flex}.mt-btn:focus-visible,.mt-input:focus-visible,.mt-link:focus-visible{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-input{height:var(--mt-height,28px);background:var(--mt-bg,#fff);border:1px solid var(--mt-border,#e9e9e7);width:100%;min-width:0;font:inherit;color:var(--mt-fg,#37352f);border-radius:4px;padding:4px 8px}.mt-input::placeholder{color:var(--mt-muted,#787774)}.mt-input:disabled{opacity:.6;background:#f7f7f5}.mt-input[aria-invalid=true]{border-color:#c66660}.mt-textarea{resize:vertical;min-height:72px}.mt-search{color:var(--mt-muted,#787774);align-items:center;display:flex;position:relative}.mt-search>svg{position:absolute;left:8px}.mt-search .mt-input{padding-left:30px}.mt-field{flex-direction:column;gap:5px;display:flex}.mt-field>label{font-size:13px;font-weight:500}.mt-form{gap:14px;display:grid}.mt-help{color:var(--mt-muted,#787774);font-size:12px}.mt-error{color:#b6403b}.mt-muted,.mt-scope small{color:var(--mt-muted,#787774)}.mt-badge{white-space:nowrap;background:#efefed;border-radius:3px;align-items:center;gap:4px;padding:1px 6px;font-size:12px;display:inline-flex}.mt-badge button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.mt-tone-blue{color:#32679b;background:#e7f0f9}.mt-tone-green{color:#3c7152;background:#e8f1eb}.mt-tone-orange{color:#9c6a2d;background:#fbefdf}.mt-tone-red{color:#ae4d47;background:#f9e9e7}.mt-tone-purple{color:#795a9e;background:#efe9f6}.mt-status{background:0 0;align-items:center;gap:5px;font-size:12px;display:inline-flex}.mt-status i{background:currentColor;border-radius:50%;width:6px;height:6px}.mt-avatar{color:#68645d;background:#eeede9;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:10px;font-weight:600;display:inline-flex;overflow:hidden}.mt-avatar img{object-fit:cover;width:100%;height:100%}.mt-avatar-group{display:inline-flex}.mt-avatar-group .mt-avatar+.mt-avatar{border:2px solid #fff;margin-left:-6px}.mt-progress{background:#efefed;border-radius:9px;width:100%;height:5px;overflow:hidden}.mt-progress>span{border-radius:inherit;background:#7d9c84;height:100%;display:block}.mt-divider{border:0;border-top:1px solid var(--mt-border,#e9e9e7);margin:12px 0}.mt-card{border:1px solid var(--mt-border,#e9e9e7);background:var(--mt-bg,#fff);border-radius:6px;padding:16px}.mt-list{margin:0;padding:0;list-style:none}.mt-list-item{border-bottom:1px solid var(--mt-border,#e9e9e7);align-items:center;gap:8px;padding:8px;display:flex}.mt-list-item:last-child{border-bottom:0}.mt-list-content{flex:1;min-width:0}.mt-link{color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.mt-link:hover{text-decoration:underline}.mt-doc-icon{margin-bottom:12px}.mt-properties{margin:0}.mt-properties>div{grid-template-columns:100px 1fr;gap:12px;padding:6px 0;display:grid}.mt-properties dt{color:var(--mt-muted,#787774)}.mt-properties dd{margin:0}.mt-alert{background:#f6f8fa;border:1px solid #e4e8ed;border-radius:4px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:13px;display:flex}.mt-alert>div{flex:1}.mt-alert-success{color:#466b4c;background:#f2f7f3;border-color:#deeadf}.mt-alert-warning{color:#8c6b34;background:#fcf8ee;border-color:#eee3c9}.mt-alert-error{color:#a24942;background:#fcf3f2;border-color:#f0dcd9}.mt-empty{color:var(--mt-muted,#787774);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:28px;display:flex}.mt-empty strong{color:var(--mt-fg,#37352f);font-size:14px}.mt-empty span{font-size:12px}.mt-skeleton{background:#efefed;border-radius:4px;min-width:48px;height:16px;animation:1.6s infinite mt-pulse}.mt-spinner{display:inline-flex}.mt-spin{animation:1s linear infinite mt-spin}@keyframes mt-spin{to{transform:rotate(360deg)}}@keyframes mt-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.mt-spin,.mt-skeleton{animation:none}}.mt-sidebar{background:var(--mt-subtle,#f7f7f5);border-radius:4px;padding:12px 8px}.mt-nav-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:var(--mt-height,28px);background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;padding:5px 8px;display:flex}.mt-nav-item:hover{background:#efefef}.mt-nav-item.mt-active{color:#262626;background:#e5e5e5}.mt-nav-item:focus-visible{outline:2px solid var(--mt-focus,#5378aa)}.mt-nav-item:disabled{opacity:.4;cursor:not-allowed}.mt-nav-group{margin-top:12px}.mt-nav-label{letter-spacing:.04em;color:var(--mt-muted,#787774);padding:4px 8px;font-size:11px}.mt-breadcrumb{color:var(--mt-muted,#787774);align-items:center;gap:8px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.mt-breadcrumb li{align-items:center;gap:8px;display:flex}.mt-breadcrumb a{color:inherit;text-decoration:none}.mt-breadcrumb a:hover{text-decoration:underline}.mt-filter-chip{background:var(--mt-subtle,#f7f7f5);border-radius:4px;align-items:center;gap:3px;padding-left:7px;font-size:12px;display:inline-flex}.mt-filter-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mt-sidebar[data-collapsed=true]{box-sizing:border-box;flex-shrink:0;width:52px;min-width:52px}.mt-sidebar-toggle{margin-bottom:8px}.mt-sidebar-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mt-nav-item-collapsed{justify-content:center;padding-inline:0;position:relative}.mt-nav-item-collapsed>svg{flex-shrink:0}.mt-nav-group-collapsed+.mt-nav-group-collapsed{border-top:1px solid var(--mt-border,#e9e9e7);padding-top:8px}:is(.mt-slider-thumb,.mt-chip,.mt-chip-remove,.mt-combobox-trigger,.mt-dialog-close,.mt-tab-panel,.mt-table-sort):not(:disabled):not([data-disabled]):not([aria-disabled=true]):focus-visible,:is(.mt-badge,.mt-filter-chip)>button:focus-visible,.mt-breadcrumb a:focus-visible,.mt-table input:focus-visible,.mt-dropzone input:focus-visible,.mt-number-group:not(:has(input:disabled)):focus-within,.mt-multiselect:not(:has(input:disabled)):focus-within{outline:2px solid var(--mt-focus,#5378aa);outline-offset:2px}.mt-number-group .mt-number-input:focus-visible,.mt-multiselect .mt-combobox-input:focus-visible{outline:none}.mt-number-step:not(:disabled):not([data-disabled]):focus-visible,.mt-option[data-highlighted]:not([data-disabled]),.mt-menu-item[data-highlighted]:not([data-disabled]){outline:2px solid var(--mt-focus,#5378aa);outline-offset:-2px}
|