:root{--background: oklch(1 0 0);--foreground: oklch(.145 0 0);--card: oklch(1 0 0);--card-foreground: oklch(.145 0 0);--popover: oklch(1 0 0);--popover-foreground: oklch(.145 0 0);--surface-overlay: oklch(.145 0 0);--brand: oklch(.6602 .2294 35.4025);--brand-foreground: oklch(1 0 0);--brand-hover: oklch(.6113 .2116 35.5487);--brand-active: oklch(.5596 .1926 35.8054);--brand-strong: oklch(.5096 .1732 36.3286);--primary: oklch(.205 0 0);--primary-foreground: oklch(.985 0 0);--tooltip: var(--primary);--tooltip-foreground: var(--primary-foreground);--secondary: oklch(.97 0 0);--secondary-foreground: oklch(.205 0 0);--muted: oklch(.97 0 0);--muted-foreground: oklch(.556 0 0);--accent: oklch(.97 0 0);--accent-foreground: oklch(.205 0 0);--destructive: oklch(.577 .245 27.325);--destructive-foreground: oklch(.985 0 0);--border: oklch(.922 0 0);--input: oklch(.922 0 0);--ring: oklch(.708 0 0);--chart-1: oklch(.646 .222 41.116);--chart-2: oklch(.6 .118 184.704);--chart-3: oklch(.398 .07 227.392);--chart-4: oklch(.828 .189 84.429);--chart-5: oklch(.769 .188 70.08);--sidebar: oklch(.985 0 0);--sidebar-foreground: oklch(.145 0 0);--sidebar-primary: oklch(.205 0 0);--sidebar-primary-foreground: oklch(.985 0 0);--sidebar-accent: oklch(.97 0 0);--sidebar-accent-foreground: oklch(.205 0 0);--sidebar-border: oklch(.922 0 0);--sidebar-ring: oklch(.708 0 0);--badge-blue: #0088FF;--badge-green: #34C759;--badge-cyan: #00C0E8;--badge-purple: #CB30E0;--badge-red: #FF383C;--badge-yellow: #FFCC00;--badge-orange: #FF8D28;--feedback-success: #34C759;--feedback-warning: #FF8D28;--feedback-info: #0088FF;--feedback-attention: #FF383C}.dark{--background: oklch(.145 0 0);--foreground: oklch(.985 0 0);--card: oklch(.205 0 0);--card-foreground: oklch(.985 0 0);--popover: oklch(.205 0 0);--popover-foreground: oklch(.985 0 0);--surface-overlay: oklch(1 0 0);--brand: oklch(.6602 .2294 35.4025);--brand-foreground: oklch(1 0 0);--brand-hover: oklch(.6113 .2116 35.5487);--brand-active: oklch(.5596 .1926 35.8054);--brand-strong: oklch(.7275 .1732 38.9581);--primary: oklch(.922 0 0);--primary-foreground: oklch(.205 0 0);--tooltip: var(--primary);--tooltip-foreground: var(--primary-foreground);--secondary: oklch(.269 0 0);--secondary-foreground: oklch(.985 0 0);--muted: oklch(.269 0 0);--muted-foreground: oklch(.708 0 0);--accent: oklch(.269 0 0);--accent-foreground: oklch(.985 0 0);--destructive: oklch(.704 .191 22.216);--destructive-foreground: oklch(.985 0 0);--border: oklch(1 0 0 / 10%);--input: oklch(1 0 0 / 15%);--ring: oklch(.556 0 0);--chart-1: oklch(.488 .243 264.376);--chart-2: oklch(.696 .17 162.48);--chart-3: oklch(.769 .188 70.08);--chart-4: oklch(.627 .265 303.9);--chart-5: oklch(.645 .246 16.439);--sidebar: oklch(.205 0 0);--sidebar-foreground: oklch(.985 0 0);--sidebar-primary: oklch(.488 .243 264.376);--sidebar-primary-foreground: oklch(.985 0 0);--sidebar-accent: oklch(.269 0 0);--sidebar-accent-foreground: oklch(.985 0 0);--sidebar-border: oklch(1 0 0 / 10%);--sidebar-ring: oklch(.556 0 0);--badge-blue: #0091FF;--badge-green: #30D158;--badge-cyan: #3CD3FE;--badge-purple: #DB34F2;--badge-red: #FF4245;--badge-yellow: #FFD600;--badge-orange: #FF9230;--feedback-success: #30D158;--feedback-warning: #FF9230;--feedback-info: #0091FF;--feedback-attention: #FF4245}@theme inline{ --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-surface-overlay: var(--surface-overlay); --color-brand: var(--brand); --color-brand-foreground: var(--brand-foreground); --color-brand-hover: var(--brand-hover); --color-brand-active: var(--brand-active); --color-brand-strong: var(--brand-strong); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-tooltip: var(--tooltip); --color-tooltip-foreground: var(--tooltip-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --color-chart-1: var(--chart-1); --color-chart-2: var(--chart-2); --color-chart-3: var(--chart-3); --color-chart-4: var(--chart-4); --color-chart-5: var(--chart-5); --color-sidebar: var(--sidebar); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-border: var(--sidebar-border); --color-sidebar-ring: var(--sidebar-ring); --color-badge-blue: var(--badge-blue); --color-badge-green: var(--badge-green); --color-badge-cyan: var(--badge-cyan); --color-badge-purple: var(--badge-purple); --color-badge-red: var(--badge-red); --color-badge-yellow: var(--badge-yellow); --color-badge-orange: var(--badge-orange); --color-feedback-success: var(--feedback-success); --color-feedback-warning: var(--feedback-warning); --color-feedback-info: var(--feedback-info); --color-feedback-attention: var(--feedback-attention); }:root{--space-0: 0px;--space-px: 1px;--space-0-5: .125rem;--space-1: .25rem;--space-1-5: .375rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--space-16: 4rem;--space-control-x: var(--space-3);--space-control-y: var(--space-2);--space-stack-tight: var(--space-2);--space-stack-default: var(--space-4);--space-stack-loose: var(--space-6);--space-section: var(--space-8);--space-page-x: var(--space-8);--space-page-y: var(--space-6);--gap-icon-text: var(--space-2);--gap-label-control: var(--space-1-5);--gap-toolbar: var(--space-3);--gap-form-field: var(--space-4);--gap-card-item: var(--space-4);--gap-section: var(--space-8);--gap-page-title-content: var(--space-8);--inset-card-compact: var(--space-4);--inset-card: var(--space-6);--inset-overlay: var(--space-6);--inset-table-x: var(--space-4);--inset-table-y: var(--space-3);--elevation-xs: 0 1px 2px oklch(.145 0 0 / 4%);--elevation-sm: 0 1px 3px oklch(.145 0 0 / 8%);--elevation-md: 0 4px 10px -2px oklch(.145 0 0 / 12%);--elevation-lg: 0 12px 24px -6px oklch(.145 0 0 / 16%);--elevation-xl: 0 20px 40px -10px oklch(.145 0 0 / 20%);--elevation-menu: var(--elevation-sm);--elevation-popover: var(--elevation-md);--elevation-overlay: var(--elevation-lg);--scrim: oklch(.145 0 0 / 48%);--state-hover-overlay: oklch(.145 0 0 / 6%);--state-active-overlay: oklch(.145 0 0 / 8%);--state-selected: var(--accent);--state-selected-foreground: var(--accent-foreground);--state-disabled-opacity: .45;--state-focus: var(--ring);--state-focus-width: 2px;--state-focus-offset: 2px;--state-focus-offset-color: var(--background);--state-invalid: var(--destructive)}.dark{--elevation-xs: 0 1px 2px oklch(0 0 0 / 24%);--elevation-sm: 0 1px 3px oklch(0 0 0 / 32%);--elevation-md: 0 4px 10px -2px oklch(0 0 0 / 40%);--elevation-lg: 0 12px 24px -6px oklch(0 0 0 / 48%);--elevation-xl: 0 20px 40px -10px oklch(0 0 0 / 56%);--scrim: oklch(0 0 0 / 64%);--state-hover-overlay: oklch(1 0 0 / 8%);--state-active-overlay: oklch(1 0 0 / 10%)}@media not (min-width:48rem){:root{--space-page-x: var(--space-4);--space-page-y: var(--space-4);--space-section: var(--space-6);--gap-section: var(--space-6);--gap-page-title-content: var(--space-6)}}@theme inline{ --spacing-0: var(--space-0); --spacing-px: var(--space-px); --spacing-0-5: var(--space-0-5); --spacing-1: var(--space-1); --spacing-1-5: var(--space-1-5); --spacing-2: var(--space-2); --spacing-3: var(--space-3); --spacing-4: var(--space-4); --spacing-5: var(--space-5); --spacing-6: var(--space-6); --spacing-8: var(--space-8); --spacing-10: var(--space-10); --spacing-12: var(--space-12); --spacing-16: var(--space-16); --spacing-control-x: var(--space-control-x); --spacing-control-y: var(--space-control-y); --spacing-stack-tight: var(--space-stack-tight); --spacing-stack-default: var(--space-stack-default); --spacing-stack-loose: var(--space-stack-loose); --spacing-section: var(--space-section); --spacing-page-x: var(--space-page-x); --spacing-page-y: var(--space-page-y); --spacing-gap-icon-text: var(--gap-icon-text); --spacing-gap-label-control: var(--gap-label-control); --spacing-gap-toolbar: var(--gap-toolbar); --spacing-gap-form-field: var(--gap-form-field); --spacing-gap-card-item: var(--gap-card-item); --spacing-gap-section: var(--gap-section); --spacing-gap-page-title-content: var(--gap-page-title-content); --spacing-inset-card-compact: var(--inset-card-compact); --spacing-inset-card: var(--inset-card); --spacing-inset-overlay: var(--inset-overlay); --spacing-inset-table-x: var(--inset-table-x); --spacing-inset-table-y: var(--inset-table-y); --shadow-xs: var(--elevation-xs); --shadow-sm: var(--elevation-sm); --shadow-md: var(--elevation-md); --shadow-lg: var(--elevation-lg); --shadow-xl: var(--elevation-xl); --shadow-menu: var(--elevation-menu); --shadow-popover: var(--elevation-popover); --shadow-overlay: var(--elevation-overlay); --color-scrim: var(--scrim); --color-state-hover-overlay: var(--state-hover-overlay); --color-state-active-overlay: var(--state-active-overlay); --color-state-selected: var(--state-selected); --color-state-selected-foreground: var(--state-selected-foreground); --color-state-focus: var(--state-focus); --color-state-focus-offset: var(--state-focus-offset-color); --color-state-invalid: var(--state-invalid); }:root{--radius: 8px;--radius-none: 0px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: var(--radius);--radius-xl: 12px;--radius-2xl: 16px;--radius-3xl: 20px;--radius-4xl: 24px;--radius-full: 999px;--radius-control: var(--radius-md);--radius-item: var(--radius-sm);--radius-surface: var(--radius-lg);--radius-overlay: var(--radius-xl);--radius-round: var(--radius-full)}@theme inline{ --radius-none: 0px; --radius-sm: 4px; --radius-md: 6px; --radius-lg: var(--radius); --radius-xl: 12px; --radius-2xl: 16px; --radius-3xl: 20px; --radius-4xl: 24px; --radius-full: 999px; }:root{--font-ui-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-ui-heading: var(--font-ui-sans);--font-ui-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;--font-sans: var(--font-ui-sans);--font-heading: var(--font-ui-heading);--font-mono: var(--font-ui-mono);--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--text-display-size: 2.25rem;--text-display-line-height: 2.75rem;--text-display-weight: var(--font-weight-semibold);--text-display-tracking: -.025em;--text-page-title-size: 1.75rem;--text-page-title-line-height: 2.25rem;--text-page-title-weight: var(--font-weight-semibold);--text-page-title-tracking: -.02em;--text-section-title-size: 1.375rem;--text-section-title-line-height: 1.875rem;--text-section-title-weight: var(--font-weight-semibold);--text-section-title-tracking: -.015em;--text-card-title-size: 1.125rem;--text-card-title-line-height: 1.625rem;--text-card-title-weight: var(--font-weight-semibold);--text-card-title-tracking: -.01em;--text-subsection-title-size: 1rem;--text-subsection-title-line-height: 1.5rem;--text-subsection-title-weight: var(--font-weight-semibold);--text-subsection-title-tracking: 0;--text-body-large-size: 1rem;--text-body-large-line-height: 1.625rem;--text-body-large-weight: var(--font-weight-regular);--text-body-size: .875rem;--text-body-line-height: 1.375rem;--text-body-weight: var(--font-weight-regular);--text-body-small-size: .8125rem;--text-body-small-line-height: 1.25rem;--text-body-small-weight: var(--font-weight-regular);--text-label-size: .875rem;--text-label-line-height: 1.25rem;--text-label-weight: var(--font-weight-medium);--text-label-small-size: .75rem;--text-label-small-line-height: 1.125rem;--text-label-small-weight: var(--font-weight-medium);--text-table-header-size: .75rem;--text-table-header-line-height: 1.125rem;--text-table-header-weight: var(--font-weight-semibold);--text-caption-size: .75rem;--text-caption-line-height: 1.125rem;--text-caption-weight: var(--font-weight-regular);--text-overline-size: .6875rem;--text-overline-line-height: 1rem;--text-overline-weight: var(--font-weight-semibold);--text-overline-tracking: .06em;--text-code-size: .8125rem;--text-code-line-height: 1.25rem;--text-code-weight: var(--font-weight-regular);--text-data-size: .8125rem;--text-data-line-height: 1.25rem;--text-data-weight: var(--font-weight-medium)}@theme inline{ --font-sans: var(--font-ui-sans); --font-heading: var(--font-ui-heading); --font-mono: var(--font-ui-mono); --text-display: var(--text-display-size); --text-display--line-height: var(--text-display-line-height); --text-page-title: var(--text-page-title-size); --text-page-title--line-height: var(--text-page-title-line-height); --text-section-title: var(--text-section-title-size); --text-section-title--line-height: var(--text-section-title-line-height); --text-card-title: var(--text-card-title-size); --text-card-title--line-height: var(--text-card-title-line-height); --text-subsection-title: var(--text-subsection-title-size); --text-subsection-title--line-height: var(--text-subsection-title-line-height); --text-body-large: var(--text-body-large-size); --text-body-large--line-height: var(--text-body-large-line-height); --text-body: var(--text-body-size); --text-body--line-height: var(--text-body-line-height); --text-body-small: var(--text-body-small-size); --text-body-small--line-height: var(--text-body-small-line-height); --text-label: var(--text-label-size); --text-label--line-height: var(--text-label-line-height); --text-label-small: var(--text-label-small-size); --text-label-small--line-height: var(--text-label-small-line-height); --text-table-header: var(--text-table-header-size); --text-table-header--line-height: var(--text-table-header-line-height); --text-caption: var(--text-caption-size); --text-caption--line-height: var(--text-caption-line-height); --text-overline: var(--text-overline-size); --text-overline--line-height: var(--text-overline-line-height); --text-code: var(--text-code-size); --text-code--line-height: var(--text-code-line-height); --text-data: var(--text-data-size); --text-data--line-height: var(--text-data-line-height); }:root{--workspace-background: #fafafa;--text-primary: #171717;--text-secondary: #525252;--icon-muted: #a1a1a1;--brand-soft: rgb(255 69 0 / 8%);--brand-soft-hover: rgb(255 69 0 / 12%);--profile-foreground: #171717;--model-hover-foreground: #171717;--shadow-soft: 0 4px 10px rgb(0 0 0 / 5%);--shadow-hairline: 0 0 1px rgb(0 0 0 / 30%);--shadow-dialog: 0 12px 32px rgb(0 0 0 / 16%);--shadow-input: 0 8px 20px rgb(0 0 0 / 4%);--shadow-switch: 0 1px 2px rgb(0 0 0 / 14%);--shadow-popover-soft: 0 4px 10px rgb(0 0 0 / 8%);--scrim-dialog: rgb(0 0 0 / 20%);--scrim-strong: rgb(0 0 0 / 80%);--scrim-item: rgb(0 0 0 / 60%);--dialog-border: #fff;--border-on-dark: rgb(255 255 255 / 8%);--control-on-scrim: rgb(255 255 255 / 18%);--on-scrim: #fff;--switch-thumb: #fff;--mask-opaque: #000;--platform-logo-kimi-bg: #000;--platform-logo-qianwen-bg: #461ab5;--icon-ink: #171717;--icon-ink-nav: #0a0a0a;--icon-ink-black: #000;--icon-ink-nav-active: #0a0a0a;--icon-ink-thread: #171717;--icon-ink-thread-strong: #0a0a0a}.dark{--workspace-background: var(--background);--text-primary: var(--foreground);--text-secondary: var(--muted-foreground);--profile-foreground: var(--muted-foreground);--model-hover-foreground: var(--muted-foreground);--brand-soft: color-mix(in oklch, var(--brand) 14%, transparent);--brand-soft-hover: color-mix(in oklch, var(--brand) 20%, transparent);--scrim-dialog: rgb(0 0 0 / 50%);--dialog-border: rgb(255 255 255 / 8%);--icon-ink: #e6e6e6;--icon-ink-nav: #e6e6e6;--icon-ink-black: #e6e6e6;--icon-ink-thread: #fff;--icon-ink-thread-strong: #fff}.dot-field{--dot-field-size: 10px;--dot-field-pointer-x: 50%;--dot-field-pointer-y: 50%;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;background:var(--workspace-background)}.dot-field:before,.dot-field:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(circle at 1px 1px,currentColor 1px,transparent 1.1px);background-size:var(--dot-field-size) var(--dot-field-size);background-position:0 0}.dot-field:before{color:color-mix(in oklch,var(--foreground) 8%,transparent)}.dot-field:after{color:color-mix(in oklch,var(--foreground) 32%,transparent);opacity:0;-webkit-mask-image:radial-gradient(circle 165px at var(--dot-field-pointer-x) var(--dot-field-pointer-y),var(--mask-opaque),transparent);mask-image:radial-gradient(circle 165px at var(--dot-field-pointer-x) var(--dot-field-pointer-y),var(--mask-opaque),transparent);transition:opacity .24s ease}.dot-field[data-pointer-active=true]:after{opacity:1}@media(prefers-reduced-motion:reduce){.dot-field:after{transition:none}}*,*:before,*:after{box-sizing:border-box}body{margin:0;padding:0}p{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:3px}:is(.creation-search,.model-square-search,.nav-search,.video-duration-field):focus-within,.compose-input:has(textarea:focus,.video-mention-editor:focus){border-color:var(--brand)}body{color:var(--text-primary);font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}.icon{width:20px;height:20px;object-fit:contain;flex:none}.hero-icon{display:block;width:18px;height:18px;flex:none}.design-icon{display:block;width:16px;height:16px;flex:none}.mask-icon{display:block;background-color:var(--mask-ink, currentColor);mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat}.mask-icon[data-ink=default]{--mask-ink: var(--icon-ink)}.mask-icon[data-ink=nav]{--mask-ink: var(--icon-ink-nav)}.mask-icon[data-ink=black]{--mask-ink: var(--icon-ink-black)}.mask-icon[data-ink=thread]{--mask-ink: var(--icon-ink-thread)}.mask-icon[data-ink=thread-strong]{--mask-ink: var(--icon-ink-thread-strong)}.overlay-scroll-area{position:relative;min-height:0}.overlay-scroll-area--small{--overlay-scroll-track-width: 8px}.overlay-scroll-area--large{--overlay-scroll-track-width: 12px}.overlay-scroll-viewport{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.overlay-scroll-viewport::-webkit-scrollbar{display:none}.overlay-scroll-track{position:absolute;z-index:1;top:0;right:0;bottom:0;width:var(--overlay-scroll-track-width);pointer-events:none}.overlay-scroll-thumb{position:absolute;top:0;right:0;width:100%;cursor:grab;touch-action:none;pointer-events:auto}.overlay-scroll-thumb:before{content:"";position:absolute;top:0;right:2px;bottom:0;left:2px;border-radius:var(--radius-full);background:color-mix(in srgb,var(--foreground) 12%,transparent);transition:background-color .16s ease}@media(hover:hover){.overlay-scroll-thumb:hover:before{background:color-mix(in srgb,var(--surface-overlay) 40%,transparent)}}.overlay-scroll-thumb:active{cursor:grabbing}.overlay-scroll-area--horizontal .overlay-scroll-viewport{width:100%;height:auto;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;overscroll-behavior-y:auto}.overlay-scroll-area--horizontal .overlay-scroll-content{width:max-content;min-width:100%}.overlay-scroll-area--horizontal .overlay-scroll-track{top:auto;right:auto;bottom:0;width:auto;height:var(--overlay-scroll-track-width)}.overlay-scroll-area--horizontal .overlay-scroll-thumb{top:auto;right:auto;bottom:0;left:0;width:auto;height:100%}.overlay-scroll-area--horizontal .overlay-scroll-thumb:before{top:2px;right:0;bottom:2px;left:0}@keyframes model-dialog-fade{0%{opacity:0}to{opacity:1}}@keyframes model-dialog-enter{0%{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.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(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.app-workspace{position:relative;min-height:100vh;background:var(--workspace-background);isolation:isolate;overflow:hidden}.dot-field{position:fixed;z-index:-1}.app-content{min-height:100vh;display:flex;gap:0;padding:12px}.app-application{display:flex;flex-direction:column;min-width:0;flex:1;position:relative}.app-row{display:flex;flex:1;min-width:0;position:relative}.app-main{display:flex;justify-content:center;align-items:flex-start;flex:1;min-width:0}@media(max-width:700px){.app-content{padding:8px}}.nav-sidebar{position:relative;z-index:4;display:flex;flex-direction:column;flex:0 0 240px;width:240px;min-height:calc(100vh - 24px);background:var(--card);border:1px solid var(--border);border-radius:var(--radius-3xl);box-shadow:var(--shadow-soft);padding:15px 11px 11px;transition:width .22s ease,flex-basis .22s ease;overflow:hidden}.nav-sidebar-tooltip{position:fixed;z-index:100;height:36px;display:flex;align-items:center;max-width:calc(100vw - 88px);padding:0 12px;border-radius:var(--radius-xl);background:var(--tooltip);color:var(--tooltip-foreground);font-size:14px;line-height:20px;white-space:nowrap;pointer-events:none;transform:translateY(-50%);animation:tooltip-appear .12s ease-out}@keyframes tooltip-appear{0%{opacity:0}to{opacity:1}}.nav-sidebar-brand{position:relative;align-self:flex-start;width:28px;height:28px;margin-left:4px;display:flex;align-items:center;white-space:nowrap;font-size:16px}.nav-sidebar-brand .icon{width:28px;height:28px}.nav-sidebar-brand strong{position:absolute;left:36px;opacity:1;transform:translate(0);transition:opacity .16s ease .1s,transform .16s ease .1s}.nav-group{margin:20px 4px 0;transition:margin .22s ease}.nav-group+.nav-group{margin-top:16px}.nav-heading{position:relative;height:16px;margin:0 0 8px;color:var(--muted-foreground);font-size:12px;line-height:16px;white-space:nowrap}.nav-heading-label{position:absolute;left:0;transform:translate(0);transition:transform .22s ease}.nav-item{position:relative;height:36px;display:flex;align-items:center;gap:12px;padding:0 8px;border-radius:var(--radius-lg);color:var(--foreground);font-weight:500;white-space:nowrap;transition:background-color .16s ease,border-radius .22s ease}.nav-item.is-active{color:var(--brand);background:var(--brand-soft)}.nav-item+.nav-item{margin-top:4px}.nav-coming-soon{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:color-mix(in srgb,var(--foreground) 40%,transparent);font-size:10px;line-height:16px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .16s ease}.nav-item:focus-visible .nav-coming-soon{opacity:1}@media(prefers-reduced-motion:reduce){.nav-coming-soon{transition:none}}@media(hover:hover){.nav-item:hover .nav-coming-soon{opacity:1}.nav-item:not(.is-active):hover{background:var(--state-hover-overlay)}.nav-item.is-active:hover{background:var(--brand-soft-hover)}}.nav-item .icon{position:absolute;left:8px;top:8px;width:20px;height:20px}.nav-item>span{position:absolute;left:40px;top:50%;opacity:1;transform:translateY(-50%);transition:opacity .16s ease .1s,transform .16s ease .1s}.nav-sidebar-footer{display:grid;align-self:stretch;margin-top:auto}.nav-sidebar-bottom,.account-compact-footer{grid-area:1 / 1;align-self:end;transition:opacity .1s ease,visibility 0s linear .1s}.nav-sidebar-bottom{width:216px;opacity:1;visibility:visible;transition:opacity .12s ease 80ms,visibility 0s}.account-compact-footer{display:flex;flex-direction:column;align-items:center;gap:16px;width:36px;opacity:0;visibility:hidden;pointer-events:none}.account-compact-invite{width:20px;height:20px}.account-compact-balance{display:flex;flex-direction:column;align-items:center;color:var(--foreground);font-family:var(--font-ui-mono),monospace;font-size:10px;line-height:20px}.account-compact-balance .icon{width:16px;height:16px}.account-compact-avatar{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}.account-avatar{display:grid;flex:none;place-items:center;width:36px;height:36px;overflow:hidden;border-radius:50%}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-compact-avatar-control .account-avatar{width:32px;height:32px}.nav-invite{height:40px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-xl);white-space:nowrap}.nav-invite-arrow{margin-left:auto}.account-profile{display:flex;flex-wrap:wrap;gap:0 8px;align-items:center;color:var(--profile-foreground);background:var(--accent);border-radius:var(--radius-xl);padding:12px;margin-top:12px}.account-profile>img{height:36px;width:36px;border-radius:50%;object-fit:cover}.account-profile .account-avatar{width:36px;height:36px}.account-login-avatar{position:relative;display:block;width:36px;height:36px;flex:none;overflow:hidden;border-radius:50%}.account-login-avatar.is-compact{width:32px;height:32px}.account-login-avatar-base,.account-login-avatar-figure,.account-login-avatar-border{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:inherit}.account-login-avatar-base{z-index:0;background:#fff}.account-login-avatar-figure{z-index:1;display:block;opacity:.1}.account-login-avatar-border{z-index:2;border:1px solid var(--border);pointer-events:none}.account-profile-name{display:flex;flex-direction:column;min-width:0}.account-profile-name strong{color:var(--text-primary);font-size:14px;line-height:20px}.account-profile.is-signed-out .account-profile-name strong{font-weight:500}.account-profile-name small{color:var(--muted-foreground);font-size:10px}.account-profile-balance{border-top:1px solid var(--border);margin-top:8px;padding-top:8px;width:100%;display:flex;justify-content:space-between;align-items:center}.account-profile.is-signed-out .account-profile-balance{border-top-style:dashed}.account-profile-balance span:last-child{color:var(--text-primary);display:inline-flex;align-items:center;gap:4px}.account-profile-balance .icon{width:16px;height:16px}.account-profile--pending{cursor:default}.account-avatar-skeleton,.account-line-skeleton,.account-compact-balance-skeleton,.account-compact-avatar-skeleton{display:block;flex:none;background:var(--border);border-radius:var(--radius-full);animation:account-skeleton-pulse 1.4s ease-in-out infinite}.account-avatar-skeleton{width:36px;height:36px}.account-line-skeleton{height:10px}.account-line-skeleton--name{width:72px;margin-bottom:8px}.account-name-loading{margin:5px 0}.account-line-skeleton--sub{width:104px;height:8px}.account-line-skeleton--balance{width:40px}.account-compact-balance-skeleton{width:30px;height:30px}.account-compact-avatar-skeleton{width:32px;height:32px}@keyframes account-skeleton-pulse{50%{opacity:.5}}.nav-sidebar--compact{flex-basis:60px;width:60px;padding-inline:11px;padding-bottom:13px;align-items:center}.nav-sidebar--compact .nav-sidebar-brand strong{opacity:0;transform:translate(-4px);pointer-events:none;transition:opacity 80ms ease,transform 80ms ease}.nav-sidebar--compact .nav-group{align-self:stretch;margin-inline:0}.nav-sidebar--compact .nav-heading{margin-inline:0}.nav-sidebar--compact .nav-heading-label{transform:translate(calc(18px - 50%))}.nav-sidebar--compact .nav-item{justify-content:center;padding:0;border-radius:var(--radius-full)}.nav-sidebar--compact .nav-item>span{opacity:0;transform:translate(-4px,-50%);pointer-events:none;transition:opacity 80ms ease,transform 80ms ease}.nav-sidebar--compact .nav-coming-soon{display:none}.nav-sidebar--compact .nav-sidebar-bottom{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s ease,visibility 0s linear .1s}.nav-sidebar--compact .account-compact-footer{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .12s ease 80ms,visibility 0s}.nav-topbar{display:flex;justify-content:space-between;gap:4px;height:36px;margin-left:12px}.nav-topbar-left,.nav-topbar-right,.nav-segmented{display:flex;align-items:center}.nav-topbar-left,.nav-topbar-right{gap:4px}.nav-icon-button,.nav-pill,.nav-segmented{height:36px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-full)}.nav-icon-button{width:36px;display:grid;place-items:center;color:var(--text-primary);position:relative;isolation:isolate}.nav-icon-button:before{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:50%;background:transparent;z-index:-1;transition:background-color .16s ease}.nav-icon-button .icon{width:16px;height:16px}.nav-icon-button .nav-sidebar-toggle--expand{transform:scaleX(-1)}.nav-pill{padding:3px;display:flex;align-items:center;white-space:nowrap}.nav-pill-content{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 12px;gap:4px;border-radius:var(--radius-full);transition:background-color .16s ease}.nav-pill .icon,.nav-segmented .icon{width:16px;height:16px}.nav-segmented{gap:0;padding:3px;white-space:nowrap}.nav-segmented button{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:28px;padding:0 12px;border:0;border-radius:var(--radius-full);background:transparent;color:var(--text-primary);transition:background-color .16s ease}.nav-segmented .seg-active{background:var(--brand-soft);color:var(--brand)}.nav-settings-group{display:flex;align-items:center;width:136px;height:36px;padding:3px;flex:none;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-full);transition:width .22s ease}.nav-settings-group--theme-only{width:36px;transition-delay:50ms}.nav-settings-button,.nav-theme-button{display:flex;align-items:center;justify-content:center;height:28px;padding:0;border:0;border-radius:var(--radius-full);background:transparent;color:var(--text-primary);transition:background-color .16s ease}.nav-settings-button{width:100px;flex:none;gap:4px;padding:0 12px;overflow:hidden;white-space:nowrap;opacity:1;transition:width .22s ease,padding .22s ease,opacity .1s ease .1s,background-color .16s ease}.nav-settings-group--theme-only .nav-settings-button{width:0;padding:0;opacity:0;pointer-events:none;transition:width .22s ease 50ms,padding .22s ease 50ms,opacity .1s ease,background-color .16s ease}.nav-theme-button{width:28px;flex:none}@media(prefers-reduced-motion:reduce){.nav-settings-group,.nav-settings-group--theme-only,.nav-settings-button,.nav-settings-group--theme-only .nav-settings-button{transition:none}}@media(hover:hover){.nav-settings-button:hover,.nav-theme-button:hover,.nav-segmented button:hover,.nav-pill:hover .nav-pill-content{background:var(--accent)}.nav-icon-button:hover:before{background:var(--accent)}}@media(hover:hover){.nav-segmented button.seg-active:hover{background:var(--brand-soft)}}.history-panel{position:absolute;z-index:4;left:12px;top:8px;bottom:0;width:296px;display:flex;flex-direction:column;background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-3xl);box-shadow:var(--shadow-soft);padding:11px;overflow:hidden}.nav-search{flex:none;display:flex;align-items:center;gap:4px;padding:0 7px;height:32px;background:transparent;border:1px solid var(--input);border-radius:var(--radius-xl);color:var(--muted-foreground)}.history-search-icon{width:16px;height:16px;flex:none}.history-empty{position:absolute;left:50%;top:calc(50% - 24px);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted-foreground);font-size:12px;line-height:16px;white-space:nowrap}.history-empty img{display:block;width:160px;height:120px}.history-empty .history-item{width:auto;height:32px;padding:0 12px;justify-content:center}.history-empty .history-empty-dark,.dark .history-empty .history-empty-light{display:none}.dark .history-empty .history-empty-dark{display:block}.nav-search input{min-width:0;width:100%;border:0;background:none;outline:none;color:var(--popover-foreground);font-size:14px;line-height:20px}.nav-search input::placeholder{color:var(--muted-foreground);opacity:1}.history-scroll-area{position:relative;flex:1;min-height:0;margin-top:16px}.history-scroll-area section+section{margin-top:16px}.history-skeleton{position:relative;flex:1;min-height:0;margin-top:16px;overflow:hidden}.history-skeleton-list{display:flex;flex-direction:column;gap:4px}.history-skeleton-heading,.history-skeleton-item span{display:block;border-radius:var(--radius-md);background:var(--muted);animation:history-skeleton-pulse 1.4s ease-in-out infinite}.history-skeleton-heading{width:32px;height:8px;margin:0 8px}.history-skeleton-item{display:flex;align-items:center;height:36px;padding:8px}.history-skeleton-item span{width:82%;height:12px}.history-skeleton-item:nth-child(3n+2) span{width:64%}.history-skeleton-item:nth-child(3n) span{width:74%}@keyframes history-skeleton-pulse{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){.history-skeleton-heading,.history-skeleton-item span{animation:none}}.history-heading{color:var(--muted-foreground);font-size:10px;line-height:16px;margin:0 8px 4px}.history-item{display:block;width:100%;padding:8px;height:36px;border:0;border-radius:var(--radius-lg);background:transparent;color:inherit;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px;transition:background-color .16s ease}button.history-item{display:flex;align-items:center;gap:6px;width:100%;border:0;background:none;color:inherit;font-family:inherit;text-align:left}.history-item-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item-kind{display:inline-flex;flex:none;opacity:.55}.history-item-kind svg{width:14px;height:14px}.history-item+.history-item{margin-top:4px}.history-item.selected{background:var(--state-selected);color:var(--state-selected-foreground)}@media(hover:hover){.history-item:not(.selected):hover{background:var(--state-hover-overlay)}}@media(max-width:700px){.nav-sidebar .nav-coming-soon{display:none}.nav-sidebar{flex-basis:60px;width:60px;padding-inline:11px;align-items:center}.nav-invite span,.account-profile-name,.account-profile-balance span:first-child{display:none}.nav-sidebar-brand strong{opacity:0;transform:translate(-4px);pointer-events:none}.nav-group{width:auto;align-self:stretch;margin-inline:0}.nav-heading{margin-left:0}.nav-item{justify-content:center;padding:0}.nav-invite{border:0;padding:0}.account-profile{padding:4px;background:transparent}.account-profile>img{width:28px;height:28px}.account-profile .account-avatar{width:28px;height:28px}.account-profile-balance{display:none}.nav-topbar-left{gap:4px}}@media(prefers-reduced-motion:reduce){.nav-sidebar-bottom,.account-compact-footer{transition-delay:0s!important}}@media(max-width:700px){.nav-sidebar .nav-heading{margin-inline:0}.nav-sidebar .nav-heading-label{transform:translate(calc(18px - 50%))}.nav-sidebar .nav-item{border-radius:var(--radius-full)}.nav-sidebar .nav-item>span{opacity:0;transform:translate(-4px,-50%);pointer-events:none;transition:opacity 80ms ease,transform 80ms ease}.nav-sidebar{padding-bottom:13px}.nav-sidebar .nav-sidebar-bottom{opacity:0;visibility:hidden;pointer-events:none}.nav-sidebar .account-compact-footer{opacity:1;visibility:visible;pointer-events:auto}.nav-topbar-left{flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.nav-topbar-left>*{flex-shrink:0}.nav-topbar-right{flex-shrink:0}}.nav-work-icon{display:block;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.nav-item:not(.is-active) .nav-work-icon{background:var(--icon-ink-nav)}button.nav-item{width:100%;border:0;background:transparent;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}@media(max-width:1100px){.nav-topbar-right>.nav-segmented,.nav-topbar-right>.nav-pill{display:none}.history-panel{flex-basis:240px;width:240px}}.chat-conversation{width:min(880px,calc(100% - 48px));padding-top:110px}.chat-hero{text-align:center}.hero-logo{width:64px;height:64px}.chat-hero h1{margin:20px 0 8px;font-size:36px;line-height:44px;letter-spacing:-.02em;color:var(--text-primary)}.chat-hero p{font-size:16px;line-height:24px;color:var(--text-secondary)}.chat-suggestions{display:flex;gap:16px;margin-top:64px}.chat-suggestion{flex:1;min-width:0;display:flex;align-items:center;gap:16px;height:72px;padding:0 15px 0 23px;border:1px solid var(--border);border-radius:var(--radius-2xl);background:var(--card)}.chat-suggestion .icon{width:24px;height:24px}.chat-suggestion>div{min-width:0}.chat-suggestion strong{display:block;font-size:16px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-suggestion p{color:var(--muted-foreground);font-size:12px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-workspace:has(.chat-conversation--thread) .dot-field{opacity:0;transition:opacity .14s ease-out}.app-row:has(.chat-conversation--thread){height:calc(100dvh - 60px);flex:none}.app-main:has(.chat-conversation--thread){display:block;position:relative}.app-application:has(.chat-conversation--thread) .nav-topbar{position:relative;z-index:5}.chat-conversation--thread{position:relative;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;padding:0}.chat-conversation--thread .compose{z-index:3;width:min(880px,calc(100% - 32px));flex:none;margin:0 auto 4px}.thread-layout{position:relative;flex:1;min-height:0}.thread-generation-return{position:absolute;z-index:4;bottom:12px;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 20px 0 10px;border:0;border-radius:var(--radius-full);background:var(--popover);color:var(--popover-foreground);box-shadow:0 4px 10px #0000000d,0 0 1px #0000004d;font-size:12px;line-height:16px;white-space:nowrap;cursor:pointer}.thread-generation-return:hover{background:var(--sidebar-accent)}.thread-generation-return:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.thread-generation-swell{width:20px;height:20px;display:flex;align-items:center;justify-content:center;gap:2px;color:var(--brand)}.thread-generation-swell i{width:2px;height:10px;border-radius:var(--radius-full);background:currentColor;animation:thread-swell 1s ease-in-out infinite}.thread-generation-swell i:nth-child(2){animation-delay:-.16s}.thread-generation-swell i:nth-child(3){animation-delay:-.32s}.thread-generation-swell i:nth-child(4){animation-delay:-.48s}.thread-generation-swell i:nth-child(5){animation-delay:-.64s}@keyframes thread-swell{0%,to{transform:translateY(4px);opacity:.5}50%{transform:translateY(-4px);opacity:1}}@media(prefers-reduced-motion:reduce){.thread-generation-swell i{animation:none}}.image-generation-preview{flex:1;min-height:0;overflow:auto}.thread-scroll{position:absolute;top:-48px;right:0;bottom:-20px;left:0}.thread-scroll>.overlay-scroll-track{right:-12px}.thread-messages{width:min(880px,calc(100% - 32px));margin:0 auto;padding:64px 0 52px}.thread-skeleton{flex:1;min-height:0;overflow:hidden}.thread-skeleton-messages{display:flex;flex-direction:column;gap:40px;width:min(880px,calc(100% - 32px));margin:0 auto;padding:64px 0 52px}.thread-skeleton-turn{display:flex;flex-direction:column}.thread-skeleton-bubble{align-self:flex-end;width:min(320px,60%);height:44px;border-radius:var(--radius-2xl) var(--radius-none) var(--radius-2xl) var(--radius-2xl)}.thread-skeleton-body{display:flex;flex-direction:column;gap:12px;margin-top:20px}.thread-skeleton-line{height:14px;border-radius:var(--radius-full)}.thread-skeleton-line--short{width:45%}.thread-skeleton-line--medium{width:72%}.thread-skeleton-heading{width:140px;height:14px;border-radius:var(--radius-full)}.thread-skeleton-media{margin-top:12px;border-radius:var(--radius-xl)}.thread-skeleton-media--image{width:min(200px,100%);aspect-ratio:1}.thread-skeleton-media--video{width:min(498px,100%);aspect-ratio:16 / 9}.thread-skeleton-meta{width:120px;height:12px;margin-top:12px;border-radius:var(--radius-full)}.thread-skeleton-bubble--media{width:240px;max-width:100%;height:44px}.thread-skeleton-bubble,.thread-skeleton-line,.thread-skeleton-heading,.thread-skeleton-media,.thread-skeleton-meta{background:var(--muted);animation:thread-skeleton-pulse 1.4s ease-in-out infinite}@keyframes thread-skeleton-pulse{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){.thread-skeleton-bubble,.thread-skeleton-line,.thread-skeleton-heading,.thread-skeleton-media,.thread-skeleton-meta{animation:none}}.thread-edge{position:absolute;z-index:1;left:0;right:0;height:64px;pointer-events:none;--edge-direction: to bottom;--edge-color: var(--workspace-background)}.thread-edge--top{top:-48px}.thread-edge--bottom{bottom:-20px;--edge-direction: to top}.thread-edge>span,.thread-edge>i{position:absolute;top:0;right:0;bottom:0;left:0}.thread-edge>i{background:linear-gradient(var(--edge-direction),var(--edge-color),transparent)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and ((mask-image: linear-gradient(black,transparent)) or (-webkit-mask-image: linear-gradient(black,transparent))){.thread-edge>span{-webkit-mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent);mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent)}.thread-edge>span:nth-child(1){-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.thread-edge>span:nth-child(2){-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);-webkit-mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent 70%);mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent 70%)}.thread-edge>span:nth-child(3){-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent 40%);mask-image:linear-gradient(var(--edge-direction),var(--mask-opaque),transparent 40%)}}.thread-turn+.thread-turn{margin-top:40px}.thread-user{display:flex;flex-direction:column;align-items:flex-end}.thread-user-content{display:flex;flex-direction:column;align-items:stretch;width:max-content;max-width:min(680px,100%);gap:8px}.thread-user-bubble{max-width:100%;padding:12px;border-radius:var(--radius-2xl) var(--radius-none) var(--radius-2xl) var(--radius-2xl);background:color-mix(in srgb,var(--surface-overlay) 4%,transparent);color:var(--foreground);font-size:14px;line-height:22px;overflow-wrap:anywhere;white-space:pre-wrap}.dark .thread-user-bubble{background:color-mix(in srgb,var(--surface-overlay) 6%,transparent)}.thread-attachments{display:flex;justify-content:flex-end;max-width:100%;overflow:clip;overflow-clip-margin:1px;gap:4px}.thread-attachments .thread-attachment{flex:0 0 auto;max-width:min(160px,100%);background:var(--popover);box-shadow:0 0 1px #0000004d}.thread-references{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.thread-reference{width:72px;height:72px;border-radius:var(--radius-lg);background:var(--popover);object-fit:cover;box-shadow:0 0 1px #0000004d}.dark .thread-reference,.dark .thread-attachments .thread-attachment{box-shadow:0 0 1px #ffffff4d}.message-attachment-overflow{position:relative;width:0;min-width:100%;max-width:100%;overflow:clip;overflow-clip-margin:2px}.message-attachment-track{display:flex;justify-content:flex-end;gap:4px;width:100%}.message-attachment-measure{position:absolute;display:flex;gap:4px;width:max-content;visibility:hidden;pointer-events:none}.message-attachment-track-item{flex:none;max-width:160px}.message-attachment-track-item .thread-attachment{max-width:160px;background:var(--popover);box-shadow:0 0 1px #0000004d}.message-attachment-more{position:relative;flex:none;display:grid;place-items:center;width:28px;height:28px;padding:2px;border:0;border-radius:var(--radius-lg);background:var(--popover);color:var(--foreground);box-shadow:0 0 1px #0000004d;cursor:pointer}.message-attachment-more:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:var(--radius-md);background:transparent}.message-attachment-more span{position:relative;width:24px;height:24px;border-radius:var(--radius-md);background:var(--foreground);-webkit-mask-position:center;mask-position:center;-webkit-mask-size:16px;mask-size:16px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.message-attachment-more:hover:before,.message-attachment-more[aria-expanded=true]:before{background:var(--muted)}.message-attachment-more:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.message-attachment-popover{position:fixed;z-index:1000;width:min(160px,calc(100vw - 24px));max-height:min(232px,calc(100vh - 24px));padding:4px;overflow-y:auto;scrollbar-width:none;border-radius:var(--radius-xl);background:var(--popover);box-shadow:0 4px 10px #0000000d,0 0 1px #0000004d}.message-attachment-popover::-webkit-scrollbar{display:none}.message-attachment-popover-row{height:32px;border-radius:var(--radius-lg)}.message-attachment-popover-row:hover{background:var(--state-hover-overlay)}.message-attachment-popover-row .thread-attachment{width:100%;height:32px;padding:4px;gap:8px;background:transparent}.message-attachment-popover-row .attachment-media-frame img{display:block;width:24px;height:24px;object-fit:cover}.message-attachment-popover-row .attachment-name{color:var(--popover-foreground)}.thread-attachment .attachment-media-frame>:is(.attachment-type-icon,img){display:block;width:24px;height:24px;border-radius:var(--radius-md)}.thread-tool{display:inline-flex;align-items:center;gap:4px;margin-inline:4px;color:var(--info-foreground, #247cf8);font-weight:500;white-space:nowrap;vertical-align:top}.dark .thread-tool{color:var(--info-foreground, #75adff)}.thread-tool .mask-icon[data-ink=default]{--mask-ink: currentColor;width:16px;height:16px}.thread-mention{cursor:default}.thread-user-actions,.thread-answer-actions{display:flex;gap:4px;align-items:center;margin-top:8px}.thread-action-wrap{position:relative;display:inline-flex}.thread-action{display:grid;place-items:center;width:24px;height:24px;padding:4px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--muted-foreground)}.thread-action .mask-icon{width:16px;height:16px;opacity:.6;transition:opacity .16s ease}@media(hover:hover){.thread-action:hover{background:var(--state-hover-overlay)}.thread-action:hover .mask-icon{opacity:1}}.thread-action:focus-visible .mask-icon{opacity:1}.thread-action-tooltip{position:absolute;z-index:10;left:50%;bottom:calc(100% + 8px);display:flex;align-items:center;justify-content:center;height:32px;padding:0 12px;border-radius:var(--radius-lg);background:var(--tooltip);color:var(--tooltip-foreground);font-size:14px;line-height:20px;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%);transition:opacity .12s ease,visibility .12s}@media(hover:hover){.thread-action-wrap:hover .thread-action-tooltip{opacity:1;visibility:visible}}.thread-action-wrap:focus-within .thread-action-tooltip{opacity:1;visibility:visible}.thread-answer{margin-top:16px}.thread-answer-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:20px}.thread-answer-model{display:flex;align-items:center;gap:8px;min-width:0}.thread-answer-model>.icon{flex:none;width:20px;height:20px}.thread-answer-heading strong{font-size:14px;line-height:20px;font-weight:500;overflow-wrap:anywhere}.thread-answer-heading-details{display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:color-mix(in srgb,var(--foreground) 60%,transparent);font-size:12px;line-height:20px;overflow-wrap:anywhere}.thread-answer-heading-details>span+span{display:inline-flex;align-items:center;gap:4px}.thread-answer-heading-details>span+span:before{content:"";width:2px;height:2px;flex:none;border-radius:50%;background:var(--foreground)}.image-generation-details{display:flex;flex-wrap:wrap;align-items:center;gap:0;color:color-mix(in srgb,var(--foreground) 60%,transparent);font-size:12px;line-height:16px}.image-generation-details>span+span:before{content:"";display:inline-block;height:8px;width:1px;margin:0 8px;background:var(--border)}.image-generation-details>span{display:inline-flex;align-items:center}.image-generation-placeholder{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;width:min(200px,100%);aspect-ratio:1;margin-top:12px;background:transparent;color:color-mix(in srgb,var(--foreground) 80%,transparent);font-size:14px;line-height:20px;text-align:center}.image-generation-dots{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;color:var(--brand);pointer-events:none}.video-generation-placeholder{width:min(498px,100%);aspect-ratio:16 / 9;margin-top:16px;background:#000}.image-generation-details{margin-top:12px}.video-result{width:min(498px,100%);margin-top:16px;overflow:hidden;background:#0a0a0a}.video-result-player{position:relative;width:100%;aspect-ratio:16 / 9;background:#000}.video-result-player video{display:block;width:100%;height:100%;object-fit:contain}.video-detail-open{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:transparent;cursor:pointer}.video-detail-open:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.video-result-top{top:4px;right:4px;opacity:0;pointer-events:none;transition:opacity .12s ease}.video-result-player:hover .video-result-top,.video-result-player:focus-within .video-result-top{opacity:1;pointer-events:auto}@media(hover:none){.video-result-top{opacity:1;pointer-events:auto}}.video-result-controls{position:absolute;inset:auto 0 0;height:44px;padding:8px 8px 4px;color:#fff;background:linear-gradient(transparent,#0009);pointer-events:none}.video-result-controls button,.video-result-controls input{pointer-events:auto}.video-result-control-row{display:flex;align-items:center;gap:4px;height:16px;font-size:12px;line-height:16px}.video-result-control-row button{display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.video-result-control-row svg{width:16px;height:16px}.video-result-control-spacer{flex:1}.video-result-control-row button+button{margin-left:8px}.video-result-controls input{display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:4px;margin:8px 0 0;border-radius:var(--radius-full);background:linear-gradient(to right,#fff var(--video-progress),rgb(255 255 255 / 20%) var(--video-progress));cursor:pointer}.video-result-controls input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:8px;height:8px;border-radius:50%;background:#fff}.video-result-controls input::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#fff}.video-result-tools{display:flex;align-items:center;justify-content:center;height:32px;color:#fafafa}.video-result-tools button{display:grid;place-items:center;width:32px;height:24px;padding:4px 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit}.video-result-tools svg{width:16px;height:16px}@media(hover:hover){.video-result-tools button:hover{background:#ffffff1f}}.video-result-tools button:focus-visible,.video-result-controls button:focus-visible,.video-result-controls input:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.video-generation-message>.image-generation-details{margin-top:16px}.video-generation-message>.image-result-actions{margin-top:12px}@media(prefers-reduced-motion:reduce){.video-result-top{transition:none}}.image-result-gallery{position:relative;width:100%;margin-top:12px}.image-detail-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;display:flex;background:var(--background);color:var(--foreground)}body:has(.image-detail-preview)>.attachment-limit-notice{z-index:1002}.image-detail-picture{flex:1;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--muted)}.image-detail-picture img{display:block;max-width:100%;max-height:100%;object-fit:contain}.image-detail-picture video{display:block;width:100%;max-height:100%;object-fit:contain}.image-detail-panel{position:relative;width:min(520px,45vw);flex:none;min-width:0;display:flex;flex-direction:column;background:var(--muted);padding:0 20px 20px}.image-detail-panel:before{content:"";position:absolute;z-index:10;inset:0 auto 0 0;width:1px;background:var(--border);pointer-events:none}.image-detail-header{flex:none;height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.image-detail-header-actions{display:flex;align-items:center;gap:8px}.image-detail-header button{width:24px;height:24px;display:grid;place-items:center;padding:0;flex:none;border:0;border-radius:var(--radius-md);background:transparent;color:var(--foreground);cursor:pointer}.image-detail-header>button{width:32px;height:32px;border:1px solid var(--border);border-radius:50%;background:var(--card)}.image-detail-header button:hover{background:var(--state-hover-overlay)}.image-detail-header>button:hover{background:var(--card)}.image-detail-actions button:hover{background:var(--accent)}.image-detail-header button:focus-visible,.image-detail-actions button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.image-detail-header button.is-active{color:var(--brand)}.image-detail-divider{width:1px;height:16px;background:var(--border)}.image-detail-content{flex:1;min-height:0;overflow:auto;margin-inline:-20px;padding:20px}.image-detail-thumbnails-wrap{position:relative;margin:0 -20px 24px}.image-detail-thumbnails{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none}.image-detail-thumbnails.is-dragging,.image-detail-thumbnails.is-dragging button{cursor:grabbing;-webkit-user-select:none;user-select:none}.image-detail-thumbnails-track{display:flex;gap:8px;width:max-content;min-width:100%;padding:0 20px}.image-detail-edge{top:-10px;bottom:-10px;left:0;right:auto;width:44px;height:auto;--edge-color: var(--muted);--edge-direction: to right}.image-detail-edge--right{left:auto;right:0;--edge-direction: to left}.image-detail-page{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background-color .16s ease}@media(prefers-reduced-motion:reduce){.image-detail-page{transition:none}}.image-detail-page.image-result-page--left{left:4px}.image-detail-page.image-result-page--right{right:4px}.image-detail-thumbnails::-webkit-scrollbar{display:none}.image-detail-thumbnails button{position:relative;flex:0 0 114px;width:114px;height:114px;padding:0;border:0;border-radius:var(--radius-xl);overflow:hidden;background:var(--card);cursor:pointer}.image-detail-thumbnails button[aria-pressed=true]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 0 1px var(--brand),inset 0 0 0 2px var(--muted);border-radius:inherit;pointer-events:none}.image-detail-thumbnails button:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}.image-detail-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}.image-detail-content h2{margin:0;font-size:16px;line-height:24px;font-weight:400}.image-detail-prompt-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.image-detail-prompt-heading button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:var(--radius-md);background:transparent;color:var(--foreground);cursor:pointer}.image-detail-prompt-heading button:hover{background:var(--accent)}.image-detail-prompt-heading button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.image-detail-content p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:22px}.image-detail-prompt--collapsed{max-height:154px;overflow:hidden}.image-detail-prompt-toggle{display:inline-block;margin-top:4px;padding:0;border:0;background:transparent;color:var(--brand);font-size:12px;line-height:20px;cursor:pointer}.image-detail-prompt-toggle:hover{text-decoration:underline;text-underline-offset:2px}.image-detail-prompt-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.image-detail-metadata,.image-detail-parameters,.image-detail-generated-at{color:var(--muted-foreground);line-height:18px}.image-detail-metadata{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;line-height:16px}.image-detail-metadata span+span{border-left:1px solid var(--border);padding-left:12px}.image-detail-parameters,.image-detail-generated-at{font-size:13px}.image-detail-parameters{margin-top:16px}.video-detail-parameters{display:flex;flex-wrap:wrap;gap:12px}.video-detail-parameters span+span{border-left:1px solid var(--border);padding-left:12px}.image-detail-generated-at{margin-top:16px}.image-detail-actions{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px;border-radius:var(--radius-xl);background:var(--card)}.image-detail-actions button{min-width:0;height:36px;display:flex;align-items:center;gap:12px;padding:0 12px;border:0;border-radius:var(--radius-lg);background:transparent;color:var(--foreground);font-size:14px;text-align:left;cursor:pointer}@media(max-width:700px){.image-detail-preview{flex-direction:column;overflow:auto}.image-detail-picture{flex:none;height:48dvh}.image-detail-panel{width:100%;flex:1;min-height:52dvh}.image-detail-panel:before{inset:0 0 auto;width:auto;height:1px}.image-detail-content{min-height:120px}}.image-result-viewport{width:100%;overflow:clip}.image-result-track{display:flex;align-items:flex-start;gap:4px;transition:transform .22s ease;will-change:transform}.image-result-frame{position:relative;flex:0 0 min(200px,100%);overflow:hidden;border-radius:var(--radius-sm);background:var(--muted)}.image-result-frame:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgb(255 255 255 / 12%);border-radius:inherit;pointer-events:none}.image-result-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer}.image-result-open:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.image-result-open>img{display:block;width:100%;height:auto;object-fit:cover}.image-result-frame[data-fixed-ratio=true]>.image-result-open,.image-result-frame[data-fixed-ratio=true]>.image-result-open>img{height:100%}.image-result-frame[data-preview-cropped=true]>.image-result-open>img{transform:scale(1.3)}.image-result-hover-actions{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;opacity:0;transition:opacity .12s ease;pointer-events:none}.image-result-frame:focus-within .image-result-hover-actions,.image-result-hover-actions.is-open{opacity:1}@media(hover:hover){.image-result-frame:hover .image-result-hover-actions{opacity:1}}@media(hover:none){.image-result-hover-actions{opacity:1}}.image-result-toolbar{position:absolute;display:flex;align-items:center;height:28px;gap:0;padding:2px;border:0;border-radius:var(--radius-md);background:#0009;box-shadow:0 0 0 1px #000;color:#fafafa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none}.image-result-frame:focus-within .image-result-toolbar,.image-result-hover-actions.is-open .image-result-toolbar{pointer-events:auto}@media(hover:hover){.image-result-frame:hover .image-result-toolbar{pointer-events:auto}}@media(hover:none){.image-result-toolbar{pointer-events:auto}}.image-result-toolbar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;padding:1px;background:linear-gradient(180deg,rgb(255 255 255 / 16%),transparent 50%,rgb(255 255 255 / 16%));mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.image-result-toolbar--primary{top:4px;right:4px}.image-result-toolbar--creative{bottom:4px;left:50%;transform:translate(-50%)}.image-result-toolbar button{display:grid;place-items:center;width:32px;height:24px;padding:4px 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit;cursor:pointer}.image-result-toolbar button.is-active{color:var(--brand)}.image-result-action-icon{display:block;width:16px;height:16px;flex:none;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.image-result-tooltip{position:fixed;z-index:1001;bottom:auto;opacity:1;transform:none}@media(hover:hover){.image-result-toolbar button:hover{background:#ffffff1f}.image-result-overflow-menu button:hover{background:var(--state-hover-overlay)}}.image-result-toolbar button:focus-visible,.image-result-overflow-menu button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.image-result-overflow-menu{position:fixed;z-index:1000;width:144px;padding:4px;border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);box-shadow:0 4px 16px #00000029}.image-result-overflow-menu button{display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px;border:0;border-radius:var(--radius-lg);background:transparent;color:inherit;font-size:14px;text-align:left}.image-result-fade{position:absolute;top:0;bottom:0;width:48px;pointer-events:none}.image-result-fade--left{left:0;background:linear-gradient(to right,var(--workspace-background),transparent)}.image-result-fade--right{right:0;background:linear-gradient(to left,var(--workspace-background),transparent)}.image-result-page{position:absolute;top:50%;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid rgb(0 0 0 / 20%);border-radius:50%;background:#0a0a0a33;color:#fafafa;transform:translateY(-50%);cursor:pointer}.image-result-page:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;padding:1px;border-radius:inherit;background:linear-gradient(180deg,#fff 0%,transparent 50%,#fff 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none}.dark .image-result-page:before{background:linear-gradient(180deg,rgb(255 255 255 / 60%) 0%,transparent 50%,rgb(255 255 255 / 60%) 100%)}.image-result-page--left{left:0}.image-result-page--right{right:0}.image-result-page:hover{background:#0a0a0a73}.image-result-page:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.image-result-page>svg{width:16px;height:16px}.image-result-page--right>svg{transform:translate(1px)}.image-result-page--left>svg{transform:translate(-1px) rotate(180deg)}.image-result-cost{color:var(--foreground)}.image-generation-error{display:flex;align-items:flex-start;gap:4px;margin-top:16px;color:var(--feedback-attention);font-size:14px;line-height:20px;overflow-wrap:anywhere}.image-generation-error svg{width:20px;height:20px;flex:none}.image-generation-error+.image-result-actions{margin-top:10px}@media(prefers-reduced-motion:reduce){.image-result-track{transition:none}}.thread-demo-label{padding:4px 8px;border-radius:var(--radius-xl);background:color-mix(in srgb,var(--surface-overlay) 8%,transparent);color:var(--muted-foreground);font-size:12px;line-height:16px}.thread-answer-body,.thread-thinking{margin-top:12px;color:var(--foreground);font-size:14px;line-height:22px;overflow-wrap:anywhere}.thread-thinking{color:var(--muted-foreground);white-space:pre-wrap}.thread-answer-error{display:flex;align-items:center;gap:8px;margin-top:12px;color:var(--destructive);font-size:14px;line-height:22px}.thread-markdown{display:flow-root}.thread-markdown>*{margin:0 0 16px}.thread-markdown>:last-child{margin-bottom:0}.thread-markdown h1,.thread-markdown h2,.thread-markdown h3,.thread-markdown h4,.thread-markdown h5,.thread-markdown h6{color:var(--foreground);font-weight:600}.thread-markdown h1{font-size:20px;line-height:28px}.thread-markdown h2{font-size:18px;line-height:26px}.thread-markdown h3{font-size:16px;line-height:24px}.thread-markdown h4,.thread-markdown h5,.thread-markdown h6{font-size:14px;line-height:22px}.thread-markdown p{white-space:pre-wrap}.thread-markdown ul,.thread-markdown ol{padding-left:24px}.thread-markdown li+li{margin-top:4px}.thread-markdown li>p+p{margin-top:8px}.thread-markdown blockquote{padding-left:12px;border-left:3px solid var(--border);color:var(--muted-foreground)}.thread-markdown blockquote>:first-child{margin-top:0}.thread-markdown blockquote>:last-child{margin-bottom:0}.thread-markdown a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}.thread-markdown :not(pre)>code{padding:2px 4px;border-radius:var(--radius-sm);background:var(--muted);font-family:var(--font-ui-mono),monospace;font-size:.93em}.thread-markdown img{max-width:100%;height:auto}.thread-markdown hr{border:0;border-top:1px solid var(--border)}.thread-code-block{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--muted)}.thread-code-header{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0 12px;color:var(--muted-foreground);font-size:12px;line-height:16px}.thread-code-header button{border:0;padding:4px;background:transparent;color:inherit;border-radius:var(--radius-sm)}.thread-code-header button:hover{color:var(--foreground)}.thread-code-scroll pre{margin:0;padding:12px 12px 16px;font-family:var(--font-ui-mono),monospace;font-size:13px;line-height:20px;white-space:pre}.thread-table-scroll{max-width:100%;padding-bottom:8px}.thread-table-scroll table{min-width:100%;border-collapse:collapse;text-align:left}.thread-table-scroll th,.thread-table-scroll td{min-width:120px;max-width:300px;padding:8px 12px;border:1px solid var(--border);vertical-align:top}.thread-table-scroll th{color:var(--foreground);font-weight:600}.thread-thinking-dots{display:inline-block;animation:thread-pulse 1.2s ease-in-out infinite}.thread-markdown.is-streaming>:is(p,h1,h2,h3,h4,h5,h6):last-child:after,.thread-markdown.is-streaming>blockquote:last-child>p:last-child:after,.thread-markdown.is-streaming>:is(ul,ol):last-child>li:last-child:not(:has(>p)):after,.thread-markdown.is-streaming>:is(ul,ol):last-child>li:last-child>p:last-child:after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-.1em;background:var(--brand);animation:thread-pulse 1s ease-in-out infinite}@keyframes thread-pulse{50%{opacity:.3}}.thread-meta{display:flex;gap:10px;margin-top:16px;color:var(--muted-foreground);font-size:12px;line-height:16px}.thread-meta span{border-left:1px solid var(--border);padding-left:10px}.thread-timeline{position:absolute;z-index:2;left:16px;top:50%;width:24px;max-height:min(520px,calc(100% - 32px));transform:translateY(-50%);overflow:hidden;transition:width .18s ease}.thread-timeline[hidden]{display:none}.thread-timeline--compact{width:var(--timeline-hit-width)}.thread-timeline:not(.thread-timeline--compact):hover,.thread-timeline:not(.thread-timeline--compact):has(:focus-visible){width:var(--timeline-width)}.thread-timeline-scroll{height:min(520px,calc(100dvh - 240px),var(--timeline-compact-length));transition:height .18s ease}.thread-timeline-scroll .overlay-scroll-viewport{overflow-x:hidden}.thread-timeline-scroll>.overlay-scroll-track{display:none}.thread-timeline:hover .thread-timeline-scroll,.thread-timeline:has(:focus-visible) .thread-timeline-scroll{height:min(520px,calc(100dvh - 240px),var(--timeline-length))}.thread-timeline-list{display:flex;flex-direction:column;gap:2px;transition:gap .18s ease}.thread-timeline:hover .thread-timeline-list,.thread-timeline:has(:focus-visible) .thread-timeline-list{gap:12px}.thread-timeline-item{display:flex;align-items:center;gap:10px;width:var(--timeline-width);height:8px;flex:none;padding:0;border:0;background:transparent;color:var(--muted-foreground);text-align:left;font-size:12px;line-height:16px;transition:height .18s ease}.thread-timeline--compact .thread-timeline-item{width:var(--timeline-hit-width)}.thread-timeline:hover .thread-timeline-item,.thread-timeline:has(:focus-visible) .thread-timeline-item{height:16px}.thread-timeline-mark{width:2px;height:100%;flex:none;background:var(--border)}.thread-timeline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition:opacity .12s ease}.thread-timeline:not(.thread-timeline--compact):hover .thread-timeline-text,.thread-timeline:not(.thread-timeline--compact):has(:focus-visible) .thread-timeline-text{opacity:1}.thread-timeline-preview{position:fixed;z-index:150;padding:12px;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline);pointer-events:none;font-size:12px}.thread-timeline-preview-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;line-height:16px}.thread-timeline-preview-reply{display:-webkit-box;overflow:hidden;margin-top:8px;color:var(--muted-foreground);line-height:18px;overflow-wrap:anywhere;white-space:pre-line;-webkit-box-orient:vertical;-webkit-line-clamp:4}.thread-timeline-item.is-current{color:var(--brand)}.thread-timeline-item.is-current .thread-timeline-mark{background:var(--brand)}@media(hover:hover){.thread-timeline-item:not(.is-current):hover{color:var(--foreground)}}@media(max-width:700px){.chat-conversation--thread .compose,.thread-messages{width:calc(100% - 32px)}.thread-scroll,.thread-edge--top{top:-44px}.thread-messages{padding-top:60px}.thread-scroll>.overlay-scroll-track{right:-8px}}@media(max-width:1100px){.chat-conversation{width:min(880px,calc(100% - 32px))}}@media(max-width:700px){.chat-conversation{padding-top:72px}.chat-hero h1{font-size:28px;line-height:36px}.chat-hero p{font-size:13px}.chat-suggestions{flex-direction:column}}.compose{position:relative;margin-top:24px;padding-bottom:34px}.compose-input{position:relative;z-index:1;min-height:128px;padding:11px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-3xl);box-shadow:var(--shadow-input)}.compose textarea{display:block;width:100%;height:76px;padding:0;border:0;resize:none;outline:none;color:var(--text-primary);background:transparent;line-height:22px}.compose textarea::placeholder{color:var(--muted-foreground)}.compose textarea:focus-visible{outline:none}.compose-actions,.compose-options,.compose-end{display:flex;align-items:center}.compose-actions{justify-content:space-between;gap:8px}.compose-options{gap:4px;min-width:0;overflow:auto}.compose-plus{width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:50%;background:transparent;color:inherit;flex:none;transition:background-color .16s ease}.attachment-icon{width:20px;height:20px}.compose-option{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:var(--radius-4xl);padding:4px 8px;font-size:12px;white-space:nowrap}.compose-option .icon{width:16px;height:16px}.compose-options{align-self:flex-end}@media(hover:hover){.compose-plus:hover{background:var(--accent)}}.compose-option.model-select{height:28px;flex:none;padding:0 12px 0 3px;gap:4px;color:inherit;background:transparent;line-height:16px}.compose-option.compose-option-control{height:28px;flex:none;padding:0 11px 0 5px;gap:4px;line-height:16px}.compose-option-control .mask-icon{background-color:currentColor}.compose-option.model-select .model-select-logo{display:block;flex:none;width:20px;height:20px;border-radius:50%;object-fit:cover}.model-select-logo--kimi{padding:5px;background:var(--platform-logo-kimi-bg)}.compose-options .compose-option{color:inherit;background:transparent;transition:background-color .16s ease}@media(hover:hover){.compose-options .compose-option:hover,.compose-options .compose-plus:hover{background:var(--accent)}}.compose-options .compose-option[aria-pressed=true],.compose-options .compose-plus[aria-pressed=true],.compose-options .compose-option:active,.compose-options .compose-plus:active{background:color-mix(in oklch,var(--foreground) 8%,var(--card))}.compose-end{flex:none;gap:8px;color:var(--muted-foreground);font-size:12px;white-space:nowrap}.compose-end button{border:0;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--icon-muted);font-size:22px}.compose-hints{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;position:absolute;z-index:0;left:0;right:0;bottom:0;height:62px;padding:36px 12px 0;color:var(--muted-foreground);font-size:10px;line-height:14px;border-radius:var(--radius-none) var(--radius-none) var(--radius-3xl) var(--radius-3xl);background:color-mix(in oklch,var(--surface-overlay) 4%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.compose-hint-warning{color:var(--brand)}.compose-hint-retry{margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.compose-end .compose-send{display:grid;place-items:center;padding:0;transition:background-color .16s ease,color .16s ease}.send-icon{display:block;width:20px;height:20px}.compose-end .compose-send:not(:disabled){background:var(--brand);color:var(--brand-foreground)}@media(hover:hover){.compose-end .compose-send:not(:disabled):hover{background:var(--brand-hover)}}.compose-end .compose-send:not(:disabled):active{background:var(--brand-active)}.add-menu{position:absolute;z-index:10;left:-1px;right:-1px;bottom:calc(100% + 8px);padding:4px;border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.add-menu-item{display:flex;align-items:center;width:100%;min-width:0;height:32px;gap:8px;padding:0 8px;border:0;border-radius:var(--radius-full);background:transparent;color:inherit;text-align:left;font-size:12px;line-height:16px}.add-menu-item img{flex:none;width:16px;height:16px}.add-menu-label{flex:none}.add-menu-detail,.add-menu-shortcut{color:var(--muted-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-menu-shortcut{margin-left:auto}@media(hover:hover){.add-menu-item:hover{background:var(--state-hover-overlay)}}.add-menu-item:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.video-attachment-tiles{display:flex;gap:4px;margin-bottom:4px}.video-attachment-tile{display:grid;grid-template-rows:50px 22px;flex:0 1 84px;min-width:0;height:80px;padding:3px;border:1px dashed var(--border);border-radius:var(--radius-2xl);background:var(--popover)}.video-attachment-local,.video-attachment-creation{min-width:0;border:0;border-radius:var(--radius-full);background:transparent;font-size:10px;line-height:14px;white-space:nowrap}.video-attachment-local{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0 0;color:var(--popover-foreground)}.video-attachment-local svg{width:16px;height:16px;color:var(--muted-foreground)}.video-attachment-creation{display:flex;align-items:center;justify-content:center;padding:0;color:var(--muted-foreground)}.video-attachment-creation svg{width:12px;height:12px;flex:none}.video-attachment-tile>button:focus-visible{outline-offset:-2px}@media(hover:hover){.video-attachment-tile:has(>.video-attachment-local:hover){border-color:var(--brand);background:var(--muted)}.video-attachment-creation:hover{background:var(--state-hover-overlay);color:var(--brand)}}@media(max-width:360px){.video-attachment-tiles{flex-wrap:wrap}}.compose-editor{height:64px;margin-bottom:12px}.compose-editor .overlay-scroll-track{right:-12px}.compose-editor .overlay-scroll-content{display:flex;flex-direction:column;min-height:100%}.compose-editor textarea{flex:0 0 auto;min-height:44px;overflow:hidden}.video-mention-editor{flex:0 0 auto;min-height:44px;outline:none;color:var(--text-primary);line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere}.video-mention-editor[data-empty=true]:before{content:attr(data-placeholder);color:var(--muted-foreground);pointer-events:none}.video-mention-token{display:inline-block;max-width:100%;margin-inline:4px;vertical-align:bottom;white-space:nowrap}.video-mention-chip{display:inline-flex;max-width:100%;align-items:center;gap:4px;height:22px;padding:1px 4px 1px 1px;border:0;border-radius:var(--radius-md);background:var(--muted);color:inherit;font-family:inherit;font-size:12px;line-height:16px;vertical-align:top;cursor:pointer}.video-mention-thumbnail{position:relative;display:block;flex:none;width:24px;height:24px;overflow:hidden;border-radius:var(--radius-md)}.video-mention-thumbnail>:is(img,.attachment-type-icon){display:block;width:100%;height:100%;object-fit:cover}.video-mention-chip .video-mention-thumbnail{width:20px;height:20px;border-radius:var(--radius-sm)}.video-mention-menu{position:fixed;z-index:140;padding:4px;border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-popover-soft),var(--shadow-hairline)}.video-mention-scroll>.overlay-scroll-viewport{height:auto;max-height:var(--video-mention-list-height);overflow-x:hidden}.video-mention-scroll>.overlay-scroll-track{display:none}.video-mention-option{display:flex;align-items:center;gap:4px;width:100%;height:32px;padding:4px;border:0;border-radius:var(--radius-lg);background:transparent;color:inherit;text-align:left;white-space:nowrap}.video-mention-option:is([aria-selected=true],:hover){background:var(--state-hover-overlay)}.video-mention-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.compose-tool{--composer-tool-color: var(--info-foreground, #247cf8);display:inline-flex;align-items:center;gap:4px;min-height:22px;margin-inline-end:4px;vertical-align:top;padding:0 8px 0 3px;border:0;border-radius:var(--radius-full);background:color-mix(in srgb,var(--composer-tool-color) 8%,transparent);color:var(--composer-tool-color);font-size:14px;font-weight:500;line-height:22px;white-space:nowrap;cursor:pointer}.dark .compose-tool{--composer-tool-color: var(--info-foreground, #75adff)}.compose-tool:hover{background:color-mix(in srgb,var(--composer-tool-color) 16%,transparent)}.compose-tool .mask-icon{--mask-ink: currentColor;flex:none;width:16px;height:16px}.attachment-limit-notice{position:fixed;z-index:230;top:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);min-height:44px;padding:10px 20px 10px 10px;border-radius:var(--radius-full);background:var(--popover);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.attachment-limit-notice img{width:24px;height:24px;flex:none}.attachment-limit-notice span{color:color-mix(in srgb,var(--popover-foreground) 80%,transparent);font-size:14px;line-height:20px}.channel-picker{position:fixed;z-index:150;display:flex;gap:8px;width:min(880px,calc(100vw - 48px));height:204px;padding:8px;border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.channel-picker-sidebar{flex:0 0 132px;min-width:0;padding:11px 12px;border:1px solid var(--border);border-radius:var(--radius-2xl)}.channel-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;color:var(--muted-foreground);font-size:12px;line-height:16px}.channel-settings{display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;background:transparent;color:var(--popover-foreground)}.channel-settings span{display:block;width:16px;height:16px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat}.channel-strategies{display:flex;flex-direction:column;gap:24px;margin-top:12px}.channel-strategies button{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:0;border:0;background:transparent;color:var(--popover-foreground);font-size:14px;line-height:16px;white-space:nowrap}.channel-strategies button.is-selected{color:var(--brand)}.channel-strategies img{width:12px;height:12px;flex:none}.channel-picker-list{flex:1;min-width:0}.channel-picker-list .overlay-scroll-track{right:-8px}.channel-rows{display:flex;flex-direction:column;gap:4px}.channel-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:56px;padding:8px;border:0;border-radius:var(--radius-xl);background:transparent;color:var(--popover-foreground);text-align:left}@media(hover:hover){.channel-row:not(.is-selected):hover{background:var(--state-hover-overlay)}}.channel-row.is-selected{background:color-mix(in srgb,var(--brand) 8%,transparent)}.channel-row-title{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:500;line-height:20px}.channel-row.is-selected .channel-row-title{color:var(--brand)}.channel-row-current{padding:2px 6px;border-radius:var(--radius-4xl);background:color-mix(in srgb,var(--brand) 8%,transparent);font-size:12px;line-height:16px}.channel-row-metrics{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:2px;color:var(--muted-foreground);font-size:12px;line-height:16px}.channel-row-metrics>span{white-space:nowrap}.channel-row:focus-visible,.channel-strategies button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:560px){.channel-picker{gap:4px}.channel-picker-sidebar{flex-basis:118px;padding:10px}.channel-row-metrics{column-gap:12px}}.compose-media-basic{height:28px;gap:0;padding:0 11px;font-size:12px;line-height:16px}.compose-media-basic span+span{display:inline-flex;align-items:center;gap:6px;margin-left:6px}.compose-media-basic span+span:before{content:"";width:1px;height:8px;flex:none;background:var(--border)}.compose-media-advanced{display:grid;place-items:center;width:28px;height:28px;padding:0;flex:none}.compose-media-advanced>.mask-icon{display:block;width:16px;height:16px}@media(max-width:700px){.compose-actions--video{align-items:flex-end}.compose-actions--video .compose-options{flex-wrap:wrap;overflow:visible}}.chat-conversation:not(.chat-conversation--thread){translate:0 calc(-1 * var(--composer-shift, 0px))}.attachment-scroll{max-height:100px;margin:-4px 0 8px}.attachment-scroll .overlay-scroll-viewport{height:auto;max-height:100px}.attachment-scroll .overlay-scroll-content{padding:4px 0}.attachment-scroll>.overlay-scroll-track{display:none}.attachment-list{display:flex;flex-wrap:wrap;gap:4px}.attachment-item{position:relative;flex:0 1 auto;max-width:min(160px,100%);min-width:0}.attachment-card{display:flex;align-items:center;width:max-content;max-width:100%;height:28px;padding:2px 8px 2px 2px;gap:4px;border-radius:var(--radius-lg);background:var(--muted)}.attachment-thumbnail,.attachment-document{width:24px;height:24px;flex:none;border-radius:var(--radius-md);object-fit:cover}.attachment-document{display:grid;place-items:center;background:var(--secondary);color:var(--muted-foreground)}.attachment-document svg{width:16px;height:16px}.attachment-name{overflow:hidden;color:color-mix(in srgb,var(--foreground) 60%,transparent);font-size:12px;line-height:16px;white-space:nowrap;text-overflow:ellipsis}.attachment-item.is-error .attachment-name{color:var(--destructive)}.attachment-error{flex:none;color:var(--destructive);font-size:12px;line-height:16px;white-space:nowrap}.attachment-remove{position:absolute;top:-4px;right:-4px;z-index:2;display:grid;place-items:center;width:12px;height:12px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--foreground) 40%,transparent);color:var(--background);opacity:0;transition:opacity .12s ease;cursor:pointer}.attachment-remove svg{width:10px;height:10px}.attachment-item:hover .attachment-remove,.attachment-item:focus-within .attachment-remove{opacity:1}@media(hover:none){.attachment-remove{opacity:1}}.attachment-preview{position:fixed;z-index:160;width:160px;height:160px;padding:4px;border-radius:var(--radius-xl);background:var(--popover);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.attachment-preview-button{position:relative;display:block;width:100%;height:100%;padding:0;border:0;border-radius:var(--radius-lg);overflow:hidden;background:transparent;cursor:zoom-in}.attachment-preview-button:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid var(--border-on-dark);border-radius:inherit;pointer-events:none}.attachment-preview-media{display:block;width:100%;height:100%;object-fit:cover}.attachment-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:48px;background:var(--scrim-strong)}.attachment-lightbox-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.attachment-lightbox>img,.attachment-lightbox>video{max-width:100%;max-height:100%;object-fit:contain}.attachment-lightbox-close{position:absolute;top:20px;right:20px;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:var(--control-on-scrim);color:var(--on-scrim);cursor:pointer}.attachment-document{overflow:hidden;background:transparent}.attachment-media-frame{display:block;width:24px;height:24px;flex:none;overflow:hidden;border-radius:var(--radius-md)}.attachment-media-frame .attachment-thumbnail{display:block;border-radius:var(--radius-none)}.attachment-document>img,.attachment-document>.attachment-type-icon{display:block;width:100%;height:100%}.attachment-type-icon{position:relative;display:block;overflow:hidden;flex:none}.attachment-design-icon{display:block;width:36px;height:36px;flex:none}.attachment-loading{width:24px;height:24px;flex:none;display:grid;place-items:center;border:1px solid var(--input);border-radius:var(--radius-md);background:var(--card)}.attachment-spinner{display:block;width:10px;height:10px;background:var(--foreground);mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;animation:attachment-spin 1s linear infinite}@keyframes attachment-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.attachment-spinner{animation:none}}.composer-resize{position:absolute;z-index:5;top:0;right:0;width:25px;height:25px;padding:0;border:0;border-radius:var(--radius-none) var(--radius-3xl) var(--radius-none) var(--radius-none);background:transparent;cursor:ns-resize;touch-action:none}.composer-resize>span{position:absolute;top:3px;right:3px;width:17px;height:17px;background:color-mix(in srgb,var(--foreground) 16%,transparent);mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;transition:background-color .12s ease}@media(hover:hover){.composer-resize:hover>span{background:color-mix(in srgb,var(--foreground) 40%,transparent)}}.composer-resize:focus-visible>span{background:color-mix(in srgb,var(--foreground) 40%,transparent)}.channel-picker.channel-dialog{--channel-title-height: 55px;position:relative;z-index:auto;display:block;width:768px;max-width:100%;height:640px;max-height:calc(100dvh - 48px);padding:0;overflow:hidden;border:1px solid var(--dialog-border);border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog);animation:model-dialog-enter .18s ease-out}.channel-picker.channel-dialog.is-scrolled{--channel-title-height: 15px}.channel-dialog-scroll{width:100%;height:100%}.channel-dialog-scroll>.overlay-scroll-track{z-index:5}.channel-dialog-scroll>.overlay-scroll-viewport{overflow-anchor:none}.channel-dialog-scroll .overlay-scroll-content{padding-bottom:16px}.channel-dialog-header{position:absolute;z-index:3;inset:0 0 auto;background:var(--popover)}.channel-dialog-title{position:relative;height:var(--channel-title-height);transition:height .16s ease-out}.channel-dialog-title h2{position:absolute;top:15px;left:16px;margin:0;opacity:1;transition:opacity .1s ease-out;font-size:18px;font-weight:500;line-height:28px;letter-spacing:-.27px}.channel-dialog.is-scrolled .channel-dialog-title h2{opacity:0}.channel-dialog-header-space{height:calc(var(--channel-title-height) + 50px);transition:height .16s ease-out}.channel-dialog-close{position:absolute;z-index:4;top:7px;right:7px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}.channel-dialog-close svg{width:16px;height:16px}@media(hover:hover){.channel-dialog-close:hover,.channel-manager-close:hover{background:var(--state-hover-overlay)}}.channel-dialog-toolbar{display:flex;align-items:center;gap:8px;padding:0 15px 18px 16px;background:var(--popover)}.channel-dialog.is-scrolled .channel-dialog-toolbar{padding-right:56px}.channel-dialog-strategies{display:flex;flex:1;min-width:0;gap:8px;overflow-x:auto;scrollbar-width:none}.channel-dialog-strategies::-webkit-scrollbar{display:none}.channel-dialog-manage{display:inline-flex;flex:none;align-items:center;gap:4px;padding:6px 0;border:0;border-radius:var(--radius-md);background:transparent;color:var(--popover-foreground);font-size:14px;line-height:20px;cursor:pointer}.channel-dialog-manage i{display:block;flex:none;width:16px;height:16px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.channel-dialog-strategies button{display:inline-flex;flex:none;align-items:center;gap:8px;height:32px;padding:0 15px 0 9px;border:1px solid transparent;border-radius:var(--radius-full);background:color-mix(in srgb,var(--surface-overlay) 4%,transparent);color:var(--popover-foreground);font-size:14px;line-height:20px}.channel-dialog-strategies button.is-selected{border-color:var(--brand);background:transparent;color:var(--brand)}.channel-dialog-radio{display:inline-block;flex:none;width:12px;height:12px;border:2px solid color-mix(in srgb,var(--popover-foreground) 25%,transparent);border-radius:50%}.channel-dialog-strategies button.is-selected .channel-dialog-radio,.channel-dialog-card.is-selected .channel-dialog-radio{border:4px solid var(--brand)}.channel-dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px}.channel-dialog-column{display:flex;min-width:0;flex-direction:column;gap:12px}.channel-dialog-card{display:flex;flex-direction:column;width:100%;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);text-align:left}.channel-dialog-card.is-selected{border-color:var(--brand)}@media(hover:hover){.channel-dialog-card:hover:not(.is-selected){background:var(--state-hover-overlay)}}.channel-dialog-card-body{display:flex;flex-direction:column;gap:12px;padding:12px 15px}.channel-dialog-card-heading{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;font-weight:500;line-height:20px}.channel-dialog-card-heading>span:first-child{overflow-wrap:anywhere}.channel-dialog-card-heading .channel-dialog-radio{margin-left:auto}.channel-dialog-discount{flex:none;padding:2px 6px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--brand) 8%,transparent);color:var(--brand);font-size:12px;line-height:16px}.channel-dialog-price-section{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:16px}.channel-dialog-price-heading{margin-bottom:4px}.channel-dialog-price-row{display:flex;justify-content:space-between;gap:12px}.channel-dialog-price-row>span:first-child{color:var(--muted-foreground)}.channel-dialog-price-row>span:last-child{text-align:right}.channel-dialog-media-prices{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:16px}.channel-dialog-media-detail{display:flex;flex-direction:column;gap:4px}.channel-dialog-media-note{color:var(--muted-foreground)}.channel-dialog-metrics{display:flex;flex-wrap:wrap;align-items:center;column-gap:24px;row-gap:4px;min-height:32px;padding:6px 15px;border-top:1px solid var(--border);font-size:12px;line-height:18px}.channel-dialog-metrics>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.channel-dialog-metrics svg{width:14px;height:14px}.channel-dialog-card--media .channel-dialog-metrics svg{width:16px;height:16px}.channel-dialog-metrics .is-low{color:var(--muted-foreground)}.channel-dialog-metrics .is-medium{color:var(--feedback-warning)}.channel-dialog-metrics .is-high{color:var(--feedback-success)}.channel-dialog-metrics .is-latency{color:var(--badge-blue)}.channel-dialog-metrics .is-throughput{color:var(--badge-purple)}.channel-dialog-card:focus-visible,.channel-dialog-strategies button:focus-visible,.channel-dialog-close:focus-visible,.channel-dialog-manage:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}@media(max-width:700px){.channel-picker.channel-dialog{--channel-title-height: calc(55px + env(safe-area-inset-top, 0px)) ;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:var(--radius-none)}.channel-picker.channel-dialog.is-scrolled{--channel-title-height: calc(15px + env(safe-area-inset-top, 0px)) }.channel-dialog-title h2{top:calc(15px + env(safe-area-inset-top,0px))}.channel-dialog-close{top:calc(7px + env(safe-area-inset-top,0px))}.channel-dialog-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.channel-dialog-backdrop,.channel-picker.channel-dialog{animation:none}.channel-dialog-title,.channel-dialog-title h2,.channel-dialog-header-space{transition:none}}.channel-picker.channel-manager{display:flex;flex-direction:column;height:720px}.channel-manager-header{position:relative;flex:none;height:55px;padding:15px 16px 12px}.channel-manager-header h2{margin:0;font-size:18px;line-height:28px;letter-spacing:-.27px;font-weight:500}.channel-manager-close{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}.channel-manager-close svg{width:16px;height:16px}.channel-manager-scroll{flex:1;min-height:0;width:100%}.channel-manager-scroll .overlay-scroll-content{padding-bottom:16px}.channel-manager-footer{display:flex;align-items:center;gap:12px;flex:none;min-height:60px;padding:15px;border-top:1px solid var(--border);font-size:12px;line-height:16px}.channel-manager-footer>div{display:flex;gap:12px;margin-left:auto}.channel-manager-footer button{width:80px;height:28px;border:1px solid var(--border);border-radius:var(--radius-full);font-size:14px;line-height:20px}.channel-manager-cancel{background:var(--secondary);color:var(--secondary-foreground)}.channel-manager-footer .channel-manager-save{border:0;background:var(--primary);color:var(--primary-foreground)}.channel-manager-error{color:var(--feedback-attention)}.channel-manager-check{display:grid;flex:none;place-items:center;width:18px;height:18px;margin-left:auto;border:2px solid color-mix(in srgb,var(--foreground) 40%,transparent);border-radius:5px}.channel-manager-check.is-checked{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground)}.channel-manager-check svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media(hover:hover){.channel-manager-cancel:hover,.channel-manager-save:hover{filter:brightness(.94)}}@media(max-width:700px){.channel-picker.channel-manager{height:100dvh}.channel-manager-header{height:calc(55px + env(safe-area-inset-top,0px));padding-top:calc(15px + env(safe-area-inset-top,0px))}.channel-manager-close{top:calc(7px + env(safe-area-inset-top,0px))}}@media(max-width:700px){.compose-end>span{display:none}}@media(max-width:768px){.compose-hints>span:first-child{display:none}}@media(max-width:768px){.compose-hints{justify-content:center}}.model-wrapper{position:relative;margin-top:40px}.model-list{display:flex;align-items:center;justify-content:flex-start;gap:0;padding:4px 3px;height:48px;border:1px solid var(--border);border-radius:var(--radius-full);background:var(--card);overflow:hidden}.model-measure{position:absolute;visibility:hidden;pointer-events:none;display:flex;width:max-content;top:0;left:0}.model-menu{position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:max-content;min-width:104px;max-height:min(60vh,400px);overflow-y:auto;padding:4px;border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.model-menu-item{display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:4px;color:inherit;border:0;border-radius:var(--radius-full);background:transparent;text-align:left;white-space:nowrap;font-size:12px;line-height:16px;transition:background-color .16s ease}.model-menu-item:hover,.model-menu-item.selected{background:var(--state-hover-overlay)}.model-menu-item .icon{width:24px;height:24px}.model-platform.model-more{gap:6px}.model-list>.model-platform.model-more{margin-left:auto}.model-platform{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 8px;border:0;border-radius:var(--radius-full);background:transparent;color:var(--text-primary);transition:background .16s ease,color .16s ease,box-shadow .16s ease;white-space:nowrap}.model-platform:hover{background:var(--accent);color:var(--model-hover-foreground)}.model--selected{color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.model--selected:hover{background:var(--brand-soft-hover)}.model-platform .icon{width:24px;height:24px;border-radius:50%;object-fit:cover}.model-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--scrim-dialog);animation:model-dialog-fade .16s ease-out}.model-dialog{display:flex;flex-direction:column;width:768px;max-width:100%;height:520px;max-height:calc(100dvh - 48px);overflow:hidden;border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog);animation:model-dialog-enter .18s ease-out}.model-dialog{border:1px solid var(--dialog-border)}.model-dialog-search{flex:none;display:flex;align-items:center;gap:8px;height:56px;padding:0 16px;border-bottom:1px solid var(--border)}.model-dialog-search svg{width:24px;height:24px;flex:none}.model-dialog-search input{width:100%;min-width:0;padding:0;border:0;outline:none;background:transparent;color:var(--popover-foreground);font-size:16px;line-height:24px}.model-dialog-search input::placeholder{color:var(--muted-foreground);opacity:1}.model-dialog-close{display:none;flex:none;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}.model-dialog-search .model-dialog-close svg{width:20px;height:20px}.model-dialog-filters{flex:none}.model-dialog-categories{display:flex;align-items:center;padding:16px 16px 0;overflow-x:auto;scrollbar-width:none}.model-dialog-categories::-webkit-scrollbar,.model-dialog-providers::-webkit-scrollbar{display:none}.model-dialog-categories button{flex:none;padding:6px 12px;border:0;border-radius:var(--radius-4xl);background:transparent;color:inherit;font-size:14px;line-height:16px}.model-dialog-categories button.active{color:var(--brand);background:color-mix(in oklch,var(--brand) 8%,transparent)}.model-dialog-providers{display:flex;align-items:stretch;gap:24px;height:40px;padding:0 16px;overflow-x:auto;scrollbar-width:none;background:linear-gradient(to bottom,transparent calc(100% - 1.5px),var(--border) calc(100% - 1.5px),var(--border) calc(100% - .5px),transparent calc(100% - .5px))}.model-dialog-providers button{flex:none;position:relative;display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:inherit;font-size:13px;line-height:20px}.model-dialog-providers button.active{color:var(--brand)}.model-dialog-provider-name{position:relative;display:inline-flex;align-items:center;height:100%}.model-dialog-providers button.active .model-dialog-provider-name:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--brand)}.model-dialog-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;border-radius:var(--radius-full);background:var(--muted);color:var(--muted-foreground);font-size:10px;line-height:14px}.model-dialog-results{flex:1;min-height:0}.model-dialog-results .overlay-scroll-content{padding:16px}.model-dialog-group+.model-dialog-group{margin-top:20px}.model-dialog-group-heading{display:flex;align-items:center;gap:4px;margin-bottom:8px;font-size:13px;line-height:20px}.model-dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.model-dialog-card{position:relative;min-width:0;height:64px;border:1px solid var(--border);border-radius:var(--radius-xl);transition:border-color .16s ease,background-color .16s ease}.model-dialog-card.is-current{border-color:var(--brand)}@media(hover:hover){.model-dialog-card:hover{background:var(--state-hover-overlay)}}.model-dialog-card-select{display:flex;align-items:flex-start;gap:12px;width:100%;height:100%;padding:11px 40px 11px 11px;border:0;border-radius:inherit;background:transparent;color:inherit;text-align:left}.model-dialog-card-select>.icon{width:24px;height:24px;flex:none}.model-dialog-card-text{display:flex;flex-direction:column;min-width:0;gap:4px}.model-dialog-card-title{display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px}.model-dialog-card-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:12px;line-height:16px}.model-dialog-current{flex:none;padding:2px 6px;border-radius:var(--radius-4xl);background:color-mix(in oklch,var(--brand) 8%,transparent);color:var(--brand);font-size:12px;line-height:16px}.model-dialog-favorite{position:absolute;top:11px;right:11px;display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;background:transparent;color:var(--muted-foreground);transition:opacity .16s ease}.model-dialog-favorite svg{width:16px;height:16px}.model-dialog-favorite.is-favorite{color:var(--brand)}@media(hover:hover){.model-dialog-favorite:not(.is-favorite){opacity:0}.model-dialog-card:hover .model-dialog-favorite,.model-dialog-card:focus-within .model-dialog-favorite{opacity:1}}.model-dialog-empty{padding:32px 0;color:var(--muted-foreground);text-align:center;font-size:14px}@media(max-width:700px){html:has(.model-dialog-backdrop){overflow:hidden}.model-dialog-backdrop{padding:0}.model-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:var(--radius-none)}.model-dialog-search{height:calc(56px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}.model-dialog-close{display:inline-flex}.model-dialog-results .overlay-scroll-content{padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}}@media(max-width:560px){.model-dialog-grid{grid-template-columns:1fr}.model-dialog-categories{padding-top:12px}}.app-workspace:has(.model-square) .dot-field{opacity:0}.app-row:has(.model-square){height:calc(100dvh - 48px);flex:none}.app-main:has(.model-square){display:flex;min-height:0;margin-left:16px}.model-square{display:flex;flex-direction:column;width:100%;max-width:1636px;height:100%;min-width:0;min-height:0;margin-inline:auto;padding-top:28px;color:var(--foreground)}.model-square-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.model-square-types{display:grid;grid-template-columns:repeat(3,1fr);width:248px;height:32px;padding:4px;border-radius:var(--radius-full);background:color-mix(in srgb,var(--foreground) 4%,transparent)}.model-square-types button{min-width:0;height:24px;padding:0 12px;border:0;border-radius:var(--radius-full);background:transparent;color:var(--foreground);font-size:14px;line-height:16px;white-space:nowrap}.model-square-types button.active{background:var(--popover);color:var(--brand);box-shadow:inset 0 0 0 1px var(--border)}.model-square-categories{display:flex;align-items:center;gap:8px;min-width:0;margin-top:12px;overflow-x:auto;scrollbar-width:none}.model-square-categories::-webkit-scrollbar,.model-square-providers::-webkit-scrollbar{display:none}.model-square-categories button{flex:none;height:28px;padding:0 12px;border:0;border-radius:var(--radius-full);background:color-mix(in srgb,var(--foreground) 4%,transparent);color:var(--foreground);font-size:14px;line-height:16px}.model-square-categories button.active{background:color-mix(in srgb,var(--brand) 8%,transparent);color:var(--brand)}.model-square-search{display:flex;align-items:center;flex:none;width:200px;height:32px;padding:0 8px;gap:8px;border:1px solid var(--border);border-radius:var(--radius-full);background:var(--popover);color:var(--popover-foreground)}.model-square-search svg{width:16px;height:16px;flex:none}.model-square-search input{min-width:0;width:100%;padding:0;border:0;outline:0;color:inherit;background:transparent;font:inherit;font-size:12px}.model-square-providers{display:flex;flex:none;gap:24px;height:28px;margin-top:16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;background:linear-gradient(to bottom,transparent calc(100% - 1.5px),var(--border) calc(100% - 1.5px),var(--border) calc(100% - .5px),transparent calc(100% - .5px))}.model-square-providers button{position:relative;display:flex;flex:none;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--foreground);font-size:13px;line-height:20px}.model-square-providers button.active{color:var(--brand)}.model-square-providers button.active>span:after{content:"";position:absolute;left:0;bottom:0;width:var(--name-width);height:2px;background:var(--brand)}.model-square-providers button.active>span{position:relative;display:flex;align-items:center;height:100%}.model-square-providers button.active>span:after{width:100%}.model-square-providers small{display:grid;place-items:center;width:16px;height:16px;flex:none;border-radius:var(--radius-full);background:color-mix(in srgb,var(--foreground) 4%,transparent);color:var(--muted-foreground);font-size:10px;font-weight:400;line-height:14px}.model-square-group h2 small{color:var(--muted-foreground);font-size:12px;font-weight:400}.model-square-results{flex:1;min-height:0}.model-square-results>.overlay-scroll-track{right:calc(-1 * var(--model-scroll-outset, 0px))}.model-square-group{padding-top:20px}.model-square-group h2{margin:0 0 12px;font-size:14px;font-weight:500;line-height:20px}.model-square-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:12px}.model-square-card{position:relative;min-width:0;min-height:252px;display:flex;flex-direction:column;padding:16px;border:1px solid var(--border);border-radius:var(--radius-3xl);background:var(--card);color:var(--card-foreground)}.model-square-detail-trigger{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer}.model-square-heading-action,.model-square-route-anchor{position:relative;z-index:1}.model-square-heading-action{pointer-events:none}.model-square-heading-action button{pointer-events:auto}.model-detail-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--scrim-dialog)}.model-detail{display:flex;flex-direction:column;width:680px;max-width:100%;max-height:min(640px,calc(100dvh - 48px));overflow:hidden;border:1px solid var(--dialog-border);border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog)}.model-detail-header{position:relative;flex:none;padding:16px 16px 12px}.model-detail-close{position:absolute;top:16px;right:16px;width:24px;height:24px;padding:0;border:0;border-radius:var(--radius-md);background:transparent;color:inherit;font-size:24px;line-height:24px}.model-detail-identity{display:flex;align-items:flex-start;gap:12px;padding-right:32px}.model-detail-title{min-width:0}.model-detail-title>strong{display:block;font-size:28px;line-height:36px;overflow-wrap:anywhere}.model-detail-title>div{display:flex;align-items:center;gap:12px;font-size:12px;line-height:16px}.model-detail-title .model-square-type{position:static}.model-detail-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:16px;max-height:52px;overflow-y:auto}.model-detail-tags span{padding:4px 8px;border-radius:var(--radius-xl);background:var(--muted);color:var(--muted-foreground);font-size:12px;line-height:16px}.model-detail-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere;margin:12px 0 0;font-size:14px;line-height:22px}.model-detail-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:32px;margin-top:12px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-2xl);background:var(--muted);font-size:12px}.model-detail-summary span:last-child{font-size:11px;white-space:nowrap}.model-detail-scroll{flex:1 1 auto;min-height:0}.model-detail-scroll .overlay-scroll-content{display:flex;flex-direction:column;gap:8px;padding:0 16px 16px}.model-detail-channel{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:100px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--muted)}.model-detail-channel-info{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;font-size:11px}.model-detail-channel-info strong{font-size:16px;line-height:24px;overflow-wrap:anywhere}.model-detail-channel-prices{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}.model-detail-channel-price{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;text-align:right;font-size:11px}.model-detail-channel-prices span{color:var(--muted-foreground)}.model-detail-amount{display:inline-flex;align-items:center}.model-detail-amount img{width:16px;height:16px}.model-detail-amount strong{color:var(--foreground);font-family:"DIN Alternate",var(--font-sans),sans-serif;font-size:16px;font-weight:700;line-height:20px;overflow-wrap:anywhere}.model-detail-empty{margin:0;padding:24px 0;text-align:center;color:var(--muted-foreground)}@media(max-width:700px){.model-detail-backdrop{padding:16px}.model-detail{max-height:min(640px,calc(100dvh - 32px))}.model-detail-channel{flex-wrap:wrap}.model-detail-channel-prices{margin-left:auto}}@media(hover:hover){.model-square-card:hover{box-shadow:var(--shadow-soft)}}.model-square-card-heading{display:flex;align-items:center;min-width:0;gap:12px}.model-square-logo{display:grid;place-items:center;width:40px;height:40px;flex:none}.model-square-logo .platform-logo,.model-square-logo img{width:40px;height:40px}.model-square-title{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.model-square-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:20px;font-weight:600}.model-square-title span{color:var(--muted-foreground);font-size:12px;line-height:16px}.model-square-heading-action{position:relative;flex:none;width:80px;height:40px}.model-square-type{position:absolute;top:0;right:0;display:inline-flex;align-items:center;gap:4px;color:var(--foreground);font-size:12px;line-height:16px;white-space:nowrap}.model-square-type svg{width:16px;height:16px;flex:none}.model-square-type--image{color:var(--badge-green)}.model-square-type--video{color:var(--badge-purple)}.model-square-start{position:absolute;top:0;right:0;flex:none;padding:6px 12px;border:0;border-radius:var(--radius-lg);background:var(--brand);color:var(--brand-foreground);font-size:14px;line-height:20px;opacity:0;transition:opacity .12s ease}.model-square-card:hover .model-square-start,.model-square-card:focus-within .model-square-start{opacity:1}.model-square-card:hover .model-square-type,.model-square-card:focus-within .model-square-type{visibility:hidden}.model-square-tags-wrap{position:relative;min-width:0;margin-top:12px}.model-square-tags{display:flex;flex-wrap:nowrap;overflow:hidden;gap:4px}.model-square-tags-measure{position:absolute;width:max-content;visibility:hidden;pointer-events:none}.model-square-tags span{flex:none;padding:4px 8px;border-radius:var(--radius-xl);background:var(--muted);color:var(--text-secondary);font-size:12px;line-height:16px}.model-square-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;min-height:44px;margin:16px 0 12px;font-size:14px;line-height:22px}.model-square-route-anchor{margin-top:auto}.model-square-route{display:flex;flex-direction:column;gap:12px;width:100%;min-height:72px;padding:12px;border:0;border-radius:var(--radius-xl);background:var(--muted);color:var(--foreground);text-align:left;font-size:12px}.model-square-billing-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;line-height:16px}.model-square-health,.model-square-billing-prices{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;line-height:16px}.model-square-health i{display:grid;place-items:center;width:12px;height:12px;flex:none;margin-right:4px;border-radius:50%;color:var(--feedback-success);background:color-mix(in srgb,currentColor 20%,transparent)}.model-square-health i:after{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.model-square-health i.is-medium{color:var(--feedback-warning)}.model-square-health i.is-low{color:var(--muted-foreground)}.model-square-health i.is-info{color:var(--feedback-info)}.model-square-lines{white-space:pre}.model-square-lines,.model-square-price-label,.model-square-price-unit{color:var(--text-secondary)}.model-square-billing-prices{gap:3px;flex-wrap:wrap;white-space:normal}.model-square-billing-prices img{width:16px;height:16px}.model-square-billing-prices strong{font-size:16px;line-height:20px}.model-square-token-unit{margin-left:5px}.model-square-lowest,.model-square-price-unit em{color:var(--brand-strong);font-style:normal}.model-square-price-label:not(:first-child){margin-left:6px}.model-square-route svg{width:16px;height:16px;flex:none}.model-square-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.model-square-prices>div{display:flex;min-width:0;flex-direction:column;gap:4px}.model-square-prices span{color:var(--muted-foreground);font-size:12px;line-height:16px}.model-square-prices strong{font-size:16px;line-height:24px}.model-square-empty{padding:40px 12px;color:var(--muted-foreground);text-align:center}.model-platform-skeleton{width:88px;background:var(--muted);animation:model-skeleton-pulse 1.4s ease-in-out infinite}.model-dialog-card-skeleton,.model-square-card-skeleton{border-color:transparent;background:var(--muted);animation:model-skeleton-pulse 1.4s ease-in-out infinite}@keyframes model-skeleton-pulse{50%{opacity:.5}}@media(hover:none){.model-square-start{opacity:1}.model-square-heading-action .model-square-type{visibility:hidden}}@media(max-width:700px){.app-row:has(.model-square){height:calc(100dvh - 44px)}.model-square{padding-top:32px}.model-square-header{align-items:stretch;flex-direction:column;gap:8px}.model-square-search{width:100%}.model-square-providers{gap:20px}.model-square-start{opacity:1}.model-square-heading-action .model-square-type{visibility:hidden}}@media(prefers-reduced-motion:reduce){.model-square-start{transition:none}.model-platform-skeleton,.model-dialog-card-skeleton,.model-square-card-skeleton{animation:none}}@media(max-width:1100px){.model-list{justify-content:flex-start}}.model-more-icon{background-color:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.creation-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--scrim-dialog);animation:model-dialog-fade .16s ease-out}.creation-dialog{display:flex;flex-direction:column;width:768px;max-width:100%;height:520px;max-height:calc(100dvh - 48px);overflow:hidden;border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog);animation:model-dialog-enter .18s ease-out}.creation-dialog{border:1px solid var(--dialog-border)}.creation-header{display:flex;align-items:center;gap:12px;flex:none;padding:16px}.creation-tabs{display:flex;align-items:center;gap:4px;flex:none}.creation-tabs button{height:32px;padding:0 12px;border:0;border-radius:var(--radius-full);background:transparent;color:var(--muted-foreground);white-space:nowrap;font-size:14px}.creation-tabs button.active{background:color-mix(in srgb,var(--brand) 8%,transparent);color:var(--brand)}.creation-search{display:flex;align-items:center;gap:8px;min-width:0;width:160px;margin-left:auto;height:32px;padding:0 8px;border:1px solid var(--border);border-radius:var(--radius-full)}.creation-search svg{width:16px;height:16px;flex:none;color:var(--muted-foreground)}.creation-search input{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:var(--foreground);font-size:12px}.creation-search input::placeholder{color:var(--muted-foreground)}.creation-close{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted-foreground)}.creation-close svg{width:18px;height:18px}.creation-results{flex:1;min-height:0}.creation-results .overlay-scroll-content{padding:0 16px 16px}.creation-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.creation-item{position:relative;overflow:hidden;aspect-ratio:1;padding:0;border:0;border-radius:var(--radius-xl);background:var(--muted)}.creation-item>img,.creation-item>video{display:block;width:100%;height:100%;object-fit:cover}.creation-item-audio{display:grid;height:100%;place-items:center;background:var(--muted)}.creation-item-audio .attachment-type-icon{position:relative;width:36px;height:36px;border-radius:var(--radius-lg)}.creation-item>span{position:absolute;right:4px;bottom:4px;padding:2px 5px;border-radius:var(--radius-md);background:var(--scrim-item);color:var(--on-scrim);font-size:10px}.creation-item:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.creation-empty{padding:48px 0;text-align:center;font-size:14px;color:var(--muted-foreground)}.creation-results .overlay-scroll-content:has(.creation-empty--illustrated){display:flex;align-items:center;justify-content:center;min-height:100%}.creation-empty--illustrated{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 0;font-size:12px;line-height:16px}.creation-empty--illustrated img{display:block;width:160px;height:120px}.creation-empty-dark,.dark .creation-empty-light{display:none}.dark .creation-empty-dark{display:block}@media(max-width:700px){.creation-backdrop{padding:16px}.creation-dialog{max-height:calc(100dvh - 32px)}.creation-header{flex-wrap:wrap}.creation-search{order:3;flex-basis:100%}.creation-close{margin-left:auto}.creation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.creation-backdrop,.creation-dialog{animation:none}}.creation-dialog-title{flex:1;font-size:14px;font-weight:600}.creation-footer{display:flex;align-items:center;justify-content:space-between;flex:none;padding:12px 16px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px}.creation-footer button{padding:7px 16px;border:0;border-radius:var(--radius-2xl);background:var(--brand);color:var(--brand-foreground);font-size:12px}.creation-footer button:disabled{background:var(--muted);color:var(--muted-foreground)}.creation-item.is-selected{outline:2px solid var(--brand);outline-offset:-2px}.creation-item i{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--brand);color:var(--brand-foreground);font-size:13px;font-style:normal}.creation-item:disabled{opacity:.4;cursor:not-allowed}.settings-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;display:flex;background:var(--workspace-background);color:var(--popover-foreground)}.settings-preview-sidebar{width:280px;flex:none;padding:16px;background:var(--workspace-background);overflow-y:auto;display:flex;flex-direction:column}.settings-preview-footer{display:flex;align-items:center;gap:20px;margin-top:auto;padding-top:15px;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px;line-height:16px;white-space:nowrap}.settings-preview-footer>span{margin-right:auto}.settings-preview-footer button{padding:0;border:0;background:transparent;color:inherit;font:inherit}.settings-preview-footer button:hover{color:var(--foreground)}.settings-preview-footer button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-legal-page{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}.settings-legal-standalone{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;background:var(--popover);color:var(--popover-foreground)}.settings-legal-over-dialog{z-index:700}.settings-legal-top{flex:none;padding-top:23px}.settings-legal-heading{margin-top:24px;border-bottom:1px solid var(--border)}.settings-legal-content{padding-bottom:64px}.settings-legal-heading h1{margin:0;font-size:24px;line-height:32px;font-weight:500}.settings-legal-date{margin:8px 0 28px;color:var(--muted-foreground);font-size:12px;line-height:16px}.settings-legal-body{padding-top:19px;font-size:16px;line-height:24px}.settings-legal-body p{margin:0 0 16px}.settings-legal-body h2{margin:32px 0 16px;font-size:20px;font-weight:600;line-height:28px}.settings-legal-body h3{margin:24px 0 12px;font-size:16px;font-weight:600;line-height:24px}.settings-legal-body ul,.settings-legal-body ol{margin:0 0 16px;padding-left:24px}.settings-legal-body li+li{margin-top:8px}.settings-legal-body table{width:100%;margin:0 0 16px;border-collapse:collapse;font-size:14px;line-height:20px}.settings-legal-body th,.settings-legal-body td{padding:10px 12px;border:1px solid var(--border);text-align:left;vertical-align:top}.settings-legal-body th{background:var(--accent);font-weight:500}.settings-legal-body blockquote{margin:0 0 24px;padding:12px 16px;border-left:3px solid var(--border);color:var(--muted-foreground);background:var(--accent);border-radius:var(--radius-lg)}.settings-legal-body blockquote p{margin:0}.settings-legal-body{overflow-wrap:anywhere}.settings-preview-sidebar-header{display:flex;align-items:center;gap:12px;height:36px;font-size:16px}.settings-preview-sidebar-header button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--popover);color:inherit}.settings-preview-icon{display:block;flex:none;background:currentColor;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain}.settings-preview-sidebar-header .settings-preview-icon{width:16px;height:16px}.settings-preview-search{display:flex;align-items:center;gap:8px;height:36px;margin:20px 0 28px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-full);background:var(--accent);color:var(--muted-foreground);font-size:14px}.settings-preview-search .settings-preview-icon{width:16px;height:16px;color:var(--popover-foreground)}.settings-preview-nav-group{margin-bottom:20px}.settings-preview-nav-group>div:first-child{padding:0 8px;margin-bottom:8px;color:var(--muted-foreground);font-size:12px;line-height:16px}.settings-preview-nav-item{display:flex;align-items:center;gap:12px;height:36px;margin-bottom:4px;padding:0 8px;border-radius:var(--radius-xl);font-size:14px}.settings-preview-nav-item.is-active{background:color-mix(in srgb,var(--foreground) 6%,transparent)}.settings-preview-nav-item:last-child{margin-bottom:0}.settings-preview-nav-item .settings-preview-icon{width:20px;height:20px}.settings-preview-main{flex:1;min-width:0;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-4xl) var(--radius-none) var(--radius-none) var(--radius-4xl);background:var(--popover)}.settings-preview-main.is-devices{overflow:hidden}.settings-preview-arrow-entry{display:grid;place-items:center;width:24px;height:32px;margin-right:-4px;padding:0;border:0;background:transparent;color:inherit}.settings-preview-arrow-entry:focus-visible,.settings-device-back:focus-visible,.settings-device-signout:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-device-page{height:100%;display:flex;flex-direction:column;min-height:0}.settings-device-width{width:min(680px,calc(100% - 48px));margin:0 auto}.settings-device-top{flex:none;height:79px;padding-top:23px}.settings-device-back{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px 0 8px;border:1px solid var(--border);border-radius:var(--radius-full);background:var(--popover);color:var(--foreground);font-size:16px;line-height:24px}.settings-device-back .settings-preview-icon{width:16px;height:16px}.settings-device-scroll{flex:1;min-height:0}.settings-device-scroll h1{margin:0;font-size:24px;font-weight:500;line-height:32px}.settings-device-list h2,.settings-device-date h3{height:40px;margin:0;border-bottom:1px solid var(--border);font-size:16px;font-weight:500;line-height:24px}.settings-device-row{display:flex;align-items:center;gap:16px;min-height:76px;border-bottom:1px solid var(--border)}.settings-device-icon{width:20px;height:20px;flex:none}.settings-device-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:14px;line-height:20px}.settings-device-copy strong{font-weight:500}.settings-device-copy span{color:var(--muted-foreground)}.outlined-pill-button{border:1px solid var(--border);border-radius:var(--radius-full);background:var(--popover);color:var(--foreground)}.settings-device-signout{flex:none;height:32px;padding:0 15px;font-size:16px;line-height:24px}@media(hover:hover){.outlined-pill-button:not(:disabled):hover{background:var(--accent)}}.outlined-pill-button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-device-activity{margin:32px 0 24px}.settings-device-activity>h2{margin:0;font-size:24px;font-weight:500;line-height:32px}.settings-device-date{margin-top:24px}@media(max-width:700px){.settings-preview-footer{flex-direction:column;align-items:flex-start;gap:8px;white-space:normal;overflow-wrap:anywhere}.settings-device-width{width:calc(100% - 32px)}.settings-device-row{gap:12px}.settings-device-copy span{overflow-wrap:anywhere}}.settings-preview-content{width:min(680px,calc(100% - 48px));margin:80px auto}.settings-preview-content h1{margin:0;font-size:24px;line-height:32px;font-weight:500}.settings-preview-subtitle{margin:8px 0 24px;color:var(--muted-foreground);font-size:16px;line-height:24px}.settings-preview-section+.settings-preview-section{margin-top:32px}.settings-preview-section h2{height:40px;margin:0;border-bottom:1px solid var(--border);font-size:16px;line-height:24px;font-weight:500}.settings-preview-row{display:flex;align-items:center;gap:16px;min-height:76px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px;line-height:20px}.settings-preview-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.settings-preview-row-copy strong{font-weight:500}.settings-preview-row-copy>span,.settings-preview-row-end{color:var(--muted-foreground)}.settings-preview-row-end{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;text-align:right;overflow-wrap:anywhere}.settings-preview-row-end .settings-preview-icon{width:16px;height:16px;flex:none}.settings-preview-edit{display:grid;flex:none;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:var(--radius-md);background:transparent;color:inherit}@media(hover:hover){.settings-preview-edit:hover{background:color-mix(in srgb,var(--foreground) 6%,transparent);color:var(--foreground)}}.settings-preview-edit:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.settings-preview-row-end.is-arrow .settings-preview-icon{color:var(--foreground)}.settings-preview-avatar{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--brand) 80%,transparent);color:#fff;font-size:24px;padding:0;border:0;overflow:hidden}.settings-preview-avatar img{width:100%;height:100%;object-fit:cover}.settings-preview-password-entry{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:inherit}.settings-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:600;display:grid;place-items:center;padding:16px;background:#0006}.dark .settings-dialog-backdrop{background:var(--scrim-dialog)}.settings-dialog{position:relative;width:min(480px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;padding:20px;border-radius:var(--radius-3xl);background:var(--popover);color:var(--foreground);box-shadow:var(--shadow-dialog)}.settings-dialog h2{margin:0;padding-right:32px;font-size:20px;line-height:28px;font-weight:400}.settings-dialog-close{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--radius-lg);background:transparent;color:var(--foreground)}.settings-dialog-close span,.settings-dialog-input.has-eye button span{display:block;width:16px;height:16px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.settings-dialog-intro{margin:20px 0 0;font-size:14px;line-height:22px}.settings-reset-email{margin:20px 0 0;font-size:16px;line-height:24px}.settings-reset-email span{color:var(--brand)}.settings-reset-description{margin:12px 0 8px;font-size:14px;line-height:20px}.settings-reset-intro{margin:20px 0 0;font-size:16px;line-height:24px}.settings-dialog.is-reset-password>.settings-dialog-field:first-of-type{margin-top:12px}.settings-dialog.is-reset-password>.settings-dialog-field:first-of-type .settings-dialog-input{margin-top:8px}.settings-dialog-field{margin-top:20px}.settings-dialog.is-password>.settings-dialog-field:first-of-type{margin-top:16px}.settings-dialog-label{display:block;font-size:14px;line-height:20px}.settings-dialog-field p{margin:4px 0 8px;color:var(--muted-foreground);font-size:12px;line-height:16px}.settings-dialog-input{display:flex;align-items:center;height:36px;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--accent)}.settings-dialog-input:has(input:focus){border-color:var(--brand);background:var(--popover);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent)}.settings-dialog-input input{flex:1;min-width:0;width:100%;height:100%;padding:0 12px;border:0;outline:0;background:transparent;color:var(--foreground);font-size:14px;line-height:20px}.settings-dialog-prefix{padding-left:12px;color:var(--muted-foreground);font-size:14px}.settings-dialog-prefix+input{padding-left:8px}.settings-dialog-send{flex:none;width:100px;height:20px;padding:0;border:0;border-left:1px solid var(--border);background:transparent;color:var(--foreground);font-size:14px;line-height:20px}.settings-dialog-send:disabled{opacity:1}.settings-dialog-field.confirmation{margin-top:20px}.settings-dialog-field.confirmation .settings-dialog-input{margin-top:8px}.settings-dialog-input.has-eye button{display:grid;flex:none;place-items:center;width:36px;height:34px;padding:0;border:0;background:transparent;color:var(--foreground)}.settings-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:40px}.settings-dialog-actions button{height:32px;padding:0 16px;border-radius:var(--radius-full);font-size:16px;line-height:24px}.settings-dialog-actions .outlined-pill-button{padding-inline:15px}.settings-dialog-cancel{border:1px solid var(--border);background:var(--popover);color:var(--foreground)}.settings-dialog-primary{border:0;background:var(--brand);color:#fff}.settings-dialog.is-delete-confirm .settings-dialog-primary{background:var(--destructive)}.settings-delete-warning{margin:20px 0 0;color:var(--destructive);font-size:14px;line-height:22px}.settings-delete-field .settings-dialog-input{margin-top:8px}.settings-delete-preview-note{margin:12px 0 0;color:var(--muted-foreground);font-size:12px;line-height:16px;text-align:right}.settings-dialog-primary:disabled{opacity:.4}.settings-dialog-error{margin:8px 0 0;color:var(--destructive);font-size:12px;line-height:18px}.settings-dialog-primary.is-verifying{display:inline-flex;align-items:center;gap:4px;opacity:1}.settings-dialog-spinner{width:14px;height:14px;border:2px solid rgb(255 255 255 / 40%);border-top-color:#fff;border-radius:50%;animation:settings-dialog-spin .8s linear infinite}@keyframes settings-dialog-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.settings-dialog-spinner{animation:none}}.settings-dialog button:focus-visible,.settings-preview-avatar:focus-visible,.settings-preview-password-entry:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@media(hover:hover){.settings-dialog-close:hover,.settings-dialog-input.has-eye button:hover{background:var(--state-hover-overlay)}}.danger-button{border-radius:var(--radius-full);background:color-mix(in srgb,var(--feedback-attention) 10%,transparent);color:var(--destructive);border:0}@media(hover:hover){.danger-button:not(:disabled):hover{background:color-mix(in srgb,var(--feedback-attention) 18%,transparent)}}.danger-button:not(:disabled):active{background:color-mix(in srgb,var(--feedback-attention) 26%,transparent)}.danger-button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-preview-delete{padding:6px 16px;white-space:nowrap;font-size:14px;line-height:20px}@media(max-width:700px){.settings-preview-sidebar{width:68px;padding:16px}.settings-preview-sidebar-header strong,.settings-preview-search>span:last-child,.settings-preview-nav-group>div:first-child,.settings-preview-nav-item>span:last-child{display:none}.settings-preview-search{justify-content:center;padding:0}.settings-preview-nav-item{justify-content:center}.settings-preview-content{width:calc(100% - 32px);margin-top:40px}.settings-preview-row-end{max-width:42%}}.account-compact-balance{position:relative;display:grid;place-items:center;flex:none;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.credit-ring-track{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid color-mix(in srgb,var(--foreground) 12%,transparent);border-radius:50%;transition:border-color .16s ease}@media(hover:hover){.account-compact-balance:hover .credit-ring-track{border-color:color-mix(in srgb,var(--foreground) 40%,transparent)}}@media(prefers-reduced-motion:reduce){.credit-ring-track{transition:none}}.account-compact-balance .credit-ring-bolt{position:relative;display:block;width:16px;height:16px}.account-menu{position:fixed;z-index:150;display:flex;flex-direction:column;width:max-content;min-width:min(200px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:3px;border:1px solid var(--dialog-border);border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline);font-size:14px;line-height:20px}.account-menu-row{display:flex;align-items:center;flex:none;width:100%;height:32px;padding:0 8px;gap:8px;border:0;border-radius:var(--radius-lg);background:transparent;color:inherit;text-align:left;white-space:nowrap}.account-menu-icon{display:block;width:16px;height:16px;flex:none;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.account-menu-balance{width:max-content;min-width:100%}.account-menu-label{flex:none;margin-right:16px}.account-menu-value{margin-left:auto;font-size:12px;line-height:16px}.account-menu-preview-state{margin-left:auto;font-size:12px;line-height:16px;color:var(--text-secondary)}.account-menu-preview-state.is-on{color:var(--brand)}.account-menu-bolt{width:16px;height:16px;flex:none;margin-left:-4px}.account-menu-chevron{width:16px;height:16px;flex:none;margin-left:auto}.account-help{position:relative}.account-help:after{display:none;position:absolute;inset:0 auto 0 100%;width:8px;content:""}.account-help:is(:hover,:focus-within):after{display:block}.account-help-submenu{position:absolute;top:-4px;left:calc(100% + 8px);display:none;width:213px;padding:3px;border:1px solid var(--dialog-border);border-radius:var(--radius-xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-soft),var(--shadow-hairline)}.account-menu:has(.account-help:is(:hover,:focus-within)){overflow:visible}.account-help:is(:hover,:focus-within) .account-help-submenu{display:block}.account-help:is(:hover,:focus-within) .account-help-trigger{background:var(--state-hover-overlay)}.account-help button:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}@media(hover:hover){.account-help-submenu button:hover{background:var(--state-hover-overlay)}}@media(max-width:700px){.account-help-submenu{top:auto;right:0;bottom:100%;left:auto}}.account-menu-separator{height:8px;flex:none;margin-inline:8px;background:linear-gradient(to bottom,transparent 3.5px,var(--border) 3.5px,var(--border) 4.5px,transparent 4.5px)}@media(hover:hover){.account-menu>button:hover{background:var(--state-hover-overlay)}}.account-menu>button:focus-visible,.account-profile:focus-visible,.account-compact-avatar-control:focus-visible,.account-compact-balance:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.account-profile,.account-compact-avatar-control{cursor:pointer}.account-profile{width:100%;border:0;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none}.account-compact-avatar-control{flex:none;width:32px;height:32px;padding:0;border:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:50%}.advanced-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:var(--scrim-dialog);animation:model-dialog-fade .16s ease-out}.advanced-panel{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:440px;max-width:100vw;overflow:hidden;border:1px solid var(--dialog-border);border-radius:var(--radius-none);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog);animation:advanced-slide-in .22s ease-out}@keyframes advanced-slide-in{0%{transform:translate(calc(100% + 16px))}to{transform:translate(0)}}.advanced-panel:focus{outline:none}.advanced-header{position:relative;flex:none;padding:15px 47px 16px 15px;border-bottom:1px solid var(--border)}.advanced-header h2{margin:0 0 4px;font-size:18px;line-height:28px;font-weight:500;letter-spacing:-.27px}.advanced-subtitle{display:flex;align-items:center;gap:4px;color:var(--muted-foreground);font-size:12px;line-height:16px}.advanced-close{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--popover-foreground)}.advanced-close svg{width:16px;height:16px}.advanced-scroll{flex:1;min-height:0}.advanced-scroll>.overlay-scroll-track{right:-2px}.advanced-scroll .overlay-scroll-content{padding:0 15px}.advanced-group{padding:16px 0}.advanced-group+.advanced-group{border-top:1px dashed var(--border)}.advanced-group h3{margin:0 0 12px;color:var(--muted-foreground);font-size:12px;line-height:20px;font-weight:400}.advanced-setting+.advanced-setting{margin-top:20px}.advanced-setting-line{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px}.advanced-setting-label{display:flex;align-items:center;flex-wrap:wrap;min-width:0;gap:4px;font-size:14px;line-height:20px}.advanced-setting-icon{width:16px;height:16px;margin-right:4px;flex:none}.advanced-info-wrap{display:inline-flex;align-items:center}.advanced-info{display:grid;place-items:center;width:16px;height:16px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted-foreground)}.advanced-info svg{width:16px;height:16px}.advanced-info-tooltip{position:fixed;z-index:300;max-width:min(240px,calc(100vw - 24px));padding:8px 12px;border-radius:var(--radius-lg);background:var(--tooltip);color:var(--tooltip-foreground);font-size:12px;line-height:16px;white-space:pre-line;pointer-events:none;transform:translate(-50%,-100%)}.advanced-badge{padding:2px 6px;border-radius:var(--radius-full);font-size:12px;line-height:16px}.advanced-badge.is-orange{background:color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand)}.advanced-badge.is-purple{background:color-mix(in srgb,var(--badge-purple) 12%,transparent);color:var(--badge-purple)}.advanced-badge.is-green{background:color-mix(in srgb,var(--feedback-success) 12%,transparent);color:var(--feedback-success)}.advanced-switch{position:relative;flex:none;width:24px;height:16px;padding:0;border:0;border-radius:var(--radius-full);background:color-mix(in srgb,var(--foreground) 14%,transparent);transition:background-color .16s ease}.advanced-switch.is-on{background:var(--feedback-success)}.advanced-switch span{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--switch-thumb);box-shadow:var(--shadow-switch);transition:transform .16s ease}.advanced-switch.is-on span{transform:translate(8px)}.advanced-choice{display:inline-flex;flex:none;gap:2px;padding:2px;border:1px solid var(--border);border-radius:var(--radius-md)}.advanced-choice-option{min-width:24px;height:16px;padding:0 6px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted-foreground);font-size:12px;line-height:16px}.advanced-choice-option.is-active{background:var(--secondary);color:var(--foreground)}.advanced-choice-option:disabled{opacity:.35}.advanced-setting.is-child{margin:12px 0 0 24px}.advanced-setting.is-child .advanced-setting-label{font-size:12px}.advanced-setting.is-disabled{opacity:.5}.advanced-setting-note{margin:2px 0 0;color:var(--muted-foreground);font-size:10px;line-height:14px}.advanced-number{display:inline-flex;align-items:center;flex:none;gap:4px}.advanced-stepper{display:inline-flex;align-items:center;gap:4px;min-width:max-content;height:20px;padding:1px;border:1px solid var(--border);border-radius:var(--radius-md);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.advanced-stepper>span{flex:1;text-align:center;white-space:nowrap}.advanced-stepper button{display:grid;flex:none;place-items:center;width:16px;height:16px;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:inherit;line-height:16px}.advanced-stepper button:disabled{opacity:.35}.advanced-unit{color:var(--muted-foreground);font-size:12px}.advanced-footer{display:flex;justify-content:flex-end;gap:12px;flex:none;padding:15px;border-top:1px solid var(--border)}.advanced-footer button{width:80px;height:28px;border-radius:var(--radius-full);font-size:14px;line-height:20px}.advanced-cancel{border:1px solid var(--border);background:var(--secondary);color:var(--secondary-foreground)}.advanced-save{border:0;background:var(--primary);color:var(--primary-foreground)}@media(hover:hover){.advanced-close:hover,.advanced-info:hover,.advanced-stepper button:not(:disabled):hover,.advanced-choice-option:not(:disabled):hover{background:var(--state-hover-overlay)}.advanced-footer button:hover{filter:brightness(.94)}}@media(prefers-reduced-motion:reduce){.advanced-backdrop,.advanced-panel{animation:none}.advanced-switch,.advanced-switch span{transition:none}}.auth-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--scrim-dialog);animation:model-dialog-fade .16s ease-out}.auth-dialog{--auth-error: #ff383c;--auth-error-background: #ffe7e7;position:relative;width:480px;height:480px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--dialog-border);border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-dialog);animation:model-dialog-enter .18s ease-out}.auth-dialog:focus{outline:none}.auth-dialog.is-methods{height:384px}.auth-dialog.is-methods .auth-methods{min-height:0}.auth-dialog.is-methods .auth-divider,.auth-dialog.is-methods .auth-method-button:not(.is-primary){display:none}.dark .auth-dialog{--auth-error-background: color-mix(in srgb, var(--auth-error) 16%, var(--popover))}.auth-close,.auth-back{position:absolute;z-index:4;display:grid;place-items:center;padding:0;background:transparent;color:var(--popover-foreground)}.auth-close{top:12px;right:12px;width:24px;height:24px;border:0;border-radius:var(--radius-lg)}.auth-back{top:12px;left:12px;width:24px;height:24px;border:0;border-radius:var(--radius-lg)}.auth-back-icon,.auth-close-icon{display:block;width:16px;height:16px;background:currentColor;mask:center / contain no-repeat}.auth-back-icon{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%3e%3cpath%20d='m9%2014l-4-4l4-4'/%3e%3cpath%20d='M5%2010h11a4%204%200%201%201%200%208h-1'/%3e%3c/g%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%3e%3cpath%20d='m9%2014l-4-4l4-4'/%3e%3cpath%20d='M5%2010h11a4%204%200%201%201%200%208h-1'/%3e%3c/g%3e%3c/svg%3e")}.auth-close-icon{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M18%206L6%2018M6%206l12%2012'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M18%206L6%2018M6%206l12%2012'/%3e%3c/svg%3e")}.auth-methods,.auth-credentials{min-height:396px}.auth-methods{display:flex;flex-direction:column;align-items:center;padding:27px 27px 0}.auth-initial-header{display:flex;align-items:center;justify-content:center;gap:8px}.auth-brand-logo{width:32px;height:32px}.auth-methods h2{margin:0;font-size:24px;line-height:32px;font-weight:400}.auth-initial-description{margin:16px 0 48px;font-size:16px;line-height:20px}.auth-method-actions{display:flex;width:100%;flex-direction:column;gap:0}.auth-method-actions>.auth-field{margin-bottom:24px}.auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:14px;line-height:16px}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-top:1px solid var(--border)}.auth-method-button,.auth-submit{display:flex;align-items:center;justify-content:center;width:100%;height:48px;padding:0 16px;gap:8px;border:1px solid var(--border);border-radius:var(--radius-full);background:var(--popover);color:var(--popover-foreground);font-size:16px;line-height:24px;font-weight:500}.auth-method-button.is-primary,.auth-submit{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground)}.auth-method-button>svg,.auth-method-button>img{width:20px;height:20px;flex:none}.auth-register{display:inline-flex;align-items:center;justify-content:center;margin-top:16px;padding:0;gap:6px;border:0;background:transparent;color:var(--popover-foreground);font-size:14px;line-height:20px;font-weight:400}.auth-register strong{color:var(--brand);font-weight:400}.auth-register svg{width:12px;height:12px;color:var(--brand)}.auth-header{display:flex;align-items:center;justify-content:center;gap:8px;height:60px;padding:27px 56px 0}.auth-header img{width:32px;height:32px}.auth-header h2{margin:0;font-size:24px;line-height:32px;font-weight:400}.auth-form{display:flex;flex-direction:column;margin:63px 27px 0}.auth-field{position:relative;display:block}.auth-field+.auth-field{margin-top:24px}.auth-field input{width:100%;height:48px;padding:0 16px;border:1px solid var(--border);border-radius:var(--radius-full);outline:none;background:var(--accent);color:var(--popover-foreground);font-size:16px;line-height:24px;caret-color:var(--brand);transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.auth-field input::placeholder{color:var(--muted-foreground);opacity:1}.auth-field:focus-within input{border-color:var(--brand);background:var(--popover);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent)}.auth-field.is-invalid input{border-color:var(--auth-error);background:var(--auth-error-background);color:var(--popover-foreground);font-weight:400;caret-color:var(--auth-error)}.auth-field.is-invalid input::placeholder{color:var(--muted-foreground)}.auth-credentials .auth-field.is-invalid input,.auth-credentials .auth-field.is-invalid input::placeholder{color:var(--auth-error)}.auth-field.is-invalid:focus-within input{border-color:var(--auth-error);box-shadow:0 0 0 2px color-mix(in srgb,var(--auth-error) 12%,transparent)}.auth-field input:-webkit-autofill,.auth-field input:-webkit-autofill:hover{-webkit-text-fill-color:var(--popover-foreground);caret-color:var(--brand);-webkit-box-shadow:0 0 0 1000px var(--accent) inset;box-shadow:0 0 0 1000px var(--accent) inset}.auth-field:focus-within input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--popover) inset,0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent);box-shadow:0 0 0 1000px var(--popover) inset,0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent)}.auth-field.is-invalid input:-webkit-autofill,.auth-field.is-invalid input:-webkit-autofill:hover{-webkit-text-fill-color:var(--popover-foreground);caret-color:var(--auth-error);-webkit-box-shadow:0 0 0 1000px var(--auth-error-background) inset;box-shadow:0 0 0 1000px var(--auth-error-background) inset}.auth-credentials .auth-field.is-invalid input:-webkit-autofill{-webkit-text-fill-color:var(--auth-error)}.auth-field.is-invalid:focus-within input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--auth-error-background) inset,0 0 0 2px color-mix(in srgb,var(--auth-error) 12%,transparent);box-shadow:0 0 0 1000px var(--auth-error-background) inset,0 0 0 2px color-mix(in srgb,var(--auth-error) 12%,transparent)}.auth-field-error{position:absolute;top:48px;left:8px;color:var(--auth-error);font-size:12px;line-height:16px;white-space:nowrap}.auth-username input{padding-right:44px}.auth-clear{position:absolute;top:17px;right:14px;display:none;place-items:center;width:14px;height:14px;padding:0;border:0;border-radius:50%;background:var(--popover-foreground);color:var(--popover)}.auth-clear svg{width:10px;height:10px;stroke-width:3}.auth-username.has-value .auth-clear{display:grid}.auth-username.is-invalid .auth-clear{background:var(--auth-error);color:#fff}.auth-password input{padding-right:48px}.auth-password>button{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--radius-lg);background:transparent;color:var(--muted-foreground)}.auth-password.is-invalid>button{color:var(--auth-error)}.auth-password-icon{display:block;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cg%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%3e%3cpath%20d='M10%2012a2%202%200%201%200%204%200a2%202%200%200%200-4%200'/%3e%3cpath%20d='M21%2012q-3.6%206-9%206t-9-6q3.6-6%209-6t9%206'/%3e%3c/g%3e%3c/svg%3e") center / contain no-repeat}.auth-password-icon.is-visible{-webkit-mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%209q-3.6%204-9%204T3%209m0%206l2.5-3.8M21%2014.976L18.508%2011.2M9%2017l.5-4m5.5%204l-.5-4'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%209q-3.6%204-9%204T3%209m0%206l2.5-3.8M21%2014.976L18.508%2011.2M9%2017l.5-4m5.5%204l-.5-4'/%3e%3c/svg%3e")}.auth-submit{flex:none;margin-top:24px;line-height:24px}.auth-submit.is-busy{gap:4px;color:#fff}.auth-submit:disabled{cursor:wait}.auth-spinner{width:20px;height:20px;flex:none;border:2px solid rgb(250 250 250 / 32%);border-top-color:#fafafa;border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-secondary-link{align-self:center;margin-top:16px;padding:0;border:0;background:transparent;color:var(--muted-foreground);font-size:14px;line-height:20px}.auth-credentials>.auth-register{position:absolute;top:347px;left:50%;margin:0;transform:translate(-50%)}.auth-privacy{position:absolute;right:27px;bottom:27px;left:27px;color:var(--popover-foreground);text-align:center;font-size:14px;line-height:20px}.auth-privacy p{margin:0}.auth-privacy p+p{margin-top:8px}.auth-privacy button{padding:0;border:0;background:transparent;color:var(--brand);font:inherit}.auth-privacy button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.auth-global-error{z-index:240}.auth-turnstile{position:absolute;right:27px;bottom:55px;left:27px;display:flex;justify-content:center}.auth-hint{margin:0 0 16px;color:var(--muted-foreground);font-size:12px;line-height:18px}.auth-verification{margin-top:36px}.auth-verification .auth-submit{margin-top:24px}.registration-header{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:27px}.registration-header img{width:32px;height:32px}.registration-header h2{margin:0;font-size:24px;line-height:32px;font-weight:400}.registration-description{margin:16px 20px 0;text-align:center;font-size:16px;line-height:20px}.registration-fields,.registration-code-fields{margin:24px 27px 0}.registration-fields .auth-field{display:block}.registration-fields .auth-submit,.registration-code-fields .auth-submit,.registration-preview.is-password .registration-description{margin-top:24px}.registration-preview.is-password .registration-fields{margin-top:60px}.registration-email{margin:56px 27px 0;text-align:center;font-size:16px;line-height:24px;font-weight:500;overflow-wrap:anywhere}.registration-email span{color:var(--brand)}.registration-code-description{margin:8px 27px 0;text-align:center;font-size:14px;line-height:20px}.registration-code-fields{margin-top:44px}.registration-code input{padding-right:116px}.registration-code>button{position:absolute;right:0;top:12px;width:100px;height:24px;padding:0;border:0;border-left:1px solid var(--border);background:transparent;color:var(--popover-foreground);font-size:16px;font-weight:400;line-height:24px}.registration-code>button:disabled{opacity:1;cursor:default}.registration-code-fields .auth-submit:disabled:not(.is-busy){opacity:.4;cursor:not-allowed}.registration-change-email{position:absolute;bottom:27px;left:50%;transform:translate(-50%);border:0;background:transparent;color:var(--popover-foreground);white-space:nowrap;font-size:14px;line-height:20px}.reset-confirm{margin:96px 27px 0;text-align:center;font-size:16px;line-height:24px}.reset-confirm p{margin:0 0 4px}.reset-confirm .reset-email{color:var(--brand);font-weight:500;overflow-wrap:anywhere}.reset-confirm .auth-submit{margin-top:24px}@media(hover:hover){.auth-close:hover,.auth-back:hover,.auth-password>button:hover{background:var(--state-hover-overlay)}.auth-method-button:hover,.auth-submit:hover:not(:disabled){filter:brightness(.96)}.auth-register:hover strong,.auth-secondary-link:hover{text-decoration:underline}}.auth-dialog button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.auth-field input:focus-visible{outline:none}@media(max-width:700px){.auth-backdrop{padding:16px}.auth-dialog{max-height:calc(100dvh - 32px)}}@media(max-width:430px){.auth-dialog{height:min(480px,calc(100dvh - 32px))}.auth-methods{padding-inline:19px}.auth-form,.registration-fields,.registration-code-fields{margin-inline:19px}.auth-privacy{right:19px;left:19px}}@media(prefers-reduced-motion:reduce){.auth-backdrop,.auth-dialog,.auth-spinner{animation:none}.auth-field input{transition:none}}.media-parameter-popover{position:fixed;z-index:120;width:320px;max-width:calc(100% - 24px);overflow:hidden;border:1px solid var(--dialog-border);border-radius:var(--radius-3xl);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--shadow-popover-soft),var(--shadow-hairline)}.media-parameter-scroll>.overlay-scroll-viewport{height:auto;max-height:var(--media-parameter-scroll-height, calc(100dvh - 26px) )}.media-parameter-scroll .overlay-scroll-content{display:flex;flex-direction:column;gap:20px;padding:11px}.media-parameter-section h3{display:flex;align-items:center;gap:4px;margin:0 0 8px;font-size:12px;line-height:16px;font-weight:400}.media-parameter-ratio-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.media-parameter-ratio-heading h3{margin:0}.media-parameter-adaptive{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:inherit;font-size:12px;line-height:16px}.media-parameter-ratios,.media-parameter-segment{display:flex;width:100%;padding:4px;background:color-mix(in srgb,var(--surface-overlay) 4%,transparent)}.media-parameter-ratios{border-radius:var(--radius-lg)}.media-parameter-ratios button{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;height:52px;padding:0;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:inherit;font-size:12px;line-height:14px;letter-spacing:-.08em}.media-parameter-ratios button.is-selected,.media-parameter-segment button.is-selected{border-color:var(--border);background:var(--popover);color:var(--brand);font-weight:500}.media-ratio-icon-slot{display:grid;place-items:center;width:16px;height:16px}.media-ratio-icon{display:block;border:1px solid currentColor;border-radius:3px}.media-parameter-segment{border-radius:var(--radius-full)}.media-parameter-segment button{flex:1 1 0;min-width:0;height:24px;padding:0;border:1px solid transparent;border-radius:var(--radius-full);background:transparent;color:inherit;font-size:14px;line-height:20px}.video-duration-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-duration-modes>button,.video-duration-field{height:32px;border:1px solid transparent;border-radius:var(--radius-full);background:color-mix(in srgb,var(--surface-overlay) 4%,transparent);color:inherit;font-size:14px;line-height:20px}.video-duration-modes>button[aria-pressed=true],.video-duration-field{border-color:var(--border);background:var(--popover);color:var(--brand);font-weight:500}.video-duration-field input{display:block;width:100%;height:100%;padding:0 8px;border:0;border-radius:inherit;outline:none;background:transparent;color:inherit;text-align:center}.video-duration-slider{position:relative;margin-top:8px}.video-duration-track{position:absolute;inset:2px 0 auto;height:12px;overflow:hidden;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--surface-overlay) 4%,transparent)}.video-duration-fill{display:block;height:100%;background:color-mix(in srgb,var(--foreground) 84%,transparent)}.video-duration-track i{position:absolute;top:3px;width:1px;height:6px;background:var(--muted-foreground);opacity:.35}.video-duration-slider input{position:relative;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:16px;margin:0;border-radius:var(--radius-sm);background:transparent;cursor:pointer}.video-duration-slider input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:4px;height:16px;border:0;border-radius:var(--radius-full);background:var(--foreground)}.video-duration-slider input::-moz-range-thumb{width:4px;height:16px;border:0;border-radius:var(--radius-full);background:var(--foreground)}.video-duration-ticks{position:relative;height:14px;margin-top:2px;color:var(--muted-foreground);font-size:10px;line-height:14px;font-variant-numeric:tabular-nums}.video-duration-ticks span{position:absolute;transform:translate(-50%)}.video-duration-ticks span:first-child{transform:none}.video-duration-ticks span:last-child:not(:first-child){transform:translate(-100%)}@media(prefers-reduced-motion:reduce){.media-parameter-adaptive .advanced-switch,.media-parameter-adaptive .advanced-switch span{transition:none}}@media(hover:hover){.media-parameter-ratios button:not(.is-selected):hover,.media-parameter-segment button:not(.is-selected):hover{background:var(--state-hover-overlay)}}:is(.settings-dialog-close,.auth-close,.advanced-close,.creation-close,.model-dialog-close,.model-detail-close,.channel-dialog-close,.channel-manager-close,.attachment-lightbox-close){isolation:isolate}.creation-close,.model-dialog-close{position:relative}:is(.settings-dialog-close,.auth-close,.advanced-close,.creation-close,.model-dialog-close,.model-detail-close,.channel-dialog-close,.channel-manager-close,.attachment-lightbox-close):before{position:absolute;z-index:-1;top:50%;left:50%;width:24px;height:24px;border-radius:var(--radius-lg);background:transparent;content:"";pointer-events:none;transform:translate(-50%,-50%)}@media(hover:hover){:is(.settings-dialog-close,.auth-close,.advanced-close,.creation-close,.model-dialog-close,.model-detail-close,.channel-dialog-close,.channel-manager-close):hover{background:transparent}:is(.settings-dialog-close,.auth-close,.advanced-close,.creation-close,.model-dialog-close,.model-detail-close,.channel-dialog-close,.channel-manager-close,.attachment-lightbox-close):hover:before{background:var(--state-hover-overlay)}}.settings-preview-nav-item>button{display:flex;align-items:center;gap:12px;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left}.settings-preview-nav-item>button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-usage-scroll,.settings-usage-shell{height:100%}.settings-usage-content{margin-top:80px;margin-bottom:80px}.settings-usage-account{display:flex;align-items:center;justify-content:space-between;height:100px;padding:4px;border-radius:var(--radius-2xl);background:var(--accent)}.settings-usage-identity{display:flex;align-items:center;gap:15px;min-width:0;padding-left:24px}.settings-usage-identity .settings-usage-avatar{width:44px;height:44px;flex:none}.settings-usage-identity-copy{display:grid;gap:4px;min-width:0}.settings-usage-identity strong{font-size:14px;font-weight:500;line-height:20px}.settings-usage-identity span{overflow:hidden;color:var(--muted-foreground);font-size:12px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.settings-usage-balance{display:flex;flex:none;flex-direction:column;justify-content:space-between;width:200px;height:92px;padding:16px;border-radius:var(--radius-xl);background:var(--popover)}.settings-usage-balance>span{font-size:12px;line-height:16px}.settings-usage-balance strong{display:flex;align-items:center;justify-content:flex-end;font-family:Chivo Mono,monospace;font-size:16px;font-weight:500;line-height:24px}.settings-usage-bolt{display:inline-block;flex:none;width:16px;height:16px;transform:translateY(-1px);vertical-align:middle}.settings-usage-recharge-label{margin:20px 0 8px;color:var(--muted-foreground);font-size:14px;line-height:20px}.settings-usage-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.settings-usage-plans>button,.settings-usage-custom{display:flex;align-items:center;min-width:0;height:56px;padding:0 16px;border:1px solid transparent;border-radius:var(--radius-2xl);background:var(--accent);color:var(--foreground)}.settings-usage-plans>button{justify-content:space-between}.settings-usage-plans>button>span,.settings-usage-order-amount>span:last-child{display:inline-flex;align-items:center;line-height:24px}.settings-usage-plans>button>span,.settings-usage-custom{color:var(--muted-foreground);font-family:Chivo Mono,monospace;font-size:14px;line-height:24px}.settings-usage-plans>button strong,.settings-usage-custom strong{margin-left:auto;color:var(--foreground);font-family:Chivo Mono,monospace;font-size:16px;font-weight:500;line-height:24px}.settings-usage-custom{grid-column:span 2;gap:12px;padding-right:12px}.settings-usage-custom:has(input:focus){border-color:var(--brand);background:var(--popover);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent)}.settings-usage-custom-label{display:flex;flex:1;align-items:center;gap:12px;align-self:stretch;min-width:0;cursor:text}.settings-usage-custom-input{display:flex;align-items:center;min-width:0}.settings-usage-custom input{min-width:0;max-width:100%;padding:0;border:0;outline:0;background:transparent;color:inherit;text-align:left;font:inherit}.settings-usage-custom input::placeholder{color:var(--muted-foreground);opacity:1}.settings-usage-custom>button{flex:none;width:88px;height:32px;padding:0;border:0;border-radius:var(--radius-lg);background:var(--brand);color:var(--brand-foreground);font-family:var(--font-sans);font-size:14px;line-height:20px}.settings-usage-custom>button:disabled{border:1px solid var(--border);background:var(--accent);color:color-mix(in srgb,var(--foreground) 40%,transparent);cursor:not-allowed}.settings-usage-custom>button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-usage-details{margin-top:32px}.settings-usage-details h2{height:40px;margin:0;font-size:16px;font-weight:500;line-height:24px}.settings-usage-details-subtitle{margin:0 0 16px;color:var(--muted-foreground);font-size:14px;line-height:20px}.settings-usage-table-header,.settings-usage-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 100px 160px;align-items:center;column-gap:16px}.settings-usage-table-header{height:40px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:14px;line-height:20px}.settings-usage-table-header span:nth-child(n+2){text-align:right}.settings-usage-row{height:60px;border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:12px;line-height:16px}.settings-usage-row-description{min-width:0}.settings-usage-row-description>span{display:block;color:var(--foreground);font-size:14px;line-height:20px}.settings-usage-row-description small{display:block;overflow:hidden;font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.settings-usage-status,.settings-usage-cost{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap}.settings-usage-status{gap:4px}.settings-usage-status i{width:8px;height:8px;border-radius:50%;background:var(--feedback-success);box-shadow:0 0 0 2px color-mix(in srgb,var(--feedback-success) 20%,transparent)}.settings-usage-status.is-failure i{background:var(--feedback-attention);box-shadow:0 0 0 2px color-mix(in srgb,var(--feedback-attention) 20%,transparent)}.settings-usage-status.is-frozen i{background:var(--muted);box-shadow:0 0 0 2px color-mix(in srgb,var(--muted) 20%,transparent)}.settings-usage-date{text-align:right;white-space:nowrap}.settings-usage-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;margin-top:20px}.settings-usage-pagination-ellipsis{display:grid;place-items:center;min-width:24px;height:24px;color:var(--muted-foreground);font-size:14px}.settings-usage-pagination button{display:grid;place-items:center;min-width:24px;height:24px;padding:0;border:0;border-radius:var(--radius-md);background:transparent;color:var(--foreground);font-size:14px}.settings-usage-pagination button[aria-current=page]{color:var(--brand);font-weight:500}.settings-usage-pagination button:disabled{color:var(--muted-foreground)}.settings-usage-pagination button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-usage-order-backdrop{background:#0006}.settings-usage-order{min-height:408px}.settings-usage-order-subtitle{margin:4px 0 20px;color:var(--muted-foreground);font-size:14px;line-height:20px}.settings-usage-order-amount{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 16px;border:1px solid var(--border);border-radius:var(--radius-2xl);font-size:14px}.settings-usage-order-amount>span:last-child{color:var(--muted-foreground);font-family:Chivo Mono,monospace}.settings-usage-order-total{display:flex;align-items:center;justify-content:space-between;height:68px;border-bottom:1px solid var(--border);font-size:14px}.settings-usage-order-total strong{color:var(--feedback-attention);font-size:24px;line-height:32px}.settings-usage-payment{padding-top:20px;font-size:14px;line-height:20px}.settings-usage-payment-logos{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:12px;max-width:398px;font-size:14px;font-weight:500;line-height:20px}.settings-usage-payment-logos>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.settings-usage-payment-logos img,.settings-usage-apple-icon{display:block;flex:none;width:20px;height:20px}.settings-usage-apple-icon{background:var(--foreground);mask:center / contain no-repeat;-webkit-mask:center / contain no-repeat}.settings-usage-order-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:40px}.settings-usage-order-footer>span{color:var(--muted-foreground);font-size:12px;line-height:16px}.settings-usage-order-footer>span>.settings-usage-terms{padding:0;border:0;background:transparent;color:var(--brand);font:inherit}.settings-usage-order-footer>span>.settings-usage-terms:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.settings-usage-order-footer>div{display:flex;gap:12px}.settings-usage-order-footer>div>button{height:32px;padding:0 16px;border-radius:var(--radius-full);font-size:16px;white-space:nowrap}.settings-usage-order-footer>div>button:last-child{border:0;background:var(--brand);color:#fff}@media(hover:hover){.settings-usage-terms:hover{text-decoration:underline}}.settings-usage-order-notice{margin:8px 0 0;color:var(--muted-foreground);font-size:12px;text-align:right}@media(hover:hover){.settings-usage-plans>button:hover,.settings-usage-pagination button:not(:disabled):hover{background:color-mix(in srgb,var(--foreground) 8%,var(--popover))}}@media(max-width:700px){.settings-preview-nav-item>button>span:last-child{display:none}.settings-usage-content{margin-top:40px}.settings-usage-account{height:auto;gap:12px;padding:12px}.settings-usage-identity{padding-left:0}.settings-usage-balance{width:140px}.settings-usage-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-usage-table-header{display:none}.settings-usage-row{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:80px;gap:4px 12px;padding:10px 0}.settings-usage-row-description{grid-row:span 2}.settings-usage-cost,.settings-usage-date{justify-self:end}.settings-usage-date{grid-column:1 / -1}.settings-usage-order-footer{align-items:flex-start;flex-direction:column}.settings-usage-order-footer>div{align-self:flex-end}}.settings-usage-notice{margin:12px 0 0;color:var(--muted-foreground);font-size:13px;line-height:20px}
