:root{--ff-page-bg:#eeecec;--ff-page-dot:color-mix(in srgb,var(--foreground) 12%,transparent);--ff-page-grid:radial-gradient(circle at center,var(--ff-page-dot) 1px,transparent 1.5px) top left /16px 16px repeat;--background:#f5f5f5;--background-secondary:#ebebeb;--surface:#ffffff;--surface-secondary:#efeff0;--surface-tertiary:#eaeaeb;--foreground:#18181b;--muted:#71717a;--ff-text-tertiary:#a1a1aa;--default:#ebebec;--default-hover:#e1e1e2;--default-soft:rgb(235 235 236/50%);--border:#dedee0;--separator:#e4e4e7;--separator-tertiary:#cdcdce;--field-placeholder:#71717a;--accent:#0485f7;--accent-hover:#3592f9;--accent-soft:rgb(4 133 247/15%);--accent-soft-foreground:#1d63ae;--accent-foreground:#fcfcfc;--success:#17c964;--success-soft:rgb(23 201 100/15%);--success-soft-foreground:#2b7744;--warning:#f5a524;--warning-soft:rgb(245 165 36/15%);--warning-soft-foreground:#855f2c;--danger:#ff383c;--danger-soft:rgb(255 56 60/15%);--danger-soft-foreground:#a43532;--danger-foreground:#fcfcfc;--ff-brand:#d1ff16;--ff-brand-hover:#c3f000;--ff-brand-foreground:#18181b;--ff-inline-action:#ffffff;--ff-inline-action-foreground:#18181b;--ff-brand-soft:#f7ffdb;--ff-brand-text:#5f8200;--ff-logo:#000000;--ff-port-text:#8b5cf6;--ff-port-text-soft:rgb(139 92 246/12%);--ff-port-text-foreground:#5c40cc;--ff-port-video:#f23a93;--ff-port-video-soft:rgb(242 58 147/12%);--ff-scrim:rgb(0 0 0/60%);--ff-scrim-soft:rgb(0 0 0/45%);--ff-dialog-scrim:var(--ff-scrim);--ff-gallery-shade:linear-gradient(180deg,rgb(0 0 0/50%),rgb(0 0 0/15%) 30%,rgb(0 0 0/35%) 50%,rgb(0 0 0/90%));--backdrop:rgb(0 0 0/50%);--ff-mask-opaque:#000000;--ff-mask-rgb:0,0,0;--ff-shadow-composer:0 2px 8px rgb(0 0 0/6%),0 -6px 12px rgb(0 0 0/3%),0 14px 28px rgb(0 0 0/8%);--ff-shadow-panel:0 0 1px rgb(0 0 0/6%),0 1px 2px rgb(0 0 0/6%),0 2px 4px rgb(0 0 0/4%);--ff-shadow-control:0 2px 8px rgb(0 0 0/6%);--ff-shadow-toolbar:0 1px 3px #00000006;--ff-shadow-card:0 1px 3px #00000009;--ff-viewer-bg:#18181b;--ff-viewer-danger:#db3b3e;--ff-viewer-danger-soft:rgb(219 59 62/15%);--ff-viewer-danger-foreground:#eb7872;--ff-on-media:#ffffff;--ff-on-media-muted:rgb(255 255 255/70%);--ff-on-media-subtle:rgb(255 255 255/16%);--ff-media-chip:rgb(255 255 255/92%);--hover:rgb(0 0 0/4%);--active:rgb(0 0 0/7%);--shadow-color:rgb(0 0 0/6%);--overlay-rgb:0 0 0;--ui-icon-filter:brightness(0);--ui-selected-icon-filter:brightness(0) invert(1)}:root:where([data-channel=beta]){--ff-font-sans:"Geist Variable","Inter Variable",system-ui,sans-serif;--ff-font-mono:"Geist Mono Variable",ui-monospace,SFMono-Regular,Menlo,monospace;--ff-page-bg:#ececee;--ff-page-dot:color-mix(in srgb,var(--foreground) 13%,transparent);--background:#f3f3f4;--background-secondary:#e9e9eb;--surface:var(--surface-2);--surface-secondary:#f0f0f1;--foreground:#1f1f21;--muted:#5c5c62;--ff-text-tertiary:#7b7b81;--default:#ececed;--default-hover:#e3e3e5;--default-soft:rgb(0 0 0/3%);--border:#e0e0e3;--separator:#e6e6e8;--separator-tertiary:#cdcdd0;--field-placeholder:#616167;--accent:#6a9400;--accent-hover:#7aa800;--accent-soft:rgb(209 255 22/24%);--accent-soft-foreground:#4d6b00;--accent-foreground:#18181b;--ff-dialog-scrim:rgb(28 28 32/28%);--ff-shadow-composer:0 0 0 1px rgb(0 0 0/6%),inset 0 1px 0 #ffffff,0 2px 4px rgb(0 0 0/4%),0 22px 44px -24px rgb(0 0 0/24%);--ff-shadow-panel:0 0 0 1px rgb(0 0 0/5.5%),inset 0 1px 0 #ffffff,0 1px 2px rgb(0 0 0/5%),0 6px 14px -10px rgb(0 0 0/14%);--ff-shadow-bar:0 0 0 1px rgb(0 0 0/6%),inset 0 1px 0 #ffffff,0 12px 32px -20px rgb(0 0 0/12%);--ff-shadow-popover:0 0 0 1px rgb(0 0 0/9%),inset 0 1px 0 rgb(255 255 255/90%),0 2px 4px rgb(0 0 0/4%),0 12px 28px -12px rgb(0 0 0/20%);--ff-shadow-dialog:0 0 0 1px rgb(0 0 0/8%),inset 0 1px 0 #ffffff,0 2px 6px rgb(0 0 0/6%),0 24px 48px -18px rgb(0 0 0/28%);--ff-popover-bg:#f3f3f4;--ff-hover-chip-bg:#ffffff;--ff-hover-chip-shadow:inset 0 1px 0 #ffffff,0 0 0 1px rgb(0 0 0/6%),0 1px 2px rgb(0 0 0/7%);--ff-selected-ring:0 0 0 1.5px var(--accent);--ff-shadow-control:var(--ff-raised-shadow);--ff-shadow-toolbar:var(--ff-shadow-bar);--ff-shadow-card:var(--ff-shadow-panel);--ff-shadow-stage:0 0 0 1px rgb(0 0 0/9%),0 24px 50px -28px rgb(0 0 0/22%);--ff-bar:#f3f3f4;--ff-well:rgb(0 0 0/5%);--ff-well-shadow:inset 0 1px 2px rgb(0 0 0/6%),inset 0 0 0 1px rgb(0 0 0/4%);--ff-well-solid:#e0e0e2;--ff-field-bg:#ffffff;--ff-field-shadow:inset 0 0 0 1px rgb(0 0 0/10%),inset 0 1px 2px rgb(0 0 0/4%);--ff-row-bg:rgb(0 0 0/1.5%);--ff-row-ring:inset 0 0 0 1px rgb(0 0 0/5.5%);--ff-raised-bg:linear-gradient(#ffffff,#f7f7f8);--ff-raised-shadow:inset 0 1px 0 #ffffff,0 0 0 1px rgb(0 0 0/5%),0 1px 2px rgb(0 0 0/9%);--ff-key-bg:linear-gradient(160deg,#ffffff,#f3f3f3);--ff-key-shadow:0 0 0 1px rgb(0 0 0/13%),inset 0 1px 1px rgb(255 255 255/85%),0 1px 2px rgb(0 0 0/8%);--ff-key-veil:rgb(0 0 0/3%);--ff-ink-key-bg:linear-gradient(160deg,#3c3c40,#232325 55%,#18181a);--ff-ink-key-shadow:0 0 0 1px #111113,inset 0 1px 0 rgb(255 255 255/16%),0 1px 2px rgb(0 0 0/16%);--ff-brand-gradient:linear-gradient(160deg,#e6ff70,#d1ff16 55%,#c1ec04);--ff-brand-edge:#a3c900;--ff-brand-key-shadow:0 0 0 1px var(--ff-brand-edge),inset 0 1px 0 rgb(255 255 255/60%),0 2px 4px rgb(0 0 0/12%),0 8px 18px -6px rgb(130 170 0/45%);--ff-switch-track-shadow:inset 0 1px 2px rgb(0 0 0/14%),inset 0 0 0 1px rgb(0 0 0/6%);--ff-switch-thumb-shadow:0 1px 2px rgb(0 0 0/22%),0 0 0 .5px rgb(0 0 0/8%);--ff-section-title:#5f5f63;--ff-caps-label:rgb(0 0 0/66%)}:root[data-theme=dark]{--ff-port-text:#a78bfa;--ff-port-text-soft:rgb(167 139 250/16%);--ff-port-text-foreground:#c4b5fd;--ff-port-video:#f472b6;--ff-port-video-soft:rgb(244 114 182/16%);--ff-page-bg:var(--surface-1);--ff-dialog-scrim:rgb(0 0 0/80%);--background:#060607;--background-secondary:#0c0c0e;--surface:var(--surface-2);--surface-secondary:var(--surface-3);--surface-tertiary:var(--surface-3);--foreground:#fcfcfc;--muted:#a1a1aa;--ff-text-tertiary:#52525b;--default:rgb(255 255 255/8%);--default-hover:rgb(255 255 255/12%);--default-soft:rgb(255 255 255/6%);--border:rgb(255 255 255/9%);--separator:rgb(255 255 255/6%);--separator-tertiary:rgb(255 255 255/16%);--field-placeholder:#a1a1aa;--accent-soft:rgb(4 133 247/12%);--accent-soft-foreground:#61a8fc;--success-soft:rgb(23 201 100/12%);--success-soft-foreground:#74d88f;--warning:#f7b750;--warning-soft:rgb(247 183 80/12%);--warning-soft-foreground:#f9cb87;--danger:#db3b3e;--danger-soft:rgb(219 59 62/15%);--danger-soft-foreground:#eb7872;--ff-brand-hover:#dcff4d;--ff-brand-soft:rgb(209 255 22/12%);--ff-brand-text:#d1ff16;--ff-logo:#fcfcfc;--ff-media-chip:rgb(24 24 27/92%);--hover:rgb(255 255 255/6%);--active:rgb(255 255 255/10%);--shadow-color:rgb(0 0 0/20%);--overlay-rgb:255 255 255;--ui-icon-filter:brightness(0) invert(1);--ui-selected-icon-filter:brightness(0)}:root[data-theme=dark]:where(:not([data-channel=beta])){--ff-page-dot:color-mix(in srgb,var(--foreground) 9%,transparent)}:root[data-theme=dark]:where([data-channel=beta]){--ff-dialog-scrim:rgb(0 0 0/55%);--background:#0f0f10;--background-secondary:#141415;--foreground:#efeff1;--muted:#b0b0b6;--ff-text-tertiary:#8a8a90;--ff-shadow-composer:0 0 0 1px rgb(0 0 0/60%),inset 0 1px 0 rgb(255 255 255/7%),0 2px 4px rgb(0 0 0/30%),0 22px 44px -24px rgb(0 0 0/70%);--ff-shadow-panel:0 0 0 1px rgb(0 0 0/55%),inset 0 0 0 1px rgb(255 255 255/6%),inset 0 1px 0 rgb(255 255 255/8%),0 1px 2px rgb(0 0 0/30%),0 8px 18px -10px rgb(0 0 0/50%);--ff-shadow-bar:0 0 0 1px rgb(0 0 0/55%),inset 0 0 0 1px rgb(255 255 255/7%),inset 0 1px 0 rgb(255 255 255/8%),0 12px 32px -20px rgb(0 0 0/60%);--ff-shadow-popover:0 0 0 1px rgb(0 0 0/60%),inset 0 0 0 1px rgb(255 255 255/8%),inset 0 1px 0 rgb(255 255 255/9%),0 2px 6px rgb(0 0 0/30%),0 18px 36px -14px rgb(0 0 0/70%);--ff-shadow-dialog:0 0 0 1px rgb(0 0 0/60%),inset 0 1px 0 rgb(255 255 255/8%),0 2px 6px rgb(0 0 0/30%),0 24px 48px -18px rgb(0 0 0/75%);--ff-popover-bg:#29292b;--ff-hover-chip-bg:#39393c;--ff-hover-chip-shadow:inset 0 1px 0 rgb(255 255 255/9%),0 0 0 1px rgb(0 0 0/50%),0 1px 2px rgb(0 0 0/40%);--ff-shadow-stage:0 0 0 1px rgb(0 0 0/60%),0 24px 50px -28px rgb(0 0 0/70%);--ff-bar:#1c1c1e;--ff-well:rgb(255 255 255/6%);--ff-well-shadow:inset 0 1px 2px rgb(0 0 0/30%),inset 0 0 0 1px rgb(255 255 255/7%);--ff-well-solid:#242425;--ff-field-bg:rgb(255 255 255/5%);--ff-field-shadow:inset 0 1px 2px rgb(0 0 0/25%),inset 0 0 0 1px rgb(255 255 255/12%);--ff-row-bg:rgb(255 255 255/2%);--ff-row-ring:inset 0 0 0 1px rgb(255 255 255/9%);--ff-raised-bg:linear-gradient(#47474b,#3c3c40);--ff-raised-shadow:inset 0 1px 0 rgb(255 255 255/9%),0 0 0 1px rgb(0 0 0/50%),0 1px 2px rgb(0 0 0/40%);--ff-key-bg:linear-gradient(160deg,#353538,#29292b);--ff-key-shadow:0 0 0 1px rgb(0 0 0/60%),inset 0 0 0 1px rgb(255 255 255/7%),inset 0 1px 0 rgb(255 255 255/9%),0 1px 2px rgb(0 0 0/35%);--ff-key-veil:rgb(255 255 255/4%);--ff-ink-key-bg:linear-gradient(160deg,#ffffff,#ececee 55%,#dcdcdf);--ff-ink-key-shadow:0 0 0 1px rgb(0 0 0/60%),inset 0 1px 0 #ffffff,0 1px 2px rgb(0 0 0/40%);--ff-brand-key-shadow:0 0 0 1px rgb(0 0 0/55%),inset 0 1px 0 rgb(255 255 255/45%),0 2px 4px rgb(0 0 0/40%),0 8px 18px -6px rgb(209 255 22/22%);--ff-switch-track-shadow:inset 0 1px 2px rgb(0 0 0/40%),inset 0 0 0 1px rgb(0 0 0/30%);--ff-switch-thumb-shadow:0 1px 2px rgb(0 0 0/45%),0 0 0 .5px rgb(0 0 0/30%);--ff-section-title:#b0b0b6;--ff-caps-label:rgb(255 255 255/66%);--border:rgb(255 255 255/11%);--separator:rgb(255 255 255/8%);--field-placeholder:#a8a8ae;--accent:#d1ff16;--accent-hover:#dcff4d;--accent-soft:rgb(209 255 22/14%);--accent-soft-foreground:#d1ff16}:root,[data-surface]{--field-background:var(--surface);--ff-control-bg:var(--surface);--ui-canvas:var(--ff-page-bg);--ui-surface:var(--surface);--ui-soft:var(--surface-secondary);--ui-field:var(--default);--ui-hover:var(--default-hover);--ui-ink:var(--foreground);--ui-muted:var(--muted);--ui-border:var(--border);--ui-accent:var(--accent);--ui-accent-hover:var(--accent-hover);--ui-on-accent:var(--accent-foreground);--ui-positive:var(--success-soft-foreground);--ui-warning:var(--warning-soft-foreground);--ui-warning-soft:var(--warning-soft);--ui-accent-soft:var(--accent-soft);--ui-inverse:var(--foreground);--ui-on-inverse:var(--surface);--focus-ring:var(--accent);--focus:var(--accent);--ring:var(--accent);--selected:var(--default-hover);--destructive-light:var(--danger-soft);--destructive:var(--danger);--destructive-foreground:var(--danger-foreground);--muted-foreground:var(--muted);--primary:var(--foreground);--primary-foreground:var(--surface);--secondary:var(--surface-secondary);--secondary-foreground:var(--foreground);--input:var(--border);--popover:var(--surface);--popover-foreground:var(--foreground);--card:var(--surface);--card-foreground:var(--foreground);--surface-foreground:var(--foreground);--default-foreground:var(--foreground);--field-foreground:var(--foreground);--segment:var(--surface);--segment-foreground:var(--foreground);--overlay:var(--surface);--overlay-foreground:var(--foreground)}:root{--field-radius:12px;--field-border-width:0px;--radius-panel:24px;--space-panel:24px;--shadow-1:0 0 0 1px var(--shadow-color);--shadow-2:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color);--shadow-3:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color);--shadow-4:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color),0 6px 6px -3px var(--shadow-color);--shadow-5:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color),0 6px 6px -3px var(--shadow-color),0 12px 12px -6px var(--shadow-color);--shadow-6:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color),0 6px 6px -3px var(--shadow-color),0 12px 12px -6px var(--shadow-color),0 24px 24px -12px var(--shadow-color);--shadow-7:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color),0 6px 6px -3px var(--shadow-color),0 12px 12px -6px var(--shadow-color),0 24px 24px -12px var(--shadow-color),0 48px 48px -24px var(--shadow-color);--shadow-8:0 0 0 1px var(--shadow-color),0 1px 1px -0.5px var(--shadow-color),0 3px 3px -1.5px var(--shadow-color),0 6px 6px -3px var(--shadow-color),0 12px 12px -6px var(--shadow-color),0 24px 24px -12px var(--shadow-color),0 48px 48px -24px var(--shadow-color),0 96px 96px -48px var(--shadow-color)}:root:where([data-channel=beta]){--field-radius:14px}:root[data-theme=dark]{color-scheme:dark}:root{--surface-1:var(--ff-page-bg);--surface-2:#ffffff;--surface-3:#ffffff;--surface-4:#ffffff;--surface-5:#ffffff;--surface-6:#ffffff;--surface-7:#ffffff;--surface-8:#ffffff}:root:where([data-channel=beta]){--surface-2:#fbfbfb}:root[data-theme=dark]{--surface-1:#171717;--surface-2:#1e1e1e;--surface-3:#252525;--surface-4:#2c2c2c;--surface-5:#333333;--surface-6:#3a3a3a;--surface-7:#414141;--surface-8:#484848;--dm-hi-base:rgb(255 255 255/1%);--dm-hi-mid:rgb(255 255 255/2%);--dm-hi-high:rgb(255 255 255/4%);--dm-hi-peak:rgb(255 255 255/6%);--dm-ring-base:rgb(255 255 255/2%);--dm-ring-mid:rgb(255 255 255/4%);--dm-ring-high:rgb(255 255 255/6%);--dm-drop:rgb(0 0 0/18%);--shadow-1:inset 0 0 0 1px var(--dm-ring-base);--shadow-2:inset 0 1px 0 0 var(--dm-hi-base),inset 0 0 0 1px var(--dm-ring-base),0 1px 1px -0.5px var(--dm-drop);--shadow-3:inset 0 1px 0 0 var(--dm-hi-mid),inset 0 0 0 1px var(--dm-ring-base),0 0 0 1px rgb(0 0 0/12%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop);--shadow-4:inset 0 1px 0 0 var(--dm-hi-mid),inset 0 0 0 1px var(--dm-ring-mid),0 0 0 1px rgb(0 0 0/14%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop),0 6px 6px -3px var(--dm-drop);--shadow-5:inset 0 1px 0 0 var(--dm-hi-high),inset 0 0 0 1px var(--dm-ring-mid),0 0 0 1px rgb(0 0 0/16%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop),0 6px 6px -3px var(--dm-drop),0 12px 12px -6px var(--dm-drop);--shadow-6:inset 0 1px 0 0 var(--dm-hi-high),inset 0 0 0 1px var(--dm-ring-high),0 0 0 1px rgb(0 0 0/18%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop),0 6px 6px -3px var(--dm-drop),0 12px 12px -6px var(--dm-drop),0 24px 24px -12px var(--dm-drop);--shadow-7:inset 0 1px 0 0 var(--dm-hi-peak),inset 0 0 0 1px var(--dm-ring-high),0 0 0 1px rgb(0 0 0/20%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop),0 6px 6px -3px var(--dm-drop),0 12px 12px -6px var(--dm-drop),0 24px 24px -12px var(--dm-drop),0 48px 48px -24px var(--dm-drop);--shadow-8:inset 0 1px 0 0 var(--dm-hi-peak),inset 0 0 0 1px var(--dm-ring-high),0 0 0 1px rgb(0 0 0/22%),0 1px 1px -0.5px var(--dm-drop),0 3px 3px -1.5px var(--dm-drop),0 6px 6px -3px var(--dm-drop),0 12px 12px -6px var(--dm-drop),0 24px 24px -12px var(--dm-drop),0 48px 48px -24px var(--dm-drop),0 96px 96px -48px var(--dm-drop)}:root[data-theme=dark]:where([data-channel=beta]){--surface-1:#161617;--surface-2:#202021;--surface-3:#29292b;--surface-4:#303032;--surface-5:#363639;--surface-6:#3c3c3f;--surface-7:#434346;--surface-8:#4a4a4d}:root[data-theme=dark] [data-surface]:not([data-surface="2"]){--ff-control-bg:var(--surface-secondary)}:root[data-theme=dark] [data-surface="2"]{--surface:var(--surface-2);--surface-secondary:var(--surface-3);--surface-tertiary:var(--surface-3)}:root[data-theme=dark] [data-surface="3"]{--surface:var(--surface-3);--surface-secondary:var(--surface-4);--surface-tertiary:var(--surface-4)}:root[data-theme=dark] [data-surface="4"]{--surface:var(--surface-4);--surface-secondary:var(--surface-5);--surface-tertiary:var(--surface-5)}:root[data-theme=dark] [data-surface="5"]{--surface:var(--surface-5);--surface-secondary:var(--surface-6);--surface-tertiary:var(--surface-6)}:root[data-theme=dark] [data-surface="6"]{--surface:var(--surface-6);--surface-secondary:var(--surface-7);--surface-tertiary:var(--surface-7)}:root[data-theme=dark] [data-surface="7"]{--surface:var(--surface-7);--surface-secondary:var(--surface-8);--surface-tertiary:var(--surface-8)}:root[data-theme=dark] [data-surface="8"]{--surface:var(--surface-8);--surface-secondary:#4f4f4f;--surface-tertiary:#4f4f4f}:root:not([data-theme=dark]):where([data-channel=beta]) [data-surface]:not([data-surface="2"]){--surface:#ffffff}.auth-page,.hero-ui{color:var(--foreground)}:root{--motion-fast:80ms;--motion-fast-exit:60ms;--motion-moderate:160ms;--motion-moderate-exit:120ms;--motion-slow:240ms;--motion-slow-exit:160ms;--motion-spring:linear(0,.1144,.3208,.5164,.6711,.7831,.8601,.9113,.9445,.9656,.9789,.9871,.9922,.9953,.9972,.9983,1);--motion-spring-slow:linear(0,.1045,.3072,.5116,.6797,.8032,.887,.9402,.9717,.9892,.9979,1.0017,1.0029,1.0028,1.0023,1.0017,1);--motion-exit:cubic-bezier(.42,0,.58,1)}@layer base{:root{color-scheme:light;font-family:Inter Variable,sans-serif;-webkit-font-smoothing:antialiased}:root:where([data-channel=beta]){font-family:var(--ff-font-sans)}body{margin:0;color:var(--foreground);background:var(--ff-page-bg);font-size:13px;line-height:20px}:where(:root[data-channel=beta]) body{letter-spacing:-.1px}a,button,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}p{margin:12px 0}}.next-header{border-bottom:0;background:var(--background);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;min-height:64px;padding:12px 14px}.next-studio .next-toolbar [role=tablist]{background:transparent}.next-studio .next-toolbar [role=tab]{min-height:40px;padding-inline:16px}.next-studio .next-scale{background:var(--ui-surface);border-radius:28px;padding:8px 16px}.next-brand{gap:8px;font-size:15px;font-weight:550;font-variation-settings:"opsz" 18}.next-brand,.next-header nav{display:flex;align-items:center}.next-header nav{max-width:100%;min-width:0;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted-foreground);line-height:20px}.next-header a[aria-current]{color:var(--foreground)}.next-main{max-width:1600px;margin:auto;padding:36px 28px}.next-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.next-heading h1{font-size:28px;font-weight:700;margin:8px 0;line-height:34px;font-variation-settings:"opsz" 25}.next-muted{font-size:13px;line-height:20px;color:var(--muted-foreground)}.next-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}.next-scale{width:190px;flex-shrink:0;font-size:12px;color:var(--muted-foreground);line-height:16px}.next-gallery{columns:var(--preview-size,280px);column-gap:16px}.next-card{break-inside:avoid;margin:0 0 16px;background:var(--ui-surface);border-radius:30px;overflow:hidden}.next-preview{display:block;width:100%;border:0;padding:0;background:var(--ui-surface);text-align:left;color:inherit}.next-preview img,.next-preview video{display:block;width:100%;height:auto}.next-preview:focus-visible{outline-offset:-4px}.next-pending{min-height:220px;display:flex;flex-direction:column;justify-content:center;padding:24px;gap:12px}.next-pending span{color:var(--muted-foreground);font-size:13px;line-height:20px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.next-missing{display:block;padding:60px 20px;color:var(--muted-foreground);text-align:center}.next-card-actions,.next-card-meta{display:flex;gap:12px;justify-content:space-between;padding:12px 16px;font-size:11px;line-height:14px}.next-card-meta{color:var(--muted-foreground)}.next-card-meta span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.next-card-meta span:last-child{flex-shrink:0}.next-card-retention{margin:0;padding:0 16px 12px;font-size:11px;line-height:14px;overflow-wrap:anywhere}.next-card-actions{padding-top:0;align-items:center}.next-card-actions a{flex-shrink:0}.next-empty{text-align:center;padding:80px 16px}.next-empty img{margin:0 auto 24px;filter:var(--ui-icon-filter);opacity:.4}.next-empty h2{font-size:16px;font-weight:550;line-height:22px;font-variation-settings:"opsz" 18}.next-empty p{color:var(--muted-foreground)}.next-empty a,.next-empty p{font-size:13px;line-height:20px}.next-empty a{display:inline-block;margin-top:16px}.next-loading{padding:64px;text-align:center;color:var(--muted-foreground)}.next-alert{background:var(--destructive-light);color:var(--destructive);border-radius:8px;padding:14px;font-size:13px;line-height:20px;overflow-wrap:anywhere}.next-alert button{border:0;background:transparent;text-decoration:underline;color:inherit}.next-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.next-detail-heading h2{font-size:16px;margin:0;font-weight:550;line-height:22px;font-variation-settings:"opsz" 18}.next-detail-file img,.next-detail-file video{display:block;max-width:100%;max-height:65vh;height:auto;margin:auto;object-fit:contain;border-radius:8px}.next-detail-file a{display:inline-block;padding:12px 0;font-size:13px;text-decoration:underline;line-height:20px}.next-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:20px}.next-detail-actions{display:flex;gap:12px;flex-wrap:wrap}.next-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ui-inverse);color:var(--ui-on-inverse);border-radius:100px;padding:12px 24px;font-size:13px;z-index:5;line-height:20px}.next-error{max-width:600px;margin:80px auto;padding:24px}@media (max-width:760px){.next-header{border-bottom:1px solid var(--border);background:var(--surface-2);padding:16px}.next-header nav{max-width:100%;min-width:0;gap:12px}.next-main{padding:24px 16px}.next-heading{align-items:flex-start;flex-direction:column}.next-heading h1{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25}.next-toolbar{align-items:flex-start}.next-scale{width:190px;flex-shrink:0;margin-left:auto}.next-gallery{column-gap:12px}}.next-studio{min-height:100dvh;background:var(--ff-page-bg) var(--ff-page-grid);isolation:isolate}.next-studio .next-studio{background:none;isolation:auto}.ff-page-spotlight{--ff-spot-dot:color-mix(in srgb,var(--foreground) 22%,transparent);position:fixed;top:0;left:0;z-index:-1;width:360px;height:360px;pointer-events:none;opacity:0;transform:translate3d(var(--ff-spot-x,-999px),var(--ff-spot-y,-999px),0);background:radial-gradient(circle at center,var(--ff-spot-dot) 1px,transparent 1.5px) var(--ff-spot-dx,0) var(--ff-spot-dy,0) /16px 16px;-webkit-mask-image:radial-gradient(circle closest-side,#000,transparent);mask-image:radial-gradient(circle closest-side,#000,transparent);transition:opacity var(--motion-slow-exit) var(--motion-exit)}.ff-page-spotlight[data-visible=true]{opacity:1;transition-duration:var(--motion-slow)}@media (prefers-reduced-motion:reduce){.ff-page-spotlight{display:none}}.studio-main{max-width:none;margin:auto;padding:14px 14px 48px}.studio-boot-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (min-width:768px){.studio-main:has(>div:not([hidden]) .gallery-toolbar){padding:4px 20px 48px}}.studio-main h1{font-size:28px;font-weight:700;margin:0 0 28px;line-height:34px;font-variation-settings:"opsz" 25}.studio-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}.studio-panel{border-radius:30px;padding:20px;min-width:0}.studio-workspace-title{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}fieldset{border:0;padding:0;margin:0;min-width:0}.studio-label{display:block;font-size:12px;line-height:16px;margin:0 0 8px;color:var(--muted-foreground)}.studio-field,.studio-select{min-width:0;width:100%;margin:18px 0}.studio-toggle{margin:16px 0}.studio-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.studio-parameters .studio-select{margin:12px 0}.studio-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0}.studio-segments{min-width:0;max-width:100%;overflow-x:auto;padding:3px;margin:-3px}.studio-actions>.studio-field{flex:1;min-width:180px;max-width:280px;margin:0}.studio-actions>.studio-select{flex:1;min-width:160px;margin:0}.studio-text-button{color:var(--muted-foreground);font-size:12px;line-height:16px}.studio-references{margin:24px 0}.studio-references legend{font-size:12px;color:var(--muted-foreground);margin-bottom:8px;line-height:16px}.studio-upload{display:grid;position:relative;place-items:center;padding:24px 16px;border:1px dashed var(--border);border-radius:20px;min-height:132px;text-align:center;font-size:13px;cursor:pointer;background:var(--background);line-height:20px}.studio-upload:hover{background:var(--hover)}.studio-upload:has(:focus-visible){outline:1px solid var(--focus-ring);outline-offset:2px}.studio-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.studio-reference{display:flex;align-items:center;gap:10px;margin:8px 0;font-size:12px;border-radius:8px;padding:8px;background:var(--background);line-height:16px}.studio-reference img{width:48px;height:48px;object-fit:contain;border-radius:4px}.studio-reference>div{flex:1;min-width:0;overflow-wrap:anywhere}.studio-reference small{display:block;color:var(--muted-foreground);margin-top:4px}.studio-reference .studio-select{margin:8px 0 0}.studio-price{border-top:0;padding:0;margin-top:4px;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.studio-appearances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}.studio-appearances button{padding:6px;box-shadow:var(--shadow-1);border-radius:8px;font-size:12px;text-align:left;transition:background var(--motion-fast) var(--motion-spring);line-height:16px}.studio-appearances button:hover{background:var(--hover)}.studio-appearances [aria-pressed=true]{box-shadow:0 0 0 1px var(--foreground);background:var(--surface-3)}.studio-appearances img{width:100%;height:100px;object-fit:cover;border-radius:4px}.studio-appearances span{display:block;padding:8px 4px}.studio-template-preview{display:block;max-width:240px;max-height:180px;object-fit:contain;margin:16px 0;border-radius:8px}.studio-modal{max-height:calc(100dvh - 48px);overflow-y:auto}.studio-modal p{margin:12px 0}.studio-panel:disabled,fieldset:disabled{opacity:.65}[hidden]{display:none!important}@media (max-width:1100px){.studio-main{padding:14px 14px 48px}.studio-layout{grid-template-columns:320px minmax(0,1fr);gap:20px}}@media (max-width:767px){.studio-main{padding:0 8px 32px}.studio-layout{grid-template-columns:minmax(0,1fr);gap:24px}.studio-panel{padding:20px}.studio-main h1{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25}}.account-theme{display:grid;gap:14px;padding-block:20px;margin-bottom:20px;border-bottom:1px solid var(--ui-border)}.account-workspace{min-height:100vh}.account-header{display:flex;align-items:center;gap:20px;padding:14px 32px;border-bottom:1px solid var(--ui-border);min-height:68px}.account-header>span{margin-left:auto;color:var(--ui-muted);font-size:12px;line-height:16px}.account-header .next-brand{font-size:13px;font-weight:400;font-variation-settings:"opsz" 14}.account-main{max-width:1440px;padding:40px}.account-main .next-heading{align-items:center}.account-main .next-heading h1{margin:6px 0 0;font-size:28px;line-height:34px;font-weight:700;font-variation-settings:"opsz" 25}.account-main .next-heading p{margin-bottom:0}.account-panel{background:var(--ui-surface);border-radius:24px;margin-top:24px;padding:28px!important;min-width:0}.account-panel h2{font-size:16px;font-weight:550;margin:28px 0 16px;line-height:22px;font-variation-settings:"opsz" 18}.account-panel>h2:first-child{margin-top:0}.account-panel>form{max-width:680px;margin:24px 0 0}.account-panel>form>fieldset{display:flex;flex-direction:column;gap:20px}.account-panel progress{display:block;width:100%;accent-color:var(--ui-accent);margin:8px 0;height:6px}.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.account-section-heading h2{margin:0}.account-section-heading p{margin:6px 0 0;color:var(--ui-muted)}.account-section-heading .studio-actions{margin:0;flex-wrap:nowrap}.account-section-heading>.management-search{max-width:300px}.account-section-heading .hero-field{min-width:160px}.account-stats,.account-user-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.account-stats>.card,.account-user-summary>.card{display:flex;flex-direction:column;gap:14px;padding:22px;background:var(--ui-soft);border:1px solid var(--ui-border);border-radius:16px;color:var(--ui-muted);font-size:12px;box-shadow:none;line-height:16px;font-variant-numeric:tabular-nums}.account-stats strong,.account-user-summary strong{font-size:28px;color:var(--ui-ink);font-weight:700;line-height:34px;font-variation-settings:"opsz" 25;font-variant-numeric:tabular-nums}.account-stats small{font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}.account-user-summary>.card{flex-direction:row;align-items:center;justify-content:space-between}.account-user-summary strong{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25;font-variant-numeric:tabular-nums}.account-chart{display:flex;gap:4px;align-items:flex-end;margin-bottom:32px;padding:16px 12px;border-radius:16px;background:var(--ui-soft)}.account-chart>div{flex:1;min-width:0;text-align:center}.account-chart svg{width:100%;height:125px}.account-chart small{font-size:11px;color:var(--ui-muted);line-height:14px;font-variant-numeric:tabular-nums}.account-table{overflow-x:auto;min-width:0}.account-panel .table{box-shadow:none;border:1px solid var(--ui-border);border-radius:14px}.account-panel .table__content{width:100%;min-width:700px;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.account-panel .table__column{background:var(--ui-soft);white-space:nowrap;padding:14px 16px;color:var(--ui-muted);font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}.account-panel .table__cell{padding:16px}.account-panel .table__cell small{display:block;margin-top:5px;color:var(--ui-muted);font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}.account-user-filters{display:grid;grid-template-columns:minmax(200px,1fr) 230px;align-items:end;gap:16px;margin:24px 0}.account-user-filters .select__trigger{min-height:40px}.account-user-identity{display:flex;align-items:center;gap:12px}.account-user-identity strong{overflow-wrap:anywhere}.account-access-controls{display:flex;flex-direction:column;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--ui-border)}@media (max-width:1000px){.account-main{padding:28px 20px}.account-stats,.account-user-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.account-header{padding:12px 16px;gap:12px;flex-wrap:wrap}.account-header>span{margin-left:0;flex:1}.account-header .next-brand{width:100%}.account-main{padding:28px 14px}.account-main .next-heading{align-items:flex-start;flex-direction:column;gap:12px}.account-main .next-heading h1{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25}.account-panel{padding:18px!important;border-radius:20px}.account-section-heading{align-items:stretch;flex-direction:column;gap:16px}.account-section-heading .studio-actions{flex-wrap:wrap}.account-section-heading>.management-search{max-width:none}.account-stats,.account-user-summary{gap:8px}.account-stats>.card,.account-user-summary>.card{padding:14px}.account-stats strong{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25;font-variant-numeric:tabular-nums}.account-user-summary>.card{flex-direction:column;align-items:flex-start;gap:8px}.account-user-filters{grid-template-columns:minmax(0,1fr)}.account-chart{gap:1px;padding-inline:2px}.account-chart small{font-size:7px}}.hero-icon{filter:var(--ui-icon-filter);display:block;width:16px;height:16px;flex:0 0 16px}.hero-composer{min-width:0;width:100%;border-radius:32px;padding:16px;background:var(--ui-surface);box-shadow:var(--ff-shadow-panel)}:where(:root[data-channel=beta]) .hero-composer{border-radius:28px}.hero-composer-fields{display:flex;flex-direction:column;gap:16px}.hero-label,.hero-ui .label{font-size:13px;line-height:20px;font-weight:400;padding:0;font-variation-settings:"opsz" 14}.hero-segments{display:flex;width:100%;gap:2px;padding:4px;border-radius:24px;background:var(--default)}:where(:root[data-channel=beta]) .hero-segments{border-radius:1000px;background:var(--ff-well);box-shadow:var(--ff-well-shadow)}.hero-segments .hero-segment{flex:1;min-width:0;height:36px;gap:6px;padding:6px 12px;border:0;border-radius:24px;background:transparent;color:var(--muted);font-size:13px;line-height:20px;box-shadow:none}:where(:root[data-channel=beta]) .hero-segments .hero-segment{border-radius:1000px}.hero-segments .hero-segment[data-selected=true]{background:var(--segment);color:var(--segment-foreground);box-shadow:var(--ff-shadow-control)}:where(:root[data-channel=beta]) .hero-segments .hero-segment[data-selected=true]{background:var(--ff-raised-bg);box-shadow:var(--ff-raised-shadow)}.hero-segment .hero-icon,.hero-segment[data-selected=true] .hero-icon{filter:var(--ui-icon-filter)}.hero-field,.hero-prompt,.hero-select{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}.hero-select .select__trigger{height:36px;min-height:36px;padding:8px 12px;font-size:13px;line-height:20px}.hero-select .select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.hero-select-popover{max-width:min(480px,calc(100vw - 32px))}.hero-select-popover .list-box-item{overflow-wrap:anywhere}.hero-field .input{width:100%;min-width:0}.hero-parameters{display:flex;flex-direction:column;gap:16px}.hero-count,.hero-slider{display:flex;flex-direction:column;gap:8px}.hero-slider-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:20px;padding:0}.hero-slider-heading .slider__output{font-size:13px;line-height:20px}.hero-slider .slider__track{min-height:20px}.hero-slider .slider__marks{position:absolute;inset:0;pointer-events:none;opacity:.17;background:radial-gradient(circle,var(--ui-muted) 1.5px,transparent 1.5px) 50% /calc(100% / 9) 100% repeat-x}.hero-toggle{margin:0}.hero-prompt .textarea{width:100%;min-height:88px;padding:8px 12px;font-size:14px;line-height:20px;resize:vertical}.hero-prompt .hero-prompt-limit{margin:0;padding:0;font-size:12px;line-height:16px;color:var(--muted)}.hero-prompt[data-invalid=true] .hero-prompt-limit{display:block;color:var(--danger)}.hero-references{margin:0}.hero-references legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hero-references .studio-upload{min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:20px 8px;font-size:13px;font-weight:400;line-height:20px;background:var(--ui-soft);font-variation-settings:"opsz" 14}.hero-references .studio-upload-icon{width:16px;height:16px;margin:0 auto 4px;background:var(--ui-muted);mask:url(/assets/ff-template-upload.svg) center/contain no-repeat}.hero-references .studio-upload small{font-size:12px;line-height:16px;font-weight:400;color:var(--ui-muted);font-variation-settings:"opsz" 14}.hero-disclosure{width:100%}.hero-disclosure .disclosure__trigger{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:0;min-height:28px;font-size:12px;font-weight:400;line-height:16px;font-variation-settings:"opsz" 14}.hero-disclosure .disclosure__body{padding:8px 0 0}.hero-disclosure .disclosure__body>*+*{margin-top:12px}.hero-references>.hero-disclosure{margin-top:6px;color:var(--muted)}.hero-generate{--button-bg:var(--ui-inverse);--button-bg-hover:color-mix(in srgb,var(--ui-inverse) 85%,var(--ui-canvas));--button-fg:var(--ui-on-inverse);width:100%;height:40px;min-height:40px;margin-top:20px;padding:8px 16px;border-radius:24px;font-size:13px;line-height:20px}.hero-price{margin-top:16px}.hero-price .disclosure__trigger{font-size:13px;line-height:20px;font-variant-numeric:tabular-nums}@media (max-width:760px){.hero-composer{max-width:480px;margin-inline:auto}.hero-field .input,.hero-prompt .textarea{font-size:16px}}.account-workspace,.management-modal,.template-workspace{--accent-soft-foreground:var(--ui-ink);--surface-foreground:var(--ui-ink)}.management-tabs{min-width:0;width:100%}.management-tabs>.tabs__list-container{max-width:100%}.management-tabs .tabs__tab{font-size:13px;min-height:48px;padding-inline:20px;white-space:nowrap;line-height:20px}.management-tabs .tabs__panel{padding:24px 0 0;min-width:0}.account-workspace [hidden],.management-tabs .tabs__panel[data-inert=true],.management-tabs .tabs__panel[hidden],.template-workspace [hidden]{display:none!important}.management-search{min-width:0}.management-search .search-field__group{min-height:40px}.management-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:24px;color:var(--ui-muted)}.management-pagination .pagination__item{display:flex}.management-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:12px;background:var(--ui-surface);border-radius:20px;text-align:center;padding:32px}.management-empty>svg{color:var(--ui-muted)}.management-empty h2{font-size:16px;font-weight:550;line-height:22px;font-variation-settings:"opsz" 18}.management-empty p{max-width:380px;margin:0;color:var(--ui-muted)}.management-section-heading h2{font-size:16px;font-weight:550;margin:0;line-height:22px;font-variation-settings:"opsz" 18}.management-section-heading p{color:var(--ui-muted);margin:6px 0 0}.management-modal{background:var(--ui-surface);padding:24px;border-radius:24px}.management-modal .modal__body{padding-top:12px}.generation-details .modal__body{display:flex;flex-direction:column;gap:24px}.generation-section{min-width:0}.generation-section h3{font-size:14px;font-weight:550;margin:0 0 12px;line-height:20px;font-variation-settings:"opsz" 18}.generation-references{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}.generation-reference{min-width:0}.generation-facts dd,.generation-reference strong{overflow-wrap:anywhere}.generation-reference-preview{background:var(--ui-soft);border-radius:12px;overflow:hidden;margin-bottom:12px}.generation-reference-preview img,.generation-reference-preview video{display:block;width:100%;height:180px;object-fit:contain}.generation-reference-preview audio{width:100%}.generation-facts small,.generation-reference small{display:block;color:var(--ui-muted);margin-top:4px}.generation-link{text-decoration:underline;text-underline-offset:3px}.generation-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.generation-facts dt{color:var(--ui-muted);margin-bottom:4px}.generation-facts dd{margin:0}@media (max-width:520px){.generation-facts{grid-template-columns:1fr}.generation-details{padding:16px}}.management-modal .hero-field+.hero-field{margin-top:16px}.management-form,.management-modal form>fieldset{display:flex;flex-direction:column;gap:20px}.management-modal .modal__heading{padding-right:28px;overflow-wrap:anywhere}.management-copy{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:var(--ui-soft);padding:16px;margin:16px 0;border-radius:16px}.management-copy .hero-field{flex:1;min-width:180px}.management-notice{color:var(--ui-positive)}@media (max-width:600px){.management-tabs .tabs__tab{padding-inline:14px;font-size:13px;line-height:20px}.management-pagination{justify-content:center}.management-pagination .pagination__summary{width:100%;text-align:center}}.template-workspace{max-width:1440px;margin:auto;padding:32px 26px}.template-workspace .next-heading h1{display:flex;align-items:center;gap:12px;margin:6px 0 0;font-size:28px;line-height:34px;font-weight:700;font-variation-settings:"opsz" 25}.template-workspace .next-heading p{margin-bottom:0}.template-toolbar{display:grid;grid-template-columns:minmax(250px,1fr) 180px 155px 180px;align-items:end;gap:16px;padding:20px;border-radius:20px;background:var(--ui-surface);box-shadow:var(--ff-shadow-toolbar)}.template-toolbar .hero-select .select__trigger{min-height:40px}.template-results{display:flex;align-items:center;justify-content:space-between;min-height:60px;gap:16px;color:var(--ui-muted);font-size:12px;line-height:16px}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.template-card{min-width:0;padding:0;gap:0;border-radius:20px;background:var(--ui-surface);overflow:hidden;box-shadow:var(--ff-shadow-card)}.template-card-preview{position:relative;height:164px;margin:8px 8px 0;border-radius:14px;overflow:hidden;background:var(--ui-soft)}.template-card-preview>img{width:100%;height:100%;object-fit:contain}.template-card-preview>.chip{position:absolute;top:10px;left:10px;background:var(--ui-surface);font-size:11px;gap:4px;line-height:14px}.template-card-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--ui-muted);gap:12px;background:linear-gradient(140deg,var(--ui-soft),var(--ui-canvas));font-size:11px;line-height:14px}.template-card .card__content{padding:18px 18px 0;display:flex;flex-direction:column;gap:8px}.template-card-title{display:flex;align-items:center;gap:8px}.template-card-title h2{font-size:16px;line-height:22px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variation-settings:"opsz" 18}.template-dirty{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ui-warning)}.template-card .card__content>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;color:var(--ui-muted);margin:0;font-size:12px;line-height:16px;overflow-wrap:anywhere}.template-card-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--ui-muted);font-size:11px;margin-top:6px;line-height:14px}.template-card .card__footer{padding:16px 18px 18px}.template-open{width:100%;justify-content:space-between;font-size:12px;line-height:16px}.template-editor-heading{display:flex;align-items:center;gap:24px;margin-bottom:28px}.template-editor-heading>div{flex:1;min-width:0}.template-editor-heading h1{font-size:28px;margin:0;overflow-wrap:anywhere;line-height:34px;font-weight:700;font-variation-settings:"opsz" 25}.template-editor-heading p{margin:4px 0 0}.template-editor-card{background:var(--ui-surface);padding:24px;border-radius:24px;overflow:visible}.template-form-section{max-width:820px;display:flex;flex-direction:column;gap:22px;padding:12px 8px 28px}.template-form-section .hero-field .input{min-height:42px}.template-workspace .textarea{resize:vertical;width:100%;min-height:80px;font-size:14px;line-height:20px}.template-variants-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;padding:12px 0 24px}.template-structure{border-right:1px solid var(--ui-border);padding-right:24px}.template-tree{max-height:640px;overflow-y:auto;padding:18px 0}.template-tree .button{width:100%;padding:10px;height:auto;min-height:40px;text-align:left;justify-content:flex-start;font-size:12px;border-radius:10px;line-height:16px}.template-tree .button>svg{flex-shrink:0}.template-tree .button>span{flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal}.template-tree .button>small{color:var(--ui-muted)}.template-tree-children{margin:4px 0 12px 12px;padding-left:8px;border-left:1px solid var(--ui-border)}.template-tree-mode[aria-current=true]{color:var(--ui-accent);background:var(--ui-accent-soft)}.template-variant-form{display:flex;flex-direction:column;gap:20px;max-width:860px;min-width:0}.template-variant-form .studio-actions{margin:0}.template-variant-form .studio-template-preview{max-height:240px;width:auto;align-self:flex-start;border-radius:12px}.template-variant-form input[type=file]{display:block;max-width:100%;margin-top:10px;font-size:12px;line-height:16px}.template-variant-form input[type=file]::file-selector-button{border:0;background:var(--ui-field);border-radius:10px;padding:10px 14px;margin-right:12px;cursor:pointer}.template-save-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:20px;margin-top:12px;border-top:1px solid var(--ui-border)}.template-save-bar>span{flex:1;min-width:180px}.template-materials{padding:20px;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-soft)}.template-materials h3{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:550;margin:0;overflow-wrap:anywhere;line-height:22px;font-variation-settings:"opsz" 18}.template-materials h3>span{font-size:12px;font-weight:400;color:var(--ui-muted);line-height:16px;font-variation-settings:"opsz" 14}.template-materials .hero-toggle{margin:12px 0}.template-inherited-materials,.template-materials .hero-toggle .label{font-size:12px;line-height:16px}.template-inherited-materials{margin:14px 0;padding:12px;border-radius:10px;background:var(--ui-accent-soft)}.template-inherited-materials ul{list-style:disc;padding-left:18px;margin:8px 0;overflow-wrap:anywhere}.template-inherited-materials small{color:var(--ui-muted)}@media (max-width:1200px){.template-grid,.template-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.template-toolbar .management-search{grid-column:1/-1}}@media (max-width:900px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-workspace .next-heading{align-items:flex-start;flex-direction:column}.template-variants-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}}@media (max-width:600px){.template-workspace{padding:20px 0}.template-toolbar{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.template-toolbar>:last-child{grid-column:1/-1}.template-grid{grid-template-columns:minmax(0,1fr)}.template-card-preview{height:200px}.template-editor-heading{flex-wrap:wrap;gap:14px}.template-editor-heading>.button{width:100%;justify-content:flex-start}.template-editor-heading h1{font-size:24px;line-height:30px;font-weight:700;font-variation-settings:"opsz" 25}.template-editor-card{padding:16px}.template-variants-layout{grid-template-columns:minmax(0,1fr)}.template-structure{border-right:0;border-bottom:1px solid var(--ui-border);padding:0}.template-tree{max-height:230px}.template-save-bar>span{flex-basis:100%}.template-save-bar>.button{width:100%}}.creative-capabilities{display:flex;flex-wrap:wrap;gap:6px;margin-top:-8px}.creative-capabilities .chip{font-size:11px;min-height:20px;height:auto;padding:1px 5px;line-height:14px}.creative-modes-field{display:grid;gap:8px}.creative-modes-label{font-size:13px;font-weight:400;line-height:20px;font-variation-settings:"opsz" 14}.creative-modes{display:grid;gap:8px;padding:0}.creative-mode{padding:10px 12px;border:1px solid transparent;border-radius:12px;background:var(--ui-soft)}.creative-mode[data-selected=true]{border-color:var(--ui-ink);background:var(--ui-surface)}.creative-mode-copy{display:grid;flex:1;min-width:0}.creative-mode .label{font-size:13px;line-height:20px}.creative-mode .description{margin-top:4px;color:var(--ui-muted);font-size:12px;line-height:16px}.creative-references{display:grid;gap:12px;margin:8px 0}.creative-label-row{display:flex;justify-content:space-between;gap:12px}.creative-label-row,.creative-material-note{color:var(--ui-muted);font-size:12px;line-height:16px}.creative-material-note{padding:12px;border-radius:12px;background:var(--ui-soft);margin:0}.creative-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.creative-material{aspect-ratio:1;position:relative;border-radius:12px;background:var(--ui-soft);min-width:0}.creative-material[data-sortable]{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.creative-material-grid[data-sorting] .creative-material{transition:transform .16s cubic-bezier(.2,0,0,1)}.material-drag-layer.material-drag-layer{position:fixed;inset:0;z-index:70;display:block;margin:0;padding:0;border:0;min-width:0;pointer-events:none}.material-drag-copy.material-drag-copy{position:fixed;margin:0;flex:none}html.material-dragging,html.material-dragging *{cursor:grabbing!important}@media (prefers-reduced-motion:reduce){.creative-material-grid[data-sorting] .creative-material{transition:none}}.creative-material-ghost{visibility:hidden;pointer-events:none}.creative-height-settling{display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.smoke-dissolve{position:fixed;z-index:60;pointer-events:none;will-change:filter,opacity}.creative-material img,.creative-material video{width:100%;height:100%;object-fit:contain;border-radius:inherit}.creative-material .creative-material-order{position:absolute;top:8px;left:8px}.creative-material-tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:12px;background:var(--ff-brand);color:var(--ff-brand-foreground);font:550 12px/16px Inter Variable,sans-serif;font-variation-settings:"opsz" 18}:where(:root[data-channel=beta]) .creative-material-tag{font:550 12px/16px var(--ff-font-sans)}.creative-material .ff-icon-hint:has(.creative-remove){position:absolute;top:0;right:0}.creative-material .ff-icon-hint:has(.creative-reorder){position:absolute;bottom:0;left:0}.creative-fixed{position:absolute;left:2px;bottom:2px;font-size:11px;line-height:14px}.creative-media-kind{display:grid;height:100%;place-items:center;color:var(--ui-ink);text-align:center;font-size:12px;line-height:16px}.creative-add.button{height:auto;aspect-ratio:1;flex-direction:column}.creative-add.button,.creative-dropzone{border:1px dashed var(--ui-border);background:var(--ui-soft)}.creative-dropzone{border-radius:16px;padding:18px 8px;text-align:center;min-height:98px}.creative-dropzone .button{white-space:normal;width:100%;font-size:13px;padding:4px;line-height:20px}.creative-dropzone small{display:block;color:var(--ui-muted);font-size:12px;line-height:16px}.creative-upload-progress{display:grid;gap:8px;list-style:none;margin:12px 0;padding:0}.creative-upload-progress li{display:grid;gap:4px;padding:8px 12px;border-radius:12px;background:var(--surface-secondary);font-size:12px;line-height:16px}.creative-change-materials li,.creative-upload-name{overflow-wrap:anywhere}.creative-upload-progress [role=status]{color:var(--muted)}.creative-upload-progress [data-state=error] [role=status]{color:var(--danger)}.creative-change-materials{max-height:30dvh;overflow:auto}.creative-references .hero-disclosure>.disclosure__heading{color:var(--ui-accent)}.creative-url-fields{display:grid;gap:12px}.creative-frame{display:flex;align-items:center;gap:8px;padding:8px;border-radius:12px;background:var(--ui-soft)}.creative-frames{display:grid;gap:8px}.creative-frame>.button,.creative-frame>.creative-material{width:56px;flex:0 0 56px;height:56px}.creative-frame>div:last-child{min-width:0}.creative-frame strong{font-size:13px;font-weight:550;line-height:20px;font-variation-settings:"opsz" 18}.creative-frame small{display:block;font-size:11px;color:var(--ui-muted);overflow-wrap:anywhere;line-height:14px}.creative-restore.button{justify-content:flex-start;min-height:20px;height:auto;padding:0;color:var(--ui-accent);font-size:12px;margin-top:-8px;line-height:16px}.creative-appearance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.creative-appearance{border:1px solid var(--ui-border);padding:6px;border-radius:12px;min-width:0}.creative-appearance[data-selected=true]{border-color:var(--ui-ink);background:var(--ui-soft)}.creative-appearance .radio__content{display:grid;grid-template-columns:1fr auto;align-items:center;font-size:12px;width:100%;gap:8px;line-height:16px}.creative-appearance img,.creative-no-preview{grid-column:1/-1;width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:var(--ui-soft)}.creative-no-preview{display:grid;place-items:center;color:var(--ui-muted)}.creative-key-notice{border-radius:12px;padding:14px;background:var(--ui-accent-soft);color:var(--ui-ink);font-size:12px;line-height:16px}.ff-button.button{--button-bg:var(--foreground);--button-fg:var(--surface);--button-bg-hover:color-mix(in srgb,var(--button-bg),var(--ff-mask-opaque) 4%);color:var(--button-fg);border:0;border-radius:1000px;gap:6px;font:400 13px/20px Inter Variable,sans-serif;white-space:nowrap;max-width:100%;flex-shrink:0;font-variation-settings:"opsz" 14}:where(:root:not([data-channel=beta])) .ff-button.button{background:var(--button-bg)}:where(:root[data-channel=beta]) .ff-button.button{--button-image:var(--ff-ink-key-bg);--button-shadow:var(--ff-ink-key-shadow);--button-veil:rgb(255 255 255/7%);background-color:var(--button-bg);background-image:var(--button-image);box-shadow:var(--button-shadow);font:500 13px/20px var(--ff-font-sans);letter-spacing:-.2px}:where(:root:not([data-channel=beta])) .ff-button.button:hover:not(:disabled):where(:not([data-fluid-hover] .ff-button)){background:var(--button-bg-hover)}:where(:root[data-channel=beta]) .ff-button.button:hover:not(:disabled):where(:not([data-fluid-hover] .ff-button)){background-color:var(--button-bg-hover);background-image:linear-gradient(var(--button-veil),var(--button-veil)),var(--button-image)}.ff-button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.ff-button.button:active:not(:disabled){transform:scale(.98)}.ff-button.button:disabled{opacity:.5;cursor:not-allowed}.ff-button--s.button{height:32px;min-height:32px;padding:0 12px;font-size:13px;line-height:20px}.ff-button--m.button{height:36px;min-height:36px;padding:0 14px}.ff-button--l.button{height:44px;min-height:44px;padding:0 18px}.ff-button--xl.button{height:48px;min-height:48px;padding:0 20px;font-size:13px;line-height:20px}.ff-button--brand.button{--button-bg:var(--ff-brand);--button-fg:var(--ff-brand-foreground);--button-bg-hover:var(--ff-brand-hover)}:where(:root[data-channel=beta]) .ff-button--brand.button{--button-image:var(--ff-brand-gradient);--button-shadow:var(--ff-brand-key-shadow);--button-veil:rgb(255 255 255/14%)}:root[data-theme=dark]:where([data-channel=beta]) .ff-button--brand.button:disabled{opacity:1;--button-bg:rgb(209 255 22/9%);--button-image:none;--button-fg:rgb(209 255 22/62%);--button-shadow:inset 0 0 0 1px rgb(209 255 22/16%)}:root[data-theme=dark]:where([data-channel=beta]) .ff-button--brand.button:disabled :is(.hero-icon,.canvas-icon,.composer-icon){filter:brightness(0) invert(1);opacity:.55}:where(:root[data-channel=beta]) .ff-button--secondary.button,:where(:root[data-channel=beta]) .ff-button--surface.button{--button-bg:var(--surface);--button-fg:var(--foreground);--button-bg-hover:var(--surface);--button-image:var(--ff-key-bg);--button-shadow:var(--ff-key-shadow);--button-veil:var(--ff-key-veil)}:where(:root:not([data-channel=beta])) .ff-button--secondary.button{--button-bg:var(--default-soft);--button-fg:var(--foreground)}:where(:root:not([data-channel=beta])) .ff-button--surface.button{--button-bg:var(--surface);--button-fg:var(--foreground);box-shadow:inset 0 0 0 1px var(--border)}.ff-button--ghost.button{--button-bg:transparent;--button-fg:var(--foreground);--button-bg-hover:var(--hover)}:where(:root[data-channel=beta]) .ff-button--ghost.button{--button-image:none;--button-shadow:none;--button-veil:transparent}.ff-button--danger.button{--button-bg:var(--danger);--button-fg:var(--danger-foreground)}:where(:root[data-channel=beta]) .ff-button--danger.button{--button-image:linear-gradient(160deg,color-mix(in srgb,var(--danger),#fff 14%),var(--danger) 55%,color-mix(in srgb,var(--danger),#000 8%));--button-shadow:0 0 0 1px color-mix(in srgb,var(--danger),#000 22%),inset 0 1px 0 rgb(255 255 255/28%),0 1px 2px rgb(0 0 0/14%)}.ff-button--danger-ghost.button{--button-bg:transparent;--button-fg:var(--danger);--button-bg-hover:var(--danger-soft)}:where(:root[data-channel=beta]) .ff-button--danger-ghost.button{--button-image:none;--button-shadow:none;--button-veil:transparent}.ff-button--on-media.button{--button-bg:var(--ff-scrim-soft);--button-fg:var(--ff-on-media)}:where(:root[data-channel=beta]) .ff-button--on-media.button{--button-image:none;--button-shadow:none}.ff-button--media-chip.button{--button-bg:var(--ff-media-chip);--button-fg:var(--foreground)}:where(:root[data-channel=beta]) .ff-button--media-chip.button{--button-image:none;--button-shadow:0 1px 2px rgb(0 0 0/12%)}.ff-button>svg{flex:0 0 auto}.ff-button--m>svg,.ff-button--s>svg,.ff-button>svg{width:16px;height:16px}.ff-button--l>svg,.ff-button--xl>svg{width:20px;height:20px}.ff-button--primary .hero-icon{filter:var(--ui-selected-icon-filter)}.ff-button--brand .hero-icon{filter:brightness(0)}.ff-disabled-hint,.ff-icon-hint{display:inline-flex;max-width:100%}.ff-disabled-hint--full{width:100%}[data-radix-popper-content-wrapper]:has(.ff-tooltip){pointer-events:none}:where(:root[data-channel=beta]) .toast-region .toast{box-shadow:var(--ff-shadow-popover)}:root[data-theme=dark]:where([data-channel=beta]) .toast-region .toast{background:var(--surface-3)}:where(:root[data-channel=beta]) .toast-region .toast:not(:has(.toast__description)) .toast__indicator{align-self:center}:where(:root[data-channel=beta]) .toast-region .toast__close-button{display:grid;place-items:center;top:-8px;inset-inline-end:-8px;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:var(--ff-raised-bg);color:var(--foreground);box-shadow:var(--ff-raised-shadow),0 2px 8px rgb(0 0 0/22%)}:where(:root[data-channel=beta]) .toast-region .toast__close-button [data-slot=close-button-icon]{width:12px;height:12px}:where(:root[data-channel=beta]) .button.button--primary:not(.ff-button),:where(:root[data-channel=beta]) .toast .toast__action{background:var(--surface) var(--ff-key-bg);color:var(--foreground);box-shadow:var(--ff-key-shadow);border:0;border-radius:1000px;font-weight:500}:where(:root[data-channel=beta]) .button.button--primary:not(.ff-button):hover,:where(:root[data-channel=beta]) .toast .toast__action:hover{background:var(--surface) linear-gradient(var(--ff-key-veil),var(--ff-key-veil)),var(--ff-key-bg)}.ff-tooltip{pointer-events:none;max-width:min(320px,calc(100vw - 24px));padding:8px 12px;border-radius:12px;color:var(--surface);background:var(--foreground);font-size:12px;z-index:100001;line-height:16px}:where(:root[data-channel=beta]) .ff-tooltip{padding:7px 11px;border-radius:10px;box-shadow:0 6px 16px -6px rgb(0 0 0/35%)}.ff-icon-button.button{width:36px;padding:0;border-radius:50%}.ff-icon-button--xs.button{width:28px;height:28px;min-height:28px}.ff-icon-button--s.button{width:32px}.ff-icon-button--l.button{width:40px;height:40px;min-height:40px}.ff-icon-button--m>svg,.ff-icon-button--s>svg,.ff-icon-button--xs>svg{width:16px;height:16px}.ff-icon-button--l>svg,.ff-icon-button--xl>svg{width:20px;height:20px}.ff-icon-button--xl.button{width:44px;height:44px;min-height:44px}.ff-spinner{animation:ff-spin 1s linear infinite}@keyframes ff-spin{to{transform:rotate(1turn)}}.ff-tone-neutral{--ff-tone-bg:var(--default-soft);--ff-tone-fg:var(--muted)}.ff-tone-accent{--ff-tone-bg:var(--accent-soft);--ff-tone-fg:var(--accent-soft-foreground)}.ff-tone-success{--ff-tone-bg:var(--success-soft);--ff-tone-fg:var(--success-soft-foreground)}.ff-tone-warning{--ff-tone-bg:var(--warning-soft);--ff-tone-fg:var(--warning-soft-foreground)}.ff-tone-danger{--ff-tone-bg:var(--danger-soft);--ff-tone-fg:var(--danger-soft-foreground)}.ff-tone-brand{--ff-tone-bg:var(--ff-brand-soft);--ff-tone-fg:var(--ff-brand-text)}.ff-tone-on-media{--ff-tone-bg:var(--ff-scrim-soft);--ff-tone-fg:var(--ff-on-media)}.ff-tone-surface{--ff-tone-bg:var(--surface);--ff-tone-fg:var(--foreground)}.ff-badge{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:0 8px;border-radius:1000px;font:400 12px/16px Inter Variable,sans-serif;white-space:nowrap;color:var(--ff-tone-fg);background:var(--ff-tone-bg);font-variation-settings:"opsz" 14}:where(:root[data-channel=beta]) .ff-badge{font:400 12px/16px var(--ff-font-sans)}.ff-badge--s{height:20px}.ff-badge--m{height:24px}.ff-badge svg{width:12px;height:12px}.ff-alert{display:flex;gap:10px;width:100%;padding:12px;border-radius:12px;color:var(--ff-tone-fg);background:var(--ff-tone-bg)}.ff-alert p{margin:4px 0}.ff-alert strong{display:block}.ff-progress{display:flex;width:100%;height:6px;border-radius:1000px;overflow:hidden;background:var(--default)}.ff-progress span{height:100%;transition:width var(--motion-slow) var(--motion-spring-slow)}.ff-progress__done{background:var(--success)}.ff-progress__errors{background:var(--danger)}.ff-progress__running{background:var(--accent)}.ff-progress--budget .ff-progress__done{background:var(--foreground)}.ff-progress--budget-over .ff-progress__done{background:var(--danger)}.ff-progress__reserve{background:repeating-linear-gradient(135deg,var(--warning-soft) 0 3px,var(--warning) 3px 4px)}.ff-media-overlay{--surface:var(--ff-viewer-bg);--foreground:var(--ff-on-media);--muted:var(--ff-on-media-muted);--muted-foreground:var(--ff-on-media-muted);--border:var(--ff-on-media-subtle);--separator-tertiary:var(--ff-on-media-subtle);--default:var(--ff-on-media-subtle);--default-soft:var(--ff-on-media-subtle);--danger:var(--ff-viewer-danger);--danger-soft:var(--ff-viewer-danger-soft);--danger-soft-foreground:var(--ff-viewer-danger-foreground);--ui-surface:var(--surface);--ui-ink:var(--foreground);--ui-muted:var(--muted);color:var(--foreground)}.ff-backdrop--nested{background:transparent!important}.ff-backdrop{--ff-viewport-height:100dvh;--ff-keyboard-offset:0px;background:var(--ff-dialog-scrim);z-index:60}:where(:root[data-channel=beta]) .ff-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.ff-modal-keyboard{display:contents}.ff-modal-container{max-height:var(--ff-viewport-height);padding:0}.ff-modal{width:100%;max-width:none;padding:24px;border-radius:24px;background:var(--surface);color:var(--foreground);max-height:calc(var(--ff-viewport-height) - 48px)}:where(:root[data-channel=beta]) .ff-modal{border-radius:28px;box-shadow:var(--ff-shadow-dialog)}:where(:root[data-channel=beta]) .ff-modal.ff-menu-sheet{background:var(--ff-popover-bg)}:root[data-theme=dark] .ff-menu-popover[data-surface]{box-shadow:var(--shadow-3)}:root[data-theme=dark] .ff-modal[data-surface]{box-shadow:var(--shadow-5)}.ff-modal-container--wide{width:min(1140px,calc(100vw - 32px));max-width:1140px}.ff-confirm-actions{display:flex;flex-direction:column;gap:8px;width:100%}.ff-modal-container--440{width:min(440px,calc(100vw - 32px));max-width:440px}.ff-modal-container--520{width:min(520px,calc(100vw - 32px));max-width:520px}.ff-modal .modal__heading{font-size:16px;padding-right:28px;line-height:22px;font-weight:550;font-variation-settings:"opsz" 18}.ff-modal-close{position:absolute;top:12px;right:12px;z-index:2}.ff-modal [aria-label="Закрыть"]{color:var(--muted);background:var(--default-soft)}:where(:root[data-channel=beta]) .ff-modal [aria-label="Закрыть"]{background:var(--ff-key-bg);box-shadow:var(--ff-key-shadow)}.ff-modal [aria-label="Закрыть"] svg{color:inherit}.ff-modal .modal__body{color:var(--foreground);overflow-y:auto;min-height:0;padding-top:12px}.ff-confirm .modal__body>p{color:var(--muted)}.ff-modal .modal__footer{position:sticky;bottom:0;background:var(--surface)}.ff-sheet-grabber{display:none}.ff-button:focus-visible,.ff-modal :focus-visible,.hero-ui :focus-visible{outline:2px solid var(--accent);outline-offset:2px}:where(:root[data-channel=beta]) :is(.ff-modal,.ff-menu-popover,.popover,.modal__dialog,[role=dialog],[role=menu],[role=listbox]):focus-visible{outline:none}.ff-segments{position:relative;display:flex;gap:4px;max-width:100%;min-width:0;padding:4px;border-radius:1000px;background:var(--ff-control-bg);overflow-x:auto;--ff-segment-active:var(--foreground);--ff-segment-shadow:none}:where(:root[data-channel=beta]) .ff-segments{gap:2px;background:var(--ff-well);box-shadow:var(--ff-well-shadow);--ff-segment-active:var(--ff-raised-bg);--ff-segment-shadow:var(--ff-raised-shadow)}.ff-segments button{display:flex;align-items:center;justify-content:center;flex:1 0 auto;gap:8px;height:36px;padding:0 14px;border:0;border-radius:1000px;font:400 13px/20px Inter Variable,sans-serif;color:var(--muted);white-space:nowrap;font-variation-settings:"opsz" 14}:where(:root[data-channel=beta]) .ff-segments button{font:400 13px/20px var(--ff-font-sans)}:where(:root[data-channel=beta]) .ff-segments button[aria-selected=true]{background:var(--ff-segment-active);color:var(--foreground);box-shadow:var(--ff-segment-shadow)}:where(:root:not([data-channel=beta])) .ff-segments--filter button[aria-selected=true]{background:var(--ff-segment-active);color:var(--surface)}:where(:root:not([data-channel=beta])) .ff-segments--switch{background:var(--surface-secondary);--ff-segment-active:var(--surface);--ff-segment-shadow:0 2px 6px var(--shadow-color)}:root[data-theme=dark]:where(:not([data-channel=beta])) .ff-segments--switch{--ff-segment-active:var(--active);--ff-segment-shadow:var(--shadow-2)}:where(:root:not([data-channel=beta])) .ff-segments--switch button[aria-selected=true]{background:var(--ff-segment-active);color:var(--foreground);box-shadow:var(--ff-segment-shadow)}.ff-segments button{position:relative;z-index:1}.ff-segments-pill{position:absolute;left:0;top:0;pointer-events:none;background:var(--ff-segment-active);box-shadow:var(--ff-segment-shadow)}.ff-segments[data-pill] button[aria-selected=true]{background:transparent;box-shadow:none}.ff-segments-hover{position:absolute;left:0;top:0;pointer-events:none;background:var(--ff-segment-hover,color-mix(in srgb,var(--foreground) 7%,transparent));opacity:0}.ff-segments-hover[data-on]{opacity:1}.ff-segment-text{display:inline-flex;flex-direction:column;font-weight:400;transition:font-weight var(--motion-moderate) var(--motion-spring)}.ff-segment-text:after{content:attr(data-text);height:0;overflow:hidden;visibility:hidden;font-weight:550;user-select:none;pointer-events:none}.ff-segments button[aria-selected=true] .ff-segment-text{font-weight:550}@media (hover:hover){.ff-segments button:hover:not(:disabled):not([aria-selected=true]) .ff-segment-text{font-weight:470}}@media (prefers-reduced-motion:reduce){.ff-segment-text{transition:none}}@media (hover:hover){.ff-segments[data-pill] button:hover:not(:disabled):not([aria-selected=true]){color:var(--foreground)}}.ff-segments button:disabled{opacity:.5;cursor:not-allowed}:where(:root[data-channel=beta]) .conveyor-toolbar .ff-search .search-field__group,:where(:root[data-channel=beta]) .conveyor-toolbar .ff-segments,:where(:root[data-channel=beta]) .ff-list-toolbar .ff-search .search-field__group,:where(:root[data-channel=beta]) .ff-list-toolbar .ff-segments{background:var(--ff-well-solid)}:where(:root[data-channel=beta]) :is(.ff-list-toolbar,.creative-catalog-filters) .ff-select .ff-select-trigger{height:44px;min-height:44px}.ff-new-bar{position:fixed;z-index:12;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:16px;padding:8px 8px 8px 20px;border-radius:100px;background:var(--surface);box-shadow:var(--ff-shadow-control);white-space:nowrap}.ff-new-bar>span:not([class]){font-size:13px;line-height:20px;color:var(--muted)}.ff-new-bar>svg{flex:none}@media (max-width:900px){.ff-new-bar>span:not([class]){max-width:280px;white-space:normal}}@media (max-width:767px){.ff-new-bar{padding:6px}.ff-new-bar>:is(svg,img,span:not([class])){display:none}}.ff-segments button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ff-section-tabs .tabs__list{gap:4px;padding:4px;background:var(--ff-control-bg);border-radius:1000px}:where(:root[data-channel=beta]) .ff-section-tabs .tabs__list{gap:2px;padding:3px;background:var(--ff-well);box-shadow:var(--ff-well-shadow)}.ff-section-tabs .tabs__tab{min-height:36px;padding:0 14px;color:var(--muted);font:400 13px/20px Inter Variable,sans-serif;font-variation-settings:"opsz" 14}:where(:root[data-channel=beta]) .ff-section-tabs .tabs__tab{font:400 13px/20px var(--ff-font-sans)}:where(:root[data-channel=beta]) .management-tabs .tabs__tab{border-radius:1000px}.management-tabs .tabs__tab[data-selected=true]{color:var(--surface);background:var(--foreground);border-radius:1000px}:where(:root[data-channel=beta]) .management-tabs .tabs__tab[data-selected=true]{color:var(--foreground);background:var(--ff-raised-bg);box-shadow:var(--ff-raised-shadow)}.management-tabs .tabs__indicator{display:none}.ff-field>.label:after{content:none}.ff-required{color:var(--danger)}.ff-field .input{height:48px;min-height:48px;border-radius:12px;background:var(--field-background);color:var(--foreground);border:1px solid var(--border);font-size:13px;padding:0 16px;line-height:20px}:where(:root[data-channel=beta]) .ff-field .input{border-radius:14px;background:var(--ff-field-bg);border:1px solid transparent;box-shadow:var(--ff-field-shadow)}.ff-textarea-field .textarea{min-height:96px;max-height:320px;overflow:auto;resize:vertical;border-radius:12px;background:var(--field-background);color:var(--foreground);border:1px solid var(--border);padding:12px 16px}:where(:root[data-channel=beta]) .ff-textarea-field .textarea{border-radius:14px;background:var(--ff-field-bg);border:1px solid transparent;box-shadow:var(--ff-field-shadow)}:where(:root[data-channel=beta]) .ff-field .input:focus,:where(:root[data-channel=beta]) .ff-textarea-field .textarea:focus{border-color:color-mix(in srgb,var(--foreground) 45%,transparent)}.ff-field .input::placeholder{color:var(--field-placeholder)}.ff-field[data-invalid=true] .input,.ff-field[data-invalid=true] .textarea{border-color:var(--danger)}.ff-field .description{color:var(--muted);font-size:12px;line-height:16px}.ff-select-trigger .select__value{color:var(--foreground)}.ff-field .field-error{color:var(--danger-soft-foreground);font-size:12px;line-height:16px}.ff-search .search-field__group{min-height:44px;border-radius:1000px;background:var(--ff-control-bg);border:1.5px solid transparent;padding-inline:14px;gap:8px;box-shadow:none}:where(:root[data-channel=beta]) .ff-search .search-field__group{background:var(--ff-well);box-shadow:var(--ff-well-shadow)}.ff-search .search-field__group:focus-within{border-color:var(--foreground);outline:none;box-shadow:none}:where(:root[data-channel=beta]) .ff-search .search-field__group:focus-within{border-color:color-mix(in srgb,var(--foreground) 45%,transparent);box-shadow:var(--ff-well-shadow)}.ff-search .search-field__input{outline:none;box-shadow:none;min-width:0}.ff-search .search-field__input:focus-visible{outline:none}.ff-search-icon{width:16px;height:16px;flex:0 0 16px;background:var(--muted);mask:url(/assets/ff-search.svg) center/contain no-repeat}.ff-search:focus-within .ff-search-icon{background:var(--foreground)}.ff-search .search-field__clear-button{color:var(--muted);background:transparent;position:relative}.ff-search-clear-icon{width:12px;height:12px;background:currentColor;mask:url(/assets/ff-search-clear.svg) center/contain no-repeat}.ff-search--s .search-field__group{min-height:40px;padding-inline:12px}.ff-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:44px;border-radius:1000px;padding:0 16px;background:var(--ff-control-bg);color:var(--foreground);font-size:13px;box-shadow:none;border:1.5px solid transparent;line-height:20px}:where(:root[data-channel=beta]) .ff-select-trigger{background:var(--surface) var(--ff-key-bg);font-weight:500;box-shadow:var(--ff-key-shadow)}.ff-select-trigger[aria-expanded=true],.ff-select[data-open=true] .ff-select-trigger{border-color:var(--foreground)}:where(:root[data-channel=beta]) .ff-select-trigger[aria-expanded=true],:where(:root[data-channel=beta]) .ff-select[data-open=true] .ff-select-trigger{border-color:color-mix(in srgb,var(--foreground) 45%,transparent)}.ff-select--s .ff-select-trigger{height:36px;min-height:36px;padding-inline:14px}.ff-select-trigger .ff-select-chevron{width:12px;height:12px;flex:0 0 12px;background:var(--foreground);mask:url(/assets/ff-select-chevron.svg) center/12px 12px no-repeat}.ff-select-trigger[aria-expanded=true] .ff-select-chevron,.ff-select[data-open=true] .ff-select-chevron{transform:rotate(180deg)}.ff-select-disabled,.ff-select-disabled .ff-select{width:100%}.ff-menu-popover.ff-select-popover{min-width:max(220px,var(--trigger-width,0px));max-width:max(320px,var(--trigger-width,0px))}.ff-select-popover .ff-search{padding:6px}:where(:root[data-channel=beta]) .ff-select-popover .ff-search{padding:0 0 4px}:where(:root[data-channel=beta]) .ff-menu-popover.ff-select-popover:has(.ff-search){border-radius:24px}.ff-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ff-menu-popover{display:flex;flex-direction:column;max-height:min(400px,80dvh);overflow:hidden}.ff-menu-popover>:is([role=menu],.ff-option-list,[role=dialog]){position:relative;flex:1 1 auto;min-height:0;overflow-y:auto}:where(:root[data-channel=beta]) .ff-menu-popover>:is([role=menu],.ff-option-list,[role=dialog]){margin:-4px;padding:4px}:where(:root[data-channel=beta]) .ff-menu-popover>:is([role=menu],.ff-option-list,[role=dialog])[data-scroll-fade]{padding-right:12px}.ff-modal .ff-menu-list{max-height:65dvh;overflow-y:auto}.ff-option-group .header{display:block;padding:8px 12px 4px;color:var(--muted);font-size:12px;line-height:16px}.ff-option-list [role=option]{min-height:40px;color:var(--foreground);border-radius:10px}:where(:root[data-channel=beta]) .ff-option-list [role=option]{min-height:36px;border-radius:16px}.ff-option-list [role=option][data-selected=true]{background:var(--active)}.ff-option-list [role=option].ff-option-font{min-height:48px}.ff-option-list [role=option].ff-option-font .label{font-size:20px;line-height:26px;font-weight:400;font-variation-settings:normal}.ff-select-popover:has(.ff-option-font){max-height:min(560px,80dvh);min-width:280px}.ff-option-list [role=option].ff-option-rich{display:flex;align-items:center;gap:10px;padding-right:34px}.ff-option-rich>.label{flex:1 1 auto;min-width:0}.ff-option-icon{display:inline-flex;flex:0 0 26px;align-items:center;justify-content:center;height:26px;color:var(--muted)}.ff-option-detail{flex:none;color:var(--muted);font-size:12px;line-height:16px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}.ff-select-rich{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.ff-select-rich>.ff-option-icon{flex:none;height:22px;color:var(--foreground)}.ff-select-rich>.ff-select-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ff-ratio-icon{display:block;flex:none;box-sizing:border-box;border:1.5px solid;border-radius:3px}.ff-switch-field,.ff-switch-field>.ff-disabled-hint{width:100%}.ff-switch{width:100%;min-height:44px;cursor:pointer}.ff-switch .switch__content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;width:100%}.ff-switch .switch__control{width:36px;height:20px;min-width:36px;padding:2px;border:0;background:var(--separator-tertiary)}:where(:root[data-channel=beta]) .ff-switch .switch__control{background:var(--ff-well);box-shadow:var(--ff-switch-track-shadow)}.ff-switch[data-selected=true] .switch__control{background:var(--foreground)}:where(:root[data-channel=beta]) .ff-switch[data-selected=true] .switch__control{background:var(--ff-brand) var(--ff-brand-gradient)}.ff-switch .switch__thumb{width:16px;height:16px;margin:0;background:var(--surface);transform:translateX(0)}:where(:root[data-channel=beta]) .ff-switch .switch__thumb{background:#ffffff;box-shadow:var(--ff-switch-thumb-shadow)}.ff-switch[data-selected=true] .switch__thumb{transform:translateX(16px)}.ff-radio[data-disabled=true],.ff-switch[data-disabled=true]{opacity:.5;cursor:not-allowed}.ff-radio[data-focus-visible=true] .radio__control,.ff-switch[data-focus-visible=true] .switch__control{outline:2px solid var(--accent);outline-offset:2px}.ff-radio{min-height:44px;cursor:pointer}.ff-radio .radio__content{display:flex;gap:12px;align-items:center}.ff-radio .radio__control{width:20px;height:20px;flex:0 0 20px;border-radius:1000px;box-shadow:none;border:1.5px solid var(--border);background:var(--surface)}:where(:root[data-channel=beta]) .ff-radio .radio__control{box-shadow:var(--ff-switch-track-shadow);border:0;background:var(--ff-field-bg)}.ff-radio[data-selected=true] .radio__control{border:6px solid var(--foreground);background:var(--surface)}:where(:root[data-channel=beta]) .ff-radio[data-selected=true] .radio__control{background:#ffffff;box-shadow:none}.ff-radio .radio__indicator{display:none}.creative-appearance.ff-radio .radio__content{flex-direction:column}.ff-select-mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:12px;background:var(--ff-brand);color:var(--ff-brand-foreground);font:550 12px/16px Inter Variable,sans-serif;font-variation-settings:"opsz" 18}:where(:root[data-channel=beta]) .ff-select-mark{font:550 12px/16px var(--ff-font-sans)}.ff-select-mark--off{border:1.5px solid var(--ff-on-media);background:var(--ff-media-chip)}.ff-select-mark-check{width:12px;height:12px;background:var(--ff-brand-foreground);mask:url(/assets/ff-select-check.svg) center/12px 12px no-repeat}@media (max-width:767px){.ff-list-toolbar .ff-segments{background:transparent}:where(:root[data-channel=beta]) .ff-list-toolbar .ff-segments{box-shadow:none}.ff-field .input,.ff-field .textarea,.ff-search input{font-size:16px}.ff-icon-hint{min-width:44px;min-height:44px;align-items:center;justify-content:center}.ff-search .search-field__clear-button:after{width:44px;height:44px}.ff-icon-button:after,.ff-search .search-field__clear-button:after{content:"";position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.ff-icon-button:after{width:max(100%,44px);height:max(100%,44px)}.ff-modal-container{position:fixed;inset:auto 0 var(--ff-keyboard-offset);max-width:none;width:100%;margin:0;padding:0}.ff-modal{width:100%;max-height:calc(var(--ff-viewport-height) * .9);border-radius:24px 24px 0 0;padding:0 16px max(16px,env(safe-area-inset-bottom))}.ff-sheet-grabber{display:flex;justify-content:center;align-items:center;height:28px;flex-shrink:0;touch-action:none}.ff-sheet-grabber span{height:4px;width:36px;border-radius:100px;background:var(--separator-tertiary)}.ff-modal .modal__footer{padding-bottom:env(safe-area-inset-bottom)}}