/* Existing three-column workspace; white and neutral palette matched to the website. */
body.studio-page.lipsync-page.ls-layout-v3 .studio-header .studio-site-home{background:#ffffff!important;color:#686868!important;border-color:#e5e5e7!important}
body.studio-page.lipsync-page.ls-layout-v3 .ls-start-draft{min-height:44px;padding:10px 20px;background:#242424;color:#ffffff;border:1px solid #242424;border-radius:6px;font:inherit;font-size:14px;cursor:pointer}
body.studio-page.lipsync-page.ls-layout-v3 .ls-start-draft:focus-visible{outline:2px solid #3864bd;outline-offset:3px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-start-draft[hidden]{display:none!important}
body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers{width:100%;font-size:12px;color:#242424;flex:1 0 100%;margin-top:3px}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers label{display:inline-flex;flex-direction:column;width:22%;margin:10px 2% 0 0;gap:5px;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers input{width:100%;min-width:0;border:1px solid #e5e5e7;border-radius:4px;background:#ffffff;color:#242424;padding:5px;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers>button{display:block;margin-top:9px}
body.studio-page.lipsync-page.ls-layout-v3 .brand-mark{background:#ffffff;border-radius:5px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-face-stage canvas{height:100%!important;width:100%!important;max-height:none!important}
body.studio-page.lipsync-page.ls-layout-v3 #speech-text,body.studio-page.lipsync-page.ls-layout-v3 #ls-multi-speech{background:#ffffff!important;border-color:#e5e5e7!important;color:#242424!important}
body.studio-page.lipsync-page.ls-layout-v3 .ls-owned-voice-select,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-voice-field select{background:#ffffff!important;border-color:#e5e5e7!important;color:#242424!important}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header{justify-content:space-between!important}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header .brand{margin:0!important;order:0}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header>.sidebar-account{display:flex!important;order:2;margin-left:auto!important;flex-direction:row;align-items:center;gap:14px}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header .sidebar-balance{background:#ffffff!important;color:#242424!important;border:1px solid #e5e5e7!important}
@media(min-width:1200px){body.studio-page.lipsync-page.ls-layout-v3 .ws-mobile-menu-button{display:none!important}}
body.studio-page.lipsync-page.ls-layout-v3 .studio-main{width:auto;max-width:none;margin:0!important}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header{background:#ffffff;border-bottom:1px solid #e5e5e7;color:#242424}
body.studio-page.lipsync-page.ls-layout-v3 .studio-header .brand{color:#242424}
body.studio-page.lipsync-page.ls-layout-v3 .upload-area{height:auto;flex:none;aspect-ratio:auto}
body.studio-page.lipsync-page.ls-layout-v3 .video-canvas{aspect-ratio:auto;width:100%;height:auto}
body.studio-page.lipsync-page.ls-layout-v3 .unified-workspace-sidebar{background:#ffffff!important;border-right:1px solid #e5e5e7!important;color:#242424}
body.studio-page.lipsync-page.ls-layout-v3 .ws-sidebar-toggle,body.studio-page.lipsync-page.ls-layout-v3 .ws-sidebar-top{background:#ffffff!important;color:#242424!important;border-color:#e5e5e7!important}
body.studio-page.lipsync-page.ls-layout-v3{--ls-bg:#f7f7f8;--ls-panel:#ffffff;--ls-input:#ffffff;--ls-line:#e5e5e7;--ls-text:#242424;--ls-muted:#686868;--ls-accent:#3864bd;background:var(--ls-bg);color:var(--ls-text);font-family:"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light}
body.studio-page.lipsync-page.ls-layout-v3 [hidden]{display:none!important}
body.studio-page.lipsync-page.ls-layout-v3 .studio-main{padding:24px;min-width:0;background:var(--ls-bg)}
body.studio-page.lipsync-page.ls-layout-v3 .lipsync-intro{display:flex;align-items:center;position:relative;gap:20px;margin:0 0 24px;min-height:65px;flex-wrap:wrap}
body.studio-page.lipsync-page.ls-layout-v3 .lipsync-intro h1{font-size:23px;color:var(--ls-text);font-weight:600;margin:0;letter-spacing:.3px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-subtitle{font-size:12px;color:var(--ls-muted);margin:5px 0 0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-voice-entry{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;min-height:36px;border:1px solid #e5e5e7;border-radius:6px;background:#ffffff;color:#242424;font-size:12px;text-decoration:none;white-space:nowrap}
body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes{position:absolute;left:50%;transform:translateX(-50%);display:flex;margin:0;padding:4px;max-width:none;border:1px solid #e5e5e7;border-radius:8px;background:#f7f7f8;gap:3px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes button{min-width:125px;min-height:34px;border:1px solid transparent;background:none;color:#242424;border-radius:5px;font-size:12px;font-weight:500;padding:6px 14px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes button.is-active{background:#eef2ff;color:#3864bd;border-color:#b9c9e8;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .creation-grid{display:grid;grid-template-columns:334px minmax(300px,1fr) 250px;gap:18px;align-items:stretch;min-width:0;min-height:680px;margin:0;padding:0}
body.studio-page.lipsync-page.ls-layout-v3 .creation-panel,body.studio-page.lipsync-page.ls-layout-v3 .ls-records-panel{background:var(--ls-panel);color:var(--ls-text);border:1px solid var(--ls-line);border-radius:10px;box-shadow:none;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-editor{display:flex;flex-direction:column;grid-column:1;grid-row:1}
body.studio-page.lipsync-page.ls-layout-v3 .ls-editor-content{padding:20px 18px 12px;min-height:0;overflow:auto;scrollbar-color:#c4c8cf transparent;scrollbar-width:thin}
body.studio-page.lipsync-page.ls-layout-v3 .input-panel.ls-layout-source{display:block;border:0;border-radius:0;box-shadow:none;padding:0 0 18px;margin:0 0 18px;background:none;border-bottom:1px solid var(--ls-line)}
body.studio-page.lipsync-page.ls-layout-v3 .ls-panel-heading{display:flex;align-items:center;gap:8px;margin:0 0 15px;min-height:24px;padding:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-panel-heading h2{font-size:14px;color:var(--ls-text);font-weight:600;margin:0;line-height:1.5}
body.studio-page.lipsync-page.ls-layout-v3 .ls-step{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:none;border:1px solid #e5e5e7;border-radius:5px;color:#242424;background:none;font-size:12px;line-height:1;letter-spacing:0}
body.studio-page.lipsync-page.ls-layout-v3 .panel-help{margin-left:auto;background:none;border:0;color:#686868;min-width:27px;min-height:28px}
body.studio-page.lipsync-page.ls-layout-v3 .upload-area{background:#ffffff;border:1px dashed #e5e5e7;border-radius:7px;margin:0;min-height:150px;padding:20px 12px;color:#242424;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
body.studio-page.lipsync-page.ls-layout-v3 .upload-area h3{font-size:13px;color:var(--ls-text);margin:0;font-weight:500}
body.studio-page.lipsync-page.ls-layout-v3 .upload-area small{color:#686868;font-size:12px}
body.studio-page.lipsync-page.ls-layout-v3 #video-drop.has-file{min-height:90px;padding:12px;align-items:stretch;gap:8px;border-style:solid;border-color:#e5e5e7;text-align:left;background:#ffffff}
body.studio-page.lipsync-page.ls-layout-v3 #video-drop.has-file>.upload-icon,body.studio-page.lipsync-page.ls-layout-v3 #video-drop.has-file>.ls-video-file-icon,body.studio-page.lipsync-page.ls-layout-v3 #video-drop.has-file>h3,body.studio-page.lipsync-page.ls-layout-v3 #video-drop.has-file>small{display:none}
body.studio-page.lipsync-page.ls-layout-v3 #video-info{display:block;margin:0}body.studio-page.lipsync-page.ls-layout-v3 #video-name{display:block;font-size:12px;font-weight:500;color:#242424;overflow-wrap:anywhere}
body.studio-page.lipsync-page.ls-layout-v3 .ls-video-actions{display:flex;gap:8px;align-items:center;justify-content:flex-start;flex-wrap:wrap}
body.studio-page.lipsync-page.ls-layout-v3 button,body.studio-page.lipsync-page.ls-layout-v3 a{touch-action:manipulation}
body.studio-page.lipsync-page.ls-layout-v3 :is(.ls-video-actions button,.ls-private-material button,.ls-multi-material button,.ls-face-tools button,.ls-clip-actions button,.ls-clip-upload,.ls-multi-audio-drop>button,.ls-multi-audio-material button){border:1px solid #e5e5e7;border-radius:6px;background:#ffffff;color:#242424;font:inherit;font-size:12px;min-height:32px;padding:6px 10px;box-shadow:none;white-space:normal}
body.studio-page.lipsync-page.ls-layout-v3 button:disabled{opacity:.45;cursor:not-allowed}
body.studio-page.lipsync-page.ls-layout-v3 :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #3864bd;outline-offset:3px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-private-material{gap:8px;padding-top:11px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-private-material>p{font-size:12px;color:#686868;line-height:1.6;margin:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-private-material>button{margin-left:auto;font-size:12px;min-height:29px;padding:5px 9px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-reuse{width:100%;font-size:12px;color:#242424;min-width:0}
body.studio-page.lipsync-page.ls-layout-v3 summary{cursor:pointer}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-reuse summary{padding:6px 0;font-size:12px}
body.studio-page.lipsync-page.ls-layout-v3 :is(.ls-layout-reuse select,.ls-multi-material select,.ls-owned-voice-select,.ls-multi-voice-field select,.ls-result-preview>select){width:100%;max-width:100%;min-width:0;min-height:40px;padding:8px 12px;border:1px solid #e5e5e7;border-radius:6px;color:#242424;background:#ffffff;font-size:12px;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-reuse>button{margin-top:8px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-material-manager{color:#242424;margin-top:6px;min-width:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-material-row{border-color:#e5e5e7;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-material-row button{font-size:12px;padding:5px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-editor-note,body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-script-note{font-size:12px;line-height:1.7;color:#686868;margin:0 0 14px}
body.studio-page.lipsync-page.ls-layout-v3 :is(.ls-audio-tabs,.ls-multi-audio>.segmented){display:flex;gap:3px;border:1px solid #e5e5e7;background:#f7f7f8;border-radius:7px;padding:3px;margin:0 0 16px;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 :is(.ls-audio-tabs,.ls-multi-audio>.segmented) button{flex:1;min-width:0;min-height:33px;border:1px solid transparent;border-radius:5px;color:#242424;background:none;font-size:12px;font-weight:500;box-shadow:none;padding:6px 8px}
body.studio-page.lipsync-page.ls-layout-v3 :is(.ls-audio-tabs,.ls-multi-audio>.segmented) button.is-active{background:#eef2ff;color:#3864bd;border-color:#b9c9e8;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .setting-block{margin:0}body.studio-page.lipsync-page.ls-layout-v3 .setting-block+.setting-block{margin-top:17px}
body.studio-page.lipsync-page.ls-layout-v3 .setting-block label,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio label{display:block;color:#242424;font-size:12px;margin:0 0 8px;font-weight:400}
body.studio-page.lipsync-page.ls-layout-v3 .voice-control{display:block}body.studio-page.lipsync-page.ls-layout-v3 .ls-voice-note,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio p{color:#686868;font-size:12px;line-height:1.7;margin:6px 0}
body.studio-page.lipsync-page.ls-layout-v3 .voice-create-row{justify-content:flex-end;margin-top:3px}body.studio-page.lipsync-page.ls-layout-v3 :is(.voice-create-link,.ls-multi-voice-link){font-size:12px;color:#242424}
body.studio-page.lipsync-page.ls-layout-v3 :is(#speech-text,#ls-multi-speech){display:block;width:100%;min-width:0;min-height:140px;height:160px;padding:12px 13px;border:1px solid #e5e5e7;border-radius:7px;background:#ffffff;color:#242424;font-family:inherit;font-size:12px;line-height:1.9;resize:vertical;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 :is(#speech-text,#ls-multi-speech)::placeholder{color:#8b919a}
body.studio-page.lipsync-page.ls-layout-v3 :is(#text-count,.ls-multi-text-count){color:#686868;font-size:12px;margin:0;font-weight:400}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-speech-field{display:flex;flex-direction:column}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-speech-field>label{order:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-speech-field>small{order:1;margin-bottom:6px}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-speech-field>textarea{order:2}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-voice-field{margin-bottom:15px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-current-title{font-size:13px;color:#242424;margin:18px 0 14px;border-top:1px solid #e5e5e7;padding-top:17px;font-weight:500}
body.studio-page.lipsync-page.ls-layout-v3 .ls-quality-tips{font-size:12px;color:#242424;margin:18px 0 3px}body.studio-page.lipsync-page.ls-layout-v3 .ls-quality-tips p{font-size:12px;line-height:1.8;color:#686868;margin:9px 0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-area{padding:16px 18px 13px;margin:0;border-top:1px solid #e5e5e7;background:#f7f7f8;flex:none;display:flex;flex-direction:column;gap:10px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-readiness{font-size:12px;color:#242424;line-height:1.7;margin:0;overflow-wrap:anywhere}body.studio-page.lipsync-page.ls-layout-v3 .ls-readiness[data-blocked=true]{color:#8d6526}
body.studio-page.lipsync-page.ls-layout-v3 .consent{display:flex;align-items:flex-start;gap:8px;color:#242424;font-size:12px;line-height:1.7;margin:0}body.studio-page.lipsync-page.ls-layout-v3 .consent input{accent-color:#3864bd;margin-top:2px;flex:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-quote-summary{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px;color:#242424;line-height:1.7}body.studio-page.lipsync-page.ls-layout-v3 .ls-quote-summary strong{font-size:12px;color:#242424;font-weight:500}
body.studio-page.lipsync-page.ls-layout-v3 .generate-button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:42px;padding:9px 12px;border:1px solid #242424;border-radius:6px;background:#242424;color:#ffffff;font-size:13px;font-weight:600;box-shadow:none;margin:0;letter-spacing:0}
body.studio-page.lipsync-page.ls-layout-v3 .generate-button:disabled{color:#8b919a;background:#e8ebef;border-color:#e5e5e7;opacity:.85}
body.studio-page.lipsync-page.ls-layout-v3 .draft-status{margin:0;color:#686868;font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-explanation{color:#242424;font-size:12px;text-align:center;margin:0;line-height:1.7}
body.studio-page.lipsync-page.ls-layout-v3 .preview-panel{grid-column:2;grid-row:1;display:flex;flex-direction:column;padding:18px;min-height:0;gap:0}
body.studio-page.lipsync-page.ls-layout-v3 .preview-panel>.ls-panel-heading{gap:12px;flex:none;margin-bottom:8px;flex-wrap:wrap}body.studio-page.lipsync-page.ls-layout-v3 .preview-panel>.ls-panel-heading>div{margin-right:auto}
body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-tabs{display:flex;gap:2px;padding:3px;border:1px solid #e5e5e7;border-radius:6px;background:#f7f7f8;margin:0;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-tabs button{border:0;background:none;border-radius:4px;color:#242424;font-size:12px;font-weight:400;padding:5px 10px;min-height:30px;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-tabs button.is-active{background:#eef2ff;color:#3864bd;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-preview-note{font-size:12px;color:#686868;line-height:1.7;margin:0 0 12px;flex:none;min-height:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-original-preview{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column}
body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-caption{margin:0 0 9px;padding:0;min-height:0;line-height:1.5;color:#686868;font-size:12px;flex:none}
body.studio-page.lipsync-page.ls-layout-v3 .video-canvas{display:flex;flex:1;min-width:0;min-height:260px;align-items:center;justify-content:center;border:1px solid #e5e5e7;background:#f7f7f8;border-radius:6px;position:relative;overflow:hidden;padding:0}
body.studio-page.lipsync-page.ls-layout-v3 .video-canvas video{display:block;width:100%;height:100%;max-width:100%;max-height:600px;object-fit:contain;border-radius:0;margin:0}
body.studio-page.lipsync-page.ls-layout-v3 .canvas-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#686868;gap:15px;font-size:12px;background:none}
body.studio-page.lipsync-page.ls-layout-v3 .canvas-empty strong{font-weight:400;color:#242424;font-size:12px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-footer{margin-top:10px;padding:0;color:#242424;font-size:12px;min-height:18px;flex:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-face-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 0;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-seek{flex:1;min-width:60px;accent-color:#3864bd;height:20px}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-time{font-size:12px;color:#686868;white-space:nowrap}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-tools p{flex:1 0 100%;font-size:12px;color:#686868;line-height:1.8;margin:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-face-stage{position:relative;max-width:100%;max-height:100%;margin:auto;flex:none;display:block;align-self:center;min-height:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-stage canvas{display:block;width:100%;max-height:100%;object-fit:contain;touch-action:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-face-rectangle{border:2px solid #3864bd;background:#3864bd10;box-shadow:0 0 0 999px #00000025}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;color:#686868;text-align:center;z-index:2;background:#f7f7f8}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-empty strong{font-size:12px;font-weight:500}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-filename{max-width:100%;font-size:12px;overflow-wrap:anywhere}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-preview-reupload{border:1px solid #e5e5e7;background:#ffffff;color:#242424;border-radius:6px;padding:8px 12px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clips-list{display:flex;flex-direction:column;gap:7px;max-height:245px;overflow:auto;scrollbar-width:thin}body.studio-page.lipsync-page.ls-layout-v3 .ls-script-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}body.studio-page.lipsync-page.ls-layout-v3 .ls-script-heading h2{font-size:14px;margin:0;color:#242424}body.studio-page.lipsync-page.ls-layout-v3 .ls-script-heading>button{border:1px solid #e5e5e7;background:#ffffff;color:#242424;font-size:12px;padding:5px 8px;min-height:30px;border-radius:5px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-entry{display:flex;align-items:stretch;gap:4px;position:relative;border:1px solid #e5e5e7;border-radius:6px;background:#ffffff;padding:7px}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-entry.is-current{background:#eef2ff;border-color:#b9c9e8}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-open{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#242424!important;border-radius:0!important;text-align:left}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-title{font-size:12px;font-weight:500}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-file{display:block;max-width:100%;font-size:12px;color:#686868;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-state{font-size:12px;color:#242424}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-upload{align-self:flex-start;min-height:27px!important;padding:4px!important;font-size:12px!important;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-actions{display:flex;gap:3px;position:absolute;right:6px;bottom:5px}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-actions button{min-height:25px;padding:2px 6px;font-size:12px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-material{font-size:12px;margin-top:12px;color:#242424}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-material>strong{display:block;margin-top:8px;color:#242424;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-material :is(p,select){margin:7px 0}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-material>button{margin:7px 5px 0 0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio{gap:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio audio,body.studio-page.lipsync-page.ls-layout-v3 #audio-player{width:100%;max-width:100%;margin-top:9px}body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio-drop{min-height:150px;margin-bottom:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-audio-save-icon{display:grid;place-items:center;width:34px;height:34px;min-height:34px!important;padding:7px!important;flex:none!important}body.studio-page.lipsync-page.ls-layout-v3 .ls-audio-save-icon svg{width:17px;height:17px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-result-preview{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px}body.studio-page.lipsync-page.ls-layout-v3 .ls-result-preview>video{display:block;flex:1;width:100%;min-height:200px;max-height:600px;height:100%;object-fit:contain;background:#151719;border:1px solid #e5e5e7;border-radius:6px;margin:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-result-preview>p{font-size:12px;color:#686868;margin:0;line-height:1.7}body.studio-page.lipsync-page.ls-layout-v3 .ls-result-download{align-self:flex-end;min-height:35px;border:1px solid #242424;border-radius:6px;background:#242424;color:#ffffff;font-size:12px;font-weight:600;padding:7px 13px;text-decoration:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status{background:#f7f7f8;border:1px solid #e5e5e7;border-radius:7px;margin:13px 0 0;padding:12px;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status strong{font-size:13px;color:#242424}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status p{font-size:12px;color:#686868;line-height:1.7;margin-top:5px}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status[data-state=unknown]{background:#fff8e8;border-color:#ead6ae}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status[data-state=unknown] strong{color:#8d6526}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status[data-state=unknown] p{color:#8d6526}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status[data-state=failed]{background:#fff4f2;border-color:#ecc8bf}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status[data-state=failed] strong{color:#963c30}
body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-status button{background:#f7f7f8;border:1px solid #e5e5e7;color:#686868;min-height:33px;border-radius:5px;padding:6px 10px;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-elapsed{display:block;font-size:12px;color:#242424;margin-top:8px}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-track{height:3px;background:#f7f7f8}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-track::after{background:#3864bd}
body.studio-page.lipsync-page.ls-layout-v3 .ls-effect-review{flex:none;border-top:1px solid #e5e5e7;margin-top:14px;padding-top:12px;color:#242424;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-effect-review label{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-effect-review input{accent-color:#3864bd}body.studio-page.lipsync-page.ls-layout-v3 .ls-review-status{font-size:12px;color:#686868;line-height:1.8;margin:10px 0 0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-records-panel{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-self:stretch;width:auto;max-height:none;min-height:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-records-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;padding:18px 14px 13px;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-title{font-size:14px;color:#242424;margin:0 auto 0 0;flex:1;white-space:nowrap;font-weight:500}
body.studio-page.lipsync-page.ls-layout-v3 .ls-project-tools button{flex:none;min-height:29px;border:1px solid #e5e5e7;border-radius:5px;background:#ffffff;color:#242424;font-size:12px;line-height:1.6;padding:4px 8px;box-shadow:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-records-heading{width:24px!important;min-width:24px!important;border:0!important;background:none!important;padding:3px!important}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-heading>span{display:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-heading svg{width:14px;height:14px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-project-tools .ls-retry{flex:1 0 100%;font-size:12px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-history-tabs{display:flex;align-items:center;gap:20px;padding:0 14px;border-bottom:1px solid #e5e5e7;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-history-tabs button{border:0;border-radius:0;background:none;min-height:35px;padding:4px 0 9px;color:#242424;font-size:12px;position:relative}body.studio-page.lipsync-page.ls-layout-v3 .ls-history-tabs button.is-active{color:#3864bd}body.studio-page.lipsync-page.ls-layout-v3 .ls-history-tabs button.is-active::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#eef2ff}
body.studio-page.lipsync-page.ls-layout-v3 .ls-records-body{padding:10px 8px;min-height:0;overflow:auto;flex:1;display:flex;flex-direction:column;scrollbar-color:#c4c8cf transparent;scrollbar-width:thin}body.studio-page.lipsync-page.ls-layout-v3 .ls-drafts-list{display:flex;flex-direction:column;gap:7px;overflow:visible;min-height:0}
body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-row{min-width:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-card{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 8px;border:1px solid transparent;border-radius:7px;background:none;color:#242424;text-align:left;box-shadow:none;position:relative;min-height:87px;transform:none}
body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-card.is-current{background:#eef2ff;border-color:#b9c9e8}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-card:hover{background:#ffffff}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-icon{flex:0 0 48px;width:48px;height:62px;max-width:48px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:#f7f7f8;color:#242424}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-icon img{width:100%;height:100%;object-fit:cover}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-icon svg{width:22px;height:22px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;overflow:hidden}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-copy strong{font-size:12px;color:#242424;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.6}body.studio-page.lipsync-page.ls-layout-v3 .ls-task-state{font-size:12px;color:#242424;line-height:1.5}body.studio-page.lipsync-page.ls-layout-v3 .ls-task-state[data-state=unknown]{color:#8d6526}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-copy small{font-size:12px;white-space:pre-line;color:#686868;line-height:1.7}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-delete{background:#ffffff;color:#242424}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-empty{font-size:12px;color:#686868;margin:9px}
body.studio-page.lipsync-page.ls-layout-v3 .ls-clear-drafts{min-height:31px;margin-top:auto;background:none;border:1px solid #e5e5e7;color:#242424;border-radius:5px;font-size:12px;padding:6px 9px}body.studio-page.lipsync-page.ls-layout-v3 .ls-history-message{font-size:12px;line-height:1.7;color:#8d6526;margin:10px 5px;overflow-wrap:anywhere}body.studio-page.lipsync-page.ls-layout-v3 .ls-history-more{font-size:12px;color:#242424;min-height:32px}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-help{flex:none;padding:16px 14px;margin:0;border-top:1px solid #e5e5e7;color:#686868;font-size:12px;line-height:1.9}
body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .creation-grid{grid-template-columns:334px minmax(300px,1fr) 64px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-title,body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-new-draft,body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-history-tabs,body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-help{display:none}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-panel .ls-records-body{display:flex!important;padding:6px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-draft-card{padding:3px;min-height:58px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-draft-icon{flex-basis:44px;width:44px;height:52px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-draft-copy,body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-clear-drafts{display:none}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-header{padding:12px;justify-content:center}
body.studio-page.lipsync-page.ls-layout-v3 .ls-conflict-tools{color:#8d6526;font-size:12px;margin-bottom:15px}body.studio-page.lipsync-page.ls-layout-v3 .ls-conflict-tools textarea{font:inherit;font-size:12px;border:1px solid #ead6ae;background:#fff8e8;color:#8d6526;width:100%;padding:10px}body.studio-page.lipsync-page.ls-layout-v3 .ls-conflict-tools button{background:#fff8e8;border:1px solid #ead6ae;color:#8d6526;border-radius:6px;padding:7px 10px}
@media(min-width:1200px){body.studio-page.lipsync-page.ls-layout-v3 .creation-grid{height:calc(100dvh - 199px);min-height:570px}body.studio-page.lipsync-page.ls-layout-v3 .video-canvas{min-height:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-result-preview>video{min-height:170px}}
@media(min-width:1200px) and (max-height:820px){body.studio-page.lipsync-page.ls-layout-v3 .studio-main{padding-top:17px;padding-bottom:17px}body.studio-page.lipsync-page.ls-layout-v3 .lipsync-intro{min-height:51px;margin-bottom:15px}body.studio-page.lipsync-page.ls-layout-v3 .creation-grid{height:calc(100dvh - 160px);min-height:470px}body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-area{padding:10px 16px;gap:7px}body.studio-page.lipsync-page.ls-layout-v3 .ls-readiness{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-explanation{display:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-quality-tips{margin-top:12px}body.studio-page.lipsync-page.ls-layout-v3 .preview-panel{padding:14px}}
@media(min-width:1200px) and (max-width:1450px){body.studio-page.lipsync-page.ls-layout-v3 .creation-grid{grid-template-columns:306px minmax(300px,1fr) 218px;gap:12px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .creation-grid{grid-template-columns:306px minmax(300px,1fr) 64px}body.studio-page.lipsync-page.ls-layout-v3 .ls-editor-content{padding:17px 15px 12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-area{padding-left:15px;padding-right:15px}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-icon{flex-basis:43px;width:43px;max-width:43px}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-header{padding-left:11px;padding-right:11px}body.studio-page.lipsync-page.ls-layout-v3 .studio-main{padding-left:20px;padding-right:20px}}
@media(max-width:1199px){body.studio-page.lipsync-page.ls-layout-v3 .creation-grid{grid-template-columns:310px minmax(280px,1fr);height:auto;min-height:0}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-panel{grid-column:1/-1;grid-row:2;max-height:310px;min-height:190px;width:auto}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-help{display:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-body{min-height:70px}body.studio-page.lipsync-page.ls-layout-v3 .ls-drafts-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-voice-entry{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes{position:static;transform:none;margin-left:auto}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes button{min-width:100px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-title{width:100%}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-voice-entry{margin-left:0}body.studio-page.lipsync-page.ls-layout-v3 .video-canvas{min-height:380px;max-height:600px}body.studio-page.lipsync-page.ls-layout-v3 .ls-editor-content{overflow:visible}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .creation-grid{grid-template-columns:310px minmax(280px,1fr)}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-panel{max-height:100px;min-height:55px}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .ls-records-body{display:none!important}}
@media(max-width:700px){body.studio-page.lipsync-page.ls-layout-v3 .studio-main{padding:16px 12px 26px}body.studio-page.lipsync-page.ls-layout-v3 .lipsync-intro{gap:12px;margin-bottom:17px}body.studio-page.lipsync-page.ls-layout-v3 .lipsync-intro h1{font-size:22px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-subtitle{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-title{width:100%}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-voice-entry{position:absolute;right:0;top:4px;min-height:36px;font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes{width:100%;margin:8px 0 0}body.studio-page.lipsync-page.ls-layout-v3 .ls-generation-modes button{flex:1;min-width:0;min-height:38px;font-size:13px}body.studio-page.lipsync-page.ls-layout-v3 .creation-grid,body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-records-collapsed=true] .creation-grid{display:flex;flex-direction:column;gap:14px;height:auto;min-height:0}body.studio-page.lipsync-page.ls-layout-v3 .preview-panel{order:0;padding:14px;min-height:420px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-editor{order:1}body.studio-page.lipsync-page.ls-layout-v3 .ls-records-panel{order:2;max-height:390px;min-height:180px}body.studio-page.lipsync-page.ls-layout-v3 .video-canvas{height:350px;min-height:240px;max-height:450px;flex:none}body.studio-page.lipsync-page.ls-layout-v3[data-lipsync-multi=true] .video-canvas{height:225px;min-height:160px}body.studio-page.lipsync-page.ls-layout-v3 .video-canvas video{max-height:100%;height:100%}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-stage{width:100%!important;max-height:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-tools{margin-top:9px}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-tools p{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 :is(#speech-text,#ls-multi-speech){font-size:16px;min-height:160px;height:185px}body.studio-page.lipsync-page.ls-layout-v3 .ls-owned-voice-select,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-voice-field select,body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-reuse select,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-material select{font-size:16px;min-height:44px}body.studio-page.lipsync-page.ls-layout-v3 .ls-audio-tabs button,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio>.segmented button{min-height:41px;font-size:13px}body.studio-page.lipsync-page.ls-layout-v3 .ls-private-material>button,body.studio-page.lipsync-page.ls-layout-v3 .ls-video-actions button,body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-upload,body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-actions button,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio-material button{min-height:38px!important;font-size:12px!important}body.studio-page.lipsync-page.ls-layout-v3 .ls-drafts-list{display:flex}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-icon{width:47px;max-width:47px;flex-basis:47px;height:58px}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-copy strong{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-draft-copy small{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-panel-heading h2{font-size:14px}body.studio-page.lipsync-page.ls-layout-v3 .ls-layout-editor-note,body.studio-page.lipsync-page.ls-layout-v3 .ls-voice-note,body.studio-page.lipsync-page.ls-layout-v3 .ls-multi-audio p{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-quality-tips{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-submit-area{padding:16px;gap:11px}body.studio-page.lipsync-page.ls-layout-v3 .consent{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-quote-summary,body.studio-page.lipsync-page.ls-layout-v3 .ls-quote-summary strong{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .generate-button{min-height:46px;font-size:14px}body.studio-page.lipsync-page.ls-layout-v3 .ls-readiness{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .draft-status{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-open{min-height:63px}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-title{font-size:13px}body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-file,body.studio-page.lipsync-page.ls-layout-v3 .ls-clip-state{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-result-preview>video{height:360px;min-height:240px;max-height:420px;flex:none}body.studio-page.lipsync-page.ls-layout-v3 .ls-review-status{font-size:12px}body.studio-page.lipsync-page.ls-layout-v3 .ls-effect-review label{font-size:12px;min-height:30px}body.studio-page.lipsync-page.ls-layout-v3 .ls-preview-tabs button{min-height:36px;font-size:12px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){body.studio-page.lipsync-page.ls-layout-v3 *{animation:none!important;scroll-behavior:auto!important}}
@media(max-width:700px){body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers input{font-size:16px;min-height:42px}body.studio-page.lipsync-page.ls-layout-v3 .ls-face-numbers label{width:46%;margin-right:4%}}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"]{color:#242424!important;background:#ffffff!important;border-color:#e5e5e7!important;box-shadow:0 24px 80px #0000000d}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"]::backdrop{background:#0006}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"] h2{font-size:19px;color:#242424;margin-top:0}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"] p{font-size:14px;color:#686868}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"] button{min-height:44px;padding:9px 20px;border:1px solid #e5e5e7;border-radius:6px;background:#ffffff;color:#242424;font-size:14px}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"] button:last-child{background:#242424;border-color:#242424;color:#ffffff}
body.studio-page.lipsync-page.ls-layout-v3 dialog[aria-label="请确认"] button:focus-visible{outline:2px solid #3864bd;outline-offset:3px}
