: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}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;gap:2px;min-width:0}.sectionNavPrimary,.sectionNavSecondary{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto}.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}.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:86px}.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}.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;margin-left:auto}.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);overflow:hidden}.flowColumn{display:grid;align-content:start}.flowSection{display:grid;gap:14px;padding:20px;border-bottom:1px solid #e2eaee}.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}.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}.runRailHead{display:flex;align-items:flex-start;gap:10px}.runRail .jobHeader{grid-template-columns:auto minmax(0,1fr)}.runRail .historyItem{grid-template-columns:auto 72px minmax(0,1fr)}.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}.field span{color:#52636d;font-size:13px;font-weight:600}input,textarea,select{width:100%;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}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}.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}.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}.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}.transcriptGrid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px;align-items:start}.transcriptCard{min-width:0;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}.transcriptResultHead strong{color:#172033;font-size:15px}.transcriptResultHead span{color:#65758b;font-size:12px;word-break:break-all}.transcriptResultText{min-height:190px;background:#fff}.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}.modelAdvancedPanel{display:grid;gap:12px;padding:14px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.modelAdvancedPanel em{color:#65758b;font-size:12px;font-style:normal;line-height:1.4}.optionalPanel{display:grid;gap:12px;padding:14px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff}.optionalPanelHead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}.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}.bgmControls{display:grid;gap:12px}.bgmControls .filePicker{min-height:62px}.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}.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 80px 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}: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}.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}.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}.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: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}.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}.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}.compareStage{display:flex;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.comparePane{flex:0 0 min(72vw,300px);scroll-snap-align:start}.comparePane video,.compareEmpty{max-height:460px}.colorGradeHead{display:grid}.colorSliders{grid-template-columns:1fr}.historyItem{min-height:48px}.runRail .historyItem{grid-template-columns:auto minmax(0,1fr)}.runRail .historyItem code{grid-column:1 / -1}}
