@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-medium:500;--radius-md:.375rem;--radius-lg:.5rem;--shadow-xs:0 1px 2px 0 #0000000d;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base{[data-slot=button]{background-color:#0000;border-style:solid;border-width:0}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-full{height:100%}.min-h-\[60px\]{min-height:60px}.w-9{width:calc(var(--spacing) * 9)}.w-full{width:100%}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:hsl(var(--border))}.bg-background{background-color:hsl(var(--surface))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-primary,.bg-primary\/20{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.bg-primary\/20{background-color:color-mix(in oklab, hsl(var(--primary)) 20%, transparent)}}.bg-secondary{background-color:hsl(var(--surface-hover))}.bg-transparent{background-color:#0000}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.text-destructive-foreground{color:hsl(var(--primary-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--foreground))}.lowercase{text-transform:lowercase}.underline-offset-4{text-underline-offset:4px}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--text-muted))}@media (hover:hover){.hover\:bg-accent:hover{background-color:hsl(var(--surface-hover))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, hsl(var(--destructive)) 90%, transparent)}}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, hsl(var(--primary)) 90%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--surface-hover))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, hsl(var(--surface-hover)) 80%, transparent)}}.hover\:text-accent-foreground:hover{color:hsl(var(--foreground))}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--primary))}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}
@font-face{font-family:Quicksand;src:url(/fonts/quicksand.woff2)format("woff2");font-weight:300 900;font-display:swap}@font-face{font-family:Hanken Grotesk;src:url(/fonts/hanken.woff2)format("woff2");font-weight:300 900;font-display:swap}@font-face{font-family:Satoshi;src:url(/fonts/satoshi-variable.woff2)format("woff2");font-weight:300 900;font-display:swap}:root,.theme-light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--surface:0 0% 100%;--rail-surface:30 10% 96%;--surface-hover:30 10% 96%;--card:30 14% 97%;--card-hover:30 12% 94%;--border:34 22% 87%;--border-mid:32 14% 77%;--border-strong:30 10% 63%;--foreground:30 12% 13%;--text-muted:30 8% 45%;--text-muted-hover:30 10% 26%;--primary:32 75% 50%;--primary-subtle:36 70% 90%;--primary-foreground:0 0% 100%;--destructive:0 72% 51%;--band-deep:30 10% 96%;--body-weight:450;--shadow-object:0 24px 60px -20px #0000004d, 0 0 0 1px #00000014}.theme-dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:28 9% 15%;--rail-surface:28 9% 12%;--surface-hover:28 9% 18%;--card:28 8% 20%;--card-hover:28 8% 24%;--border:28 7% 29%;--border-mid:28 5% 41%;--border-strong:28 4% 49%;--foreground:0 0% 100%;--text-muted:30 6% 72%;--text-muted-hover:30 7% 93%;--primary:32 75% 50%;--primary-subtle:30 38% 25%;--primary-foreground:0 0% 100%;--destructive:0 84% 60%;--band-deep:28 11% 9%;--body-weight:400;--shadow-object:0 24px 60px -20px #0009, 0 0 0 1px #ffffff1f}:root{--media-overlay:38 22% 7%;--media-overlay-foreground:0 0% 100%;--font-display:"Quicksand", sans-serif;--font-heading:"Hanken Grotesk", sans-serif;--font-body:"Satoshi", sans-serif;--radius-media:8px;--radius-control:16px;--radius-panel:24px;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-cover:0 12px 30px -12px #0009}@media (prefers-color-scheme:dark){:root:not(.theme-light){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:28 9% 15%;--rail-surface:28 9% 12%;--surface-hover:28 9% 18%;--card:28 8% 20%;--card-hover:28 8% 24%;--border:28 7% 29%;--border-mid:28 5% 41%;--border-strong:28 4% 49%;--foreground:0 0% 100%;--text-muted:30 6% 72%;--text-muted-hover:30 7% 93%;--primary:32 75% 50%;--primary-subtle:30 38% 25%;--primary-foreground:0 0% 100%;--destructive:0 84% 60%;--band-deep:28 11% 9%;--body-weight:400;--shadow-object:0 24px 60px -20px #0009, 0 0 0 1px #ffffff1f}}*,:before,:after{box-sizing:border-box;border-color:hsl(var(--border))}body{background:hsl(var(--surface));color:hsl(var(--foreground));font:var(--body-weight) 15px/1.5 var(--font-body);-webkit-font-smoothing:antialiased;margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}[data-slot=input]:focus-visible{outline:none}@media (prefers-reduced-motion:no-preference){button,a{transition:color .15s,background-color .15s,border-color .15s}}#liveblocks-badge{display:none}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--border-mid));border-radius:3px}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:hsl(var(--border-mid)) transparent}}h1,h2,h3,h4{color:inherit}h1,h2,h3,button,.button{font-family:var(--font-display)}h1{letter-spacing:-.04em;margin:0;font-size:2.75rem;line-height:1.1}h2{letter-spacing:-.03em;font-size:1.625rem;font-weight:700;line-height:2rem}h3{letter-spacing:-.03em;font-size:1.375rem;font-weight:600;line-height:1.2}h4{font-family:var(--font-heading);letter-spacing:-.01em;font-size:1.0625rem;font-weight:600;line-height:1.4}@media (min-width:1024px){h4{font-family:var(--font-display)}}.page-title{letter-spacing:-.04em;font-size:2.25rem;line-height:1.1}p{line-height:1.8}.muted{color:hsl(var(--text-muted))}.meta{color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;font-size:.8125rem}.num{font-variant-numeric:tabular-nums}.big-num{font-family:var(--font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:2rem;font-weight:700;line-height:1.1}svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.icon{flex-shrink:0}.icon-sm{width:16px;height:16px}.icon-lg{width:28px;height:28px}.icon-fill{fill:currentColor}.button{border-radius:var(--radius-control);height:2.5rem;color:hsl(var(--foreground));box-shadow:var(--shadow-xs);white-space:nowrap;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;padding:0 1.25rem;font-size:.875rem;font-weight:600;display:inline-flex}.button svg{width:1rem;height:1rem}.button-sm{height:2.25rem;padding:0 1rem;font-size:.75rem}.button-lg{height:3rem;padding:0 2rem;font-size:1rem}.button-lg svg{width:20px;height:20px}.button-block{width:100%}.button-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:700}.button-outline{background:hsl(var(--card));border-color:hsl(var(--border))}.button-ghost{box-shadow:none}.button-destructive{background:hsl(var(--destructive));color:#fff;font-weight:700}.button-inverse{background:hsl(var(--foreground));color:hsl(var(--surface))}.button-icon{border-radius:999px;width:2.5rem;padding:0}.button-icon.button-sm{width:2.25rem}.button-icon.button-lg{width:3rem}.button-icon svg{width:20px;height:20px}.button[aria-disabled=true]{opacity:.4;cursor:not-allowed}@media (hover:hover){.button-primary:not(:disabled):hover{background:hsl(var(--primary) / .9)}.button-outline:not(:disabled):hover{background:hsl(var(--card-hover));border-color:hsl(var(--border-strong))}.button-ghost:not(:disabled):hover{background:hsl(var(--card-hover))}.button-destructive:not(:disabled):hover{background:hsl(var(--destructive) / .9)}.button-inverse:not(:disabled):hover{background:hsl(var(--foreground) / .85)}}.field{flex-direction:column;gap:.5rem;display:flex}.field-label{font-size:.9375rem;font-weight:600}.field-hint{color:hsl(var(--text-muted));font-size:.8125rem;line-height:1.5}.field-error{color:hsl(var(--destructive));font-size:.8125rem;line-height:1.5}.input,.select{border-radius:var(--radius-control);border:1px solid hsl(var(--border));background:hsl(var(--card));width:100%;height:2.5rem;padding:0 .875rem;font-size:.9375rem}.textarea{border-radius:var(--radius-panel);border:1px solid hsl(var(--border));background:hsl(var(--card));resize:none;width:100%;min-height:6.5rem;padding:1rem;font-size:.9375rem;line-height:1.5;display:block}.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23958c84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right .875rem center;background-repeat:no-repeat;background-size:16px;padding-right:2.5rem}.input::placeholder,.textarea::placeholder{color:hsl(var(--text-muted))}.input:focus,.textarea:focus,.select:focus{border-color:hsl(var(--border-strong));outline:none}.conversation-bottom .select:focus-visible,.conversation-bottom .textarea:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.input[readonly]{color:hsl(var(--text-muted))}.input:disabled,.textarea:disabled,.select:disabled{opacity:.6;cursor:not-allowed}.switch{appearance:none;background:hsl(var(--border-mid));cursor:pointer;border:0;border-radius:999px;flex-shrink:0;width:44px;height:26px;margin:0;padding:0;position:relative}.switch:before{content:"";width:20px;height:20px;box-shadow:var(--shadow-xs);background:#fff;border-radius:999px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch:checked,.switch[aria-checked=true]{background:hsl(var(--primary))}.switch:checked:before,.switch[aria-checked=true]:before{transform:translate(18px)}.switch:disabled{opacity:.5;cursor:default}.toggle-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.segmented{border-radius:var(--radius-control);border:1px solid hsl(var(--border));background:hsl(var(--card));gap:4px;padding:4px;display:inline-flex}.segmented button{height:2rem;font-family:var(--font-body);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:12px;padding:0 .875rem;font-size:.875rem;font-weight:500}.segmented button[aria-pressed=true],.segmented button[aria-checked=true]{background:hsl(var(--surface));box-shadow:var(--shadow-xs);font-weight:600}.segmented-sm{border-radius:12px;gap:2px;padding:3px}.segmented-sm button{border-radius:9px;height:1.625rem;padding:0 .5rem;font-size:.75rem}.chip{border:1px solid hsl(var(--border));height:2.25rem;font-family:var(--font-body);white-space:nowrap;background:0 0;border-radius:999px;align-items:center;gap:.375rem;padding:0 .875rem;font-size:.875rem;font-weight:500;display:inline-flex}.chip[aria-pressed=true]{border-color:hsl(var(--primary));background:hsl(var(--primary-subtle) / .6)}.chip[aria-pressed=true]:before{content:"";background:currentColor;width:12px;height:12px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") 50%/contain no-repeat}@media (hover:hover){.chip:hover{background:hsl(var(--card-hover))}}.panel{border-radius:var(--radius-panel);background:hsl(var(--card));padding:1.5rem}.panel-outline{border-radius:var(--radius-panel);border:1px solid hsl(var(--border));background:hsl(var(--surface));padding:1.5rem}.tag{background:hsl(var(--surface));color:hsl(var(--foreground));white-space:nowrap;border-radius:8px;align-items:center;gap:.25rem;padding:.125rem .5rem;font-size:.75rem;font-weight:600;line-height:1.5;display:inline-flex}.tag-muted{background:hsl(var(--card));color:hsl(var(--text-muted))}.tag-primary{background:hsl(var(--primary-subtle))}.bar{background:hsl(var(--border));border-radius:999px;height:6px;overflow:hidden}.bar>span{width:var(--p,0%);border-radius:inherit;background:hsl(var(--primary));height:100%;display:block}.dialog-overlay{z-index:100;background:#14100c80;position:fixed;inset:0}.dialog-content{z-index:100;outline:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes dialog-fade-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-fade-out{0%{opacity:1}to{opacity:0}}@keyframes dialog-enter{0%{opacity:0;scale:.98}to{opacity:1;scale:1}}@keyframes dialog-exit{0%{opacity:1;scale:1}to{opacity:0;scale:.98}}@media (prefers-reduced-motion:no-preference){.dialog-overlay[data-state=open]{animation:.18s ease-out dialog-fade-in}.dialog-overlay[data-state=closed]{animation:.15s ease-in dialog-fade-out}.dialog-content[data-state=open]{animation:.18s ease-out dialog-enter}.dialog-content[data-state=closed]{animation:.15s ease-in dialog-exit}.popover-content[data-state=open]{animation:.15s ease-out dialog-fade-in}.popover-content[data-state=closed]{animation:.1s ease-in dialog-fade-out}}.ui-select-trigger{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));width:100%;min-width:0;height:44px;color:hsl(var(--foreground));text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:14px;display:flex}.ui-select-trigger>[data-slot=select-value]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-select-trigger>.icon{width:16px;height:16px;color:hsl(var(--text-muted));flex:none}.ui-select-trigger:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.ui-select-trigger:disabled{opacity:.5;cursor:not-allowed}.ui-select-content{z-index:120;min-width:var(--radix-select-trigger-width);max-width:calc(100vw - 24px);max-height:var(--radix-select-content-available-height);border:1px solid hsl(var(--border));background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:var(--shadow-object);border-radius:14px;overflow:hidden}.ui-select-viewport{padding:5px}.ui-select-item{cursor:default;-webkit-user-select:none;user-select:none;border-radius:9px;outline:none;align-items:center;min-height:40px;padding:8px 36px 8px 12px;font-size:14px;display:flex;position:relative}.ui-select-item[data-highlighted]{background:hsl(var(--primary-subtle))}.ui-select-item[data-disabled]{opacity:.5;pointer-events:none}.ui-select-indicator{place-items:center;display:grid;position:absolute;right:10px}.ui-select-indicator>.icon{width:16px;height:16px}.ui-select-separator{background:hsl(var(--border));height:1px;margin:5px 0}.ui-select-destructive{color:hsl(var(--destructive))}.ui-select-scroll{place-items:center;height:24px;display:grid}.ui-select-scroll>.icon{width:16px;height:16px}.ui-select-up{transform:rotate(180deg)}.modal{border-radius:var(--radius-panel);background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:var(--shadow-object);border:0;width:min(40rem,100vw - 160px);max-width:none;max-height:calc(100dvh - 96px);margin:0;padding:0;position:fixed;overflow:visible}.modal-sm{width:min(30rem,100vw - 160px)}.modal-md{width:min(40rem,100vw - 160px)}.modal-lg{width:min(54rem,100vw - 160px)}.modal-body{overscroll-behavior:contain;border-radius:inherit;max-height:calc(100dvh - 96px);padding:1.75rem;overflow-y:auto}.modal-body>h2:first-child{margin-top:0}.modal-sub{color:hsl(var(--text-muted));margin:.375rem 0 0;font-size:.9375rem;line-height:1.5}.modal-foot{justify-content:flex-end;gap:.5rem;margin-top:1.75rem;display:flex}.modal-foot>.button-block{flex:1}.loss{flex-direction:column;gap:.5rem;margin:.75rem 0 0;padding-left:1.25rem;font-size:.9375rem;line-height:1.5;display:flex}.x-side{background:hsl(var(--surface));width:44px;height:44px;color:hsl(var(--foreground));box-shadow:var(--shadow-xs);border:0;border-radius:999px;place-items:center;padding:0;font-size:28px;line-height:1;display:grid;position:absolute;top:0;right:-56px}@media (hover:hover){.x-side:not(:disabled):hover{background:hsl(var(--card-hover))}}@media (max-width:700px){.modal,.modal-sm,.modal-md,.modal-lg{width:calc(100vw - 32px)}.modal>.x-side{top:8px;right:8px}}.app-shell{grid-template-columns:76px minmax(0,1fr);min-height:100vh;display:grid}.rail{z-index:20;border-right:1px solid hsl(var(--border));background:hsl(var(--rail-surface));flex-direction:column;align-items:center;gap:4px;height:100dvh;padding:16px 0;display:flex;position:sticky;top:0}.rail-logo{border-radius:12px;place-items:center;width:44px;height:44px;margin-bottom:20px;display:grid}.rail-item{width:64px;font:500 12px/16px var(--font-heading);letter-spacing:.01em;color:hsl(var(--text-muted));background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:6px 0;display:flex}.rail-icon{border-radius:12px;place-items:center;width:40px;height:40px;transition:background-color .15s;display:grid}.rail-icon .icon{width:24px;height:24px}@media (hover:hover){.rail-item:hover{color:hsl(var(--foreground))}.rail-item:hover .rail-icon{background:hsl(var(--card-hover))}}.rail-item[aria-current]{color:hsl(var(--foreground));font-weight:600}.rail-item[aria-current] .rail-icon{color:hsl(var(--primary))}.rail-account{text-align:center;place-items:center;width:64px;min-height:40px;margin-top:auto;font-size:12px;display:grid}.rail-account>.muted,.home-top>.muted{visibility:hidden}.home{flex-direction:column;width:100%;min-width:0;padding:0 24px 24px;display:flex}.home-content{flex:1}.home-top{justify-content:flex-end;height:68px;padding-top:20px;display:flex}.home-heading{flex-direction:column;align-items:center;gap:28px;padding:24px 0 44px;display:flex}.home-heading h1{text-align:center}.template-search{width:100%;max-width:704px;position:relative}.template-search input{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));width:100%;height:56px;padding:0 20px 0 52px;font-size:17px}.template-search input::placeholder{color:hsl(var(--text-muted))}.template-search input:focus{border-color:hsl(var(--border-strong));outline:none}.template-search button{width:40px;height:40px;color:hsl(var(--text-muted));background:0 0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;left:8px}.categories{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin-bottom:40px;display:grid}.category{border-radius:var(--radius-control);background:hsl(var(--card));outline-offset:-2px;outline:2px solid #0000;align-items:center;height:92px;padding:0 0 0 16px;transition:background-color .15s,outline-color .15s;display:flex;position:relative;overflow:hidden}.category[aria-current]{outline-color:hsl(var(--primary))}.category:focus-visible{outline-color:hsl(var(--primary));outline-offset:2px}.category span{z-index:1;max-width:52%;font-family:var(--font-display);font-size:.9375rem;font-weight:600;line-height:1.25;position:relative}.category small{font:500 12px/1.5 var(--font-body);color:hsl(var(--text-muted));margin-top:2px;display:block}.category img{width:auto;max-width:min(92px,40%);height:auto;max-height:96px;box-shadow:var(--shadow-cover);border-radius:6px;position:absolute;top:14px;right:12px;transform:rotate(4deg)}@media (hover:hover){.category:hover{background:hsl(var(--card-hover))}}.video-wall{--wall-gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));grid-auto-flow:dense;gap:var(--wall-gap);display:grid}.template-preview{aspect-ratio:9/16;border-radius:var(--radius-media);outline-offset:3px;background:#171513;outline:2px solid #0000;width:100%;min-width:0;transition:outline-color .15s;display:block;position:relative;overflow:hidden}.template-preview:hover{outline-color:hsl(var(--border-strong))}.template-preview:has(.template-preview-open:focus-visible){outline-color:hsl(var(--primary))}.template-preview-open{color:inherit;cursor:pointer;background:0 0;border:0;outline:none;padding:0;display:block;position:absolute;inset:0}.preview-sound{background:hsl(var(--media-overlay) / .5);width:36px;height:36px;color:hsl(var(--media-overlay-foreground));cursor:pointer;opacity:0;visibility:hidden;border:0;border-radius:50%;place-items:center;padding:0;transition:opacity .15s,visibility .15s,background-color .15s;display:grid;position:absolute;top:10px;left:10px}.preview-sound .icon{width:18px;height:18px}.preview-sound:hover{background:hsl(var(--media-overlay) / .75)}.preview-sound:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.template-preview:hover .preview-sound{opacity:1;visibility:visible}.template-preview:has(:focus-visible) .preview-sound{opacity:1;visibility:visible}@media (hover:none),(prefers-reduced-motion:reduce){.preview-sound{display:none}}.template-preview:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px hsl(var(--foreground) / .08);pointer-events:none;position:absolute;inset:0}.template-preview video,.template-preview .preview-poster{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.template-preview-wide video,.template-preview-wide .preview-poster{object-fit:cover}@media (min-width:701px){.template-preview-wide{aspect-ratio:auto;grid-column:span 2}.template-preview-wide:before{content:"";width:calc((100% - var(--wall-gap)) / 2);aspect-ratio:9/16;display:block}}.template-preview-action{border-radius:var(--radius-media);background:hsl(var(--primary));min-height:44px;color:hsl(var(--primary-foreground));font:700 14px/1.4 var(--font-body);opacity:0;visibility:hidden;justify-content:center;align-items:center;padding:10px 12px;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:absolute;bottom:12px;left:12px;right:12px;transform:translateY(6px);box-shadow:0 4px 16px #0003}.template-preview:hover .template-preview-action,.template-preview-open:focus-visible .template-preview-action{opacity:1;visibility:visible;transform:translateY(0)}@media (hover:none){.template-preview-action{opacity:1;visibility:visible;transform:none}}.category-heading{gap:14px;padding-bottom:36px}.page-crumbs{color:hsl(var(--text-muted));gap:8px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.page-crumbs li+li:before{content:"/";margin-right:8px}.page-crumbs a{color:inherit;text-decoration:none;transition:color .15s}.page-crumbs a:hover{color:hsl(var(--foreground))}.category-lede{text-align:center;max-width:36rem;color:hsl(var(--text-muted));text-wrap:balance;margin:0;font-size:17px;line-height:1.6}.preview-error{background:hsl(var(--surface));border-radius:var(--radius-media);padding:4px 8px;font-size:12px;position:absolute;bottom:8px;left:8px}.load-more{margin-top:24px}.empty-state{text-align:center;color:hsl(var(--text-muted));padding:64px 24px}.error-page{max-width:720px;margin:80px auto;padding:24px}.loading{color:hsl(var(--text-muted));padding:80px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skeleton{background:hsl(var(--card-hover));border-radius:var(--radius-control);display:block}.skeleton-media{aspect-ratio:9/16;border-radius:var(--radius-media);width:100%;min-width:0}.skeleton-account{width:86px;height:40px}.skeleton-search{width:100%;max-width:704px;height:56px}.skeleton-category{height:92px}.skeleton-fields{flex-direction:column;gap:24px;display:flex}.skeleton-field{width:100%;height:48px}.editor-loading-stage{flex:1;min-height:0;display:flex}.template-columns>.skeleton-media{max-width:var(--template-player-width);justify-self:center}@media (prefers-reduced-motion:no-preference){.skeleton{animation:1.5s ease-in-out infinite alternate skeleton-pulse}}@keyframes skeleton-pulse{to{opacity:.5}}@media (max-width:700px){.app-shell{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr);min-height:100dvh}.rail{border-right:0;border-bottom:1px solid hsl(var(--border));flex-direction:row;gap:12px;height:72px;padding:8px 16px}.rail-logo{margin:0 auto 0 0}.rail-item{gap:2px;width:60px;padding:0;font-size:11px}.rail-icon{width:34px;height:34px}.rail-account{width:40px;margin:0 0 0 auto}.home{padding:0 16px 32px}.home-top{height:60px;padding-top:12px}.home-heading{gap:24px;padding:16px 0 28px}.home-heading h1{max-width:560px;font-size:clamp(1.75rem,6vw,2.25rem)}.categories{scroll-snap-type:x proximity;gap:12px;margin:0 -4px 24px;padding:4px;scroll-padding-inline:4px;display:flex;overflow-x:auto}.category,.skeleton-category{scroll-snap-align:start;flex:0 0 170px}.video-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.page-title{font-size:1.875rem}}.template-dialog{border-radius:var(--radius-panel);background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:var(--shadow-object);border:0;width:calc(100vw - 144px);max-width:1280px;height:calc(100dvh - 48px);margin:0;padding:0;position:fixed;top:24px;left:50%;overflow:visible;transform:translate(-50%)}.template-content{overscroll-behavior:contain;border-radius:inherit;height:100%;max-height:calc(100dvh - 48px);padding:40px 40px 48px;overflow:auto}.template-columns{--template-player-width:min(420px, calc((100dvh - 168px) * 9 / 16));grid-template-columns:var(--template-player-width) minmax(0, 26rem);justify-content:center;align-items:start;gap:64px;display:grid}.template-media{flex-direction:column;align-items:center;min-width:0;display:flex}.template-player-container{width:min(100%, var(--template-player-width));aspect-ratio:9/16;border-radius:var(--radius-control);box-shadow:var(--shadow-object);background:#171513;position:relative;overflow:hidden}.template-player{object-fit:contain;width:100%;height:100%;display:block}.example-label{color:hsl(var(--text-muted));margin:28px 0 10px;font-size:.8125rem;line-height:1.5}.example-strip{gap:14px;max-width:100%;padding:6px;scroll-padding-inline:6px;display:flex;overflow-x:auto}.example-strip button{aspect-ratio:9/16;border-radius:var(--radius-media);outline-offset:3px;background:#171513;border:0;outline:2px solid #0000;flex:0 0 104px;padding:0;scroll-margin-block:6px;transition:outline-color .15s;position:relative;overflow:hidden}@media (hover:hover){.example-strip button:hover{outline-color:hsl(var(--border-strong))}}.example-strip button[aria-pressed=true]{outline-color:hsl(var(--primary))}.example-strip button:focus-visible{outline-color:hsl(var(--foreground))}.example-strip img{object-fit:contain;width:100%;height:100%;display:block}.thumb-progress{background:#fff6;border-radius:999px;height:4px;position:absolute;bottom:6px;left:6px;right:6px;overflow:hidden}.thumb-progress>span{background:hsl(var(--primary));height:100%;display:block}.template-form h2{letter-spacing:-.035em;text-wrap:balance;margin:0 0 24px;font-size:2rem;line-height:1.15}.template-form{overflow-wrap:anywhere;min-width:0}.template-form fieldset{border:0;flex-direction:column;gap:24px;min-width:0;margin:28px 0 0;padding:0;display:flex}.template-form .toggle-row{min-height:26px}.chips{flex-wrap:wrap;gap:8px;display:flex}.template-form>.button{margin-top:32px}.button-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite button-spin}@keyframes button-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.button-spinner{animation-duration:1.6s}}.template-form>.field-error{margin:12px 0 0}.related-templates{margin:64px 0 0}.related-templates h3{margin:0 0 24px}.auth-dialog{width:min(46rem,100vw - 160px)}.auth-dialog>.x-side{right:-60px}.auth-columns{border-radius:inherit;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.auth-panel{overscroll-behavior:contain;flex-direction:column;min-width:0;max-height:calc(100dvh - 96px);padding:40px 36px 36px;display:flex;overflow-y:auto}.auth-panel h2{letter-spacing:-.035em;margin:0;font-size:1.75rem;line-height:1.2}.auth-panel fieldset{border:0;flex-direction:column;gap:12px;min-width:0;margin:28px 0 0;padding:0;display:flex}.auth-panel .field-error{margin:0}.auth-panel .button-primary{margin-top:8px}.auth-google{margin-top:28px;position:relative}.auth-google svg{position:absolute;left:16px}.auth-or{color:hsl(var(--text-muted));align-items:center;gap:12px;margin:0;font-size:.8125rem;line-height:1.5;display:flex}.auth-or:before,.auth-or:after{content:"";background:hsl(var(--border));flex:1;height:1px}.auth-other{background:0 0;border:0;border-radius:8px;align-self:center;padding:4px 8px;font-size:.9375rem;font-weight:600}@media (hover:hover){.auth-other:not(:disabled):hover{text-underline-offset:2px;text-decoration:underline}}.auth-brand{background:hsl(var(--band-deep));font:700 3rem/1 var(--font-display);letter-spacing:-.03em;justify-content:center;align-items:center;gap:16px;padding:40px 32px;display:flex}.auth-brand img{width:64px;height:64px}.no-credits .modal-sub{margin-top:12px;font-size:.875rem}@media (max-width:900px){.template-dialog{width:calc(100vw - 32px);height:calc(100dvh - 32px);top:16px}.template-dialog>.x-side{top:8px;right:8px}.template-content{max-height:calc(100dvh - 32px);padding:56px 16px 32px}.template-columns{grid-template-columns:1fr;gap:32px}.auth-dialog{width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}.auth-dialog>.x-side{top:8px;right:8px}.auth-columns{grid-template-columns:minmax(0,1fr)}.auth-panel{max-height:calc(100dvh - 32px);padding:56px 24px 28px}.auth-google{padding-left:44px;padding-right:16px;font-size:.875rem}.auth-brand{display:none}}.editor-shell{flex-direction:column;height:100vh;display:flex}.editor-top{border-bottom:1px solid hsl(var(--border));background:hsl(var(--surface));flex:none;align-items:center;gap:12px;height:56px;padding:0 16px;display:flex}.editor-wordmark{font:700 20px/1 var(--font-display);letter-spacing:-.02em;border-radius:12px;flex:none;align-items:center;gap:10px;display:flex}.editor-wordmark img{width:26px;height:26px}.editor-columns{flex:1;grid-template-columns:clamp(320px,33.333vw,100% - 320px) minmax(0,1fr);min-height:0;display:grid;position:relative}.editor-chat{border-right:1px solid hsl(var(--border));background:hsl(var(--surface));flex-direction:column;min-width:0;min-height:0;display:flex}.editor-resize-handle{z-index:5;cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.editor-resize-handle:after{content:"";background:0 0;width:2px;position:absolute;top:0;bottom:0;left:5px}.editor-resize-handle:hover:after,.editor-resize-handle:focus-visible:after,.editor-columns[data-resizing] .editor-resize-handle:after{background:hsl(var(--primary))}.editor-resize-handle:focus-visible{outline:none}.editor-columns[data-resizing]{cursor:col-resize;-webkit-user-select:none;user-select:none}.editor-columns[data-resizing] iframe{pointer-events:none}.conversation-history{flex-direction:column;flex:1;gap:20px;min-height:0;padding:24px 20px 16px;font-size:15px;line-height:1.5;display:flex;overflow-y:auto}.conversation-history>.button{flex:none;align-self:center}.conversation-history>p{margin:0}.assistant-message{overflow-wrap:anywhere;flex-direction:column;gap:12px;display:flex}.assistant-message p{margin:0;line-height:1.5}.assistant-message small{font-size:13px}.user-message{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));overflow-wrap:anywhere;flex-direction:column;align-self:flex-end;gap:8px;max-width:85%;padding:12px 16px;display:flex}.conversation-skeleton{flex-direction:column;gap:20px;display:flex}.conversation-skeleton-sent{align-self:flex-end;width:min(240px,70%);height:48px}.conversation-skeleton-sent:nth-child(3){width:min(180px,55%)}.conversation-skeleton-reply{flex-direction:column;gap:10px;display:flex}.conversation-skeleton-reply>.skeleton{height:14px}.conversation-skeleton-reply>.skeleton:first-child{width:92%}.conversation-skeleton-reply>.skeleton:nth-child(2){width:80%}.conversation-skeleton-reply>.skeleton:last-child{width:56%}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.message-markdown{min-width:0;line-height:1.5}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p,.message-markdown ul,.message-markdown ol,.message-markdown blockquote,.message-markdown pre,.message-table{margin:0 0 12px}.message-markdown h1,.message-markdown h2,.message-markdown h3,.message-markdown h4,.message-markdown h5,.message-markdown h6{letter-spacing:0;margin:18px 0 8px;font-size:16px;font-weight:650;line-height:1.4}.message-markdown ul,.message-markdown ol{padding-left:22px}.message-markdown li+li{margin-top:5px}.message-markdown li>p{margin-bottom:6px}.message-markdown a{color:hsl(var(--foreground));text-underline-offset:3px;text-decoration:underline}.message-markdown code{background:hsl(var(--card));border-radius:4px;padding:2px 5px;font-size:.87em}.message-markdown pre{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;max-width:100%;padding:12px;overflow-x:auto}.message-markdown pre code{white-space:pre;background:0 0;padding:0}.message-markdown blockquote{border-left:2px solid hsl(var(--border));color:hsl(var(--text-muted));padding-left:12px}.message-table{overflow-x:auto}.message-table table{border-collapse:collapse;width:100%;font-size:13px}.message-table th,.message-table td{text-align:left;border:1px solid hsl(var(--border));padding:7px 10px}.message-work{flex-direction:column;gap:8px;display:flex}.reasoning,.tool-activity{color:hsl(var(--text-muted))}.reasoning summary,.tool-activity summary{cursor:pointer;width:fit-content;line-height:1.5}.reasoning summary:focus-visible,.tool-activity summary:focus-visible{outline-offset:4px;border-radius:3px;outline:2px solid}.reasoning .message-markdown,.tool-activity ol{border-left:1px solid hsl(var(--border));margin:10px 0 0 4px;padding:0 0 0 14px}.tool-activity ol{gap:7px;list-style:none;display:grid}.message-work-error{color:hsl(var(--text-muted));font-size:13px}.text-shimmer{color:#0000;background-image:linear-gradient(90deg, transparent calc(50% - var(--shimmer-spread)), hsl(var(--surface)), transparent calc(50% + var(--shimmer-spread))), linear-gradient(hsl(var(--text-muted)), hsl(var(--text-muted)));animation:text-shimmer var(--shimmer-duration) linear infinite;background-repeat:no-repeat;background-size:250% 100%,auto;-webkit-background-clip:text;background-clip:text;display:inline-block}@keyframes text-shimmer{0%{background-position:100%}to{background-position:0%}}@media (prefers-reduced-motion:reduce){.text-shimmer{color:hsl(var(--text-muted));background:0 0;animation:none}}@media (forced-colors:active){.text-shimmer{color:canvastext;background:0 0;animation:none}}.assistant-message .message-running{color:hsl(var(--text-muted));font-size:inherit;align-items:center;gap:7px;display:flex}.assistant-message .turn-duration{color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;margin-bottom:6px;font-size:13px;display:block}.conversation-bottom{flex-direction:column;flex:none;gap:12px;padding:12px 20px 20px;display:flex;position:relative}.conversation-bottom>p{margin:0;font-size:13px;line-height:1.5}.conversation-notice{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));align-items:center;gap:12px;padding:12px 12px 12px 16px;font-size:14px;display:flex}.conversation-notice p{flex:1;margin:0;line-height:1.5}.conversation-notice .button{flex:none}.conversation-status{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.conversation-status span{margin-right:auto;font-weight:600}.conversation-composer{border:1px solid hsl(var(--border));border-radius:var(--radius-panel);background:hsl(var(--card));flex-direction:column;gap:8px;padding:12px;display:flex}.conversation-composer:focus-within{border-color:hsl(var(--border-strong))}.conversation-composer textarea{resize:none;field-sizing:content;width:100%;min-height:calc(3em + 8px);max-height:200px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;padding:4px 8px;font-size:15px;line-height:1.5;display:block}.conversation-composer textarea::placeholder{color:hsl(var(--text-muted))}.composer-toolbar{align-items:center;gap:8px;display:flex}.composer-actions{gap:8px;margin-left:auto;display:flex}@media (prefers-reduced-motion:no-preference){.conversation-composer{transition:border-color .15s}}.return-to-bottom{white-space:nowrap;position:absolute;top:-48px;left:50%;transform:translate(-50%)}.queued-messages{max-height:180px;overflow:auto}.queued-messages h2{font:600 12px var(--font-heading);letter-spacing:0;color:hsl(var(--text-muted));margin:0 0 8px}.queued-messages ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.queued-messages li{border:1px solid hsl(var(--border));border-radius:12px;align-items:center;gap:8px;padding:4px 4px 4px 12px;font-size:13px;display:flex}.queued-messages li span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:1;display:-webkit-box;overflow:hidden}.queued-messages .button{box-shadow:none;flex:none}@media (hover:hover){.queued-messages .button:hover{background:hsl(var(--card-hover))}}.editor-preview{background:hsl(var(--band-deep));flex-direction:column;min-width:0;min-height:0;display:flex}.editor-preview>p{flex:none;margin:16px 32px 0;font-size:13px}.editor-preview>div:not(.project-player){padding:32px}.projects-page{width:100%;padding-top:40px}.home-top+.projects-page{padding-top:0}.home-top+.projects-page .projects-empty{margin-top:116px}.projects-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px;display:flex}.projects-empty{text-align:center;flex-direction:column;align-items:center;gap:28px;max-width:560px;margin:144px auto 0;display:flex}.sign-in-gate{flex-direction:column;align-items:center;gap:16px;display:flex}.sign-in-gate [role=alert]{max-width:28rem;color:hsl(var(--text-muted));margin:0;font-size:.9375rem;line-height:1.5}.projects-empty-icon{background:hsl(var(--primary-subtle));width:96px;height:96px;color:hsl(var(--primary));stroke-width:1.25px;border-radius:24px;padding:20px}.projects-loading-actions{gap:12px;display:flex}.projects-loading-actions .skeleton{width:156px;height:40px}.library-loading{width:100%}.skeleton-library-search{max-width:400px;height:2.5rem;margin-bottom:52px}.skeleton-library-new-folder,.skeleton-library-info{display:none}.skeleton-project-poster{aspect-ratio:1;border-radius:var(--radius-media);width:100%}.skeleton-project-name{width:70%;height:20px}@media (max-width:700px){.projects-loading-heading{display:none}}.projects-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));align-items:start;gap:32px 20px;display:grid}.project-card{flex-direction:column;gap:10px;min-width:0;display:flex}.project-card h2{font:600 15px/1.35 var(--font-body);letter-spacing:0;overflow-wrap:anywhere;margin:0}.project-card .meta{margin:-6px 0 0;line-height:1.4}.project-poster{aspect-ratio:1;border-radius:var(--radius-media);outline-offset:3px;background:#171513;outline:2px solid #0000;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.project-poster:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px hsl(var(--foreground) / .08);pointer-events:none;position:absolute;inset:0}.project-poster img{object-fit:cover;width:100%;height:100%}.project-status{z-index:1;color:#fff;background:#14110eeb;border-radius:10px;padding:8px 10px;font-size:12px;line-height:1.4;position:absolute;bottom:10px;left:10px;right:10px}@media (prefers-reduced-motion:no-preference){.project-poster{transition:outline-color .15s}}@media (hover:hover){.project-card:hover .project-poster{outline-color:hsl(var(--border-strong))}}.project-title{flex:16rem;align-items:center;gap:8px;min-width:0;display:flex}.project-title h1{text-overflow:ellipsis;white-space:nowrap;letter-spacing:0;min-width:0;margin:0;font-size:16px;line-height:1.5;overflow:hidden}.editor-back{width:36px;height:36px;color:hsl(var(--text-muted));border-radius:12px;flex:none;place-items:center;display:grid}.editor-back svg{width:20px;height:20px}.project-settings-trigger{flex:none}.project-settings-actions{gap:8px;margin-top:20px;display:grid}.project-settings-actions>button{border-radius:var(--radius-control);width:100%;min-height:48px;color:inherit;text-align:left;font:600 16px var(--font-display);background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px;display:flex}.project-settings-actions>button:disabled{opacity:.5;cursor:not-allowed}.project-settings-actions>.project-delete-action{color:hsl(var(--destructive))}@media (hover:hover){.project-settings-actions>button:not(:disabled):hover{background:hsl(var(--card-hover))}.editor-back:hover{background:hsl(var(--card-hover));color:hsl(var(--foreground))}}.project-player{flex-direction:column;flex:1;min-height:0;display:flex}.player-view{flex:1;justify-content:center;align-items:center;min-height:0;padding:32px 32px 16px;display:flex;container-type:size}.player-view iframe{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:0 0;border:0;width:100%;height:100%;display:block}.player-view iframe.player-shaped{border-radius:var(--radius-control);box-shadow:var(--shadow-object);background:#000}.player-view iframe:fullscreen{width:100vw;height:100dvh;box-shadow:none;background:#000;border-radius:0}.player-controls{flex:none;padding:8px 32px 28px;position:relative}.player-scrub{appearance:none;cursor:pointer;border-radius:999px;width:100%;height:12px;margin:0;display:block}.player-scrub:disabled{cursor:default}.player-scrub::-webkit-slider-thumb{-webkit-appearance:none;background:hsl(var(--primary));border:3px solid hsl(var(--surface));width:22px;height:22px;box-shadow:var(--shadow-xs);border-radius:999px}.player-scrub::-moz-range-thumb{background:hsl(var(--primary));border:3px solid hsl(var(--surface));border-radius:999px;width:16px;height:16px}.player-scrub:disabled::-webkit-slider-thumb{visibility:hidden}.player-control-row{grid-template-columns:1fr auto 1fr;align-items:center;margin-top:16px;display:grid}.player-control-row>div{align-items:center;gap:12px;display:flex}.player-control-row button{width:48px;height:48px;color:hsl(var(--foreground));background:0 0;border:0;border-radius:999px;place-items:center;padding:0;display:grid}.player-control-row button:disabled{opacity:.35}.player-control-row button svg{stroke-width:2px;width:28px;height:28px}.player-control-row .player-play{width:64px;height:64px}.player-control-row .player-play svg{fill:currentColor;width:40px;height:40px}@media (hover:hover){.player-control-row button:not(:disabled):hover{background:hsl(var(--card-hover))}}.player-time{font-variant-numeric:tabular-nums;color:hsl(var(--text-muted));font-size:14px}.player-time b{color:hsl(var(--foreground));font-weight:600}.player-controls>.player-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.player-alert{align-items:center;gap:12px;margin-top:8px;font-size:13px;display:flex}.player-alert span{overflow-wrap:anywhere;flex:1}@media (min-width:701px) and (max-width:1100px){.player-control-row{grid-template-columns:minmax(0,1fr);gap:8px}.player-control-row>div{justify-content:center;gap:6px}.player-control-row button{width:40px;height:40px}.player-control-row .player-play{width:48px;height:48px}.player-time{text-align:center}}@media (max-width:700px){.editor-shell{height:100dvh;min-height:660px}.editor-top{flex-wrap:wrap;gap:6px;height:auto;min-height:56px;padding:8px 12px}.editor-top .project-title{flex-basis:64px}.editor-top .editor-wordmark span{display:none}.editor-top .editor-access{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:84px;font-size:12px;overflow:hidden}.editor-top>button,.editor-top .export-control,.editor-top .account-editor{flex-shrink:0}.editor-wordmark{gap:6px}.editor-columns{grid-template-rows:minmax(280px,1fr) minmax(320px,1fr);grid-template-columns:minmax(0,1fr)}.editor-preview{grid-row:1}.editor-chat{border-right:0;border-top:1px solid hsl(var(--border));grid-row:2;min-width:0}.player-view{padding:12px 16px 8px}.player-controls{padding:8px 16px 12px}.player-control-row{grid-template-columns:1fr;gap:4px;margin-top:8px}.player-control-row>div{justify-content:center;gap:8px}.player-control-row button{width:44px;height:44px}.player-control-row .player-play{width:52px;height:52px}.player-time{text-align:center}}.account-control{position:relative}.account-rail{margin-top:auto}.account-editor{margin-left:auto}.account-trigger{background:0 0;border:0;border-radius:999px;place-items:center;padding:0;display:grid}.account-trigger[aria-expanded=true]{outline:2px solid hsl(var(--primary));outline-offset:2px}.account-avatar{background:hsl(var(--primary-subtle));width:32px;height:32px;color:hsl(var(--foreground));font:700 13px/1 var(--font-display);border-radius:999px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.account-avatar-lg{width:40px;height:40px;font-size:15px}.account-avatar img{object-fit:cover;width:100%;height:100%}.popover-content{z-index:100;transform-origin:var(--radix-popover-content-transform-origin);outline:none}.account-menu{width:min(300px,100vw - 32px);max-height:var(--radix-popover-content-available-height);border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--surface));text-align:left;padding:8px;overflow-y:auto;box-shadow:0 12px 32px -12px #00000040}.account-head{align-items:center;gap:12px;padding:10px 10px 12px;font-size:15px;display:flex}.account-head>div{min-width:0}.account-head strong{overflow-wrap:anywhere;display:block}.account-head .meta{overflow-wrap:anywhere;margin:0;line-height:1.4}.account-credits{width:100%;font-family:var(--font-body);text-align:left;background:0 0;border:0;border-radius:12px;flex-direction:column;gap:8px;margin:0 0 6px;padding:12px;line-height:1.5;display:flex}.account-credits-row{justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;display:flex}.account-plan-skeleton{width:84px;height:21px}.account-credits-skeleton{width:104px;height:16px}.account-item{width:100%;height:40px;font-family:var(--font-body);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:0 10px;font-size:15px;display:flex}.account-item>svg{color:hsl(var(--text-muted))}.account-theme .segmented{margin-left:auto}.account-sep{background:hsl(var(--border));border:0;height:1px;margin:6px 4px}.account-menu-error{color:hsl(var(--destructive));margin:4px 10px 8px;font-size:13px;line-height:1.5}@media (hover:hover){button.account-credits:hover,.account-item:not(.account-theme):not(:disabled):hover{background:hsl(var(--card-hover))}}.settings-modal{text-align:start;width:min(52rem,100vw - 160px);height:min(52rem,100dvh - 96px);font-size:.9375rem;line-height:1.5}.settings-layout{border-radius:inherit;grid-template-columns:13rem minmax(0,1fr);height:100%;display:grid;overflow:hidden}.settings-nav{border-right:1px solid hsl(var(--border));flex-direction:column;padding:1.5rem .75rem;display:flex}.settings-nav h2{margin:0;padding:0 .75rem 1rem;font-size:1.375rem;line-height:1.2}.settings-nav [role=tablist]{flex-direction:column;gap:2px;display:flex}.settings-tab{height:2.5rem;color:hsl(var(--text-muted));font-family:var(--font-body);font-size:.9375rem;font-weight:inherit;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:.625rem;padding:0 .75rem;transition:background-color .15s,color .15s;display:flex}.settings-tab[aria-selected=true]{background:hsl(var(--card-hover));color:hsl(var(--foreground));font-weight:600}@media (hover:hover){.settings-tab:hover{background:hsl(var(--card-hover));color:hsl(var(--foreground))}}.settings-body{overscroll-behavior:contain;min-width:0;min-height:0;padding:1.75rem 2rem 2rem;overflow-y:auto}.settings-body h3{margin:0 0 .5rem}.settings-row{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:1.5rem;padding:1.125rem 0;display:flex}.settings-row:last-child{border-bottom:0}.settings-row:has(+:not(.settings-row)){border-bottom:0}.settings-row:has(+.settings-photo-form){border-bottom:0}.settings-key{font-size:.9375rem;font-weight:600}.settings-value{color:hsl(var(--text-muted));overflow-wrap:anywhere;text-align:right;font-size:.9375rem}.settings-actions{align-items:center;gap:.5rem;min-width:0;display:flex}.settings-row .input{width:16rem;min-width:0}.settings-photo{align-items:center;gap:.875rem;display:flex}.settings-avatar{background:hsl(var(--primary-subtle));width:40px;height:40px;font-family:var(--font-display);border-radius:999px;flex-shrink:0;place-items:center;font-size:.9375rem;font-weight:700;display:grid;overflow:hidden}.settings-avatar img{object-fit:cover;width:100%;height:100%}.settings-photo-form{flex-wrap:wrap;padding-top:0}.settings-photo-form .input{flex:100%;width:auto}.settings-photo-form .settings-actions{flex:none;margin-left:auto}.settings-danger{color:hsl(var(--destructive))}.account-rows{margin-top:.5rem}.account-row{border-bottom:1px solid hsl(var(--border));grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:72px;padding:12px 0;display:grid}.account-row:last-child{border-bottom:0}.account-label{color:hsl(var(--text-muted));font-size:14px}.account-value{overflow-wrap:anywhere;min-width:0;font-size:15px;font-weight:600}.account-note{color:hsl(var(--text-muted));font-size:14px;font-weight:400}.account-photo{width:48px;height:48px;font-size:1.25rem}.account-edit .input{width:100%;min-width:0}.settings-status{margin:1rem 0 0;font-size:.875rem;line-height:1.5}.deletion-modal h2{margin:0}.deletion-label{margin:1.5rem 0 .5rem;font-size:.875rem;display:block}.deletion-error{margin:.75rem 0 0}.deletion-modal .button-destructive:disabled{opacity:.4;cursor:not-allowed}@media (max-width:700px){.settings-modal{width:calc(100vw - 32px);height:min(640px,100dvh - 32px);max-height:calc(100dvh - 32px)}.settings-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.settings-nav{border-right:0;border-bottom:1px solid hsl(var(--border));padding:1rem}.settings-nav h2{padding:0 44px 1rem 0}.settings-nav [role=tablist]{flex-flow:wrap}.settings-body{padding:1.25rem 1rem}.settings-row{flex-wrap:wrap;gap:.75rem}.settings-row:has(.settings-actions){flex-direction:column;align-items:stretch}.settings-actions{flex-wrap:wrap}.settings-row .input{flex:1;width:100%;min-width:0}.settings-value{text-align:left;min-width:0}}.billing h3:focus-visible,.pricing-title:focus-visible{outline:none}.billing-row{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:1.5rem;padding:1.125rem 0;display:flex}.billing-row:last-child{border-bottom:0}.billing-key,.billing-row dt{font-size:.9375rem;font-weight:600}.billing-row dd{color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;text-align:right;margin:0;font-size:.9375rem}.billing-row>.muted{font-size:.9375rem}.billing-danger{color:hsl(var(--destructive))}.billing-list{margin:0}.billing-credits{border-bottom:1px solid hsl(var(--border));padding:1.25rem 0}.billing-credits>p{align-items:baseline;gap:.5rem;margin:0;line-height:1.1;display:flex}.billing-of{color:hsl(var(--text-muted));font-size:1rem;font-weight:500}.billing-credits .bar{height:8px;margin:.875rem 0 .5rem}.billing-caption{color:hsl(var(--text-muted));justify-content:space-between;gap:1rem;font-size:.875rem;display:flex}.billing-caption button{color:hsl(var(--foreground));font-family:var(--font-body);background:0 0;border:0;padding:0;font-size:.875rem;font-weight:600}.billing-head{border-bottom:1px solid hsl(var(--border));padding:.5rem 0 1.25rem}.billing-head p{margin:0;line-height:1.1}.billing-head .muted{margin-top:.25rem;font-size:.875rem;line-height:1.5}.billing-expiry{font-variant-numeric:tabular-nums;margin:0;padding:0;font-size:.875rem;list-style:none}.billing-expiry li{border-top:1px solid hsl(var(--border));justify-content:space-between;gap:1rem;padding:.5rem 0;display:flex}.billing-expiry li>:last-child{color:hsl(var(--text-muted))}.billing-notice{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));align-items:center;gap:1rem;margin:.75rem 0 .5rem;padding:1rem 1.125rem;font-size:.9375rem;line-height:1.5;display:flex}.page-notice{border:1px solid hsl(var(--border));border-radius:var(--radius-control);background:hsl(var(--card));max-width:72rem;margin:0 0 1.5rem;padding:.875rem 1.125rem;line-height:1.5}.page-notice[role=alert],.billing-notice[role=alert]{border-color:hsl(var(--destructive) / .5)}.billing-notice p{flex:1;margin:0;line-height:1.5}.billing-notice strong{font-weight:600}.pricing-modal{width:min(76rem,100vw - 128px);max-height:calc(100dvh - 64px)}.pricing{overscroll-behavior:contain;border-radius:inherit;max-height:calc(100dvh - 64px);padding:3rem 2rem 2rem;position:relative;overflow-y:auto}.pricing-close{position:absolute;top:1.25rem;right:1.25rem}.pricing-title{text-align:center;font-size:2.5rem}.pricing-message{text-align:center;flex-direction:column;align-items:center;gap:1rem;max-width:36rem;margin:3rem auto 0;display:flex}.pricing-message p{margin:0}.pricing-notices{max-width:72rem;margin:1.5rem auto 0}.pricing-notices:empty{display:none}.pricing-plans{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem;max-width:72rem;margin:3rem auto 0;padding:0;list-style:none;display:grid}.pricing-notices:not(:empty)+.pricing-plans{margin-top:1.5rem}.plan-card{border-radius:var(--radius-panel);background:hsl(var(--card));flex-direction:column;padding:1.75rem;display:flex}.theme-toggle{border:1px solid hsl(var(--border-mid));background:hsl(var(--card-hover));border-radius:999px;flex-shrink:0;align-items:center;width:40px;height:24px;margin-left:auto;padding:3px;display:inline-flex}.theme-toggle span{background:hsl(var(--foreground));border-radius:999px;width:16px;height:16px;transition:transform .15s}.theme-toggle[aria-checked=true]{background:hsl(var(--primary));border-color:hsl(var(--primary))}.theme-toggle[aria-checked=true] span{background:hsl(var(--primary-foreground));transform:translate(16px)}.skeleton-plan-name{width:45%;height:32px}.skeleton-plan-price{width:70%;height:47px;margin-top:16px}.skeleton-plan-credits{width:90%;height:29px;margin-top:20px}.skeleton-plan-action{height:48px;margin-top:24px}.billing-heading{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.billing-heading .muted{font-size:13px}.plan-ladder{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;margin:20px 0 8px;padding:0;list-style:none;display:grid}.plan-ladder-card{background:hsl(var(--card));border:2px solid #0000;border-radius:20px;flex-direction:column;gap:14px;min-width:0;padding:18px 16px 16px;display:flex}.plan-ladder-card[aria-current=true]{border-color:hsl(var(--border-mid))}.plan-ladder-title{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.plan-ladder-title h4{font:700 16px var(--font-display);margin:0}.plan-ladder-title span{letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--text-muted));font-size:11px;font-weight:600}.plan-ladder-price{color:hsl(var(--text-muted));margin:0;font-size:12px}.plan-ladder-price b{font:700 30px/32px var(--font-display);letter-spacing:-.03em;color:hsl(var(--foreground))}.plan-ladder-card .bar>span{background:hsl(var(--text-muted))}.plan-ladder-credits{color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;margin:-6px 0 0;font-size:13px}.plan-ladder-card>.button{width:100%;margin-top:auto;padding-inline:8px;font-size:14px}.plan-ladder-card>.button:disabled{opacity:1;box-shadow:none;color:hsl(var(--text-muted));background:0 0;border-color:#0000}.plan-ladder-card>.button-primary:disabled{opacity:.5;border-color:hsl(var(--primary));background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.billing-row .muted{margin:2px 0 0;font-size:13px}.billing-plan-loading .pricing-plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.billing-plan-loading .plan-card{border-radius:16px;min-width:0;padding:20px}.plan-card h2{margin:0;font-size:1.5rem;font-weight:600;line-height:2rem}.plan-price{align-items:flex-end;gap:.5rem;margin:1rem 0 0;display:flex}.plan-price b{font-family:var(--font-display);letter-spacing:-.04em;font-size:3.25rem;font-weight:700;line-height:.9}.plan-price span{color:hsl(var(--text-muted));font-size:.8125rem;line-height:1.25}.plan-credits{font-family:var(--font-display);letter-spacing:-.01em;margin:1.25rem 0 0;font-size:1.125rem;font-weight:600;line-height:1.3}.plan-card>.button{width:100%;margin-top:1.5rem}.plan-card>.button:disabled{opacity:1;color:hsl(var(--text-muted))}.plan-card>.button-primary:disabled{opacity:.5;color:hsl(var(--primary-foreground))}.pricing-note{max-width:44rem;color:hsl(var(--text-muted));text-align:center;margin:2.25rem auto 0;font-size:.875rem;line-height:1.6}.plan-dialog h2{margin:0}.plan-bill{border-top:1px solid hsl(var(--border));margin:1.25rem 0 0}.plan-bill>div{border-bottom:1px solid hsl(var(--border));font-variant-numeric:tabular-nums;justify-content:space-between;gap:1rem;padding:.75rem 0;font-size:.9375rem;display:flex}.plan-bill dt{color:hsl(var(--text-muted))}.plan-bill dd{margin:0}.plan-bill .plan-bill-total dt,.plan-bill .plan-bill-total dd{color:hsl(var(--foreground));font-weight:700}.plan-fine{color:hsl(var(--text-muted));margin:1rem 0 0;font-size:.875rem;line-height:1.6}.plan-fine+.plan-fine{margin-top:.5rem}.plan-fine.field-error{color:hsl(var(--destructive))}@media (max-width:1100px){.pricing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.pricing-modal{width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}.pricing{max-height:calc(100dvh - 32px);padding:3.5rem 1rem 1.5rem}.pricing-title{font-size:2rem}.pricing-plans{grid-template-columns:1fr}.billing-row{flex-wrap:wrap}}@media (max-width:420px){.billing-plan-loading .pricing-plans{grid-template-columns:1fr}}@media (max-width:700px){.ui-select-item{min-height:44px}}.usage-periods{background:hsl(var(--card));border-radius:16px;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;display:grid}.usage-periods button{cursor:pointer;min-height:44px;font:500 12px var(--font-body);color:hsl(var(--text-muted));background:0 0;border:0;border-radius:12px}.usage-periods [aria-pressed=true]{background:hsl(var(--surface));color:hsl(var(--foreground));box-shadow:var(--shadow-xs)}.usage-used{color:hsl(var(--text-muted));flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:24px 0 0;font-size:14px;display:flex}.usage-total{font:700 54px/1 var(--font-display);letter-spacing:-.045em;color:hsl(var(--foreground))}.usage-balances{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-bottom:24px;display:grid}.usage-balance{background:hsl(var(--card));border-radius:16px;gap:14px;padding:20px;display:grid}.usage-balance-head{color:hsl(var(--text-muted));justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.usage-history .usage-balance-head h4{font:600 14px var(--font-body);color:hsl(var(--foreground))}.usage-balance p{color:hsl(var(--text-muted));align-items:baseline;gap:8px;margin:0;font-size:14px;display:flex}.usage-balance strong{font:700 34px/36px var(--font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:hsl(var(--foreground))}.usage-balance-extra>span{background:hsl(var(--text-muted))}.usage-balance-skeleton{border-radius:16px;height:128px}.usage-history h4{margin:0;font-size:14px;font-weight:500}.usage-history .usage-videos h4{font:600 20px/1.3 var(--font-display);letter-spacing:-.02em;margin-bottom:12px}.usage-plot{border-bottom:1px solid hsl(var(--border));scroll-snap-type:x proximity;gap:4px;height:220px;margin-top:24px;padding:28px 0 0;display:flex;overflow:auto hidden}.usage-column{cursor:pointer;scroll-snap-align:start;background:0 0;border:0;flex:1 0 44px;justify-content:center;align-items:end;min-width:44px;padding:0;display:flex;position:relative}.usage-bar{background:hsl(var(--primary));border-radius:5px 5px 0 0;width:70%;min-height:2px;max-height:100%;display:block;position:relative}.usage-value{visibility:hidden;font:600 12px var(--font-body);font-variant-numeric:tabular-nums;white-space:nowrap;color:hsl(var(--foreground));position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)}.usage-column[aria-pressed=true] .usage-value{visibility:visible}.usage-ticks{color:hsl(var(--text-muted));justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;display:flex}.usage-skeleton-total{width:96px;height:54px;margin-top:25px}.usage-skeleton-plot{border-bottom:1px solid hsl(var(--border));align-items:end;gap:4px;height:220px;margin-top:24px;padding:28px 0 0;display:flex}.usage-skeleton-plot>.skeleton{border-radius:5px 5px 0 0;flex:1;margin:0 6px}.usage-skeleton-title{width:160px;height:26px;margin:46px 0 32px}.usage-skeleton-row{align-items:center;gap:12px;padding:6px 0;display:flex}.usage-skeleton-thumb{border-radius:6px;flex-shrink:0;width:36px;height:64px}.usage-skeleton-line{width:40%;height:16px}.usage-notice{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:16px;margin-top:24px;padding:16px;font-size:14px}.usage-notice p{margin:10px 0}.usage-videos{margin-top:26px}.usage-videos table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px}.usage-videos td:last-child{text-align:right;font-variant-numeric:tabular-nums;width:96px}.usage-videos td{padding:6px 0}.usage-videos a,.usage-video{align-items:center;gap:12px;min-width:0;min-height:44px;display:flex}.usage-videos a>span:last-child,.usage-video>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.usage-videos img,.usage-thumb{object-fit:cover;background:hsl(var(--card));border-radius:6px;flex-shrink:0;width:36px;height:64px}.export-control{align-items:center;gap:12px;margin-left:auto;display:flex}.export-tag{color:hsl(var(--foreground));background:hsl(var(--card-hover));border-radius:20px;padding:4px 10px;font-size:12px;display:inline-block}.export-control+.account-button{margin-left:0}@media (max-width:600px){.export-control{gap:4px}.export-control .export-tag{display:none}}.export-dialog{width:min(55rem,100vw - 160px)}.export-dialog.export-list,.export-dialog.export-loading{width:min(42.5rem,100vw - 160px)}.export-split{border-radius:inherit;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.export-media{--frame:340px;background:hsl(var(--band-deep));flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:0;padding:40px;display:flex}.export-frame{width:min(var(--frame), calc(var(--frame) * var(--r)));max-width:100%;aspect-ratio:var(--r);border-radius:var(--radius-control);box-shadow:var(--shadow-object);background:#000;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;display:grid;overflow:hidden}.export-frame img{object-fit:contain;width:100%;height:100%;display:block}.export-frame-content{background:hsl(var(--card-hover));display:block}.export-caption{font:400 13px/20px var(--font-heading);color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;text-align:center;overflow-wrap:anywhere;margin:0}.export-panel{overscroll-behavior:contain;flex-direction:column;gap:28px;min-width:0;min-height:35rem;max-height:calc(100dvh - 96px);padding:36px 36px 32px;display:flex;overflow-y:auto}.export-list .export-panel,.export-loading .export-panel{gap:24px}.export-panel h2{letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:1.5rem;line-height:2rem}.export-heading{align-items:center;gap:10px;display:flex}.export-back,.export-icon-button{border:1px solid hsl(var(--border));width:36px;height:36px;color:hsl(var(--foreground));background:0 0;border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.export-back svg{width:18px;height:18px}.export-icon-button{border-color:#0000}.export-back:disabled,.export-icon-button:disabled{opacity:.4;cursor:not-allowed}@media (hover:hover){.export-back:not(:disabled):hover,.export-icon-button:not(:disabled):hover{background:hsl(var(--card-hover))}}.export-actions{flex-direction:column;gap:8px;margin-top:auto;display:flex}.export-dialog .button-lg{font-size:.9375rem}.export-dialog .button-lg svg{width:20px;height:20px}.export-notice{overflow-wrap:anywhere;margin:0;font-size:.875rem;line-height:1.5}.export-empty{color:hsl(var(--text-muted));margin:0}.export-field{border:0;min-width:0;margin:0;padding:0}.export-field legend{float:left;width:100%;font:600 14px/20px var(--font-heading);margin:0 0 12px;padding:0}.export-field legend+*{clear:both}.export-hint{font:400 13px/20px var(--font-heading);color:hsl(var(--text-muted));margin:12px 0 0}.export-shapes{flex-wrap:wrap;gap:8px;display:flex}.export-shapes button{border:1px solid hsl(var(--border));border-radius:var(--radius-control);width:84px;height:84px;color:hsl(var(--text-muted));font:400 13px/16px var(--font-heading);font-variant-numeric:tabular-nums;background:0 0;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;padding:0 0 10px;display:flex}.export-shapes i{width:min(36px, calc(32px * var(--r)));aspect-ratio:var(--r);border:1.75px solid;border-radius:3px}.export-shapes [aria-pressed=true]{border:2px solid hsl(var(--primary));background:hsl(var(--primary-subtle));color:hsl(var(--foreground));padding-bottom:9px;font-weight:600}.export-field:disabled .export-shapes button,.export-field:disabled .export-resolutions label{cursor:not-allowed;opacity:.6}@media (hover:hover){.export-shapes button:not(:disabled):not([aria-pressed=true]):hover{background:hsl(var(--card-hover))}}.export-resolutions{border:1px solid hsl(var(--border));border-radius:var(--radius-control);flex-direction:column;display:flex;overflow:hidden}.export-resolutions label{min-height:56px;font:400 13px/20px var(--font-heading);color:hsl(var(--text-muted));font-variant-numeric:tabular-nums;cursor:pointer;align-items:center;gap:12px;padding:0 16px;display:flex}.export-resolutions label+label{border-top:1px solid hsl(var(--border))}.export-resolutions label:has(:checked){background:hsl(var(--card))}.export-resolutions input{appearance:none;border:2px solid hsl(var(--border-mid));border-radius:999px;flex:none;place-items:center;width:20px;height:20px;margin:0;display:grid}.export-resolutions input:checked{border-color:hsl(var(--primary))}.export-resolutions input:checked:before{content:"";background:hsl(var(--primary));border-radius:999px;width:10px;height:10px}.export-resolutions b{width:56px;font:600 15px/20px var(--font-heading);color:hsl(var(--foreground));flex:none}.export-pixels{flex:1}.export-progress-area{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:24px;display:flex}.export-ring{place-items:center;width:176px;height:176px;display:grid;position:relative}.export-ring svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.export-ring circle{fill:none;stroke-width:8px}.export-ring-track{stroke:hsl(var(--card-hover))}.export-ring-value{stroke:hsl(var(--primary));stroke-linecap:round}.export-ring span{font:700 44px/48px var(--font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:no-preference){.export-ring-value{transition:stroke-dasharray .4s ease-out}.export-back,.export-icon-button,.export-resolutions label{transition:background-color .15s}.export-shapes button{transition:background-color .15s,border-color .15s}}.export-note{max-width:300px;font:400 14px/22px var(--font-heading);color:hsl(var(--text-muted));text-align:center;margin:0}.export-details{border-top:1px solid hsl(var(--border));margin:0}.export-details div{border-bottom:1px solid hsl(var(--border));min-height:44px;font:400 14px/20px var(--font-heading);justify-content:space-between;align-items:center;gap:16px;display:flex}.export-details dt{color:hsl(var(--text-muted))}.export-details dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.export-table{flex-direction:column;display:flex}.export-row{border-bottom:1px solid hsl(var(--border));min-height:68px;font:400 14px/20px var(--font-heading);font-variant-numeric:tabular-nums;grid-template-columns:48px 96px 64px 88px minmax(0,1fr) 36px;align-items:center;column-gap:16px;padding:0 4px;display:grid}.export-row:last-child{border-bottom:0}.export-row-head{min-height:36px;color:hsl(var(--text-muted));font-size:13px;line-height:18px}.export-cell-res,.export-cell-shape{font-weight:600}.export-cell-date{color:hsl(var(--text-muted))}.export-cell-progress{grid-column:span 2;align-items:center;gap:12px;display:flex}.export-cell-progress .bar{flex:1}.export-cell-progress b{text-align:right;width:40px;font-weight:600}.export-thumb{border-radius:var(--radius-media);background:#000;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;width:48px;height:48px;display:grid;overflow:hidden}.export-thumb img{object-fit:contain;width:100%;height:100%;display:block}.export-thumb i{width:min(32px, calc(32px * var(--r)));aspect-ratio:var(--r);border:1.5px solid hsl(var(--media-overlay-foreground) / .5);border-radius:3px}.creation-composer{border:1px solid hsl(var(--border));border-radius:var(--radius-panel);background:hsl(var(--card));flex-direction:column;gap:12px;padding:16px 16px 12px;transition:border-color .15s;display:flex}.creation-composer:focus-within{border-color:hsl(var(--border-strong))}.creation-composer .field{margin-bottom:0}.creation-composer .textarea{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}
