.tool-theme .hkv-sim{--hv-bg:#191a1d;--hv-panel:#232428;--hv-raised:#2c2e33;--hv-input:#1b1c20;--hv-border:#3b3d43;--hv-accent:#e8c76a;--hv-accent-ink:#211c10;--hv-fg:#eeeff1;--hv-muted:#a6a8b1;--hv-success:#8ec9a4;container-type:inline-size;position:relative;background:var(--hv-bg);color:var(--hv-fg);font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,var(--font-inter-tight),sans-serif;font-size:12px;line-height:1.45;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tool-theme .hkv-sim *{box-sizing:border-box}.tool-theme .hv-shell{display:flex;flex-direction:column;height:580px}.tool-theme .hv-shell.is-short{height:500px}.tool-theme .hkv-sim .app-bar{display:flex;align-items:center;gap:16px;height:52px;padding:0 16px;background:#202125;border-bottom:1px solid var(--hv-border);flex-shrink:0}.tool-theme .hkv-sim .brand{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650;white-space:nowrap}.tool-theme .hkv-sim .brand small{display:block;color:var(--hv-muted);font-size:9px;font-weight:400;letter-spacing:.04em}.tool-theme .hkv-sim .brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid #8c7945;border-radius:7px;background:#343023;color:var(--hv-accent);font-size:16px;font-weight:600;letter-spacing:-.07em}.tool-theme .hkv-sim .document-title{flex:1;min-width:0;text-align:center;color:#d3d4da;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-theme .hkv-sim .document-title span{color:var(--hv-muted)}.tool-theme .hkv-sim .mode-toolbar{display:flex;align-items:center;gap:8px;flex:0 1 290px;min-width:0;height:32px;padding:0 4px 0 10px;border:1px solid #49463a;background:#28261f;border-radius:6px;transition:box-shadow .4s,border-color .4s}.tool-theme .hkv-sim .mode-toolbar.is-picking{border-color:var(--hv-accent);box-shadow:0 0 0 3px #e8c76a33}.tool-theme .hkv-sim .mode-toolbar>b{color:#d6bd7e;font-size:9px;letter-spacing:.08em;font-weight:600}.tool-theme .hkv-sim .mode-select{flex:1;min-width:0;color:#eeece5;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-theme .hkv-sim .mode-manage{border-left:1px solid #49463a;padding:4px 8px;color:#d6bd7e;font-size:10px}.tool-theme .hkv-sim .wizard-home-btn{color:#d3d4da;border:1px solid var(--hv-border);padding:5px 10px;border-radius:5px;font-size:11px;white-space:nowrap}.tool-theme .hkv-sim .workspace-layout{flex:1;min-height:0;display:grid;grid-template-columns:186px minmax(0,1fr)}.tool-theme .hkv-sim .workflow-sidebar{padding:18px 10px;border-right:1px solid var(--hv-border);display:flex;flex-direction:column;overflow:hidden}.tool-theme .hkv-sim .sidebar-heading{font-size:9px;letter-spacing:.1em;color:var(--hv-muted);font-weight:650;padding:0 8px;margin-bottom:10px}.tool-theme .hkv-sim .wizard-steps{display:flex;flex-direction:column;gap:3px}.tool-theme .hkv-sim .wizard-step{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:5px;color:#92949e;padding:6px 8px;font-size:11px;transition:background-color .3s,color .3s}.tool-theme .hkv-sim .wizard-step small{margin-left:auto;font-size:8px;color:#999ca7}.tool-theme .hkv-sim .step-number{width:20px;height:20px;flex-shrink:0;display:grid;place-items:center;border:1px solid #42444b;border-radius:50%;font-size:9px}.tool-theme .hkv-sim .wizard-step--active{background:#373227;border-color:#514832;color:#f4db99;font-weight:600}.tool-theme .hkv-sim .wizard-step--active .step-number{background:var(--hv-accent);border-color:var(--hv-accent);color:var(--hv-accent-ink)}.tool-theme .hkv-sim .wizard-step--done{color:#d8d9de}.tool-theme .hkv-sim .wizard-step--done .step-number{border-color:#4a6254;color:var(--hv-success)}.tool-theme .hkv-sim .workflow-tip{margin:18px 8px 0;padding-top:14px;border-top:1px solid var(--hv-border)}.tool-theme .hkv-sim .workflow-tip p{color:var(--hv-muted);font-size:10.5px;line-height:1.7;margin:8px 0 0}.tool-theme .hkv-sim .wizard-body{min-width:0;min-height:0;overflow:hidden;padding:14px 18px;display:flex;flex-direction:column}.tool-theme .hkv-sim .step-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--hv-border);flex-shrink:0}.tool-theme .hkv-sim .wizard-body h4{margin:0 0 4px;font-size:17px;font-weight:550;letter-spacing:-.02em}.tool-theme .hkv-sim .wizard-panel__subtitle{color:var(--hv-muted);font-size:11px;margin:0 0 12px}.tool-theme .hkv-sim .workspace-status{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--hv-border);padding:5px 16px;color:#aaacb5;font-size:9.5px;background:#202125;flex-shrink:0}.tool-theme .hkv-sim .btn{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:5px;font-size:11px;font-weight:600;padding:6px 11px;white-space:nowrap}.tool-theme .hkv-sim .btn-primary{background:var(--hv-accent);color:var(--hv-accent-ink)}.tool-theme .hkv-sim .btn-secondary{background:#2d2f35;color:#e0e1e7;border-color:#4a4c54}.tool-theme .hkv-sim .btn.is-disabled,.tool-theme .hkv-sim .btn:disabled{opacity:.45}.tool-theme .hkv-sim .module-picker{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;border:0;min-width:0}.tool-theme .hkv-sim .module-picker>b{margin-right:4px;font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#aaa}.tool-theme .hkv-sim .module-option{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;border:1px solid #414143;border-radius:6px;background:#242427;font-size:11px}.tool-theme .hkv-sim .module-option.is-on{border-color:#e6c569;background:#343023}.tool-theme .hkv-sim .check{display:inline-grid;place-items:center;width:12px;height:12px;border-radius:3px;border:1px solid #77797f;font-size:9px;line-height:1}.tool-theme .hkv-sim .module-option.is-on .check{background:var(--hv-accent);border-color:var(--hv-accent);color:var(--hv-accent-ink)}.tool-theme .hkv-sim .editor-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);gap:14px}.tool-theme .hkv-sim .preview-pane{display:flex;flex-direction:column;min-height:0;border:1px solid var(--hv-border);border-radius:7px;overflow:hidden;background:#111215}.tool-theme .hkv-sim .preview-toolbar{display:flex;justify-content:space-between;gap:10px;background:#25262b;padding:8px 12px;font-size:10.5px;flex-shrink:0}.tool-theme .hkv-sim .preview-toolbar span+span{color:var(--hv-muted);font-size:9.5px}.tool-theme .hkv-sim .preview-stage{flex:1;min-height:0;display:grid;place-items:center;padding:12px;background-image:radial-gradient(#303138 1px,transparent 0);background-size:16px 16px;container-type:size}.tool-theme .hkv-sim .inspector{min-width:0;overflow:hidden;background:var(--hv-panel);border:1px solid var(--hv-border);border-radius:7px;padding:14px}.tool-theme .hkv-sim .inspector h5{margin:0 0 10px;font-size:12px;font-weight:600}.tool-theme .hkv-sim .field-label{display:block;margin-bottom:5px;font-size:10.5px;font-weight:500;color:#cdced5}.tool-theme .hkv-sim .field-box{border:1px solid #474951;background:var(--hv-input);border-radius:5px;padding:7px 9px;font-size:11px;color:var(--hv-fg);margin-bottom:10px}.tool-theme .hkv-sim .field-box.is-script{line-height:1.75;min-height:96px}.tool-theme .hkv-sim .field-hint{color:var(--hv-muted);font-size:10px;line-height:1.6;margin:0}.tool-theme .hkv-sim .hv-frame{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;max-height:100%;overflow:hidden;border-radius:3px}.tool-theme .hkv-sim .hv-frame.is-vertical{aspect-ratio:9/16;width:auto;height:100%}.tool-theme .hkv-sim .hv-scene-1{background:radial-gradient(circle at 30% 40%,#f5d9a8 0 9%,transparent 10%),radial-gradient(ellipse 30% 45% at 62% 70%,#3c5a73 0 60%,transparent 62%),linear-gradient(160deg,#2b3a48,#121820)}.tool-theme .hkv-sim .hv-scene-2{background:radial-gradient(circle at 65% 38%,#e9c48f 0 9%,transparent 10%),radial-gradient(ellipse 28% 42% at 38% 72%,#6b4a3a 0 60%,transparent 62%),linear-gradient(200deg,#3a2c25,#16110e)}.tool-theme .hkv-sim .preview-stage>.hv-frame,.tool-theme .hkv-sim .subtitle-player__stage>.hv-frame{width:min(100cqw,177cqh)}.tool-theme .hkv-sim .hv-frame.is-raw{filter:saturate(.6) brightness(.85)}.tool-theme .hkv-sim .hv-caption{position:absolute;left:6%;right:6%;bottom:10%;text-align:center;font-family:var(--font-inter-tight),"Segoe UI",sans-serif;font-weight:800;font-size:clamp(13px,3.1cqi,28px);line-height:1.1;letter-spacing:.01em;text-transform:uppercase;color:#fff;text-shadow:0 2px 0 #000,0 0 6px #000c}.tool-theme .hkv-sim .hv-caption em{font-style:normal;color:#ffca2f}.tool-theme .hkv-sim .hv-caption.is-small{font-size:clamp(10px,2.2cqi,18px)}.tool-theme .hkv-sim .hv-cover-title{position:absolute;left:7%;top:12%;max-width:70%;padding:6px 10px;background:#ffca2f;color:#15120a;font-family:var(--font-inter-tight),sans-serif;font-weight:800;font-size:clamp(11px,2.6cqi,24px);line-height:1.05;text-transform:uppercase}.tool-theme .hkv-sim .hv-badge{position:absolute;top:6px;left:6px;padding:2px 6px;border-radius:3px;background:#000a;color:#fff;font-size:9px}.tool-theme .hkv-sim .subtitle-player{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px}.tool-theme .hkv-sim .caption-timeline{min-height:0;overflow:hidden;border:1px solid #383b42;border-radius:8px}.tool-theme .hkv-sim .caption-cue{display:grid;grid-template-columns:96px 1fr;gap:10px;padding:9px 10px;border-bottom:1px solid #33363d;background:#202228;transition:background-color .3s,box-shadow .3s}.tool-theme .hkv-sim .caption-cue--active{background:#49402b;box-shadow:inset 3px 0 #ffca2f}.tool-theme .hkv-sim .caption-cue__time{align-self:center;color:#b9bdc8;font:10px/1.6 ui-monospace,Consolas,monospace}.tool-theme .hkv-sim .caption-cue__text{padding:5px 8px;color:#fff;background:#15171b;border:1px solid #444851;border-radius:5px;font-size:11px}.tool-theme .hkv-sim .subtitle-player__monitor{display:flex;flex-direction:column;min-width:0;min-height:0;gap:8px}.tool-theme .hkv-sim .subtitle-player__stage{flex:1;min-height:0;display:grid;place-items:center;background:#090a0c;border-radius:6px;padding:6px;container-type:size}.tool-theme .hkv-sim .token-block{font-size:14px;line-height:2.1;padding:12px 14px;background:var(--hv-panel);border:1px solid var(--hv-border);border-radius:7px}.tool-theme .hkv-sim .token{display:inline-block;margin:0 3px}.tool-theme .hkv-sim .token--ollama{background:#584a29;color:#f7db8f;border-radius:3px;padding:0 4px}.tool-theme .hkv-sim .token--unresolved{color:#ffaaa4;-webkit-text-decoration:underline wavy;text-decoration:underline wavy}.tool-theme .hkv-sim .source-choice{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;margin-bottom:6px;border:1px solid #414143;border-radius:7px;background:#242427;font-size:11px}.tool-theme .hkv-sim .source-choice.is-on{border-color:#e6c569;background:#343023}.tool-theme .hkv-sim .source-choice small{display:block;color:#aaa;font-size:9.5px}.tool-theme .hkv-sim .audio-mix-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.tool-theme .hkv-sim .audio-mix-controls{min-width:0;overflow:hidden}.tool-theme .hkv-sim .audio-library{margin:0 0 10px;border:1px solid #373737;border-radius:8px;padding:8px}.tool-theme .hkv-sim .audio-library-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:6px}.tool-theme .hkv-sim .audio-library-heading small{color:#aaa;margin-left:5px}.tool-theme .hkv-sim .audio-track{display:flex;flex-direction:column;gap:2px;margin:4px 0;border:1px solid #414143;border-radius:5px;background:#242427;padding:6px 8px;min-width:0}.tool-theme .hkv-sim .audio-track.is-on{border-color:#e6c569;background:#343023}.tool-theme .hkv-sim .audio-track.is-previewing{border-color:#8a7a4c}.tool-theme .hkv-sim .audio-track span{display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tool-theme .hkv-sim .audio-track small{font-size:9.5px;color:#aaa}.tool-theme .hkv-sim .audio-preview-indicator{display:inline-flex;align-items:flex-end;gap:2px;height:10px;flex:none}.tool-theme .hkv-sim .audio-preview-indicator b{width:2px;height:4px;border-radius:1px;background:#e6c569;animation:hv-bar .7s ease-in-out infinite alternate}.tool-theme .hkv-sim .audio-preview-indicator b:nth-child(2){animation-delay:-.25s}.tool-theme .hkv-sim .audio-preview-indicator b:nth-child(3){animation-delay:-.5s}.tool-theme .hkv-sim .mix-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0;font-size:11px}.tool-theme .hkv-sim .mix-row strong{color:#f7db8f;font-variant-numeric:tabular-nums}.tool-theme .hkv-sim .audio-mix-monitor{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}.tool-theme .hkv-sim .audio-meter{padding:8px 10px;border:1px solid #373737;border-radius:7px;background:#151617}.tool-theme .hkv-sim .audio-meter-caption{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;margin-bottom:6px}.tool-theme .hkv-sim .audio-meter-caption small{color:#aaa}.tool-theme .hkv-sim .audio-meter-channel{display:grid;grid-template-columns:10px 1fr 34px;gap:6px;align-items:center;margin:4px 0;font-size:9.5px}.tool-theme .hkv-sim .audio-meter-track{height:7px;background:#303134;border-radius:2px;overflow:hidden}.tool-theme .hkv-sim .audio-meter-track span{display:block;height:100%;background:linear-gradient(90deg,#71bf8a,#b7cf68 65%,#e8c363 86%,#ee716b)}.tool-theme .hkv-sim .duck-lane{position:relative;height:54px;border:1px solid #373737;border-radius:7px;background:#151617;overflow:hidden}.tool-theme .hkv-sim .duck-lane i{position:absolute;bottom:6px;height:16px;border-radius:3px;background:#4f7d63}.tool-theme .hkv-sim .duck-lane svg{position:absolute;inset:0;width:100%;height:100%}.tool-theme .hkv-sim .sfx-mark{position:absolute;top:4px;padding:1px 5px;border-radius:3px;background:#343023;border:1px solid #e6c569;color:#f7db8f;font-size:8.5px;white-space:nowrap}.tool-theme .hkv-sim .export-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px}.tool-theme .hkv-sim .export-summary{margin:0}.tool-theme .hkv-sim .export-summary>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--hv-border);font-size:11px}.tool-theme .hkv-sim .export-summary dt{color:var(--hv-muted)}.tool-theme .hkv-sim .export-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.tool-theme .hkv-sim .status-list{list-style:none;padding:0;margin:0}.tool-theme .hkv-sim .status-list li{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--hv-border);font-size:11px;animation:hv-in .4s ease both}.tool-theme .hkv-sim .status-icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;font-size:10px;flex-shrink:0;background:#304b3a;color:#a0d9b4}.tool-theme .hkv-sim .banner--success{border-radius:6px;padding:8px 10px;font-size:11px;background:#263c2e;border:1px solid #42634d;color:#abdbba;margin-bottom:10px}.tool-theme .hkv-sim .mode-dialog{padding:18px;border:1px solid #575143;border-radius:12px;background:#202125;color:#e7e7e9}.tool-theme .hkv-sim .mode-eyebrow{color:#cfb779;font-size:9px;letter-spacing:.15em}.tool-theme .hkv-sim .mode-dialog h5{font-size:17px;font-weight:550;margin:4px 0 0}.tool-theme .hkv-sim .mode-description{color:#aeb0b7;font-size:11px;margin:8px 0 10px;line-height:1.6}.tool-theme .hkv-sim .mode-summary{display:grid;gap:7px;margin:0;padding:12px;background:#191a1d;border:1px solid #34353b;border-radius:6px;font-size:11px}.tool-theme .hkv-sim .mode-summary>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}.tool-theme .hkv-sim .mode-summary dt{color:#969aa4}.tool-theme .hkv-sim .mode-summary dd{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tool-theme .hkv-sim .swatch{display:inline-block;width:10px;height:10px;border-radius:2px;vertical-align:-1px;margin-right:5px;border:1px solid #0006}.tool-theme .hkv-sim .mode-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.tool-theme .hkv-sim .episodes{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.tool-theme .hkv-sim .episode{min-width:0;container-type:inline-size}.tool-theme .hkv-sim .episode p{margin:6px 0 0;font-size:10.5px;color:var(--hv-muted)}.tool-theme .hkv-sim .episode p strong{color:var(--hv-fg);font-weight:600}.tool-theme .hkv-sim .agent-log{padding:14px;display:grid;gap:8px;font-size:11.5px}.tool-theme .hkv-sim .agent-bubble{justify-self:end;max-width:92%;background:#2c2e33;border:1px solid var(--hv-border);border-radius:10px 10px 2px 10px;padding:8px 11px;line-height:1.5}.tool-theme .hkv-sim .agent-tool{display:flex;gap:8px;align-items:center;min-width:0;border:1px solid var(--hv-border);border-radius:6px;padding:6px 9px;background:#ffffff06}.tool-theme .hkv-sim .agent-tool code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--hv-muted);font:10px ui-monospace,Consolas,monospace}.tool-theme .hkv-sim .agent-dot{width:7px;height:7px;border-radius:50%;background:var(--hv-success);flex-shrink:0}.tool-theme .hkv-sim .agent-reply{margin:0;line-height:1.55}@keyframes hv-bar{0%{height:3px}to{height:10px}}@keyframes hv-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@container (max-width: 820px){.tool-theme .hkv-sim .document-title,.tool-theme .hkv-sim .workflow-tip{display:none}.tool-theme .hkv-sim .workspace-layout{grid-template-columns:150px minmax(0,1fr)}.tool-theme .hkv-sim .editor-grid{grid-template-columns:minmax(0,1fr) minmax(160px,220px)}}@container (max-width: 560px){.tool-theme .hv-shell,.tool-theme .hv-shell.is-short{height:auto}.tool-theme .hkv-sim .app-bar{height:auto;flex-wrap:wrap;gap:8px;padding:8px 10px}.tool-theme .hkv-sim .brand small,.tool-theme .hkv-sim .wizard-home-btn{display:none}.tool-theme .hkv-sim .mode-toolbar{flex:1 1 100%;order:3}.tool-theme .hkv-sim .workspace-layout{display:block}.tool-theme .hkv-sim .workflow-sidebar{padding:8px 10px;border-right:0;border-bottom:1px solid var(--hv-border)}.tool-theme .hkv-sim .workflow-sidebar>.sidebar-heading{display:none}.tool-theme .hkv-sim .wizard-steps{flex-direction:row;overflow:hidden}.tool-theme .hkv-sim .wizard-step{padding:4px}.tool-theme .hkv-sim .wizard-step small,.tool-theme .hkv-sim .wizard-step>span:not(.step-number){display:none}.tool-theme .hkv-sim .wizard-step--active>span:not(.step-number){display:inline}.tool-theme .hkv-sim .wizard-body{padding:10px}.tool-theme .hkv-sim .audio-mix-layout,.tool-theme .hkv-sim .editor-grid,.tool-theme .hkv-sim .export-layout,.tool-theme .hkv-sim .subtitle-player{display:flex;flex-direction:column}.tool-theme .hkv-sim .caption-cue:nth-child(n+3),.tool-theme .hkv-sim .inspector.is-secondary,.tool-theme .hkv-sim .step-navigation .module-picker,.tool-theme .hkv-sim .wizard-panel__subtitle{display:none}.tool-theme .hkv-sim .subtitle-player__monitor{order:-1}.tool-theme .hkv-sim .preview-stage,.tool-theme .hkv-sim .subtitle-player__stage{flex:none;container-type:inline-size}.tool-theme .hkv-sim .preview-stage>.hv-frame,.tool-theme .hkv-sim .subtitle-player__stage>.hv-frame{width:100%}.tool-theme .hkv-sim .episodes{grid-template-columns:1fr}.tool-theme .hkv-sim .mode-summary>div{grid-template-columns:96px minmax(0,1fr)}}