/* GENERATED from the EditMaxx Toolkit panel.css (scoped under .emx). Regenerate with tools/sim-css.py when the panel changes. */
:root{--emx-bg:#0a0a0b;--emx-bg-2:#111113;--emx-panel:#16161a;--emx-panel-host:#1e1e20;--emx-line:#26262c;--emx-text:#f4f4f5;--emx-muted:#a1a1aa;--emx-dim:#71717a;--emx-accent:#c6ff3d;--emx-accent-ink:#0a0a0b;--emx-accent-tint:rgba(198,255,61,.07);--emx-accent-tint-2:rgba(198,255,61,.15);--emx-accent-border:rgba(198,255,61,.45);--emx-glow:0 0 32px rgba(198,255,61,.35);--emx-glow-sm:0 0 10px #c6ff3d;--emx-warning:#fbbf24;--emx-error:#f87171;--emx-font-display:"Space Grotesk",system-ui,sans-serif;--emx-font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;--emx-font-mono:"JetBrains Mono",ui-monospace,Menlo,monospace;--emx-fs-label:11px;--emx-fs-body:12px;--emx-fs-button:13px;--emx-radius-pill:999px;--emx-radius-card:10px;--emx-radius-input:8px;--emx-button-h:32px;--emx-pad:12px;--emx-gap:8px;--emx-ease:150ms ease;--emx-ease-punch:cubic-bezier(.7,0,.2,1);--emx-host-bg:#1e1e20}
.emx * { box-sizing: border-box; }

.emx { text-align: left; background: var(--emx-host-bg); color: var(--emx-text); font: 400 var(--emx-fs-body)/1.4 var(--emx-font-body); -webkit-font-smoothing: antialiased; user-select: none; overflow-x: hidden; }
.emx button, .emx input { font-family: inherit; }
.emx :focus { outline: none; }
.emx :focus-visible { outline: 2px solid var(--emx-accent); outline-offset: 1px; }
.emx svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.emx .app { display: flex; flex-direction: column; min-height: 100%; padding: var(--emx-pad); margin: 0; gap: 10px; }
.emx .head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 4px; }
.emx .head .mark { width: 19px; height: 19px; flex: none; }
.emx .wordmark { font: 700 15px/1 var(--emx-font-display); letter-spacing: -0.02em; color: var(--emx-text); white-space: nowrap; }
.emx .wordmark span { color: var(--emx-accent); }
.emx .head .tag { margin-left: auto; }
.emx .mono { font: 500 var(--emx-fs-label)/1.2 var(--emx-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--emx-dim); }
.emx .tools { display: flex; flex-direction: column; gap: var(--emx-gap); }
.emx .tool { background: var(--emx-panel); border: 1px solid var(--emx-line); border-radius: var(--emx-radius-card); transition: border-color var(--emx-ease); }
.emx .tool.open { border-color: #303038; }
.emx .tool-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px var(--emx-pad); background: none; border: 0; border-radius: var(--emx-radius-card); color: var(--emx-text); cursor: pointer; text-align: left; }
.emx .tool-head .ico { color: var(--emx-muted); display: flex; transition: color var(--emx-ease); }
.emx .tool-head:hover .ico { color: var(--emx-text); }
.emx .tool.open .tool-head .ico { color: var(--emx-accent); }
.emx .tool-head .txt { flex: 1; min-width: 0; }
.emx .tool-name { font: 600 13px/1.25 var(--emx-font-body); }
.emx .tool-sum { color: var(--emx-dim); font-size: var(--emx-fs-label); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emx .tool.open .tool-sum { display: none; }
.emx .tool-head .chev { color: var(--emx-dim); display: flex; transition: transform var(--emx-ease); }
.emx .tool.open .tool-head .chev { transform: rotate(180deg); }
.emx .tool-body { display: none; padding: 2px var(--emx-pad) var(--emx-pad); }
.emx .tool.open .tool-body { display: block; }
.emx .field { margin-top: 10px; }
.emx .field:first-child { margin-top: 2px; }
.emx .field > .mono { display: flex; justify-content: space-between; margin-bottom: 6px; }
.emx .field > .mono b { font-weight: 500; color: var(--emx-text); letter-spacing: .04em; }
.emx .seg { display: flex; padding: 2px; gap: 2px; background: var(--emx-bg-2); border: 1px solid var(--emx-line); border-radius: var(--emx-radius-input); }
.emx .seg button { flex: 1; height: 26px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--emx-muted); font: 600 var(--emx-fs-body)/1 var(--emx-font-body); cursor: pointer; white-space: nowrap; transition: background var(--emx-ease), color var(--emx-ease); }
.emx .seg button:hover { color: var(--emx-text); }
.emx .seg button.on { background: var(--emx-accent-tint-2); color: var(--emx-accent); box-shadow: inset 0 0 0 1px var(--emx-accent-border); }
.emx .slider { display: flex; align-items: center; gap: 10px; height: 20px; }
.emx .slider input { -webkit-appearance: none; flex: 1; height: 4px; margin: 0; border-radius: 2px; background: var(--emx-line); cursor: pointer; }
.emx .slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--emx-accent); box-shadow: 0 0 8px rgba(198, 255, 61, .55); }
.emx .slider .val { font: 500 var(--emx-fs-label)/1 var(--emx-font-mono); color: var(--emx-text); min-width: 52px; text-align: right; }
.emx .btn { width: 100%; height: var(--emx-button-h); margin-top: 12px; border-radius: var(--emx-radius-pill); font: 600 var(--emx-fs-button)/1 var(--emx-font-body); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: transform var(--emx-ease), background var(--emx-ease), box-shadow var(--emx-ease), border-color var(--emx-ease), color var(--emx-ease); }
.emx .btn:active:not(:disabled) { transform: scale(.98); }
.emx .btn-primary { background: var(--emx-accent); color: var(--emx-accent-ink); border: 0; }
.emx .btn-primary:hover:not(:disabled) { box-shadow: var(--emx-glow); }
.emx .btn-ghost { background: transparent; color: var(--emx-text); border: 1px solid var(--emx-line); height: 30px; margin-top: 8px; font-size: var(--emx-fs-body); }
.emx .btn-ghost:hover:not(:disabled) { border-color: var(--emx-muted); }
.emx .btn:disabled { background: var(--emx-line); color: var(--emx-dim); border-color: var(--emx-line); cursor: default; box-shadow: none; }
.emx .hint { color: var(--emx-dim); font-size: var(--emx-fs-label); line-height: 1.45; margin-top: 10px; }
.emx .check { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; color: var(--emx-text); font-size: var(--emx-fs-body); }
.emx .check input { position: absolute; opacity: 0; width: 0; height: 0; }
.emx .check .box { width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1px solid var(--emx-dim); background: var(--emx-bg-2); display: flex; align-items: center; justify-content: center; transition: background var(--emx-ease), border-color var(--emx-ease); }
.emx .check .box svg { width: 10px; height: 10px; fill: none; stroke: var(--emx-accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.emx .check input:checked + .box { background: var(--emx-accent); border-color: var(--emx-accent); }
.emx .check input:checked + .box svg { opacity: 1; }
.emx .check input:focus-visible + .box { outline: 2px solid var(--emx-accent); outline-offset: 1px; }
.emx .check:hover .box { border-color: var(--emx-muted); }
.emx .adv { margin-top: 12px; border-top: 1px solid var(--emx-line); }
.emx .adv-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 0 4px; background: none; border: 0; cursor: pointer; color: var(--emx-dim); border-radius: 4px; }
.emx .adv-head:hover, .emx .adv-head:hover .mono { color: var(--emx-text); }
.emx .adv-head svg.i { width: 14px; height: 14px; transition: transform var(--emx-ease); }
.emx .adv.open .adv-head svg.i { transform: rotate(180deg); }
.emx .adv-body { display: none; padding-top: 2px; }
.emx .adv.open .adv-body { display: block; }
.emx .divider { height: 1px; background: var(--emx-line); margin: 14px 0 0; }
.emx .progress { margin-top: 12px; display: none; }
.emx .progress.show { display: block; }
.emx .progress .track { height: 4px; background: var(--emx-line); border-radius: 2px; overflow: hidden; }
.emx .progress .fill { height: 100%; width: 0; background: var(--emx-accent); box-shadow: var(--emx-glow-sm); transition: width .3s var(--emx-ease-punch); }
.emx .progress .row { display: flex; justify-content: space-between; margin-top: 6px; }
.emx .progress .row .mono:first-child { color: var(--emx-text); }
.emx .progress .now { color: var(--emx-muted); font-size: var(--emx-fs-label); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emx .badge { font: 500 10px/1 var(--emx-font-mono); letter-spacing: .08em; padding: 3px 6px; border-radius: var(--emx-radius-pill); text-transform: uppercase; }
.emx .badge-new { background: var(--emx-accent); color: var(--emx-accent-ink); }
.emx .badge-soon { background: var(--emx-line); color: var(--emx-muted); }
.emx .activity { margin-top: 2px; }
.emx .activity-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 6px; }
.emx .link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--emx-dim); font: 500 10px/1 var(--emx-font-mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; }
.emx .link-btn:hover { color: var(--emx-text); }
.emx .log { background: var(--emx-bg-2); border: 1px solid var(--emx-line); border-radius: var(--emx-radius-input); padding: 8px 10px; max-height: 168px; overflow-y: auto; user-select: text; }
.emx .log .empty { color: var(--emx-dim); font-size: var(--emx-fs-label); }
.emx .entry { display: flex; gap: 8px; padding: 3px 0; font-size: var(--emx-fs-label); line-height: 1.45; color: var(--emx-muted); }
.emx .entry + .entry { border-top: 1px solid rgba(38, 38, 44, .6); }
.emx .entry time { font: 500 10px/1.6 var(--emx-font-mono); color: var(--emx-dim); flex: none; }
.emx .entry .msg { white-space: pre-wrap; word-break: break-word; }
.emx .entry.ok .msg::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 1px; background: var(--emx-accent); transform: rotate(45deg); }
.emx .entry.warn .msg { color: var(--emx-warning); }
.emx .entry.error .msg { color: var(--emx-error); }
.emx .log::-webkit-scrollbar { width: 8px; }
.emx .log::-webkit-scrollbar-thumb { background: var(--emx-line); border-radius: 4px; }
.emx .foot { margin-top: auto; padding: 8px 2px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.emx .foot .mono { font-size: 10px; white-space: nowrap; }
.emx .foot a { color: var(--emx-dim); text-decoration: none; font: 500 10px/1 var(--emx-font-mono); letter-spacing: .04em; display: flex; align-items: center; gap: 3px; border-radius: 4px; }
.emx .foot a:hover { color: var(--emx-accent); }
.emx .foot a svg.i { width: 11px; height: 11px; }

/* ===== STAGE: the simulated Premiere Pro next to the panel ===== */
.sim { display: grid; grid-template-columns: 300px 1fr; gap: 16px; padding: 16px !important; align-items: start; }
.sim .emx { border-radius: 10px; border: 1px solid #2a2a2e; box-shadow: 0 20px 50px rgba(0,0,0,.45); min-height: 100%; }
.sim .emx .log { max-height: 150px; }
.sim .emx .tool-body .btn { margin-top: 12px; }
.stg { background: #232323; border: 1px solid #2f2f2f; border-radius: 10px; overflow: hidden; color: #d4d4d8; font: 400 12px/1.4 var(--emx-font-body); user-select: none; min-width: 0; }
.stg-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #1c1c1c; border-bottom: 1px solid #0f0f0f; flex-wrap: wrap; }
.stg-tab { font: 500 11px/1 var(--emx-font-mono); letter-spacing: .04em; color: #e4e4e7; background: #2b2b2b; border: 1px solid #3a3a3a; border-radius: 4px; padding: 5px 8px; }
.stg-hint { color: #8a8a90; font-size: 11px; flex: 1; min-width: 120px; }
.stg-btn { background: #2b2b2b; border: 1px solid #3a3a3a; color: #d4d4d8; font: 600 11px/1 var(--emx-font-body); padding: 6px 10px; border-radius: 4px; cursor: pointer; }
.stg-btn:hover { border-color: #5a5a5a; color: #fff; }
.stg-mon { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; border-bottom: 1px solid #0f0f0f; }
.mon-img { position: absolute; inset: 0; background: linear-gradient(180deg, #1f2a3a 0%, #2d3e55 55%, #3a3a46 56%, #202028 100%); transform-origin: 50% 50%; will-change: transform; }
.mon-img::before { content: ""; position: absolute; left: 50%; top: 24%; width: 15%; aspect-ratio: 3/4; transform: translateX(-50%); border-radius: 46% 46% 8px 8px; background: linear-gradient(180deg, #e9c9a8 0 32%, #c6ff3d 32%); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mon-img::after { content: ""; position: absolute; left: 50%; top: 55%; width: 26%; height: 24%; transform: translateX(-50%); border-radius: 10px 10px 0 0; background: #c6ff3d; opacity: .85; }
.mon-tag { position: absolute; top: 8px; font: 500 10px/1 var(--emx-font-mono); letter-spacing: .06em; text-transform: uppercase; color: #cfcfd4; background: rgba(0,0,0,.55); padding: 4px 7px; border-radius: 4px; }
.mon-tag.l { left: 8px; } .mon-tag.r { right: 8px; } .mon-tag.r.on { color: #0a0a0b; background: #c6ff3d; }
.stg-tl { padding: 8px 10px 10px; }
.stg-ruler { position: relative; height: 22px; margin-left: 44px; border-bottom: 1px solid #3a3a3a; background: repeating-linear-gradient(90deg, #4a4a4a 0 1px, transparent 1px 10%) bottom / 100% 6px no-repeat; }
.stg-ruler i { position: absolute; bottom: 7px; font: 500 9px/1 var(--emx-font-mono); color: #7a7a80; transform: translateX(-50%); }
.stg-mk { position: absolute; top: 2px; width: 9px; height: 9px; border-radius: 2px; transform: translateX(-50%) rotate(45deg); background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,.6); }
.stg-mk.bad { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,.6); }
.stg-head { position: absolute; top: 0; bottom: 0; width: 2px; background: #c6ff3d; box-shadow: 0 0 8px #c6ff3d; z-index: 3; pointer-events: none; display: none; }
.stg-head::before { content: ""; position: absolute; top: -1px; left: -5px; border: 6px solid transparent; border-top: 8px solid #c6ff3d; }
.stg-tracks { position: relative; display: grid; gap: 3px; margin-top: 4px; }
.stg-track { display: grid; grid-template-columns: 40px 1fr; gap: 4px; align-items: stretch; height: 38px; }
.stg-track.a { height: 30px; }
.stg-th { background: #2a2a2a; border-radius: 3px; display: flex; align-items: center; justify-content: center; font: 500 10px/1 var(--emx-font-mono); color: #9a9aa0; }
.stg-lane { position: relative; background: #1b1b1b; border-radius: 3px; }
.sclip { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; overflow: hidden; background: #5b4fc9; border: 1px solid transparent; cursor: pointer; transition: left .6s var(--emx-ease-punch), width .4s ease, opacity .3s, border-color .15s; }
.sclip.v2 { background: #3f8ec9; } .sclip.v3 { background: #b4569a; }
.sclip.a { background: #2f6f4e; cursor: default; }
.sclip.a::before { content: ""; position: absolute; inset: 13px 0 3px; opacity: .55; background: repeating-linear-gradient(90deg, #9be7b8 0 1px, transparent 1px 3px); -webkit-mask: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.sclip.a.rec { background: #8a4a7a; } .sclip.a.rec::before { background: repeating-linear-gradient(90deg, #f3b5e0 0 1px, transparent 1px 3px); }
.sclip-name { position: absolute; left: 5px; top: 3px; font: 500 9px/1 var(--emx-font-mono); color: rgba(255,255,255,.85); white-space: nowrap; }
.sclip.sel { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.sclip.off { opacity: .35; }
.sclip-mk { position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: #4ade80; }
.sclip-tags { position: absolute; right: 4px; bottom: 3px; display: flex; gap: 3px; }
.sclip-tags i { font: 600 8px/1 var(--emx-font-mono); letter-spacing: .04em; padding: 2px 4px; border-radius: 3px; background: rgba(0,0,0,.45); color: #e4e4e7; font-style: normal; }
.sclip-tags i.warp { background: #c6ff3d; color: #0a0a0b; }
.sclip-tags i.spd { background: #fbbf24; color: #0a0a0b; }
.sclip-busy { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #c6ff3d; box-shadow: 0 0 6px #c6ff3d; transition: width 1.4s linear; }
.skf { position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; background: #c6ff3d; transform: rotate(45deg); box-shadow: 0 0 5px #c6ff3d; }
.skf.l { left: 3px; } .skf.r { right: 3px; }
.skf.unfit { background: #f87171; box-shadow: 0 0 5px #f87171; }
.stg-note { padding: 0 10px 10px; color: #8a8a90; font-size: 11px; }
.stg-note b { color: #d4d4d8; font-weight: 600; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } .sim .emx { max-width: 360px; margin: 0 auto; } }
@media (max-width: 560px) { .sim { padding: 10px !important; } .stg-track { grid-template-columns: 32px 1fr; } .sclip-name { font-size: 8px; } .stg-hint { display: none; } }

/* Guard the panel controls against the site's own form styles (.field input etc.) */
.emx .field { display: block; gap: 0; margin-bottom: 0; }
.emx .field .slider input { -webkit-appearance: none; appearance: none; width: auto; height: 4px; min-height: 0; padding: 0; border: 0; border-radius: 2px; background: var(--emx-line); font-size: inherit; color: inherit; }
.emx .field .slider input:focus { outline: none; }
.emx .field .slider input:focus-visible { outline: 2px solid var(--emx-accent); outline-offset: 2px; }
.emx .check input { position: absolute; width: 0; height: 0; padding: 0; }
.emx .check { font-size: var(--emx-fs-body); line-height: 1.3; }
.emx .seg button { width: auto; }
.emx .tool-head { width: 100%; }
.emx .btn { height: var(--emx-button-h); padding: 0 12px; }
.emx .btn-ghost { height: 30px; }
.emx a { text-decoration: none; }
.mon-img.real { background: #000 radial-gradient(60% 80% at 50% 40%, #1c2430, #000); }
.mon-img.real::before, .mon-img.real::after { display: none; }
.mon-img.real video { width: 100%; height: 100%; object-fit: cover; display: block; }
