/* Generated by website/build-ui-css.sh from docs/design/tokens.css and apps/desktop/src/ui. Do not edit. */
/* Generated by build-tokens.py — do not edit. Dark is default; set data-theme="light" for light. */
:root {
  --mf-space-0: 0px;
  --mf-space-2: 2px;
  --mf-space-4: 4px;
  --mf-space-6: 6px;
  --mf-space-8: 8px;
  --mf-space-10: 10px;
  --mf-space-12: 12px;
  --mf-space-16: 16px;
  --mf-space-20: 20px;
  --mf-space-24: 24px;
  --mf-space-32: 32px;
  --mf-space-40: 40px;
  --mf-space-48: 48px;
  --mf-radius-xs: 4px;
  --mf-radius-sm: 6px;
  --mf-radius-md: 8px;
  --mf-radius-lg: 12px;
  --mf-radius-xl: 16px;
  --mf-radius-full: 999px;
  --mf-size-icon: 16px;
  --mf-size-control-xs: 20px;
  --mf-size-control-sm: 24px;
  --mf-size-control: 32px;
  --mf-size-control-lg: 40px;
  --mf-size-row-min: 48px;
  --mf-size-sidebar: 232px;
  --mf-size-settings-content: 680px;
  --mf-stroke-hairline: 1px;
  --mf-stroke-focus: 1.5px;
  --mf-bg-window: #0d0d0f;
  --mf-bg-surface: #161618;
  --mf-bg-elevated: #222225;
  --mf-bg-canvas-gutter: #1b1b1e;
  --mf-bg-preview-plate: #29292d;
  --mf-fill-subtle: #ffffff0f;
  --mf-fill-control: #ffffff14;
  --mf-fill-control-hover: #ffffff1a;
  --mf-fill-control-value: #ffffff24;
  --mf-fill-control-value-active: #ffffff2e;
  --mf-border-hairline: #ffffff12;
  --mf-border-control: #ffffff24;
  --mf-border-focus: #e7226c;
  --mf-text-primary: #ffffffeb;
  --mf-text-secondary: #ffffffb8;
  --mf-text-tertiary: #ffffff7a;
  --mf-text-accent: #ef99d7;
  --mf-text-on-brand: #ffffff;
  --mf-control-handle: #ffffffeb;
  --mf-control-chrome: #ffffff85;
  --mf-accent-brand: #e7226c;
  --mf-accent-brand-hover: #ef679a;
  --mf-accent-brand-pressed: #c21a59;
  --mf-accent-brand-soft: #e7226c29;
  --mf-accent-danger: #dc3838;
  --mf-accent-danger-soft: #dc383829;
  --mf-accent-success: #34c77b;
  --mf-accent-success-soft: #34c77b29;
  --mf-accent-warning: #f5a524;
  --mf-accent-warning-soft: #f5a52429;
  --mf-accent-info: #3b8bf5;
  --mf-accent-info-soft: #3b8bf529;
  --mf-media-overlay: #00000099;
  --mf-media-on-overlay: #ffffff;
  --mf-media-app-red: #ff0000;
  --mf-media-app-rose: #fe2c55;
  --mf-media-app-blue: #1877f2;
  --mf-media-preview-background: #1b1b1e;
  --mf-brand-pink: #e7226c;
  --mf-brand-magenta: #a4197c;
  --mf-brand-purple: #590e8e;
  --mf-brand-magenta-light: #ef99d7;
  --mf-brand-magenta-a14: #a4197c24;
  --mf-brand-magenta-a20: #a4197c33;
  --mf-status-danger: #dc3838;
  --mf-status-danger-dark: #b42626;
  --mf-status-danger-a16: #dc383829;
  --mf-status-success: #34c77b;
  --mf-status-success-dark: #1f8a52;
  --mf-status-success-a16: #34c77b29;
  --mf-status-warning: #f5a524;
  --mf-status-warning-dark: #9a5f00;
  --mf-status-warning-a16: #f5a52429;
  --mf-status-info: #3b8bf5;
  --mf-status-info-dark: #1f6ad0;
  --mf-status-info-a16: #3b8bf529;
  --mf-pink-50: #fdf2f6;
  --mf-pink-100: #fae0ea;
  --mf-pink-200: #f5c1d5;
  --mf-pink-300: #f495b9;
  --mf-pink-400: #ef679a;
  --mf-pink-500: #e7226c;
  --mf-pink-600: #c21a59;
  --mf-pink-700: #971848;
  --mf-pink-800: #6d1536;
  --mf-pink-900: #460f24;
  --mf-magenta-50: #fcf2f9;
  --mf-magenta-100: #f9e1f2;
  --mf-magenta-200: #f3c4e5;
  --mf-magenta-300: #ef99d7;
  --mf-magenta-400: #e96dc5;
  --mf-magenta-500: #c62a9c;
  --mf-magenta-600: #a4197c;
  --mf-magenta-700: #851866;
  --mf-magenta-800: #681550;
  --mf-magenta-900: #4b113b;
  --mf-brand-pink-a16: #e7226c29;
  --mf-brand-pink-a12: #c21a591f;
  --mf-tint-video: #c2417f33;
  --mf-tint-video-edge: #c2417f8c;
  --mf-tint-webcam: #7c6ae633;
  --mf-tint-webcam-edge: #7c6ae68c;
  --mf-tint-image: #4a86e833;
  --mf-tint-image-edge: #4a86e88c;
  --mf-tint-shape: #2fa7b033;
  --mf-tint-shape-edge: #2fa7b08c;
  --mf-tint-text: #8b7cf033;
  --mf-tint-text-edge: #8b7cf08c;
  --mf-tint-caption: #9a9aa333;
  --mf-tint-zoom: #e08a3c33;
  --mf-tint-zoom-edge: #e08a3c8c;
  --mf-tint-keys: #c9a22733;
  --mf-tint-keys-edge: #c9a2278c;
  --mf-tint-effect: #a855c733;
  --mf-tint-effect-edge: #a855c78c;
  --mf-tint-audio: #2e8f8533;
  --mf-tint-audio-edge: #2e8f858c;
  --mf-tint-audio-bar: #5cc2b5b2;
  --mf-tint-music: #3daa6a33;
  --mf-tint-music-edge: #3daa6a8c;
  --mf-tint-playarea: #ffffff38;
  --mf-font-ui: "Inter Variable", "Inter", system-ui, sans-serif;
  --mf-font-mono: "Roboto Mono", ui-monospace, monospace;
  --mf-type-panel-title-size: 14px;
  --mf-type-panel-title-line: 20px;
  --mf-type-panel-title-weight: 600;
  --mf-type-panel-title-tracking: -0.01em;
  --mf-type-section-size: 13px;
  --mf-type-section-line: 18px;
  --mf-type-section-weight: 600;
  --mf-type-section-tracking: -0.005em;
  --mf-type-value-size: 12px;
  --mf-type-value-line: 16px;
  --mf-type-value-weight: 500;
  --mf-type-value-tracking: 0.0em;
  --mf-type-label-size: 12px;
  --mf-type-label-line: 16px;
  --mf-type-label-weight: 400;
  --mf-type-label-tracking: 0.0em;
  --mf-type-caption-size: 11px;
  --mf-type-caption-line: 14px;
  --mf-type-caption-weight: 400;
  --mf-type-caption-tracking: 0.0em;
  --mf-type-rail-label-size: 10px;
  --mf-type-rail-label-line: 12px;
  --mf-type-rail-label-weight: 500;
  --mf-type-rail-label-tracking: 0.0em;
  --mf-type-mono-timecode-size: 12px;
  --mf-type-mono-timecode-line: 16px;
  --mf-type-mono-timecode-weight: 400;
  --mf-type-mono-timecode-tracking: 0.0em;
  --mf-motion-duration-instant: 0ms;
  --mf-motion-duration-fast: 100ms;
  --mf-motion-duration-base: 160ms;
  --mf-motion-duration-slow: 240ms;
  --mf-motion-duration-slower: 320ms;
  --mf-motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --mf-motion-ease-enter: cubic-bezier(0, 0, 0, 1);
  --mf-motion-ease-exit: cubic-bezier(0.3, 0, 1, 1);
  --mf-motion-tooltip-delay: 500ms;
  --mf-gradient-brand: linear-gradient(135deg, #e7226c 0%, #a4197c 50%, #590e8e 100%);
  --mf-system-window-close: #ff5e57;
  --mf-system-window-minimize: #ffbd2e;
  --mf-system-window-maximize: #29c940;
  --mf-system-scrim: #0000008c;
  --mf-type-page-title-size: 22px;
  --mf-type-page-title-line: 28px;
  --mf-type-page-title-weight: 600;
  --mf-type-page-title-tracking: -0.01em;
  --mf-type-hero-size: 24px;
  --mf-type-hero-line: 30px;
  --mf-type-hero-weight: 600;
  --mf-type-hero-tracking: -0.01em;
  --mf-type-dialog-title-size: 18px;
  --mf-type-dialog-title-line: 24px;
  --mf-type-dialog-title-weight: 600;
  --mf-type-dialog-title-tracking: -0.01em;
  --mf-type-dialog-title-sm-size: 16px;
  --mf-type-dialog-title-sm-line: 20px;
  --mf-type-dialog-title-sm-weight: 600;
  --mf-type-dialog-title-sm-tracking: -0.01em;
}
:root[data-theme="light"] {
  --mf-bg-window: #e9e9eb;
  --mf-bg-surface: #f6f6f7;
  --mf-bg-elevated: #ffffff;
  --mf-bg-canvas-gutter: #efeff1;
  --mf-bg-preview-plate: #d4d4d8;
  --mf-fill-subtle: #0000000a;
  --mf-fill-control: #00000012;
  --mf-fill-control-hover: #00000014;
  --mf-fill-control-value: #0000001c;
  --mf-fill-control-value-active: #00000024;
  --mf-border-hairline: #00000017;
  --mf-border-control: #00000024;
  --mf-border-focus: #c21a59;
  --mf-text-primary: #000000e0;
  --mf-text-secondary: #0000009e;
  --mf-text-tertiary: #00000073;
  --mf-text-accent: #971848;
  --mf-text-on-brand: #ffffff;
  --mf-control-handle: #000000e0;
  --mf-control-chrome: #0000006b;
  --mf-accent-brand: #c21a59;
  --mf-accent-brand-hover: #971848;
  --mf-accent-brand-pressed: #6d1536;
  --mf-accent-brand-soft: #c21a591f;
  --mf-accent-danger: #b42626;
  --mf-accent-danger-soft: #dc383829;
  --mf-accent-success: #1f8a52;
  --mf-accent-success-soft: #34c77b29;
  --mf-accent-warning: #9a5f00;
  --mf-accent-warning-soft: #f5a52429;
  --mf-accent-info: #1f6ad0;
  --mf-accent-info-soft: #3b8bf529;
  --mf-media-overlay: #00000099;
  --mf-media-on-overlay: #ffffff;
  --mf-media-app-red: #ff0000;
  --mf-media-app-rose: #fe2c55;
  --mf-media-app-blue: #1877f2;
  --mf-media-preview-background: #1b1b1e;
}
@media (prefers-reduced-motion: reduce) {
  :root { --mf-motion-duration-base: 0ms; --mf-motion-duration-slow: 0ms; --mf-motion-duration-slower: 0ms; }
}
/* apps/desktop/src/ui/segmented/Segmented.css */
.mf-segmented {
  display: inline-flex;
  gap: 2px;
  height: var(--mf-size-control);
  padding: 2px;
  border-radius: var(--mf-radius-md);
  background: var(--mf-fill-control);
}

.mf-segmented--fill {
  display: flex;
}

/* Columns share the row by their labels' widths, so long labels never clip; a label
   that still can't fit ends in an ellipsis instead of spilling out. */
.mf-segmented--fill .mf-segmented__item {
  flex: 1 1 auto;
  min-width: 0;
}

/* More labels than a row holds: three even columns over as many rows as they need
   (the Effects tab's six sections become 3 × 2), so no label is cut short. */
.mf-segmented--wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: auto;
  row-gap: 2px;
}

.mf-segmented__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mf-space-6);
  height: 28px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--mf-radius-sm);
  background: transparent;
  color: var(--mf-text-secondary);
  font: inherit;
  font-size: var(--mf-type-label-size);
  line-height: var(--mf-type-label-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.mf-segmented__swatch {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--mf-radius-full);
}

.mf-segmented__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mf-segmented__item:hover {
  color: var(--mf-text-primary);
}

.mf-segmented__item:disabled,
.mf-segmented__item:disabled:hover {
  color: var(--mf-text-tertiary);
  cursor: default;
}

.mf-segmented__item--selected {
  background: var(--mf-bg-elevated);
  color: var(--mf-text-primary);
}

.mf-segmented--dense .mf-segmented__item {
  padding-right: var(--mf-space-6);
  padding-left: var(--mf-space-6);
  font-size: var(--mf-type-caption-size);
}
/* apps/desktop/src/ui/chip/Chip.css */
.mf-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: var(--mf-size-control-sm);
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: var(--mf-radius-sm);
  background: var(--mf-fill-control);
  color: var(--mf-text-secondary);
  font: inherit;
  font-size: var(--mf-type-label-size);
  line-height: var(--mf-type-label-line);
  white-space: nowrap;
  cursor: pointer;
}

.mf-chip:hover {
  background: var(--mf-fill-control-hover);
  color: var(--mf-text-primary);
}

.mf-chip--selected,
.mf-chip--selected:hover {
  border-color: var(--mf-border-control);
  background: var(--mf-fill-control-value);
  color: var(--mf-text-primary);
}
/* apps/desktop/src/ui/slider-field/SliderField.css */
.mf-slider-field {
  display: flex;
  align-items: center;
  gap: var(--mf-space-6);
  min-width: 0;
}

.mf-slider-field__track {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: var(--mf-size-control);
  overflow: hidden;
  border-radius: var(--mf-radius-md);
  background: var(--mf-fill-control);
  cursor: ew-resize;
  touch-action: none;
}

.mf-slider-field__track:hover {
  background: var(--mf-fill-control-hover);
}

.mf-slider-field__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--mf-fill-control-value);
}

.mf-slider-field__handle {
  position: absolute;
  top: 9px;
  opacity: 0;
  width: 2.2px;
  height: 14px;
  border-radius: 2px;
  background: var(--mf-control-handle);
}

.mf-slider-field__track:hover .mf-slider-field__handle,
.mf-slider-field__track:focus-visible .mf-slider-field__handle {
  top: 7px;
  height: 18px;
  opacity: 1;
}

.mf-slider-field__label {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  gap: var(--mf-space-6);
  padding: 0 10px;
  color: var(--mf-text-primary);
  font-size: var(--mf-type-label-size);
  line-height: var(--mf-type-label-line);
  white-space: nowrap;
  pointer-events: none;
}

.mf-slider-field__info {
  display: inline-flex;
  color: var(--mf-text-tertiary);
  pointer-events: auto;
}

.mf-slider-field__input {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: 72px;
  height: var(--mf-size-control);
  padding: 0 8px;
  border: 1px solid var(--mf-border-control);
  border-radius: var(--mf-radius-md);
  background: var(--mf-bg-canvas-gutter);
}

.mf-slider-field__input:focus-within {
  border-color: var(--mf-border-focus);
}

.mf-slider-field__input input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--mf-text-primary);
  font: inherit;
  font-size: var(--mf-type-value-size);
  font-weight: var(--mf-type-value-weight);
  text-align: right;
}

.mf-slider-field__unit {
  color: var(--mf-text-tertiary);
  font-size: var(--mf-type-caption-size);
}
/* apps/desktop/src/ui/button/Button.css */
.mf-button {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--mf-space-6);
  height: var(--mf-size-control);
  padding: 0 var(--mf-space-12);
  border: 1px solid transparent;
  border-radius: var(--mf-radius-md);
  font: inherit;
  font-size: var(--mf-type-label-size);
  line-height: var(--mf-type-label-line);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--mf-motion-duration-fast) var(--mf-motion-ease-standard);
}

.mf-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.mf-button--sm {
  height: var(--mf-size-control-sm);
  padding: 0 var(--mf-space-8);
}

.mf-button--lg {
  height: var(--mf-size-control-lg);
  padding: 0 var(--mf-space-16);
}

.mf-button--primary {
  border: 0;
  background: var(--mf-gradient-brand);
  color: var(--mf-text-on-brand);
}

.mf-button--primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.mf-button--secondary {
  background: var(--mf-fill-control);
  border-color: var(--mf-border-control);
  color: var(--mf-text-primary);
}

.mf-button--secondary:hover:not(:disabled) {
  background: var(--mf-fill-control-hover);
}

.mf-button--ghost {
  border: 0;
  background: transparent;
  color: var(--mf-text-secondary);
}

.mf-button--ghost:hover:not(:disabled) {
  background: var(--mf-fill-control);
  color: var(--mf-text-primary);
}


.mf-button__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mf-button__icon {
  flex: none;
}
/* apps/desktop/src/ui/tabs/Tabs.css */
.mf-tabs {
  display: flex;
  gap: var(--mf-space-16);
}

.mf-tabs__tab {
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--mf-text-secondary);
  font: inherit;
  font-size: var(--mf-type-label-size);
  line-height: var(--mf-type-label-line);
  cursor: pointer;
}

.mf-tabs__tab:hover {
  color: var(--mf-text-primary);
}

.mf-tabs__tab--selected {
  border-bottom-color: var(--mf-text-accent);
  color: var(--mf-text-primary);
}
/* apps/desktop/src/ui/section-header/SectionHeader.css */
.mf-section-header {
  display: flex;
  flex-direction: column;
  gap: var(--mf-space-4);
}

.mf-section-header__row {
  display: flex;
  align-items: center;
  gap: var(--mf-space-8);
}

.mf-section-header__title {
  flex: 1 1 0;
  margin: 0;
  color: var(--mf-text-primary);
  font-size: var(--mf-type-panel-title-size);
  line-height: var(--mf-type-panel-title-line);
  font-weight: var(--mf-type-panel-title-weight);
  letter-spacing: var(--mf-type-panel-title-tracking);
}

.mf-section-header__reset {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mf-text-secondary);
  cursor: pointer;
}

.mf-section-header__description {
  margin: 0;
  color: var(--mf-text-tertiary);
  font-size: var(--mf-type-caption-size);
  line-height: var(--mf-type-caption-line);
}
