/*! tailwindcss v4.2.3 | MIT License | https://tailwindcss.com */
@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-leading:initial;--tw-font-weight:initial;--tw-tracking: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-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{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--leading-tight:1.25;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}h1,h2,h3,h4,p{margin:0}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-right-1{right:calc(var(--spacing) * -1)}.-bottom-1{bottom:calc(var(--spacing) * -1)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.\!m-0{margin:calc(var(--spacing) * 0)!important}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.h-32{height:calc(var(--spacing) * 32)}.h-full{height:100%}.w-full{width:100%}.max-w-xs{max-width:var(--container-xs)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.rounded-\[20px\]{border-radius:20px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-slate-200{border-color:var(--color-slate-200)}.\!bg-white\/55{background-color:#ffffff8c!important}@supports (color:color-mix(in lab, red, red)){.\!bg-white\/55{background-color:color-mix(in oklab, var(--color-white) 55%, transparent)!important}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-white{background-color:var(--color-white)}.bg-white\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\/80{background-color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-6\!{padding-top:calc(var(--spacing) * 6)!important}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.text-center{text-align:center}.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))}.text-\[11px\]{font-size:11px}.text-\[16px\]{font-size:16px}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.\!font-black{--tw-font-weight:var(--font-weight-black)!important;font-weight:var(--font-weight-black)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\!tracking-tight{--tw-tracking:var(--tracking-tight)!important;letter-spacing:var(--tracking-tight)!important}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-white{color:var(--color-white)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px 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)}.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)}.shadow-blue-200\/60{--tw-shadow-color:#bedbff99}@supports (color:color-mix(in lab, red, red)){.shadow-blue-200\/60{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-blue-200) 60%, transparent) var(--tw-shadow-alpha), transparent)}}.blur{--tw-blur:blur(8px);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,)}.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))}.glass-panel{background:var(--card);-webkit-backdrop-filter:blur(16px)saturate(160%);box-shadow:var(--shadow);border:1px solid #ffffffa6}.app-shell{flex-direction:column;height:100vh;padding:12px;display:flex;overflow:hidden}.landing-shell{justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.landing-card{border-radius:12px;width:100%;max-width:860px;max-height:100%;padding:28px;position:relative;overflow:hidden}.landing-grid{display:block}.landing-copy{max-width:760px}.hero-eyebrow{color:#334155;letter-spacing:.08em;text-transform:uppercase;background:#0f172a0d;border-radius:999px;align-items:center;gap:8px;padding:6px 12px;font-size:12px;font-weight:700;display:inline-flex}.hero-title{letter-spacing:0;margin-top:16px;font-size:clamp(48px,6.5vw,76px);line-height:.92}.hero-title span{color:var(--accent)}.hero-copy{color:#475569;max-width:560px;margin-top:20px;font-size:17px;line-height:1.75}.formula-guide{background:#ffffffa8;border:1px solid #1677ff24;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;max-width:640px;margin-top:18px;padding:14px;display:grid}.formula-guide-copy{min-width:0}.formula-guide-copy span{color:#1259c3;font-size:12px;font-weight:800;display:block}.formula-guide-copy p{color:#475569;margin-top:6px;font-size:13px;line-height:1.55}.formula-guide-copy code{color:#0f172a;background:#0f172a12;border-radius:5px;padding:2px 5px;font-size:12px;font-weight:700}.formula-guide-preview{color:#f8fafc;background:linear-gradient(135deg,#0f172a,#1e293b);border-radius:8px;justify-content:center;align-items:center;min-width:132px;min-height:58px;font-family:Georgia,Times New Roman,serif;font-size:26px;font-style:italic;line-height:1;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff14}.formula-guide-preview sup{margin-left:2px;font-size:.56em;transform:translateY(-.36em)}.hero-chip-row{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}.hero-chip{color:#475569;background:#ffffff94;border:1px solid #94a3b829;border-radius:6px;padding:7px 10px;font-size:12px;font-weight:600}.media-dropzone-container .ant-upload-wrapper,.media-dropzone-container .ant-upload-drag{display:block}.media-dropzone.ant-upload-drag{overflow:hidden;border-radius:8px!important}.media-dropzone.ant-upload-drag .ant-upload{padding:0!important}.workspace-shell{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex}.studio-header{border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.studio-header-meta{flex-direction:column;gap:6px;min-width:0;display:flex}.studio-kicker{color:#64748b;letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:700}.studio-file-title{color:#0f172a;font-size:20px;font-weight:700;line-height:1.2}.studio-file-subtitle{color:#64748b;font-size:12px}.studio-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.studio-main{flex:1;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:12px;min-height:0;display:grid;overflow:hidden}.preview-column{flex-direction:column;gap:12px;min-height:0;display:flex;overflow:hidden}.preview-card{border-radius:8px;flex-direction:column;flex:1;min-height:400px;padding:12px;display:flex;position:relative;overflow:hidden}.preview-frame{border-radius:6px;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.video-stage{background:#020617;flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.video-stage-viewport{background:#020617;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.video-stage-media{object-fit:contain;cursor:pointer;max-width:100%;max-height:100%}.video-controls{color:#e2e8f0;flex:none;grid-template-columns:34px 54px minmax(320px,1fr) 54px 78px 34px 112px 34px;align-items:center;gap:12px;width:100%;padding:18px 20px 16px;display:grid!important}.video-control-button{color:#e2e8f0;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;transition:background .18s,border-color .18s,color .18s;display:inline-flex}.video-control-button.ant-btn{color:#e2e8f0!important}.video-control-button:hover{color:#fff;background:#94a3b81f;border-color:#94a3b838}.video-control-button.ant-btn:hover{color:#fff!important}.video-control-time{color:#e2e8f0c7;font-variant-numeric:tabular-nums;flex:none;min-width:48px;font-size:13px;font-weight:600}.video-volume.ant-slider{flex:none;margin:0;padding-block:4px;width:112px!important}.video-rate-select{flex:none;width:78px}.video-rate-select .ant-select-selector{font-size:13px;font-weight:600;color:#e2e8f0!important;height:32px!important;box-shadow:none!important;background:#0f172aeb!important;border-color:#94a3b857!important;border-radius:6px!important}.video-rate-select:hover .ant-select-selector,.video-rate-select.ant-select-focused .ant-select-selector{color:#fff;background:#1e293bf0;border-color:#60a5faa6!important}.video-rate-select .ant-select-selection-item,.video-rate-select .ant-select-arrow{color:#e2e8f0}.video-progress-scrubber{cursor:pointer;touch-action:none;outline:none;align-items:center;min-width:320px;height:28px;margin:0;display:flex;position:relative;width:100%!important}.video-progress-track{background:#94a3b838;border-radius:999px;width:100%;height:8px;display:block;position:relative;overflow:visible;box-shadow:inset 0 1px 2px #0206174d,0 0 0 1px #ffffff0a}.video-progress-buffer,.video-progress-fill{border-radius:inherit;pointer-events:none;height:100%;position:absolute;top:0;left:0}.video-progress-buffer{background:#e2e8f038}.video-progress-fill{background:linear-gradient(90deg,#38bdf8,#60a5fa 58%,#93c5fd);box-shadow:0 0 18px #60a5fa3d}.video-progress-thumb{opacity:0;pointer-events:none;background:#e0f2fe;border:2px solid #bfdbfef2;border-radius:999px;width:16px;height:16px;transition:opacity .16s,transform .16s;position:absolute;top:50%;transform:translate(-50%,-50%)scale(.82);box-shadow:0 0 0 5px #60a5fa29,0 8px 18px #0f172a47}.video-progress-scrubber:hover .video-progress-thumb,.video-progress-scrubber:focus-visible .video-progress-thumb,.video-progress-scrubber-active .video-progress-thumb{opacity:1;transform:translate(-50%,-50%)scale(1)}.video-progress-scrubber:focus-visible .video-progress-track{box-shadow:inset 0 1px 2px #0206174d,0 0 0 2px #38bdf873}.video-progress-hover{color:#e2e8f0;font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;background:#0f172af0;border-radius:4px;padding:5px 7px;font-size:11px;font-weight:700;line-height:1;position:absolute;bottom:calc(100% + 10px);transform:translate(-50%);box-shadow:0 8px 18px #02061747}.video-progress-hover:after{content:"";background:inherit;width:7px;height:7px;position:absolute;top:100%;left:50%;transform:translate(-50%,-4px)rotate(45deg)}.video-volume.ant-slider .ant-slider-rail{border-radius:999px;height:4px;background:#94a3b847!important}.video-volume.ant-slider .ant-slider-track{border-radius:999px;height:4px;background:#60a5fa!important}.video-volume.ant-slider .ant-slider-handle:after{box-shadow:inset 0 0 0 2px #bfdbfe!important}.preview-toolbar{z-index:20;align-items:center;gap:10px;display:flex;position:absolute;top:16px;right:16px}.preview-stats{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.preview-stat{background:#0f172a0d;border:1px solid #cbd5e180;border-radius:6px;min-width:120px;padding:12px 14px}.preview-stat strong{color:#0f172a;margin-top:4px;font-size:16px;display:block}.editor-panel{border-radius:8px;flex-direction:column;min-height:0;padding:12px;display:flex;overflow:hidden}.editor-panel-header{flex:none;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;display:flex}.editor-panel-tips{align-items:center;gap:14px;padding-bottom:2px;display:flex}.editor-panel-tips .tip-item{color:var(--muted-foreground);align-items:center;gap:5px;font-size:11px;font-weight:500;display:flex}.panel-kicker{color:#64748b;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:700;display:block}.panel-title{color:#0f172a;font-size:20px;line-height:1.2}.panel-subcopy{color:#64748b;font-size:13px;line-height:1.5}.subtitle-card{background:#ffffffb3;border:1px solid #cbd5e1cc;border-radius:8px;padding:10px;transition:border-color .2s,box-shadow .2s,transform .2s}.subtitle-editor-list{overscroll-behavior:contain;flex:auto;height:100%;min-height:0;padding-right:4px;overflow:hidden auto}.subtitle-card-active{border-color:#1677ff80;box-shadow:0 10px 24px #1677ff1f}.subtitle-time-group{background:#0f172a0d;border:1px solid #94a3b81a;border-radius:6px;transition:all .2s;overflow:hidden}.subtitle-time-group:hover{background:#0f172a14;border-color:#1677ff4d}.subtitle-time-chip{background:0 0!important;border-right:1px solid #94a3b81a!important;border-radius:0!important;padding-inline:10px!important}.subtitle-time-chip-active{background:#1677ff14!important}.subtitle-play-btn{color:#64748b!important;background:0 0!important;border-radius:0!important;padding-inline:8px!important}.subtitle-play-btn:hover{color:var(--accent)!important;background:#1677ff0d!important}.subtitle-time-text{font-weight:600;color:#334155!important;font-size:13px!important}.subtitle-index-text{font-weight:700;color:#94a3b8!important;font-size:11px!important}.subtitle-meta{background:#0f172a0d;border-radius:4px;align-self:flex-start;align-items:center;gap:8px;padding:2px 6px;display:inline-flex}.subtitle-meta-label{color:#64748b;font-size:11px;font-weight:600}.subtitle-meta-value{color:#0f172a;font-size:12px;font-weight:700}.editor-shell{background:#fff;border:1px solid #cbd5e1bf;border-radius:6px;overflow:hidden}.editor-shell-active{border-color:#1677ff73;box-shadow:0 4px 12px #1677ff0f}.editor-footer-tips{color:#64748b;background:#f8fafc;border-top:1px solid #cbd5e180;justify-content:space-between;align-items:center;gap:12px;padding:6px 12px;font-size:11px;animation:.2s ease-out slideUp;display:flex}@keyframes slideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.tip-group{align-items:center;gap:10px;display:flex}.tip-item{align-items:center;gap:4px;display:flex}.tip-kbd{color:#475569;background:#fff;border:1px solid #e2e8f0;border-bottom-width:2px;border-radius:3px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-family:inherit;font-size:9px;font-weight:700;display:inline-flex}.subtitle-prose{color:#0f172a;white-space:pre-wrap;outline:none;padding:12px 14px;font-size:18px;line-height:1.55}.subtitle-prose p{margin:0}.subtitle-prose p+p{margin-top:8px}.subtitle-prose p.is-empty:before,.subtitle-prose .is-editor-empty:first-child:before{color:#94a3b8;content:attr(data-placeholder);float:left;pointer-events:none;height:0}.math-node-inline{vertical-align:middle;align-items:center;max-width:min(100%,24rem);margin:0 1px;display:inline-flex}.math-node-field{width:auto;min-width:18px;max-width:min(100%,24rem);color:inherit;box-shadow:none;--contains-highlight-background-color:#1677ff29;--selection-background-color:#1677ff2e;--selection-color:inherit;--caret-color:#1677ff;font-size:inherit;line-height:inherit;background:0 0;border:none;border-radius:0;outline:none;padding:0}.math-node-field:focus,.math-node-field:focus-visible{box-shadow:none;outline:none}.math-node-field::part(container){box-shadow:none;background:0 0;border:none;outline:none;padding:0}.math-node-field::part(content){box-shadow:none;outline:none;padding:0}.math-node-field::part(menu-toggle),.math-node-field::part(virtual-keyboard-toggle),.math-node-field::part(toggle),.math-node-field::part(prompt){display:none}.style-popover-panel{width:min(400px,92vw);padding:0}.style-panel-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px;padding:0 4px;display:flex}.style-panel-subtitle{margin-top:4px;line-height:1.4;display:block;color:#64748beb!important;font-size:12px!important}.style-panel-badge{text-overflow:ellipsis;white-space:nowrap;color:#fff;background:linear-gradient(135deg,#0f172ae6,#1e293bf5);border-radius:4px;flex-shrink:0;max-width:120px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1;overflow:hidden;box-shadow:0 2px 6px #0f172a1a}.style-section{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#fff9,#f8fafc66);border:1px solid #e2e8f0cc;border-radius:6px;box-shadow:inset 0 1px #fffc,0 2px 6px #00000005;padding:10px!important}.style-select-shell{background:#fffc;border:1px solid #cbd5e199;border-radius:6px;padding:2px;box-shadow:inset 0 1px 2px #00000005}.style-font-select.ant-select{width:100%}.style-font-select .ant-select-selector{align-items:center;min-height:34px!important;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:4px!important;padding-inline:8px!important}.style-font-select .ant-select-selection-item,.style-font-select .ant-select-selection-placeholder{font-size:13px;font-weight:500;line-height:1.2!important}.style-helper-text{margin-top:6px;line-height:1.4;color:#64748bcc!important;font-size:11px!important}.field-label{letter-spacing:.02em;align-items:center;gap:4px;margin-bottom:6px;font-weight:600;display:inline-flex;color:#475569!important;font-size:11px!important}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.style-grid-item{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#fff9,#f8fafc66);border:1px solid #e2e8f0cc;border-radius:6px;padding:10px;box-shadow:inset 0 1px #fffc,0 2px 6px #00000005}.style-grid-item .ant-input-number{background:#fffc;border-color:#cbd5e199;border-radius:4px;width:100%;min-height:36px;box-shadow:inset 0 1px 2px #00000005}.style-grid-item .ant-input-number-input{text-align:center;height:34px;font-size:14px;font-weight:500}.style-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.style-color-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#fff9,#f8fafc66);border:1px solid #e2e8f0cc;border-radius:6px;flex-direction:column;align-items:stretch;padding:10px;display:flex;box-shadow:inset 0 1px #fffc,0 2px 6px #00000005}.style-color-card .ant-color-picker-trigger{background:#fffc;border-color:#cbd5e199;border-radius:4px;justify-content:flex-start;width:100%;min-height:36px;padding:4px;box-shadow:inset 0 1px 2px #00000005}.style-color-card .ant-color-picker-color-block{border-radius:4px!important;width:24px!important;height:24px!important}.style-align-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#fff9,#f8fafc66);border:1px solid #e2e8f0cc;border-radius:6px;padding:10px;box-shadow:inset 0 1px #fffc,0 2px 6px #00000005}.style-align-card .ant-segmented{background:#fffc;border:1px solid #cbd5e166;border-radius:6px;width:100%;padding:2px;box-shadow:inset 0 1px 2px #00000005}.style-align-card .ant-segmented-item{border-radius:4px;min-height:32px;font-weight:500}.style-action-button{min-height:36px;font-weight:500;color:#fff!important;background:linear-gradient(135deg,#1677ff,#0ea5e9)!important;border:none!important;border-radius:6px!important;font-size:13px!important;transition:all .3s!important;box-shadow:0 2px 6px #1677ff40!important}.style-action-button:hover{transform:translateY(-1px);background:linear-gradient(135deg,#4096ff,#38bdf8)!important;box-shadow:0 4px 10px #1677ff59!important}.style-default-font-button{min-height:36px;font-weight:500;color:#475569!important;background:#fffc!important;border:1px solid #cbd5e1cc!important;border-radius:6px!important;font-size:13px!important;transition:all .3s!important}.style-default-font-button:hover{color:#0f172a!important;background:#fff!important;border-color:#94a3b8cc!important}.style-reset-button{min-height:34px;font-weight:500;color:#ef4444!important;background:#fef2f280!important;border-radius:6px!important;font-size:12px!important;transition:all .2s!important}.style-reset-button:hover{color:#dc2626!important;background:#fee2e2cc!important}.timeline-shell{color:#e2e8f0;background:#0a1120f5;border-radius:8px;outline:none;padding:8px 10px 10px;box-shadow:0 18px 32px #0f172a42}.timeline-shell:focus-visible{box-shadow:0 18px 32px #0f172a42,0 0 0 2px #38bdf873}.timeline-header{justify-content:space-between;align-items:center;gap:10px;min-height:28px;margin-bottom:8px;display:flex}.timeline-heading{align-items:baseline;gap:10px;min-width:0;display:inline-flex}.timeline-kicker{letter-spacing:.16em;text-transform:uppercase;display:inline;color:#e2e8f09e!important;font-size:10px!important;font-weight:700!important}.timeline-title{white-space:nowrap;color:#fff!important;font-size:14px!important;font-weight:600!important}.timeline-current{font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 104px;justify-content:flex-end;width:104px;display:inline-flex;color:#e2e8f0cc!important;font-size:12px!important}.timeline-status-group{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.timeline-actions{justify-content:flex-end;align-items:center;display:flex}.timeline-zoom-controls{align-items:center;gap:8px;display:flex}.timeline-icon-button{color:#e2e8f0eb;cursor:pointer;background:#0f172ab8;border:1px solid #94a3b857;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;transition:background .18s,border-color .18s,color .18s;display:inline-flex}.timeline-icon-button:hover:not(:disabled){color:#fff;background:#1e293be6;border-color:#38bdf894}.timeline-icon-button:disabled{color:#94a3b86b;cursor:not-allowed}.timeline-zoom-label{white-space:nowrap;color:#e2e8f0a3!important;font-size:11px!important}.timeline-zoom-slider.ant-slider{width:132px;margin:0}.timeline-zoom-slider .ant-slider-rail{border-radius:999px;height:4px;background:#94a3b842!important}.timeline-zoom-slider .ant-slider-track{border-radius:999px;height:4px;background:#38bdf8!important}.timeline-zoom-slider .ant-slider-handle:after{background:#38bdf8;box-shadow:0 0 0 3px #38bdf82e,inset 0 0 0 2px #bae6fd!important}.timeline-zoom-value{text-align:right;min-width:36px;color:#e2e8f0b8!important;font-size:11px!important}.timeline-shortcut{color:#e2e8f08c!important;font-size:11px!important}.subtitle-wave-panel{background:linear-gradient(#0f172af0,#0a1120fa),repeating-linear-gradient(90deg,#0000 0 calc(12.5% - 1px),#94a3b814 calc(12.5% - 1px) 12.5%);border:1px solid #94a3b833;border-radius:6px;height:148px;min-height:148px;max-height:148px;position:relative;overflow:hidden}.subtitle-waveform{height:124px;min-height:124px}.subtitle-waveform ::part(scroll){scrollbar-color:#94a3b87a #0f172ad6;scrollbar-width:thin;height:124px;min-height:124px}.subtitle-waveform ::part(scroll)::-webkit-scrollbar{height:8px}.subtitle-waveform ::part(scroll)::-webkit-scrollbar-track{background:#0f172ad6;border-radius:999px}.subtitle-waveform ::part(scroll)::-webkit-scrollbar-thumb{background:#94a3b87a;border-radius:999px}.subtitle-waveform ::part(wrapper){height:124px;min-height:124px}.subtitle-waveform ::part(canvases){opacity:.92}.subtitle-waveform ::part(cursor){z-index:8;box-shadow:0 0 0 1px #38bdf83d,0 0 18px #38bdf847}.subtitle-waveform ::part(region){color:#fff;border:1px solid #bfdbfe94;border-radius:4px;transition:border-color .14s,background-color .14s,box-shadow .14s;overflow:hidden;box-shadow:0 10px 20px #0ea5e924}.subtitle-waveform ::part(region-handle){background:#ffffff29;border-color:#ffffff80!important;width:8px!important}.subtitle-waveform ::part(region-content){max-width:100%;height:100%;overflow:hidden;margin-top:0!important;transform:translateY(0)!important}.subtitle-wave-ruler{background:#02061761;border-top:1px solid #94a3b824;height:24px;min-height:24px;max-height:24px;position:relative;overflow:hidden}.subtitle-wave-ruler-inner{will-change:transform;min-width:100%;height:100%;position:relative}.subtitle-wave-ruler-tick{color:#e2e8f0a3;font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;flex-direction:column;align-items:flex-start;height:100%;font-size:10px;display:flex;position:absolute;top:0;transform:translate(-.5px)}.subtitle-wave-ruler-tick i{background:#94a3b85c;flex:none;width:1px;height:7px;display:block}.subtitle-wave-ruler-tick label{margin-top:2px;padding-left:4px;display:block}.timeline-wave-state{white-space:nowrap;color:#e2e8f09e!important;font-size:11px!important}.timeline-scroll{scrollbar-color:#94a3b87a #0f172ad6;scrollbar-width:thin;padding-bottom:6px;overflow:auto hidden}.timeline-scroll::-webkit-scrollbar{height:8px}.timeline-scroll::-webkit-scrollbar-track{background:#0f172ad6;border-radius:999px}.timeline-scroll::-webkit-scrollbar-thumb{background:#94a3b87a;border-radius:999px}.timeline-canvas{min-width:100%}.timeline-ruler{height:24px;margin-bottom:6px;position:relative}.timeline-tick{position:absolute;top:0;transform:translate(-50%)}.timeline-tick span{background:#94a3b866;width:1px;height:10px;margin:0 auto 4px;display:block}.timeline-tick label{color:#e2e8f0a6;white-space:nowrap;font-size:10px;display:block}.timeline-track{cursor:pointer;background:linear-gradient(#0f172ae6,#0a1120f5),repeating-linear-gradient(90deg,#0000 0 calc(12.5% - 1px),#94a3b814 calc(12.5% - 1px) 12.5%);border:1px solid #94a3b833;border-radius:6px;position:relative;overflow:hidden}.timeline-playhead{z-index:10;background:linear-gradient(#38bdf8,#1677ff);width:2px;position:absolute;top:0;bottom:0;box-shadow:0 0 0 1px #38bdf833}.timeline-playhead:before{content:"";background:#38bdf8;border-radius:999px;width:10px;height:10px;position:absolute;top:0;left:50%;transform:translate(-50%,-35%)}.timeline-segment{cursor:grab;-webkit-user-select:none;user-select:none;background:linear-gradient(135deg,#2563ebd9,#0ea5e9bf);border:1px solid #bfdbfe8c;border-radius:4px;align-items:stretch;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;position:absolute;overflow:hidden;box-shadow:0 10px 22px #0ea5e92e}.timeline-segment-active{z-index:3;background:linear-gradient(135deg,#f87171e0,#fb923cd1);border-color:#fed7aab8}.timeline-segment:hover{transform:translateY(-1px);box-shadow:0 14px 24px #0ea5e93d}.timeline-segment-body{flex-direction:row;flex:1;gap:4px;min-width:0;padding:8px 10px;display:flex}.timeline-segment-body strong{color:#fff;letter-spacing:.02em;background:#ffffff1f;border-radius:999px;align-self:flex-start;align-items:center;padding:2px 6px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.timeline-segment-preview{color:#fffffff0;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.timeline-preview-content{white-space:nowrap;align-items:center;gap:4px;max-width:100%;display:inline-flex;overflow:hidden}.timeline-preview-text{text-overflow:ellipsis;overflow:hidden}.timeline-math-preview{background:#ffffff1f;border-radius:8px;align-items:center;max-width:100%;padding:1px 4px;display:inline-flex;overflow:hidden}.timeline-math-field{color:#fff;pointer-events:none;background:0 0;border:none;min-width:0}.timeline-math-field::part(container){box-shadow:none;background:0 0;border:none;padding:0}.timeline-math-field::part(menu-toggle),.timeline-math-field::part(virtual-keyboard-toggle),.timeline-math-field::part(toggle),.timeline-math-field::part(prompt){display:none}.timeline-segment-compact .timeline-segment-body{gap:2px;padding:7px 6px}.timeline-segment-compact .timeline-segment-preview{font-size:11px}.timeline-segment-compact .timeline-segment-body strong{padding:1px 5px;font-size:9px}.timeline-segment-compact .timeline-preview-content{gap:2px}.timeline-handle{cursor:ew-resize;background:#ffffff47;border:none;width:10px;padding:0}.timeline-handle-start{border-radius:4px 0 0 4px}.timeline-handle-end{border-radius:0 4px 4px 0}.status-chip{color:#0f172a;background:#ffffffeb;border-radius:6px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex;box-shadow:0 10px 20px #0f172a1f}.empty-state{color:#94a3b8;justify-content:center;align-items:center;height:100%;min-height:340px;display:flex}@media (width<=1280px){.studio-main{grid-template-columns:1fr}.editor-panel{min-height:560px}}@media (width<=900px){.app-shell{padding:16px}.app-shell-landing{height:auto;overflow:visible}.landing-card,.studio-header,.preview-card,.editor-panel,.timeline-shell{border-radius:8px}.landing-grid{display:block}.landing-copy{max-width:none}.studio-header{flex-direction:column;align-items:flex-start}.studio-actions{justify-content:flex-start;width:100%}.style-color-grid{grid-template-columns:1fr}.timeline-header{flex-direction:column;align-items:flex-start}.timeline-status-group{align-items:flex-start;width:100%}.timeline-zoom-controls{width:100%}.timeline-zoom-slider.ant-slider{flex:1;min-width:80px}}@media (width<=640px){.landing-card{padding:24px}.formula-guide{grid-template-columns:1fr}.formula-guide-preview{width:100%}.preview-toolbar{top:18px;right:18px}.style-grid{grid-template-columns:1fr}.style-panel-header{flex-direction:column;align-items:flex-start}.video-controls{grid-template-columns:34px 48px minmax(120px,1fr) 48px 70px 34px;gap:8px;padding:12px}.video-volume,.video-controls .video-control-button:last-child{display:none}.video-progress-scrubber{min-width:120px}}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f3f6fb;--foreground:#0f172a;--card:#ffffffd1;--muted:#eef2f7;--muted-foreground:#64748b;--border:#cbd5e1b3;--accent:#1677ff;--accent-soft:#1677ff1a;--accent-strong:#1259c3;--shadow:0 14px 40px #0f172a14;font-family:Outfit,Noto Sans SC,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;color:var(--foreground);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at 0 0,#1677ff14,#0000 28%),radial-gradient(circle at 100% 100%,#0ea5e91a,#0000 30%),linear-gradient(#f7f9fc 0%,#eef3f9 100%);margin:0}button,input,textarea{font:inherit}#root{min-height:100vh}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#64748b3d;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#64748b66}@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-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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-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 spin{to{transform:rotate(360deg)}}
