:root{--mq-background:#ffffff;--mq-foreground:#18181b;--mq-card:#ffffff;--mq-card-foreground:#18181b;--mq-popover:#ffffff;--mq-popover-foreground:#18181b;--mq-primary:#18181b;--mq-primary-foreground:#fafafa;--mq-secondary:#f4f4f5;--mq-secondary-foreground:#18181b;--mq-muted:#f4f4f5;--mq-muted-foreground:#71717a;--mq-accent:#f4f4f5;--mq-accent-foreground:#18181b;--mq-destructive:#dc2626;--mq-border:#e4e4e7;--mq-input:#d4d4d8;--mq-ring:#2563eb;--mq-chart-1:#8b7cf6;--mq-chart-2:#0d9488;--mq-chart-3:#f59e0b;--mq-chart-4:#2563eb;--mq-chart-5:#60a5fa;--mq-sidebar:#fafafa;--mq-sidebar-foreground:#18181b;--mq-sidebar-accent:#f4f4f5;--mq-sidebar-border:#e4e4e7;}
.dark{--mq-background:#09090b;--mq-foreground:#fafafa;--mq-card:#18181b;--mq-card-foreground:#fafafa;--mq-popover:#18181b;--mq-popover-foreground:#fafafa;--mq-primary:#fafafa;--mq-primary-foreground:#18181b;--mq-secondary:#27272a;--mq-secondary-foreground:#fafafa;--mq-muted:#27272a;--mq-muted-foreground:#a1a1aa;--mq-accent:#27272a;--mq-accent-foreground:#fafafa;--mq-destructive:#f87171;--mq-border:#3f3f46;--mq-input:#52525b;--mq-ring:#60a5fa;--mq-chart-1:#a78bfa;--mq-chart-2:#2dd4bf;--mq-chart-3:#fbbf24;--mq-chart-4:#f9a8d4;--mq-chart-5:#93c5fd;--mq-sidebar:#18181b;--mq-sidebar-foreground:#fafafa;--mq-sidebar-accent:#27272a;--mq-sidebar-border:#3f3f46;}
:root{--mq-surface:var(--mq-muted);--mq-font-sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mq-radius:8px;--mq-control-gap:8px;--mq-action-gap:16px;--mq-dialog-gap:24px}
:where([class^="mq-"],[class*=" mq-"]){font-family:var(--mq-font-sans);color:var(--mq-foreground);font-size:14px;line-height:1.5}
.mq-root{width:100%;min-width:0}:where([class^="mq-"],[class*=" mq-"]),:where([class^="mq-"],[class*=" mq-"]) *{box-sizing:border-box}:where([class^="mq-"],[class*=" mq-"]) h3{font-size:16px;line-height:24px;margin:0}:where([class^="mq-"],[class*=" mq-"]) p{margin:8px 0;color:var(--mq-muted-foreground)}:where([class^="mq-"],[class*=" mq-"]) svg{flex:0 0 auto;vertical-align:middle}.mq-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;white-space:nowrap;padding:0 16px;border:1px solid transparent;border-radius:6px;font-family:var(--mq-font-sans);font-size:13px;font-weight:500;line-height:20px;cursor:pointer;text-decoration:none;background:var(--mq-primary);color:var(--mq-primary-foreground);transition:background .15s,box-shadow .15s}.mq-button:hover{background:#27272a}.mq-button:focus-visible,.mq-input:focus-visible{outline:2px solid var(--mq-ring);outline-offset:2px}.mq-button:disabled,[data-disabled]{opacity:.45;cursor:not-allowed}.mq-button-secondary{background:var(--mq-secondary);color:var(--mq-secondary-foreground)}.mq-button-secondary:hover{background:var(--mq-border)}.mq-button-destructive{background:var(--mq-destructive)}.mq-button-destructive:hover{background:#b91c1c}.mq-button-outline{border-color:var(--mq-input);background:var(--mq-background);color:var(--mq-foreground)}.mq-button-outline:hover,.mq-button-ghost:hover{background:var(--mq-muted)}.mq-button-ghost{background:transparent;color:var(--mq-foreground)}.mq-button-link{background:transparent;color:var(--mq-ring);padding:0;min-height:32px;justify-content:flex-start}.mq-button-link:hover{background:transparent;text-decoration:underline}.mq-button-sm{min-height:32px;padding:0 12px;font-size:12px}.mq-button-lg{min-height:40px;padding:0 20px;font-size:14px}.mq-button-icon{width:36px;padding:0}.mq-input{font-family:var(--mq-font-sans);font-size:14px;line-height:1.5;min-width:0;width:100%;min-height:36px;border:1px solid var(--mq-input);border-radius:6px;padding:8px 12px;background:var(--mq-background);color:var(--mq-foreground)}.mq-input:disabled{opacity:.5;background:var(--mq-muted)}.mq-input[aria-invalid=true]{border-color:var(--mq-destructive)}.mq-field{display:grid;gap:8px;width:min(320px,100%);font-size:13px}.mq-stack{display:grid;gap:12px;justify-items:start;min-width:0}.mq-hint{display:block;font-size:12px;line-height:18px;color:var(--mq-muted-foreground)}.mq-row,.mq-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mq-actions{gap:16px}.mq-row-between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%}.mq-notice{font-size:12px;min-height:0;color:#52525b;line-height:20px}.mq-notice:empty{display:none}.mq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mq-muted-panel{padding:16px;background:var(--mq-muted);border-radius:8px}.mq-danger{background:#fef2f2;border-color:#fecaca!important;color:#b91c1c}
.mq-accordion{width:min(600px,100%)}.mq-accordion-item{border-bottom:1px solid var(--mq-border)}.mq-accordion-item h3{margin:0}.mq-accordion-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px 0;background:none;border:0;cursor:pointer;font:inherit;font-weight:500}.mq-accordion-trigger[data-state=open] svg{transform:rotate(180deg)}.mq-accordion-content{padding:0 0 16px;color:var(--mq-muted-foreground);font-size:14px;line-height:24px}.mq-alert{padding:16px;border:1px solid var(--mq-border);border-radius:10px;width:min(520px,100%)}.mq-alert-icon{display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px}.mq-alert-icon>svg{margin-top:2px}.mq-alert p{font-size:13px;line-height:22px;margin:8px 0 12px}.mq-overlay{position:fixed;inset:0;background:#0006;z-index:100}.mq-dialog{position:fixed;z-index:101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 48px));padding:24px;background:var(--mq-popover);border-radius:12px;box-shadow:0 20px 60px #0003;font-family:Inter,-apple-system,sans-serif;color:var(--mq-foreground);font-size:14px;line-height:22px;max-height:calc(100vh - 48px);overflow:auto}.mq-dialog-title{font-size:16px;line-height:24px;margin:0;font-weight:600}.mq-dialog-description{font-size:14px;color:var(--mq-muted-foreground);line-height:22px;margin:12px 0 0}.mq-dialog-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:24px;margin-top:24px}.mq-dialog-footer .mq-button{min-width:72px}.mq-dialog-wide{width:min(680px,calc(100vw - 48px))}.mq-sheet-left,.mq-sheet-right{transform:none;top:0;left:auto;right:0;height:100dvh;max-height:none;border-radius:0;display:flex;flex-direction:column}.mq-sheet-left{left:0;right:auto}.mq-sheet-left .mq-dialog-footer,.mq-sheet-right .mq-dialog-footer{margin-top:auto;padding-top:24px}.mq-sheet-bottom{transform:translateX(-50%);top:auto;bottom:0;max-height:80dvh;width:min(680px,100%);border-radius:12px 12px 0 0}.mq-aspect{display:grid;place-items:center;width:min(500px,100%);background:var(--mq-muted);border:1px solid var(--mq-border);border-radius:10px;color:var(--mq-muted-foreground)}.mq-avatar{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:999px;background:#dbeafe;font-size:14px;font-weight:600;overflow:hidden}.mq-avatar img{width:100%;height:100%;object-fit:cover}.mq-avatar-group{display:flex}.mq-avatar-group .mq-avatar+.mq-avatar{margin-left:-8px;border:2px solid var(--mq-background)}.mq-mini-avatar{display:inline-grid;place-items:center;width:24px;height:24px;background:var(--mq-border);border-radius:999px;font-size:11px}.mq-badge{display:inline-flex;align-items:center;padding:3px 10px;background:var(--mq-foreground);color:var(--mq-primary-foreground);border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:500}.mq-badge-secondary{background:var(--mq-muted);color:var(--mq-foreground)}.mq-badge-danger{background:#fee2e2;color:var(--mq-destructive)}.mq-badge-outline{background:var(--mq-background);color:var(--mq-foreground);border-color:var(--mq-input)}.mq-breadcrumb{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.mq-breadcrumb>.mq-button{padding:0 8px;color:var(--mq-muted-foreground)}.mq-breadcrumb>.mq-current{color:var(--mq-foreground);font-weight:600}.mq-card{padding:24px;border:1px solid var(--mq-border);background:var(--mq-card);border-radius:12px;width:min(380px,100%);text-align:left}.mq-card .mq-field{margin:16px 0}.mq-card footer{justify-content:flex-end;margin-top:16px}.mq-card-click{font:inherit;cursor:pointer}.mq-card-click:hover{box-shadow:0 4px 16px #0001}.mq-tabs{width:min(600px,100%);display:grid;gap:12px;min-width:0}.mq-tabs-list{display:flex;align-items:center;gap:4px;padding:4px;background:var(--mq-muted);border-radius:8px;max-width:100%;width:max-content;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.mq-tabs-list::-webkit-scrollbar{display:none}.mq-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;border:0;background:transparent;color:var(--mq-muted-foreground);font:inherit;font-size:14px;height:36px;padding:0 12px;border-radius:6px;cursor:pointer}.mq-tab[data-state=active]{background:var(--mq-background);box-shadow:0 1px 3px #0002;color:var(--mq-foreground)}.mq-tab:focus-visible{outline:2px solid var(--mq-ring);outline-offset:-2px}.mq-tab:disabled{opacity:.4;cursor:not-allowed}.mq-tab-panel{padding:20px;border:1px solid var(--mq-border);border-radius:8px;min-width:0;width:100%}.mq-tabs-vertical{grid-template-columns:110px minmax(0,1fr)}.mq-tabs-vertical .mq-tabs-list{flex-direction:column;width:100%;align-items:stretch}.mq-tabs-content{width:100%}.mq-tabs-content .mq-tabs-list{width:100%;gap:8px;background:transparent;padding:0;border-radius:0}.mq-tabs-underline .mq-tabs-list{box-shadow:inset 0 -1px 0 var(--mq-border);background:transparent;padding:0;border-radius:0}.mq-tabs-underline .mq-tab{height:44px;border-radius:0;border-bottom:2px solid transparent;box-shadow:none;background:transparent}.mq-tabs-underline .mq-tab[data-state=active]{color:var(--mq-ring);border-bottom-color:var(--mq-ring)}.mq-tab-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;background:var(--mq-muted);color:var(--mq-muted-foreground);border-radius:4px;font-size:12px}.mq-tab[data-state=active] .mq-tab-count{background:#dbeafe;color:var(--mq-ring)}.mq-tabs-cards .mq-tab{border:1px solid var(--mq-border);height:48px}.mq-tabs-cards .mq-tab[data-state=active]{border-color:var(--mq-ring);background:#eff6ff;color:var(--mq-ring);box-shadow:none}.mq-tabs-pills .mq-tab{border-radius:999px;background:var(--mq-muted)}.mq-tabs-pills .mq-tab[data-state=active]{background:#eff6ff;color:var(--mq-ring);box-shadow:none}.mq-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.mq-media-grid article{display:grid;gap:8px;min-width:0}.mq-media-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}.mq-content-list{padding:0;list-style:none;width:100%;margin:0}.mq-content-list li{padding:12px 0;border-bottom:1px solid var(--mq-border)}.mq-tooltip{padding:6px 10px;background:var(--mq-foreground);color:var(--mq-primary-foreground);border-radius:6px;font:12px/18px Inter,-apple-system,sans-serif;z-index:110;max-width:min(280px,90vw)}.mq-tooltip svg{fill:var(--mq-foreground)}.mq-button-group{display:inline-flex;isolation:isolate}.mq-button-group .mq-button{border-radius:0;min-width:64px}.mq-button-group .mq-button:first-child{border-radius:6px 0 0 6px}.mq-button-group .mq-button:last-child{border-radius:0 6px 6px 0}.mq-button-group .mq-button+.mq-button{margin-left:-1px}.mq-button-group .mq-button:focus-visible{z-index:2}.mq-button-group-small .mq-button{min-height:28px;padding:0 8px;min-width:48px;font-size:12px}.mq-floating,.mq-menu{font-family:Inter,-apple-system,sans-serif;font-size:13px;color:var(--mq-foreground);background:var(--mq-card);padding:8px;border:1px solid var(--mq-border);border-radius:8px;box-shadow:0 8px 24px #0002;z-index:110;max-height:var(--radix-dropdown-menu-content-available-height,80vh);overflow:auto}.mq-floating{padding:20px;max-width:min(360px,calc(100vw - 32px));position:relative}.mq-floating h3{font-size:16px;margin:0}.mq-floating p{color:var(--mq-muted-foreground);line-height:22px}.mq-floating-close{position:absolute;top:6px;right:6px;border:0;background:transparent;cursor:pointer;padding:4px}.mq-menu{min-width:160px;padding:4px}.mq-menu-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 10px;border-radius:4px;outline:none;cursor:pointer}.mq-menu-item[data-highlighted]{background:var(--mq-muted)}.mq-menu-label{padding:8px 10px;color:var(--mq-muted-foreground);font-size:12px}.mq-menu-separator{height:1px;background:var(--mq-border);margin:4px}.mq-context-target{padding:12px 16px;border:1px dashed var(--mq-input);border-radius:8px;cursor:context-menu}.mq-menubar{border:1px solid var(--mq-border);border-radius:6px;padding:4px}.mq-menu-trigger{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:8px 12px;cursor:pointer;font:inherit}.mq-empty{display:grid;justify-items:center;gap:12px;width:100%;padding:32px;text-align:center}.mq-item{display:flex;align-items:center;gap:12px;width:min(480px,100%);padding:16px;border:1px solid var(--mq-border);border-radius:8px}.mq-item>.mq-button{margin-left:auto}.mq-kbd{font:12px/20px ui-monospace,monospace;min-width:24px;padding:1px 6px;border:1px solid var(--mq-input);border-bottom-width:2px;border-radius:4px;background:#fafafa}.mq-sidebar-shell{display:flex;gap:24px;width:min(640px,100%);min-width:0}.mq-sidebar{width:210px;flex:0 0 210px;padding:12px;background:var(--mq-sidebar);color:var(--mq-sidebar-foreground);border:1px solid var(--mq-sidebar-border);border-radius:10px}.mq-sidebar-collapsed{width:64px;flex-basis:64px}.mq-sidebar header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.mq-sidebar header .mq-button{margin-left:auto}.mq-sidebar nav{display:grid;gap:4px}.mq-sidebar nav .mq-button{justify-content:flex-start;padding:0 10px}.mq-sidebar nav [aria-current=page]{background:var(--mq-sidebar-accent)}.mq-sidebar-shell>section{padding:16px 0;min-width:0}.mq-separator-example{display:grid;gap:16px;width:min(420px,100%)}.mq-separator-example [role=separator]{height:1px;background:var(--mq-border);width:100%}.mq-separator-vertical{display:flex;align-items:center;gap:16px}.mq-separator-vertical [role=separator]{height:36px;width:1px}@media(max-width:560px){.mq-media-grid{grid-template-columns:1fr}.mq-dialog-footer{gap:24px}.mq-tabs-vertical{grid-template-columns:85px minmax(0,1fr)}.mq-sidebar{width:160px;flex-basis:160px}.mq-sidebar-collapsed{width:64px;flex-basis:64px}}

.mq-button-group-vertical{flex-direction:column;width:max-content}
.mq-button-group-vertical .mq-button:first-child{border-radius:6px 6px 0 0}
.mq-button-group-vertical .mq-button:last-child{border-radius:0 0 6px 6px}
.mq-button-group-vertical .mq-button+.mq-button{margin-left:0;margin-top:-1px}
.mq-button-group .mq-button-icon{min-width:36px}
.mq-command-option[aria-selected=true]{background:var(--mq-accent);color:var(--mq-accent-foreground)}

.mq-form-width{width:min(100%,360px)}
.mq-choice{display:inline-flex;align-items:center;gap:8px;min-height:24px;font-size:14px;line-height:20px;cursor:pointer}.mq-choice:has(:disabled){cursor:not-allowed;opacity:.5}
.mq-checkbox{width:16px;height:16px;flex:none;padding:0;display:grid;place-items:center;border:1px solid var(--mq-border,#d4d4d8);border-radius:4px;background:var(--mq-background,#fff);color:var(--mq-background,#fff)}.mq-checkbox[data-state=checked],.mq-checkbox[data-state=indeterminate]{background:var(--mq-primary,#18181b);border-color:var(--mq-primary,#18181b)}.mq-checkbox>span{display:grid;place-items:center}
.mq-input-wrap{display:inline-flex;position:relative;width:100%;min-width:0}.mq-input-wrap>.mq-input{width:100%;min-width:0}.mq-input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;color:var(--mq-muted-foreground,#71717a);pointer-events:none}.mq-input-with-icon>.mq-input{padding-left:36px}.mq-input[aria-invalid=true]{border-color:var(--mq-destructive,#dc2626)}
.mq-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-width:180px;text-align:left}.mq-select-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mq-select-trigger>span:last-child{display:flex;flex:none;color:var(--mq-muted-foreground,#71717a)}.mq-select-trigger[data-placeholder]{color:var(--mq-muted-foreground,#71717a)}
.mq-select-content,.mq-combobox-content,.mq-date-content{z-index:80;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b);border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;box-shadow:0 6px 20px #00000016;max-height:var(--radix-select-content-available-height);font-size:14px}.mq-select-content{min-width:var(--radix-select-trigger-width);overflow:hidden}.mq-select-viewport{padding:4px;max-height:280px;overflow:auto}.mq-select-item{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;min-height:32px;padding:6px 10px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;line-height:20px;cursor:pointer;user-select:none;outline:none;text-align:left;width:100%}.mq-select-item[data-highlighted],.mq-select-item:hover:not(:disabled),.mq-option-active{background:var(--mq-surface,#f4f4f5)}.mq-select-item[data-disabled],.mq-select-item:disabled{opacity:.5;cursor:not-allowed}.mq-option-check{display:flex;align-items:center}.mq-select-label{padding:8px 10px 4px;font-size:12px;font-weight:600;color:var(--mq-muted-foreground,#71717a)}.mq-select-scroll{display:grid;place-items:center;padding:4px;background:var(--mq-background,#fff)}
.mq-native-select{display:inline-flex;position:relative;width:100%;max-width:320px;min-width:0}.mq-native-select>select{width:100%;appearance:none;padding-right:36px}.mq-native-select>svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--mq-muted-foreground,#71717a)}
.mq-file-tile{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px}.mq-file-tile>img{width:48px;height:48px;object-fit:cover;flex:none;border-radius:6px}.mq-file-tile>span{flex:1;min-width:0;display:grid;gap:4px;word-break:break-word}.mq-file-tile>span>strong{font-size:13px;font-weight:500}.mq-file-tile>.mq-button{flex:none;margin-left:auto}
.mq-calendar{width:288px;max-width:100%;padding:12px;display:grid;gap:12px;font-size:14px}.mq-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.mq-calendar-heading strong{font-size:14px;font-weight:600}.mq-calendar-weekdays,.mq-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.mq-calendar-weekdays span{text-align:center;color:var(--mq-muted-foreground,#71717a);font-size:12px;line-height:24px}.mq-calendar-day{padding:0;min-width:0;width:100%;height:36px;display:grid;place-items:center;border:0;background:transparent;border-radius:6px;color:inherit;font:inherit;cursor:pointer}.mq-calendar-day:hover{background:var(--mq-surface,#f4f4f5)}.mq-calendar-in-range{background:var(--mq-surface,#f4f4f5);border-radius:0}.mq-calendar-today{box-shadow:inset 0 0 0 1px var(--mq-border,#d4d4d8)}.mq-calendar-selected,.mq-calendar-selected:hover{background:var(--mq-primary,#18181b);color:var(--mq-primary-foreground,#fff)}.mq-calendar-day:disabled{opacity:.35;cursor:not-allowed}
.mq-combobox-trigger{width:min(100%,240px);justify-content:space-between}.mq-combobox-content{width:var(--radix-popover-trigger-width);min-width:220px;overflow:hidden;max-height:var(--radix-popover-content-available-height)}.mq-combobox-search{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--mq-border,#e4e4e7)}.mq-combobox-search>svg{flex:none;color:var(--mq-muted-foreground,#71717a)}.mq-combobox-search input{background:transparent;border:0;outline:none;color:inherit;font:inherit;min-width:0;width:100%;height:28px}.mq-combobox-list{padding:4px;max-height:240px;overflow:auto}.mq-combobox-empty{text-align:center;padding:16px;color:var(--mq-muted-foreground,#71717a);margin:0}
.mq-datepicker-trigger{justify-content:flex-start;font-weight:400;max-width:100%;height:auto;min-height:36px;padding-top:8px;padding-bottom:8px;text-align:left;white-space:normal}.mq-datepicker-trigger svg{flex:none}.mq-date-content{max-width:calc(100vw - 32px);max-height:var(--radix-popover-content-available-height);overflow:auto}.mq-date-presets{display:flex;gap:8px;padding:8px 12px 0;flex-wrap:wrap}
.mq-label{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:500;line-height:20px}.mq-required{color:var(--mq-destructive,#dc2626)}.mq-field{display:grid;gap:8px}.mq-field-error{margin:0;color:var(--mq-destructive,#dc2626);font-size:12px;line-height:18px}
.mq-input-group{display:flex;align-items:center;border:1px solid var(--mq-border,#d4d4d8);border-radius:6px;max-width:360px;width:100%;min-width:0;overflow:hidden}.mq-input-group:focus-within{outline:2px solid var(--mq-ring,#2563eb);outline-offset:2px}.mq-input-group>.mq-input{flex:1;min-width:0;width:0;border:0;border-radius:0;outline:none;box-shadow:none}.mq-input-addon{display:flex;align-items:center;justify-content:center;padding:0 12px;min-height:36px;background:var(--mq-surface,#f4f4f5);color:var(--mq-muted-foreground,#71717a);font-size:14px;flex:none}
.mq-otp{position:relative;display:inline-flex;gap:8px;max-width:100%;width:max-content}.mq-otp-control{position:absolute;inset:0;width:100%;height:100%;opacity:.01;border:0;outline:none;background:transparent;caret-color:transparent;font-size:18px}.mq-otp-slot{display:grid;place-items:center;width:40px;min-width:0;height:44px;text-align:center;font-size:18px;font-weight:500;color:inherit;border:1px solid var(--mq-border,#d4d4d8);border-radius:6px;background:var(--mq-background,#fff)}.mq-otp-active{outline:2px solid var(--mq-ring,#2563eb);outline-offset:2px}.mq-otp[data-disabled]{opacity:.5}
.mq-radio-group{display:flex;flex-direction:column;gap:12px}.mq-radio-horizontal{flex-direction:row;flex-wrap:wrap;gap:16px}.mq-radio{padding:0;width:16px;height:16px;border:1px solid var(--mq-border,#d4d4d8);border-radius:50%;display:grid;place-items:center;background:var(--mq-background,#fff);flex:none;color:var(--mq-primary,#18181b)}.mq-radio[data-state=checked]{border-color:var(--mq-primary,#18181b)}.mq-radio-dot{display:block;width:8px;height:8px;border-radius:50%;background:currentColor}.mq-questionnaire{display:grid;gap:16px;max-width:100%;width:360px}.mq-questionnaire fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.mq-questionnaire legend{font-weight:600;margin-bottom:16px;font-size:14px}.mq-questionnaire>.mq-button{justify-self:start}
.mq-slider-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.mq-slider{display:flex;align-items:center;position:relative;width:100%;height:20px;touch-action:none;user-select:none}.mq-slider-track{position:relative;height:4px;width:100%;background:var(--mq-surface,#e4e4e7);border-radius:999px;overflow:hidden}.mq-slider-range{position:absolute;height:100%;background:var(--mq-primary,#18181b);border-radius:999px}.mq-slider-thumb{display:block;width:16px;height:16px;background:var(--mq-background,#fff);border:2px solid var(--mq-primary,#18181b);border-radius:50%;box-shadow:0 1px 2px #00000010}.mq-slider[data-disabled]{opacity:.5}
.mq-switch{width:40px;height:24px;flex:none;padding:0;position:relative;border:0;border-radius:999px;background:var(--mq-surface,#e4e4e7);display:flex;align-items:center;cursor:pointer;overflow:hidden}.mq-switch[data-state=checked]{background:var(--mq-primary,#18181b)}.mq-switch-thumb{display:block;position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--mq-background,#fff);box-shadow:0 1px 3px #00000025;transform:translateX(0);transition:transform .15s ease}.mq-switch-thumb[data-state=checked]{transform:translateX(16px)}.mq-switch:disabled{opacity:.5;cursor:not-allowed}
.mq-textarea-wrap{display:grid;gap:8px;width:100%;max-width:420px;min-width:0}.mq-textarea{width:100%;height:auto;min-height:100px;resize:vertical;line-height:22px;font-size:14px;padding:10px 12px;font-family:inherit}
.mq-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;width:36px;height:36px;padding:8px;background:transparent;color:var(--mq-muted-foreground,#71717a);cursor:pointer;flex:none}.mq-toggle:hover{background:var(--mq-surface,#f4f4f5);color:var(--mq-foreground,#18181b)}.mq-toggle[data-state=on]{background:var(--mq-surface,#f4f4f5);color:var(--mq-foreground,#18181b);border-color:var(--mq-border,#e4e4e7)}.mq-toggle:disabled{opacity:.5;cursor:not-allowed}.mq-toggle-group{display:inline-flex;align-items:center;gap:4px}
@media(max-width:480px){.mq-otp{gap:6px}.mq-otp-slot{width:36px}.mq-calendar{width:280px}.mq-radio-horizontal{gap:12px}}

.mq-select-content,.mq-combobox-content,.mq-date-content{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mq-select-content *,.mq-combobox-content *,.mq-date-content *{box-sizing:border-box}.mq-checkbox:focus-visible,.mq-radio:focus-visible,.mq-switch:focus-visible,.mq-toggle:focus-visible,.mq-slider-thumb:focus-visible,.mq-calendar-day:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:2px}
.mq-field-control{display:grid;gap:8px;min-width:0}.mq-field-horizontal{grid-template-columns:104px minmax(0,1fr);align-items:start}.mq-field-horizontal>.mq-label{padding-top:8px}.mq-input-group[data-invalid=true]{border-color:var(--mq-destructive,#dc2626)}
.mq-form{display:grid;gap:24px;width:min(100%,520px);min-width:0;padding:24px;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b)}.mq-form-horizontal{width:min(100%,640px)}.mq-form-header{display:grid;gap:8px}.mq-form-header h3{margin:0;font-size:16px;line-height:24px}.mq-form-fields{display:grid;gap:20px;border:0;padding:0;margin:0;min-width:0}.mq-form-fields .mq-field{width:100%;max-width:none}.mq-form-fields .mq-textarea-wrap,.mq-form-fields .mq-native-select{max-width:none}.mq-form-footer{display:grid;gap:12px}.mq-form-actions{display:flex;gap:var(--mq-action-gap,16px);flex-wrap:wrap}.mq-form-result{padding:16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;background:var(--mq-surface,#f4f4f5);font-size:13px}.mq-form-result strong{font-weight:600}.mq-form-result dl{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px 12px;margin:12px 0 0}.mq-form-result dt{color:var(--mq-muted-foreground,#71717a)}.mq-form-result dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.mq-form>.mq-field-error{margin:0}
@media(max-width:480px){.mq-form{padding:20px;gap:20px}.mq-field-horizontal{grid-template-columns:minmax(0,1fr)}.mq-field-horizontal>.mq-label{padding-top:0}.mq-form-result dl{grid-template-columns:72px minmax(0,1fr)}}

.mq-table-scroll{width:100%;min-width:0;overflow-x:auto}.mq-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:20px}.mq-table caption{text-align:left;color:var(--mq-muted-foreground,#71717a);padding-bottom:12px}.mq-table th,.mq-table td{height:44px;padding:12px;border-bottom:1px solid var(--mq-border,#e4e4e7);white-space:nowrap}.mq-table th{font-size:12px;font-weight:500;color:var(--mq-muted-foreground,#71717a)}.mq-table-striped tbody tr:nth-child(even){background:var(--mq-surface,#f4f4f5)}.mq-table-selectable tbody tr{cursor:pointer;transition:background .15s}.mq-table-selectable tbody tr:hover{background:var(--mq-surface,#f4f4f5)}.mq-table-selectable tbody tr[aria-selected=true]{background:var(--mq-accent,#eff6ff)}.mq-table tbody tr:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:-2px}.mq-table th.mq-table-check,.mq-table td.mq-table-check{width:40px;padding-right:0}.mq-table-check input{width:16px;height:16px;margin:0;accent-color:var(--mq-primary,#18181b);vertical-align:middle}.mq-table td.mq-table-empty{text-align:center;height:120px;white-space:normal;color:var(--mq-muted-foreground,#71717a)}.mq-data-table{width:100%;display:grid;gap:16px}.mq-data-table-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mq-data-table-search{position:relative;min-width:0;width:min(260px,100%)}.mq-data-table-search>.lucide{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--mq-muted-foreground,#71717a);pointer-events:none}.mq-data-table-search .mq-input{padding-left:36px;width:100%}.mq-data-table-status{width:132px!important;flex:0 0 132px;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer}.mq-menu.mq-data-table-status-menu{width:var(--radix-select-trigger-width);min-width:132px;max-height:var(--radix-select-content-available-height,300px)}.mq-menu-item.mq-data-table-status-item{position:relative;padding-left:28px!important}.mq-data-table-status-check{position:absolute;left:8px;display:flex;align-items:center}.mq-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.mq-pagination-numbers{display:flex;align-items:center;gap:4px}.mq-pagination-summary{padding:0 4px;font-size:13px}.mq-pagination>.mq-hint{margin-left:8px}.mq-pagination-ellipsis{width:28px;text-align:center;color:var(--mq-muted-foreground,#71717a)}
.mq-chart-card{width:100%;min-width:0;display:grid;gap:20px;padding:24px;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b)}.mq-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.mq-chart-heading h3{margin:0;font-size:16px;font-weight:600;line-height:24px}.mq-chart-heading p{margin:4px 0 0;font-size:13px;line-height:20px;color:var(--mq-muted-foreground,#71717a)}.mq-chart-heading>.mq-button{flex-shrink:0}.mq-chart-plot{min-width:0;width:100%}.mq-chart-card .recharts-wrapper{outline:none}.mq-chart-center-label{font-size:25px;font-weight:600;fill:var(--mq-foreground,#18181b)}.mq-chart-legend{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 20px;font-size:12px;line-height:18px}.mq-chart-legend>span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.mq-chart-legend i,.mq-chart-tooltip-row i{display:inline-block;width:9px;height:9px;min-width:9px;flex:0 0 9px;border-radius:3px}.mq-chart-tooltip{min-width:148px;padding:12px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b);box-shadow:0 4px 20px #00000012;font-size:12px;line-height:18px;display:grid;gap:8px}.mq-chart-tooltip>strong{font-size:12px;font-weight:600}.mq-chart-tooltip-row{display:flex;align-items:center;gap:8px}.mq-chart-tooltip-row>span{color:var(--mq-muted-foreground,#71717a)}.mq-chart-tooltip-row>b{margin-left:auto;padding-left:12px;font-weight:500;font-variant-numeric:tabular-nums}.mq-chart-tooltip-total{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--mq-border,#e4e4e7);padding-top:8px}.mq-chart-tooltip-total b{font-weight:500}
.mq-carousel{width:100%;min-width:0;display:grid;gap:12px}.mq-carousel-slide{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:var(--mq-surface,#f4f4f5)}.mq-carousel-slide>img{width:100%;height:100%;display:block;object-fit:cover}.mq-carousel-caption{position:absolute;bottom:0;left:0;right:0;padding:44px 24px 20px;color:#fff;background:linear-gradient(transparent,#0009);display:grid;gap:4px}.mq-carousel-caption strong{font-size:20px;font-weight:600;line-height:28px}.mq-carousel-caption span{font-size:13px;line-height:20px;opacity:.85}.mq-carousel-arrow{position:absolute!important;top:50%;transform:translateY(-50%);border-radius:50%!important;background:var(--mq-background,#fff)!important}.mq-carousel-previous{left:12px}.mq-carousel-next{right:12px}.mq-carousel-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.mq-carousel-dots{display:flex;gap:8px;padding:4px 0}.mq-carousel-dots button{display:block;padding:0;width:8px;height:8px;border:0;border-radius:50%;background:var(--mq-border,#d4d4d8);cursor:pointer}.mq-carousel-dots button.mq-active{background:var(--mq-primary,#18181b)}.mq-carousel-dots button:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:4px}
.mq-bubble-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mq-bubble-avatar{width:38px;height:38px;flex:0 0 38px;display:inline-grid;place-items:center;border-radius:50%;background:#dbeafe;color:#1e3a8a;font-size:14px;font-weight:600;line-height:1;overflow:hidden}.mq-bubble{display:grid;gap:4px;padding:10px 12px;border-radius:4px 12px 12px 12px;background:var(--mq-surface,#f4f4f5);font-size:14px;line-height:20px;min-width:0;max-width:calc(100% - 50px);overflow-wrap:anywhere}.mq-bubble time{font-size:11px;line-height:16px;color:var(--mq-muted-foreground,#71717a)}.mq-progress-demo{width:min(420px,100%);display:grid;gap:12px}.mq-progress-label{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:20px}.mq-progress-label>span:last-child{font-variant-numeric:tabular-nums;color:var(--mq-muted-foreground,#71717a)}.mq-progress-track{height:8px;min-height:8px;position:relative;width:100%;overflow:hidden;border-radius:999px;background:var(--mq-border,#e4e4e7)}.mq-progress-fill{height:100%;background:var(--mq-primary,#18181b);border-radius:inherit;transition:width .25s ease}.mq-progress-action{display:flex;align-items:center;gap:16px}
.mq-resizable{width:100%;height:210px;display:grid;overflow:hidden;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;background:var(--mq-background,#fff)}.mq-resizable-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:20px;min-width:0;min-height:0;overflow:auto;text-align:center;font-size:14px}.mq-resizable-handle{position:relative;cursor:col-resize;touch-action:none;display:grid;place-items:center;background:var(--mq-surface,#f4f4f5);border-left:1px solid var(--mq-border,#e4e4e7);border-right:1px solid var(--mq-border,#e4e4e7)}.mq-resizable-handle>span{width:3px;height:24px;border-radius:999px;background:var(--mq-muted-foreground,#71717a)}.mq-resizable-handle:focus-visible{z-index:1;outline:2px solid var(--mq-ring,#2563eb);outline-offset:-2px}.mq-resizable-vertical{height:280px;grid-template-columns:1fr}.mq-resizable-vertical .mq-resizable-handle{cursor:row-resize;border-left:0;border-right:0;border-top:1px solid var(--mq-border,#e4e4e7);border-bottom:1px solid var(--mq-border,#e4e4e7)}.mq-resizable-vertical .mq-resizable-handle>span{width:24px;height:3px}
.mq-scroll-area{width:100%;overflow-y:auto;overflow-x:hidden;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;padding:16px;scrollbar-width:thin;scrollbar-color:var(--mq-border,#d4d4d8) transparent;outline-offset:3px}.mq-scroll-area-both{overflow:auto}.mq-scroll-area-both>.mq-scroll-content{min-width:700px}.mq-scroll-content p{margin:0;padding:12px 0;border-bottom:1px solid var(--mq-border,#e4e4e7);display:flex;align-items:center;gap:20px;font-size:13px;line-height:20px}.mq-scroll-content strong{white-space:nowrap;font-weight:500}.mq-scroll-content p>span{color:var(--mq-muted-foreground,#71717a)}.mq-message-scroller{width:100%;overflow-y:auto;scrollbar-width:thin;padding:16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;scroll-behavior:smooth}.mq-message-entry{padding:12px 0;border-bottom:1px solid var(--mq-border,#e4e4e7)}.mq-message-entry:first-child{padding-top:0}.mq-message-entry:last-child{border-bottom:0}.mq-message-entry header{display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:18px}.mq-message-entry strong{font-weight:600}.mq-message-entry time{color:var(--mq-muted-foreground,#71717a)}.mq-message-entry p{margin:6px 0 0;font-size:14px;line-height:21px}.mq-message-scroller-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.mq-skeleton{display:grid;gap:12px;width:min(400px,100%)}.mq-skeleton-line,.mq-skeleton-cover,.mq-skeleton-avatar{background:var(--mq-surface,#e4e4e7);border-radius:6px;animation:mq-data-pulse 1.5s ease-in-out infinite}.mq-skeleton-line{height:16px}.mq-skeleton-card{padding:16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px}.mq-skeleton-cover{height:140px}.mq-skeleton-avatar{width:40px;height:40px;border-radius:50%;margin:4px 0}.mq-spinner{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--mq-muted-foreground,#71717a)}.mq-spinner-icon{animation:mq-data-spin 1s linear infinite}.mq-inline-message{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;font-size:14px;line-height:20px;width:100%}.mq-inline-message>.lucide{flex-shrink:0}.mq-inline-message>span{flex:1}.mq-inline-message>.mq-button{flex-shrink:0;width:28px!important;height:28px!important;margin-right:-4px}.mq-inline-message-success>.lucide{color:#15803d}.mq-inline-message-error>.lucide{color:#dc2626}.mq-inline-message-error{border-color:#fecaca}.mq-toast{position:fixed;right:24px;bottom:24px;z-index:80;width:min(380px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:10px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b);box-shadow:0 6px 24px #0002}.mq-toast>.lucide{margin-top:2px;color:#15803d;flex-shrink:0}.mq-toast-error>.lucide{color:#dc2626}.mq-toast-error{border-color:#fecaca}.mq-toast-top-right{top:24px;bottom:auto}.mq-toast-body{min-width:0;flex:1}.mq-toast strong,.mq-sonner-item strong{font-size:14px;line-height:20px;font-weight:600}.mq-toast p,.mq-sonner-item p{font-size:13px;line-height:20px;color:var(--mq-muted-foreground,#71717a);margin:4px 0 0}.mq-toast-body>.mq-button{margin-top:12px}.mq-toast>.mq-button{width:28px!important;height:28px!important;flex-shrink:0;margin-top:-4px;margin-right:-4px}.mq-sonner-control{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.mq-sonner-stack{position:fixed;right:24px;bottom:24px;z-index:80;list-style:none;padding:0;margin:0;display:grid;gap:8px;width:min(380px,calc(100vw - 32px))}.mq-sonner-top-right{top:24px;bottom:auto}.mq-sonner-item{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--mq-border,#e4e4e7);border-radius:10px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b);box-shadow:0 4px 16px #0001}.mq-sonner-item>.lucide{margin-top:2px;color:#15803d;flex-shrink:0}.mq-sonner-item>div{min-width:0;flex:1}.mq-sonner-item>.mq-button{width:28px!important;height:28px!important;flex-shrink:0;margin-top:-4px;margin-right:-4px}
.mq-typography{font-size:14px;line-height:1.6;max-width:65ch;color:var(--mq-foreground,#18181b)}.mq-typography h1{font-size:36px;line-height:44px;letter-spacing:-.02em;font-weight:700;margin:0 0 20px}.mq-typography h2{font-size:28px;line-height:36px;letter-spacing:-.015em;font-weight:600;margin:24px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--mq-border,#e4e4e7)}.mq-typography h3{font-size:22px;line-height:30px;font-weight:600;margin:20px 0 12px}.mq-typography h4{font-size:18px;line-height:26px;font-weight:600;margin:16px 0 8px}.mq-typography p{margin:0 0 16px}.mq-typography blockquote{border-left:2px solid var(--mq-border,#e4e4e7);padding-left:16px;margin:20px 0;font-style:italic;color:var(--mq-muted-foreground,#71717a)}.mq-typography code{background:var(--mq-surface,#f4f4f5);padding:2px 5px;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.mq-typography ul{padding-left:20px}.mq-typography li{margin:8px 0}.mq-typography .mq-typography-lead{font-size:20px;line-height:30px;color:var(--mq-muted-foreground,#71717a)}.mq-typography-muted{color:var(--mq-muted-foreground,#71717a)}.mq-typography small{font-size:12px;line-height:18px;color:var(--mq-muted-foreground,#71717a)}
@keyframes mq-data-spin{to{transform:rotate(360deg)}}@keyframes mq-data-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.mq-spinner-icon,.mq-skeleton-line,.mq-skeleton-cover,.mq-skeleton-avatar{animation:none}.mq-progress-fill{transition:none}.mq-message-scroller{scroll-behavior:auto}}@media(max-width:560px){.mq-chart-card{padding:16px;gap:16px}.mq-chart-legend{gap:8px 12px}.mq-data-table-search{width:100%}.mq-toast,.mq-sonner-stack{right:16px;bottom:16px}.mq-toast-top-right,.mq-sonner-top-right{top:16px;bottom:auto}.mq-typography h1{font-size:28px;line-height:36px}}

.mq-agent-composer-shell,.mq-agent-card{width:min(640px,100%);min-width:0}
.mq-agent-context{display:flex;align-items:center;gap:8px;margin:0 16px;padding:12px 16px;border-radius:12px 12px 0 0;background:var(--mq-surface,#f4f4f5);color:var(--mq-muted-foreground,#71717a);font-size:12px}
.mq-agent-context-state{margin-left:auto}
.mq-agent-composer{display:flex;flex-direction:column;gap:16px;padding:16px;background:var(--mq-background,#fff);border:1px solid var(--mq-border,#e4e4e7);border-radius:16px;box-shadow:0 2px 6px #00000006}
.mq-agent-composer textarea{display:block;flex:0 0 auto;box-sizing:border-box;width:100%;min-width:0;min-height:96px;margin:0;padding:12px 0;border:0;border-radius:4px;outline:0;resize:vertical;background:transparent;color:var(--mq-foreground,#18181b);font-family:inherit;font-size:14px;line-height:24px}
.mq-agent-composer textarea:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:4px}
.mq-agent-toolbar,.mq-agent-toolbar-start,.mq-agent-toolbar-end{display:flex;align-items:center;gap:8px;min-width:0}
.mq-agent-toolbar{justify-content:space-between;flex-wrap:wrap;gap:12px;flex:0 0 auto}
.mq-agent-toolbar-end{margin-left:auto}
.mq-agent-confirm{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--mq-muted-foreground,#71717a)}
.mq-agent-confirm input{margin:0;accent-color:var(--mq-foreground,#18181b)}
.mq-agent-circle.mq-button{width:36px;height:36px;min-width:36px;border-radius:999px;padding:0}
.mq-agent-send.mq-button{background:#2563eb;border-color:#2563eb;color:white}
.mq-agent-mode-trigger.mq-button{min-width:100px;font-size:12px;justify-content:space-between}
.mq-agent-mode-menu{z-index:100;min-width:160px;max-height:var(--radix-dropdown-menu-content-available-height);overflow-y:auto;box-sizing:border-box;padding:4px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b);border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;box-shadow:0 8px 24px #0002;font-family:inherit}
.mq-agent-mode-item{display:flex;align-items:center;justify-content:space-between;gap:16px;height:36px;padding:0 10px;border-radius:4px;font-size:13px;cursor:pointer;outline:none}
.mq-agent-mode-item[data-highlighted]{background:var(--mq-surface,#f4f4f5)}
.mq-agent-response{padding:12px 4px;font-size:12px;color:var(--mq-muted-foreground,#71717a);line-height:20px;overflow-wrap:anywhere}
.mq-agent-attachments{display:flex;gap:8px;flex-wrap:wrap}
.mq-agent-file-tile{position:relative;display:grid;gap:6px;align-content:center;justify-items:start;box-sizing:border-box;width:88px;height:76px;padding:10px;border:1px solid var(--mq-border,#e4e4e7);border-radius:10px;min-width:0}
.mq-agent-file-tile>img{width:32px;height:32px;border-radius:4px;object-fit:cover}
.mq-agent-file-tile>span{font-size:10px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mq-agent-file-tile>.mq-button{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:24px;min-width:24px;height:24px;border:0;border-radius:999px;background:var(--mq-surface,#f4f4f5);padding:0}
.mq-agent-upload-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.mq-agent-upload-status progress{height:6px;max-width:200px;accent-color:#2563eb}
.mq-agent-card{box-sizing:border-box;padding:24px;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px;display:grid;gap:16px;background:var(--mq-background,#fff);color:var(--mq-foreground,#18181b)}
.mq-agent-card-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mq-agent-card-heading h3{font-size:16px;line-height:24px;margin:0}
.mq-agent-card-heading>.mq-hint,.mq-agent-heading-end,.mq-agent-status{margin-left:auto;font-size:12px}
.mq-agent-card p{margin:0;line-height:1.6}
.mq-agent-card>.mq-button{justify-self:start}
.mq-agent-create>label{display:grid;gap:8px;font-size:13px}
.mq-agent-create input:not([type=checkbox]),.mq-agent-create textarea{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid var(--mq-border,#e4e4e7);border-radius:6px;font:inherit;background:var(--mq-background,#fff);color:inherit}
.mq-agent-create textarea{min-height:100px;resize:vertical}
.mq-agent-create input:focus-visible,.mq-agent-create textarea:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:2px}
.mq-agent-create fieldset{border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;padding:12px;display:flex;flex-wrap:wrap;gap:16px;min-width:0}
.mq-agent-create fieldset label{display:flex;align-items:center;gap:8px;font-size:13px}
.mq-agent-create legend{font-size:13px;padding:0 4px}
.mq-agent-track{width:100%;height:6px;overflow:hidden;background:var(--mq-border,#e4e4e7);border-radius:999px}
.mq-agent-track i{display:block;height:100%;background:var(--mq-foreground,#18181b);border-radius:inherit;transition:width .2s}
.mq-agent-track .mq-agent-fill-warning{background:#f59e0b}
.mq-agent-task-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.mq-agent-task-list li{display:flex;align-items:center;gap:12px;font-size:13px}
.mq-agent-task-list li small{margin-left:auto;color:var(--mq-muted-foreground,#71717a);white-space:nowrap}
.mq-agent-step-dot{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:1px solid var(--mq-border,#e4e4e7);border-radius:999px;font-size:12px}
.mq-agent-step-complete .mq-agent-step-dot{background:var(--mq-foreground,#18181b);color:var(--mq-background,#fff);border-color:var(--mq-foreground,#18181b)}
.mq-agent-summary-toggle.mq-button{padding:4px 0;min-height:28px;font-size:13px}
.mq-agent-chevron-open{transform:rotate(180deg)}
.mq-agent-summary{padding:12px;background:var(--mq-surface,#f4f4f5);border-radius:8px;font-size:13px;line-height:22px}
.mq-agent-summary p+p{margin-top:8px}
.mq-agent-usage{display:grid;gap:8px}
.mq-agent-usage>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.mq-agent-status{display:inline-flex;border-radius:999px;padding:3px 8px;background:var(--mq-surface,#f4f4f5)}
.mq-agent-status-warning{background:#fef3c7;color:#92400e}
.mq-agent-status-error{background:#fee2e2;color:#b91c1c}
.mq-agent-tool-output{overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--mq-surface,#f4f4f5);border-radius:8px;font:12px/20px ui-monospace,monospace}
.mq-agent-card details summary{cursor:pointer;font-size:13px}
.mq-agent-spin{animation:mq-agent-spin 1s linear infinite}
@keyframes mq-agent-spin{to{transform:rotate(360deg)}}
.mq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.mq-agent-card{padding:16px}.mq-agent-context{margin:0 8px}.mq-agent-confirm{font-size:11px}}
@media(prefers-reduced-motion:reduce){.mq-agent-spin{animation:none}.mq-agent-track i{transition:none}}

.mq-foundation-showcase{display:grid;gap:40px;width:100%;min-width:0}
.mq-foundation-showcase h2{font-size:22px;line-height:30px;margin:0 0 16px}
.mq-foundation-intro>p{font-size:15px;line-height:24px;color:var(--mq-muted-foreground,#71717a)}
.mq-foundation-sample-input{display:grid;gap:8px;margin-top:24px;font-size:13px}
.mq-foundation-sample-input input{box-sizing:border-box;width:100%;height:40px;border:1px solid var(--mq-border,#e4e4e7);border-radius:8px;padding:0 12px;font:inherit;background:var(--mq-background,#fff);color:inherit}
.mq-foundation-sample-input input:focus-visible{outline:2px solid var(--mq-ring,#2563eb);outline-offset:2px}
.mq-foundation-font-grid,.mq-foundation-theme-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mq-foundation-font-grid article,.mq-foundation-theme-pair article{min-width:0;padding:24px;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px}
.mq-foundation-font-grid article span,.mq-foundation-font-grid small{font-size:12px;color:var(--mq-muted-foreground,#71717a)}
.mq-foundation-sans-example{font-size:24px;line-height:32px}
.mq-foundation-code-example{font-size:20px;line-height:28px}
.mq-foundation-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.mq-foundation-mono p{overflow-wrap:anywhere}
.mq-foundation-weights{display:flex;flex-wrap:wrap;gap:24px;margin-top:24px}
.mq-foundation-weights small{font-weight:400;color:var(--mq-muted-foreground,#71717a);margin-left:8px}
.mq-foundation-type-scale article{padding:24px 0;border-bottom:1px solid var(--mq-border,#e4e4e7);min-width:0}
.mq-foundation-type-scale article>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}
.mq-foundation-type-scale code{color:var(--mq-muted-foreground,#71717a);font-size:12px}
.mq-foundation-type-scale p{margin:16px 0 0;overflow-wrap:anywhere}
.mq-foundation-reading{max-width:680px}
.mq-foundation-reading p{font-size:16px;line-height:28px}
.mq-foundation-reading blockquote{margin:24px 0;border-left:3px solid var(--mq-border,#e4e4e7);padding-left:16px;font-style:italic}
.mq-foundation-theme-pair article p{font-size:14px;line-height:22px}
.mq-foundation-theme-pair article>span{display:inline-flex;padding:8px 12px;border-radius:6px;font-size:13px;margin:8px 8px 0 0}
.mq-foundation-theme-light{background:#fff;color:#18181b}
.mq-foundation-theme-light p{color:#71717a}
.mq-foundation-theme-light .mq-foundation-primary{background:#18181b;color:#fafafa}
.mq-foundation-theme-light .mq-foundation-secondary{background:#f4f4f5;color:#18181b}
.mq-foundation-theme-dark{background:#18181b;color:#fafafa}
.mq-foundation-theme-dark p{color:#a1a1aa}
.mq-foundation-theme-dark .mq-foundation-primary{background:#fafafa;color:#18181b}
.mq-foundation-theme-dark .mq-foundation-secondary{background:#27272a;color:#fafafa}
.mq-foundation-color-scroll{overflow-x:auto;border:1px solid var(--mq-border,#e4e4e7);border-radius:12px}
.mq-foundation-color-table{border-collapse:collapse;width:100%;min-width:650px;text-align:left;font-size:13px}
.mq-foundation-color-table td,.mq-foundation-color-table th{padding:16px;border-bottom:1px solid var(--mq-border,#e4e4e7)}
.mq-foundation-color-table th{color:var(--mq-muted-foreground,#71717a);font-weight:500;background:var(--mq-surface,#fafafa)}
.mq-foundation-color-table tr:last-child td{border-bottom:0}
.mq-foundation-token-copy.mq-button{display:inline-flex;gap:8px;align-items:center;min-height:24px;min-width:0;padding:0;border:0;border-radius:2px;background:transparent;color:inherit;font-size:13px}
.mq-foundation-token-copy.mq-button:hover{background:transparent;color:var(--mq-ring,#2563eb)}
.mq-foundation-token-copy svg{opacity:.4}
.mq-foundation-color-value{display:inline-flex;align-items:center;gap:12px}
.mq-foundation-color-value i{display:block;flex:0 0 28px;width:28px;height:28px;border:1px solid #0002;border-radius:6px}
.mq-foundation-color-value code{font-size:12px}
@media(max-width:600px){.mq-foundation-font-grid,.mq-foundation-theme-pair{grid-template-columns:1fr}}
