*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:#424b4e;background:#f1f4f5;margin:0;font-family:Roboto,Segoe UI,sans-serif}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #11998e}.app{flex-direction:column;min-height:100vh;display:flex}.top{color:#fff;background:#2c3333;justify-content:space-between;align-items:center;gap:24px;padding:16px 24px;display:flex}.brand{align-items:center;gap:14px;min-width:0;display:flex}.mark{flex-shrink:0;width:40px;height:40px;display:block}.top h1{color:#fff;letter-spacing:-.02em;margin:0;font-family:Montserrat Alternates,Roboto,sans-serif;font-size:1.55rem;font-weight:700;line-height:1}.top p,.hint,.status{color:#78838e}.top p{color:#a5afb6;max-width:62ch;margin:6px 0 0;line-height:1.45}.codec{color:#80d1ca;white-space:nowrap;background:#11998e2e;border-radius:999px;margin:0;padding:6px 12px;font-size:.86rem;font-weight:500}.workspace{flex:1;grid-template-columns:minmax(0,1fr) 340px;gap:16px;padding:16px 24px 24px;display:grid}.stage{background:#fff;border:1px solid #e4eaec;border-radius:8px;min-height:420px;display:grid;position:relative;overflow:hidden;box-shadow:0 1px 2px #2632380d}.stage video,.stage canvas{object-fit:contain;background:#263238;width:100%;height:100%}.preview-video,.composite{grid-area:1/1}.source-video{opacity:0;pointer-events:none;width:160px;height:90px;position:absolute}.empty{text-align:center;color:#78838e;grid-area:1/1;max-width:36ch;margin:auto;padding:24px;line-height:1.5}.lamp{color:#fff;font-variant-numeric:tabular-nums;background:#2c3333e0;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:.86rem;display:flex;position:absolute;top:14px;left:14px}.lamp i{background:#e53935;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #e5393538}.panel{background:#fff;border:1px solid #e4eaec;border-radius:8px;flex-direction:column;gap:14px;padding:16px;display:flex;box-shadow:0 1px 2px #2632380d}.panel fieldset{border:0;gap:8px;margin:0;padding:0;display:grid}.panel legend,.panel label{color:#283238;gap:8px;font-size:.86rem;font-weight:500;display:grid}.choices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.choices button,select{color:#424b4e;background:#fff;border:1px solid #ced5db;border-radius:8px;width:100%;padding:10px 12px;transition:background-color .2s,border-color .2s,color .2s}.choices button:hover:not(:disabled),select:hover:not(:disabled){border-color:#11998e}.choices.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choices button[aria-pressed=true]{color:#018a7f;background:#e6f5f4;border-color:#11998e;font-weight:700}.hint{margin:0;font-size:.82rem;line-height:1.4}.actions{gap:8px;display:grid}.actions button{border:0;border-radius:8px;padding:12px 14px;transition:background-color .2s,border-color .2s,color .2s}.primary{color:#fff;background:#11998e;font-weight:700}.primary:hover:not(:disabled){background:#018a7f}.record{color:#fff;background:#e53935;font-weight:700}.record:hover:not(:disabled){background:#c62828}.actions .ghost{color:#11998e;background:#fff;border:1px solid #11998e;font-weight:500}.ghost:hover:not(:disabled){background:#ededed}button:disabled{opacity:.45}.status{min-height:3.2em;margin:0;font-size:.9rem;line-height:1.4}.banner{color:#018a7f;background:#e6f5f4;border:1px solid #b3e3df;border-radius:8px;margin:16px 24px 0;padding:12px 14px}.chooser-backdrop{z-index:30;background:#2c333373;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.chooser{background:#fff;border-radius:8px;gap:10px;width:min(420px,100%);padding:20px;display:grid;box-shadow:0 12px 40px #26323833}.chooser h2{color:#283238;margin:0;font-family:Montserrat Alternates,Roboto,sans-serif;font-size:1.25rem}.chooser p{color:#78838e;margin:0 0 6px;line-height:1.45}.chooser button,.selector-bar button{border:0;border-radius:8px;padding:12px 14px}.chooser button{width:100%}.chooser .ghost,.selector-bar .ghost{color:#11998e;background:#fff;border:1px solid #11998e;font-weight:500}.chooser .ghost:hover:not(:disabled),.selector-bar .ghost:hover:not(:disabled){background:#ededed}.chooser .text{color:#78838e;background:0 0}.selector{z-index:2;cursor:crosshair;touch-action:none;position:absolute;inset:0}.selection{pointer-events:none;background:#11998e29;border:2px solid #11998e;position:absolute;box-shadow:0 0 0 9999px #26323873}.selection.live{box-shadow:none;background:0 0}.selector-bar{background:#fff;border:1px solid #e4eaec;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;bottom:12px;left:12px;right:12px}.selector-bar p{color:#424b4e;flex:1;margin:0;font-size:.86rem}.lamp{z-index:3}@media (width<=860px){.top,.workspace{flex-direction:column;align-items:stretch;display:flex}.codec{white-space:normal;align-self:flex-start}.stage{min-height:260px}}
