:root{color:#1f2933;background:#eef3f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}button{border:0;cursor:pointer}.accessShell{min-height:100vh;display:grid;place-items:center;padding:20px;background:#eef3f5}.accessPanel{width:min(420px,100%);display:grid;gap:16px;padding:24px;border:1px solid #d7e5f4;border-radius:8px;background:#fff;box-shadow:0 12px 30px #24425f1f}.accessMark{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#1d4ed8}.accessCopy{display:grid;gap:4px}.accessCopy h1,.accessCopy p{margin:0}.accessCopy h1{color:#172033;font-size:24px;line-height:1.2}.accessCopy p{color:#64748b;font-size:14px}.appShell{display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh}.sectionNav{position:sticky;top:0;z-index:20;display:grid;align-items:center;padding:5px 16px 6px;background:#ffffffeb;border-bottom:1px solid #d8e4f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sectionNavInner{width:min(1320px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"primary tools" "secondary secondary";gap:2px;min-width:0}.sectionNavPrimary,.sectionNavSecondary{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto}.sectionNavPrimary{grid-area:primary}.sectionNavSecondary{grid-area:secondary}.sectionNavTools{grid-area:tools;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.sectionNavPrimary a,.sectionNavSecondary a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.sectionNavPrimary a{position:relative;gap:7px;min-height:30px;padding:0 13px;border-radius:8px;color:#24425f;font-size:13px;font-weight:800}.sectionNavPrimary a:hover,.sectionNavPrimary a.active{color:#fff;background:#1d4ed8}.sectionNavPrimary a.active:after{content:"";position:absolute;left:50%;bottom:-7px;width:2px;height:7px;background:#1d4ed8;transform:translate(-50%)}.sectionNavPrimary .icon{width:15px;height:15px}.navLanguageSelect{display:inline-flex;align-items:center;gap:6px;color:#52636d;font-size:12px;font-weight:800;white-space:nowrap}.navLanguageSelect select{width:auto;min-height:30px;padding:4px 28px 4px 9px;border-radius:8px;background:#fff;font-size:12px}.navTutorialButton{min-height:30px;padding:0 10px}.navTutorialButton .icon{width:15px;height:15px}.sectionNavSecondary a{min-height:24px;padding:0 10px;border-radius:999px;color:#64748b;font-size:12px;font-weight:700}.sectionNavSubGroup{position:relative;flex:0 0 auto;min-height:28px;display:inline-flex;align-items:center;gap:5px;padding:2px 4px;border-radius:999px;background:#f8fbff;border:1px solid #e2eaf4}.sectionNavSubGroup.active{background:#eef5ff;border-color:#1d4ed8;box-shadow:0 3px 10px #1d4ed81f}.sectionNavSubGroup.active:before{content:"";position:absolute;left:50%;top:-7px;width:2px;height:7px;background:#1d4ed8;transform:translate(-50%)}.sectionNavSecondary a:hover,.sectionNavSecondary a.active{color:#1d4ed8;background:#eef5ff}#insights,#transcript,#video-generation,#talking-studio,#insight-search,#insight-top3,#transcript-link,#transcript-result,#creative-references,#creative-prompt,#creative-result,#source-video,#script-section,#voice-section,#model-section,#generation-status{scroll-margin-top:98px}.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;background:#172126;color:#f4f7f7;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brandMark{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#39b8a5;color:#09231f;font-weight:800;font-size:22px}.brand h1,.brand p,.topbar h2,.topbar p,.panel h3{margin:0}.brand h1{font-size:20px}.brand p,.topbar p,.sideMeta span,.historyItem time,.voiceItem span{color:#7b8b96;font-size:13px}.navList{display:grid;gap:6px}.navList a{color:#dbe7e8;text-decoration:none;display:flex;align-items:center;gap:10px;min-height:40px;padding:0 10px;border-radius:8px}.navList a:hover{background:#223139}.sideMeta{margin-top:auto;display:grid;gap:8px}code{font-family:SFMono-Regular,Consolas,monospace;font-size:12px;word-break:break-all}.sideMeta code{color:#c9f2eb}.workspace{padding:24px;display:grid;gap:18px;align-content:start;width:min(1440px,100%);margin:0 auto;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:54px;gap:16px}.topbar h2{font-size:26px;line-height:1.2}.brandInline{display:flex;align-items:center;gap:12px;min-width:0}.brandInline h1,.brandInline p{margin:0}.brandInline h1{font-size:24px;line-height:1.2}.brandInline p{color:#62737c;font-size:14px}.serviceBadges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.languageSelect{display:flex;align-items:center;gap:8px;margin-left:auto;color:#52636d;font-size:13px;font-weight:800}.languageSelect select,.languageField select{min-height:34px;padding:6px 30px 6px 10px;border-radius:8px;background:#fff}.serviceBadges span{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:8px;background:#e8eef1;color:#6a7b84;font-size:12px;font-weight:700}.serviceBadges span.ready{background:#e1f7ef;color:#12633a}.studioPanel{background:#fff;border:1px solid #d7e0e4;border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;overflow:visible}.flowColumn{display:grid;align-content:start;min-width:0}.flowSection{display:grid;gap:14px;padding:20px;border-bottom:1px solid #e2eaee;min-width:0}.flowSection:last-child{border-bottom:0}.flowTitle{display:flex;align-items:flex-start;gap:12px}.flowTitle>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#172126;color:#f5fbfa;font-weight:800;flex:0 0 auto}.flowTitle h3,.flowTitle p,.runRailHead h3,.runRailHead p{margin:0}.flowTitle h3,.runRailHead h3{font-size:17px;line-height:1.25}.flowTitle p,.runRailHead p{margin-top:3px;color:#657780;font-size:13px}.workflowBanner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border:1px solid #c4e7f7;border-radius:8px;background:#eaf7ff;color:#18506a}.workflowBanner.warn{color:#8a4b00;background:#fff7e6;border-color:#f8d79a}.workflowBanner.ready{color:#166534;background:#eaf8ef;border-color:#bde8ca}.workflowBanner strong,.workflowBanner span{display:block}.workflowBanner span{margin-top:3px;font-size:13px;line-height:1.35}.workflowBanner a{min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:8px;color:inherit;background:#ffffffad;text-decoration:none;font-size:13px;font-weight:800}.talkingStagePanel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d8e4f2;border-radius:8px;background:#fff}.talkingStep{min-width:0;min-height:54px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d7e0e4;border-radius:8px;color:#52636d;background:#f8fbfb;text-decoration:none}.talkingStep span{width:26px;height:26px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#e8eef1;color:#52636d;font-size:13px;font-weight:900}.talkingStep strong{overflow-wrap:anywhere;font-size:13px;line-height:1.25}.talkingStep.done{color:#166534;border-color:#bde8ca;background:#f3fbf6}.talkingStep.done span{color:#fff;background:#16a34a}.talkingStep.active{color:#1d4ed8;border-color:#1d4ed8;background:#eef5ff;box-shadow:0 0 0 2px #1d4ed81a}.talkingStep.active span{color:#fff;background:#1d4ed8}.quickActions,.splitControls,.voiceInputs,.settingsGrid{display:grid;gap:12px}.quickActions,.splitControls,.voiceInputs,.settingsGrid{grid-template-columns:minmax(0,1fr)}.voiceInputs{align-items:start}.voiceInputs .filePicker,.voiceInputs .audioPreview{grid-column:1 / -1}.douyinDock{min-width:0;border:1px solid #d7e0e4;border-radius:8px;background:#f8fbfb;overflow:hidden}.douyinDock summary{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;color:#24434b;cursor:pointer;font-weight:700}.douyinDock .inlineAction,.douyinDock .jsonBlock{margin:12px}.runRail{border-left:0;border-top:1px solid #e2eaee;background:#f8fbfb;padding:20px;display:grid;gap:14px;align-content:start;min-width:0}.runRailHead{display:flex;align-items:flex-start;gap:10px}.runRail .jobHeader{grid-template-columns:auto minmax(0,1fr)}.runRail .historyItem{grid-template-columns:auto minmax(0,1fr) auto}.emptyState{min-height:120px;display:grid;place-items:center;border:1px dashed #bccbd2;border-radius:8px;color:#70828b;text-align:center;padding:18px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.panel{background:#fff;border:1px solid #d7e0e4;border-radius:8px;padding:18px;display:grid;gap:14px;align-content:start;min-width:0}.panel.wide{grid-column:1 / -1}.panelHead{display:flex;align-items:center;gap:10px;min-height:28px}.panel h3{font-size:16px}.icon{width:18px;height:18px;flex:0 0 auto}.ok{color:#15803d}.danger{color:#c2410c}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.segmented{display:grid;grid-template-columns:repeat(3,1fr);background:#eef3f5;border-radius:8px;padding:3px;min-height:42px}.segmented.compact{grid-template-columns:repeat(2,1fr)}.segmented.threeTabs{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented.generationTabs{grid-template-columns:minmax(0,1fr)}.segmented button{color:#465862;background:transparent;border-radius:6px;padding:8px 10px;min-width:0}.segmented button.active{color:#102329;background:#fff;box-shadow:0 1px 2px #141f2624}.field{display:grid;gap:7px;min-width:0;max-width:100%}.field span{color:#52636d;font-size:13px;font-weight:600;min-width:0;overflow-wrap:anywhere}.scriptLabelRow{display:flex;align-items:center;justify-content:space-between;gap:10px}.scriptLanguageTools{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.scriptLanguageTools select{width:auto;min-width:112px;padding:7px 28px 7px 10px;font-size:13px}.miniActionButton{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #cdd9e5;border-radius:8px;background:#fff;color:#1d4ed8;font-size:13px;font-weight:800}input,textarea,select{width:100%;min-width:0;border:1px solid #cbd7dc;border-radius:8px;background:#fbfdfd;color:#1f2933;padding:11px 12px;outline:none}textarea{resize:vertical;min-height:160px;line-height:1.55;max-width:100%;overflow-x:hidden;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}input:focus,textarea:focus,select:focus{border-color:#1aa897;box-shadow:0 0 0 3px #1aa89724}.inlineAction{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.douyinActions{grid-template-columns:minmax(0,1fr) auto auto}.douyinShareInput{grid-column:1 / -1;min-height:76px;min-width:0;overflow-wrap:anywhere;word-break:break-word}.inlineAction button,.secondaryButton,.primaryButton,.ghostButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;min-height:42px;padding:0 14px}.inlineAction button,.primaryButton{background:#1aa897;color:#fff}.secondaryButton{width:100%;background:#edf5f4;color:#1b6058;border:1px solid #cce3df}.inlineAction button:disabled,.primaryButton:disabled{opacity:.6;cursor:not-allowed}.ghostButton{width:42px;color:#24434b;background:#fff;border:1px solid #d7e0e4}.tutorialButton{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #cfe0f6;border-radius:8px;color:#1d4ed8;background:#eef5ff;font-size:13px;font-weight:800;white-space:nowrap}.tutorialLayer{position:fixed;right:18px;bottom:18px;z-index:60;width:min(390px,calc(100vw - 28px));pointer-events:none}.tutorialCard{pointer-events:auto;display:grid;gap:11px;padding:16px;border:1px solid #9dbbf3;border-radius:8px;background:#fff;box-shadow:0 18px 46px #0f172a2e}.tutorialMeta,.tutorialTitleRow,.tutorialActions{display:flex;align-items:center}.tutorialMeta{justify-content:space-between;gap:12px}.tutorialMeta span{color:#1d4ed8;font-size:12px;font-weight:900}.tutorialMeta button{min-height:30px;padding:0 9px;border-radius:8px;color:#52636d;background:#f1f5f9;font-size:12px;font-weight:800}.tutorialTitleRow{gap:10px}.tutorialTitleRow>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;color:#fff;background:#1d4ed8;font-weight:900}.tutorialTitleRow h3{margin:0;color:#172033;font-size:17px;line-height:1.25}.tutorialCard p{margin:0;color:#40545d;font-size:13px;line-height:1.55}.tutorialOptional{padding:10px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412!important}.tutorialActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tutorialActions button{min-height:38px;border-radius:8px;color:#24425f;background:#eef5ff;border:1px solid #cfe0f6;font-weight:800}.tutorialActions button.primary{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.tutorialActions button:disabled{opacity:.48;cursor:not-allowed}.tutorialTarget{position:relative;z-index:3;border-color:#1d4ed8!important;box-shadow:0 0 0 3px #1d4ed838,0 14px 34px #0f172a1f!important}.ghostLink{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #d7e0e4;border-radius:8px;color:#24434b;background:#fff;text-decoration:none;font-weight:700}.primaryButton{width:100%;font-weight:700;min-height:48px}.afterGenerateOptions{display:grid;gap:10px;padding-top:2px}.postGenerateTools{margin-top:12px;background:#fff}.insightPanel{display:grid;gap:14px;padding:18px;border:1px solid #d7e5f4;border-radius:8px;background:#fff;box-shadow:0 1px 8px #141f260a}.insightHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.insightSearchGrid{display:grid;grid-template-columns:minmax(0,1fr) 150px 150px;gap:12px}.insightResults{display:grid;gap:12px}.insightCard{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #dbe7f0;border-radius:8px;background:#f8fbff}.insightCover{position:relative;min-height:154px;border-radius:8px;overflow:hidden;background:#eaf1f8;display:grid;place-items:center;color:#1d4ed8}.insightCover img{width:100%;height:100%;object-fit:cover}.insightCover strong{position:absolute;left:8px;top:8px;padding:4px 7px;border-radius:7px;background:#1d4ed8eb;color:#fff;font-size:12px}.insightBody{min-width:0;display:grid;gap:9px}.insightMeta{display:flex;flex-wrap:wrap;gap:8px;color:#64748b;font-size:12px}.insightBody h4{margin:0;color:#172033;font-size:15px;line-height:1.45}.statGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.statGrid span{min-height:28px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#eef6ff;color:#24425f;font-size:12px;font-weight:700}.insightReason{margin:0;color:#334155;font-size:13px;line-height:1.45}.takeawayRow{display:flex;flex-wrap:wrap;gap:6px}.takeawayRow span{padding:4px 7px;border-radius:7px;background:#eaf7ff;color:#18506a;font-size:12px}.insightActions{display:flex;flex-wrap:wrap;gap:8px}.insightActions button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:8px;background:#1aa897;color:#fff;font-weight:700}.insightActions button:disabled{opacity:.6;cursor:not-allowed}.insightEmpty{min-height:72px;display:flex;align-items:center;gap:10px;padding:12px;border:1px dashed #cbd7dc;border-radius:8px;color:#64748b;background:#f8fbfb}.transcriptPanel{display:grid;gap:14px;padding:18px;border:1px solid #d7e5f4;border-radius:8px;background:#fff;box-shadow:0 1px 8px #141f260a;min-width:0;max-width:100%;overflow:hidden}.transcriptGrid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px;align-items:start;min-width:0;max-width:100%}.transcriptCard{min-width:0;max-width:100%;display:grid;gap:12px;padding:14px;border:1px solid #dbe7f0;border-radius:8px;background:#f8fbff}.transcriptActions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:10px}.transcriptResultHead{display:grid;gap:4px;min-width:0}.transcriptResultHead strong{color:#172033;font-size:15px}.transcriptResultHead span{display:block;min-width:0;max-width:100%;color:#65758b;font-size:12px;overflow-wrap:anywhere;word-break:break-word}.transcriptResultText{min-height:190px;background:#fff;min-width:0;overflow-wrap:anywhere;word-break:break-word}.creativePanel{display:grid;gap:14px;padding:18px;border:1px solid #d7e5f4;border-radius:8px;background:#fff;box-shadow:0 1px 8px #141f260a}.creativeMain{display:grid;gap:16px}.creativeGrid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:16px;align-items:start}.creativeInputs,.creativeStatus{min-width:0;display:grid;gap:12px}.referenceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.referenceSlot{display:grid;gap:8px}.referenceSlot img{width:100%;aspect-ratio:16 / 10;object-fit:cover;border:1px solid #dbe7f0;border-radius:8px;background:#f1f6fb}.referenceSlot.optional .filePicker{background:#fbfdff}.creativeSettings{display:grid;grid-template-columns:150px 1fr;gap:12px}.compactHead{padding:0}.storyboardList{display:grid;gap:8px}.storyboardShot{padding:10px;border:1px solid #dbe7f0;border-radius:8px;background:#f8fbff}.storyboardShot strong{display:block;color:#172033;font-size:13px;margin-bottom:4px}.storyboardShot p{margin:0;color:#40545d;font-size:13px;line-height:1.45}.creativeVideoResult{display:grid;gap:10px}.creativeVideoResult video{width:100%;max-height:420px;border-radius:8px;border:1px solid #dbe7f0;background:#0f172a}.filePicker{position:relative;min-height:74px;border:1px dashed #9eb0b8;border-radius:8px;background:#f7faf9;display:flex;align-items:center;justify-content:center;gap:10px;color:#40545d;padding:12px;text-align:center;overflow:hidden}.filePicker input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.uploadState{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border-radius:8px;background:#fff7e6;color:#7a4f00;font-size:13px}.uploadState.done{background:#e9f8ef;color:#146c36}.uploadState button{min-height:30px;padding:0 10px;border-radius:7px;background:#1aa897;color:#fff;font-weight:700}.uploadState button:disabled{opacity:.6;cursor:not-allowed}.uploadState code{color:inherit}.iconButton{width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #cdd9e5;border-radius:8px;background:#fff;color:#5f7180}.iconButton:hover{color:#1d4ed8;border-color:#9dbbf3}.helperLine{color:#657780;font-size:13px;line-height:1.4}.modelBundle{display:grid;gap:12px;padding:14px;border:1px solid #c9ddf4;border-radius:8px;background:#f7fbff}.modelBundleLabel{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modelBundleLabel span{color:#1b365d;font-size:14px;font-weight:800}.modelBundleLabel em{color:#65758b;font-size:12px;font-style:normal;line-height:1.4;text-align:right}.modelOptionList{display:grid;gap:10px}.modelOptionCard{min-height:64px;display:grid;gap:5px;justify-items:start;text-align:left;padding:12px 14px;border:1px solid #d6e1ea;border-radius:8px;background:#fff;color:#203241}.modelOptionCard strong{color:#172033;font-size:15px}.modelOptionCard span{color:#65758b;font-size:12px;line-height:1.35}.modelOptionCard.active{border-color:#1d4ed8;background:#eef6ff;box-shadow:0 0 0 2px #1d4ed81f}.modelOptionCard.active strong{color:#1d4ed8}.modelLinkedSettings{position:relative;display:grid;gap:12px;margin:-2px 0 4px 14px;padding:12px;border:1px solid #c9ddf4;border-left:3px solid #1d4ed8;border-radius:0 8px 8px;background:#fff}.modelLinkedSettings:before{content:"";position:absolute;left:-3px;top:-12px;width:3px;height:12px;background:#1d4ed8}.modelLinkedSettings em{color:#65758b;font-size:12px;font-style:normal;line-height:1.4}.compactLinkedSettings{grid-template-columns:auto minmax(0,1fr);align-items:center}.linkedSettingTitle{color:#52636d;font-size:13px;font-weight:700}.optionalPanel{display:grid;gap:12px;padding:14px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.optionalPanel.enabled{border-color:#9dbbf3;background:#f6fbff}.optionalPanelHead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}.simpleToggleHead{align-items:center}.optionalPanelHead h4{margin:0;color:#172033;font-size:15px;line-height:1.25}.optionalPanelHead span{display:block;margin-top:3px;color:#65758b;font-size:12px;line-height:1.4}.subtitleControls{display:grid;gap:12px;padding-top:2px}.subtitleControlGroup{display:grid;gap:8px}.subtitleControlGroup>span,.subtitleSizeField>span{color:#52636d;font-size:12px;font-weight:800}.subtitleStyleGrid,.subtitleFontGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.subtitleStyleButton,.subtitleFontGrid button{min-height:42px;border:1px solid #d3deea;border-radius:8px;background:#fff;color:#243746;font-weight:800}.subtitleStyleButton{display:flex;align-items:center;justify-content:center;gap:8px}.subtitleStyleButton i{min-width:28px;font-style:normal;font-size:20px;font-weight:900;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.18)}.subtitleStyleButton.active,.subtitleFontGrid button.active{border-color:#2458db;background:#eef5ff;color:#1746b8;box-shadow:inset 0 0 0 1px #2458db}.subtitleSizeField{gap:7px}.optionToggle{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid #cdd9e5;border-radius:8px;background:#fff;color:#24425f;font-size:13px;font-weight:800}.optionToggle.active{border-color:#1d4ed8;background:#1d4ed8;color:#fff}.bgmControls{display:grid;gap:12px}.bgmControls .filePicker{min-height:62px}.voiceModelTabs{max-width:520px}.sampleVoicePanel{display:grid;gap:10px;padding:12px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.sampleVoicePanel strong,.sampleVoicePanel span{display:block}.sampleVoicePanel strong{color:#172033;font-size:14px}.sampleVoicePanel span{margin-top:3px;color:#65758b;font-size:12px}.sampleVoiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sampleVoiceButton{min-height:54px;display:grid;justify-items:start;gap:4px;padding:10px 12px;border:1px solid #d6e1ea;border-radius:8px;background:#fff;color:#24425f;text-align:left}.sampleVoiceButton span{margin:0;color:#172033;font-size:14px;font-weight:800}.sampleVoiceButton em{color:#65758b;font-size:12px;font-style:normal}.sampleVoiceButton.active{border-color:#1d4ed8;background:#eef5ff;box-shadow:0 0 0 2px #1d4ed81a}.sampleVoiceButton.active span{color:#1d4ed8}.subtitleControls{display:grid;gap:12px}.subtitleControls em{color:#65758b;font-size:12px;font-style:normal;line-height:1.4}.sourcePreview{width:100%;max-height:360px;background:#0e171b;border-radius:8px}.audioPreview{width:100%}.rangeField input{padding:0}.estimate{display:flex;gap:9px;align-items:center;padding:10px 12px;border-radius:8px;background:#fff7e6;color:#7a4f00;font-size:13px}.metricStrip{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-radius:8px;background:#f0f6ff;color:#24425f;border:1px solid #d4e5fb}.metricStrip span{font-size:13px;font-weight:700}.metricStrip strong{font-size:18px}.alert,.notice,.inlineError{display:flex;align-items:center;gap:9px;border-radius:8px;padding:12px 14px}.alert,.inlineError{background:#fff1ec;color:#a33a12;border:1px solid #ffd1c2}.notice{background:#eaf7ff;color:#18506a;border:1px solid #c4e7f7}.activeJob{display:grid;gap:14px}.jobHeader{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(160px,260px);gap:12px;align-items:center}.jobHeader strong{display:block}.jobHeader span{color:#6a7b84;font-size:12px}progress{width:100%;height:10px;border:0;border-radius:99px;overflow:hidden}progress::-webkit-progress-bar{background:#e5eef1}progress::-webkit-progress-value{background:#39b8a5}.estimatedProgress{display:grid;gap:8px}.progressMeta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#52636d;font-size:13px;font-weight:800}.progressMeta strong{color:#1d4ed8;font-size:17px;line-height:1}.progressBarShell{height:12px;overflow:hidden;border:1px solid #d7e5f4;border-radius:99px;background:#e5eef6}.progressBarFill{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1d4ed8,#22c8bc);transition:width .72s cubic-bezier(.2,.75,.25,1)}.progressHint{margin:0;color:#65758b;font-size:12px;line-height:1.45}.stepRow,.voiceList{display:flex;flex-wrap:wrap;gap:8px}.queueNotice{display:flex;align-items:center;gap:8px;min-height:38px;padding:9px 11px;border:1px solid #cfe0f6;border-radius:8px;color:#24425f;background:#eef6ff;font-size:13px;font-weight:700}.stepPill{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:8px;background:#eef3f5;color:#40545d}.stepPill.done{background:#e9f8ef;color:#146c36}.stepPill.failed{background:#fff1ec;color:#a33a12}.resultVideo{width:100%;max-height:520px;background:#0e171b;border-radius:8px}.compareBlock{display:grid;gap:10px;border:1px solid #d7e0e4;border-radius:8px;background:#fff;padding:12px}.compareHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.compareHead strong{color:#1f2933;font-size:15px}.compareSync{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;padding:0 10px;background:#edf5f4;color:#1b6058;border:1px solid #cce3df;font-weight:700;white-space:nowrap}.compareStage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.comparePane{display:grid;gap:8px;min-width:0}.comparePane>span{color:#52636d;font-size:12px;font-weight:800}.comparePane video,.compareEmpty{width:100%;aspect-ratio:9 / 16;max-height:420px;border-radius:8px;background:#0e171b}.comparePane video{display:block;object-fit:contain}.compareEmpty{display:grid;place-items:center;color:#d9e6e8;text-align:center;padding:16px}.colorGradePanel{display:grid;gap:12px;padding-top:12px;border-top:1px solid #d7e0e4}.colorGradeHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.colorGradeHead strong,.colorGradeHead span,.colorGradeHead em{display:block}.colorGradeHead strong{color:#1f2933;font-size:15px}.colorGradeHead span{margin-top:3px;color:#657780;font-size:12px;line-height:1.4}.colorGradeHead em{font-style:normal;color:#146c36;font-size:12px;font-weight:800;white-space:nowrap}.colorPresetRow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.colorPresetRow button{min-height:36px;border-radius:8px;color:#40545d;background:#eef3f5;border:1px solid #d7e0e4;font-weight:800}.colorPresetRow button.active{color:#102329;background:#fff;border-color:#1aa897}.colorSliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.colorApplyButton{width:100%}.historyList{display:grid;gap:8px}.historyItem{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:8px;color:#263941;background:#f8fbfb;border:1px solid #dce6ea;text-align:left}.historyItem:hover{background:#eef7f6}.voiceItem{display:grid;grid-template-columns:auto auto auto minmax(120px,1fr);align-items:center;gap:9px;min-height:38px;padding:0 10px;border-radius:8px;background:#f8fbfb;border:1px solid #dce6ea}.jsonBlock{border:1px solid #d7e0e4;border-radius:8px;overflow:hidden}.jsonBlock summary{cursor:pointer;padding:10px 12px;color:#40545d;background:#f6f9fa}.jsonBlock pre{margin:0;padding:12px;max-height:360px;overflow:auto;color:#24434b;background:#fbfdfd;font-size:12px;line-height:1.5}.scriptGenerator{display:grid;gap:12px;padding:14px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.voiceSourceTabs,.recordPanel{grid-column:1 / -1}.recordPanel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:96px;padding:14px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.recordOrb{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#1d4ed8;box-shadow:none}.recording .recordOrb{background:#dc2626;color:#fff;box-shadow:0 0 0 8px #dc26261f}.recordCopy{display:grid;gap:4px;min-width:0}.recordCopy strong{color:#172033;font-size:15px}.recordCopy span{color:#65758b;font-size:13px;line-height:1.4}.recordActions{display:grid;grid-template-columns:auto auto;gap:8px}.recordStart,.recordStop,.systemRecordButton{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 12px;font-weight:800;white-space:nowrap}.recordStart,.systemRecordButton{color:#fff;background:#1d4ed8}.recordStop{color:#fff;background:#dc2626}.systemRecordButton{position:relative;overflow:hidden;cursor:pointer;background:#fff}.systemRecordButton input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.generatorHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.generatorHead h4{margin:0;color:#172033;font-size:15px;line-height:1.25}.generatorHead span{display:block;margin-top:3px;color:#65758b;font-size:12px}.inlineSecondary{width:auto;min-width:96px;flex:0 0 auto}.promptGrid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.scriptTimingHint{min-height:36px;display:flex;align-items:center;padding:8px 10px;border:1px solid #d8e4f2;border-radius:8px;color:#475569;background:#f8fbff;font-size:13px;line-height:1.4}.industryGrid{display:flex;flex-wrap:wrap;gap:8px}.industryChip{min-height:34px;padding:0 11px;border-radius:8px;background:#fff;color:#334155;border:1px solid #c8d7ea;font-size:13px;font-weight:700}.industryChip:disabled{opacity:.65;cursor:not-allowed}@media(min-width:1180px){.workspace{padding:26px 28px 36px;gap:20px}.topbar{min-height:66px}.studioPanel{grid-template-columns:minmax(0,1fr) minmax(360px,420px);align-items:start}.flowColumn{border-right:1px solid #e3edf8}.runRail{position:sticky;top:108px;z-index:5;align-self:start;max-height:calc(100vh - 128px);overflow:auto;border-top:0;border-left:0;border-radius:0 8px 8px 0;box-shadow:0 14px 32px #0f172a14}.promptGrid{grid-template-columns:minmax(0,1fr) 180px 150px}.insightResults{grid-template-columns:repeat(3,minmax(0,1fr))}.insightCard{grid-template-columns:104px minmax(0,1fr);align-items:start}.insightCover{min-height:142px}.statGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.modelOptionList{gap:12px}}:root{color:#172033;background:#f3f7fc}body{background:#f3f7fc}.appShell{color:#172033;background:linear-gradient(180deg,#e8f2ff 0,#e8f2ff00 260px),#f3f7fc}.workspace{max-width:1320px}.topbar{padding:14px 16px;border:1px solid #d8e4f2;border-radius:8px;background:#fff;box-shadow:0 8px 24px #1e40af14}.brandMark{background:#1d4ed8;color:#fff;box-shadow:none}.brandInline h1,.flowTitle h3,.runRailHead h3,.panel h3,.jobHeader strong,.compareHead strong,.colorGradeHead strong{color:#172033}.brandInline p,.flowTitle p,.runRailHead p,.helperLine,.jobHeader span,.colorGradeHead span,.generatorHead span,.recordCopy span{color:#65758b}.helperLine{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.serviceBadges span,.serviceBadges span.ready{color:#1d4ed8;background:#eef5ff;border:1px solid #cfe0f6}.studioPanel{background:#fff;border-color:#d8e4f2;box-shadow:0 10px 30px #0f172a0f}.flowSection{background:#fff;border-bottom-color:#e3edf8}.flowTitle>span{color:#fff;background:#1d4ed8;box-shadow:none}.scriptGenerator,.recordPanel,.filePicker,.douyinDock,.emptyState,.compareBlock,.jsonBlock,.voiceItem,.historyItem,.runRail{color:#172033;background:#f8fbff;border-color:#d8e4f2}.runRail{border-top-color:#e3edf8}.scriptGenerator{border-color:#d8e4f2}.generatorHead h4,.recordCopy strong{color:#172033}.segmented{background:#eef5ff;border:1px solid #cfe0f6}.segmented button{color:#43546b}.segmented button.active{color:#fff;background:#1d4ed8;box-shadow:none}.field span,.comparePane>span{color:#475569}input,textarea{color:#172033;background:#fff;border-color:#c8d7ea}input::placeholder,textarea::placeholder{color:#8a9aaf}input:disabled{color:#7b8ca3;background:#f1f5f9}input:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.inlineAction button,.primaryButton,.uploadState button,.recordStart{background:#1d4ed8;color:#fff}.primaryButton{box-shadow:none}.secondaryButton,.compareSync,.systemRecordButton{color:#1d4ed8;background:#eef5ff;border-color:#cfe0f6;font-weight:800}.ghostButton{color:#1d4ed8;background:#fff;border-color:#cfe0f6}.recordOrb{color:#fff;background:#1d4ed8;box-shadow:none}.recording .recordOrb,.recordStop{color:#fff;background:#dc2626;box-shadow:none}.uploadState{background:#fff7ed;color:#9a3412}.uploadState.done{background:#ecfdf3;color:#166534}.estimate{background:#eff6ff;color:#1e40af;border:1px solid #cfe0f6}.metricStrip{color:#1e3a8a;background:#eff6ff;border-color:#cfe0f6}.alert,.inlineError{color:#991b1b;background:#fef2f2;border-color:#fecaca}.notice{color:#075985;background:#f0f9ff;border-color:#bae6fd}progress::-webkit-progress-bar{background:#e2e8f0}progress::-webkit-progress-value{background:#1d4ed8}.stepPill{color:#475569;background:#eef5ff}.stepPill.done{color:#166534;background:#dcfce7}.stepPill.failed{color:#991b1b;background:#fee2e2}.scriptTimingHint{color:#475569;background:#f8fbff;border-color:#d8e4f2}.scriptTimingHint.ready{color:#166534;background:#ecfdf3;border-color:#bbf7d0}.scriptTimingHint.warn{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.industryChip{color:#334155;background:#fff;border-color:#c8d7ea}.industryChip:hover,.industryChip.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8;box-shadow:none}.colorGradePanel{border-top-color:#d8e4f2}.colorGradeHead em{color:#166534}.colorPresetRow button{color:#334155;background:#fff;border-color:#c8d7ea}.colorPresetRow button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8;box-shadow:none}.comparePane video,.compareEmpty,.sourcePreview{background:#0f172a;border:1px solid #d8e4f2}.compareEmpty{color:#e2e8f0}.historyItem:hover{background:#eef5ff;border-color:#93b4e8}.jsonBlock summary,.douyinDock summary{color:#172033;background:#eef5ff}.jsonBlock pre{color:#334155;background:#fff}.ok{color:#16a34a}.danger{color:#dc2626}@media(max-width:980px){.appShell{grid-template-columns:1fr}.sectionNavInner{grid-template-columns:1fr;grid-template-areas:"primary" "tools" "secondary"}.sectionNavTools{justify-content:center;overflow-x:auto;padding-top:2px}.sidebar{position:relative;height:auto}.grid{grid-template-columns:1fr}.topbar{flex-wrap:wrap;align-items:flex-start}.brandInline{flex:1 1 100%}.serviceBadges{justify-content:flex-start;margin-left:0}.tutorialButton{flex:0 0 auto}.jobHeader,.historyItem,.voiceItem{grid-template-columns:auto minmax(0,1fr)}.jobHeader progress,.historyItem time,.voiceItem code{grid-column:1 / -1}.insightSearchGrid{grid-template-columns:1fr 140px 140px}.transcriptGrid,.creativeGrid{grid-template-columns:1fr}}@media(max-width:760px){.sectionNav{padding:6px 8px}.sectionNavInner{gap:4px}.sectionNavPrimary,.sectionNavSecondary{justify-content:flex-start}.sectionNavPrimary a{min-height:34px;padding:0 11px;font-size:13px}.sectionNavTools{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.navLanguageSelect{width:100%;min-width:0}.navLanguageSelect select{flex:1 1 auto;min-width:0}.navTutorialButton{min-width:82px;min-height:34px}.sectionNavSecondary{padding-bottom:2px}#insights,#transcript,#video-generation,#talking-studio,#insight-search,#insight-top3,#transcript-link,#transcript-result,#creative-references,#creative-prompt,#creative-result,#source-video,#script-section,#voice-section,#model-section,#generation-status{scroll-margin-top:142px}.workspace{padding:12px;gap:12px}.topbar{min-height:auto;padding:12px}.brandInline{flex:1 1 100%}.brandInline h1{font-size:21px}.brandInline p{font-size:12px}.workflowBanner{grid-template-columns:auto minmax(0,1fr)}.workflowBanner a{grid-column:1 / -1}.talkingStagePanel{display:flex;gap:8px;overflow-x:auto;padding:10px;scroll-snap-type:x mandatory}.talkingStep{flex:0 0 142px;min-height:50px;scroll-snap-align:start}.flowSection,.runRail,.insightPanel,.transcriptPanel,.creativePanel{padding:14px}.industryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.industryChip{width:100%;min-height:40px}.optionalPanelHead{grid-template-columns:auto minmax(0,1fr)}.optionToggle{grid-column:1 / -1;width:100%;min-height:40px}.compareStage{display:flex;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.comparePane{flex:0 0 min(78vw,320px);scroll-snap-align:start}}@media(max-width:560px){.workspace{padding:12px;gap:12px}.brandMark{width:38px;height:38px;font-size:20px}.brandInline h1{font-size:21px}.brandInline p{font-size:12px}.serviceBadges{gap:6px}.serviceBadges span{min-height:26px;padding:0 8px}.flowSection,.runRail,.insightPanel,.transcriptPanel,.creativePanel{padding:14px}.insightHead{align-items:stretch;flex-direction:column}.insightSearchGrid,.insightCard,.transcriptActions,.referenceGrid,.creativeSettings{grid-template-columns:1fr}.insightCover{min-height:180px;max-height:220px}.statGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.quickActions,.splitControls,.voiceInputs,.settingsGrid,.promptGrid{grid-template-columns:1fr}.modelBundleLabel{display:grid}.modelBundleLabel em{text-align:left}.compactLinkedSettings{grid-template-columns:1fr}.modelLinkedSettings{margin-left:8px}.sampleVoiceGrid{grid-template-columns:1fr}.recordPanel{grid-template-columns:1fr;justify-items:stretch}.recordOrb{justify-self:center}.recordCopy{text-align:center}.recordActions{grid-template-columns:1fr}.recordStart,.recordStop,.systemRecordButton{width:100%}.generatorHead{align-items:stretch;flex-direction:column}.inlineSecondary{width:100%}.segmented{min-height:40px}.segmented button{padding:8px 6px;font-size:13px}textarea{min-height:140px}.scriptLabelRow{align-items:stretch;flex-direction:column}.scriptLanguageTools{justify-content:stretch}.scriptLanguageTools select,.miniActionButton{flex:1 1 130px}.sourcePreview{max-height:300px}.uploadState{align-items:flex-start;flex-direction:column;padding:10px}.uploadState button{width:100%}.inlineAction,.douyinActions{grid-template-columns:1fr}.compareBlock{margin-inline:-2px}.comparePane{flex:0 0 min(72vw,300px)}.comparePane video,.compareEmpty{max-height:460px}.colorGradeHead{display:grid}.colorSliders{grid-template-columns:1fr}.historyItem{min-height:48px}.tutorialLayer{left:12px;right:12px;bottom:12px;width:auto}.tutorialActions{grid-template-columns:1fr}.runRail .historyItem{grid-template-columns:auto minmax(0,1fr)}.runRail .historyItem code{grid-column:1 / -1}}
