.motion-player{position:relative;isolation:isolate;overflow:hidden;width:100%;background:#181316;border-radius:12px;line-height:1.4;color:#fff;font-family:var(--cl-font-sans,Arial,sans-serif)}
.motion-player canvas{display:block;width:100%;height:auto;max-height:80svh;object-fit:contain}
.motion-player-surface{position:relative}
.motion-player-controls{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#201920;color:#f6edf2;font-size:11px}
.motion-player-controls button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #ffffff24;border-radius:6px;margin:0;padding:7px 9px;min-height:31px;font:inherit;color:inherit;background:#ffffff09;cursor:pointer;white-space:nowrap}
.motion-player-controls button:hover{background:#ffffff1b}
.motion-player-controls input[type=range]{display:block;min-width:24px;width:auto;flex:1;margin:0;padding:0;accent-color:var(--vm-brand-300);background:transparent}
.motion-player-controls>span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px}
.motion-player-loading,.motion-player-error{position:absolute;inset:auto 12px 58px;z-index:2;padding:10px 14px;border-radius:8px;background:#201720de;color:#fff;font-size:12px;text-align:center}
.motion-player-loading{left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}
.motion-player:fullscreen{display:flex;flex-direction:column;justify-content:center;height:100%;border-radius:0;background:#09070a}
.motion-player:fullscreen canvas{max-height:calc(100svh - 50px);width:100%;height:calc(100svh - 50px);object-fit:contain}
.motion-player:fullscreen .motion-player-controls{position:absolute;bottom:0;left:0;right:0}
#video-sample-player{position:absolute;inset:0;z-index:2}
#video-sample-player .motion-player{height:100%;border-radius:0}
#video-sample-player canvas{height:100%;object-fit:cover;max-height:none}
#video-sample-player .motion-player-controls{position:absolute;bottom:0;left:0;right:0;background:#201720c9;backdrop-filter:blur(12px);padding:5px 8px;opacity:.55;transition:opacity .2s}
#video-sample-player:hover .motion-player-controls,#video-sample-player:focus-within .motion-player-controls{opacity:1}
#video-sample-player .motion-player-controls button{padding:5px;font-size:9px;min-height:26px}
[data-video-card]{position:relative}
.video-sample-preview{position:absolute;z-index:3;top:10px;right:10px;border:1px solid #ffffff65;border-radius:999px;background:#231622bb;color:white;backdrop-filter:blur(8px);padding:7px 12px;font:500 11px/1.5 Arial,sans-serif;cursor:pointer;box-shadow:0 3px 12px #0002}
.video-sample-preview:hover{background:var(--vm-strong)}
.motion-studio{padding-top:100px}
.motion-studio .ws-editor.ws-motion{grid-template-columns:320px minmax(0,1fr)}
.motion-studio .ws-stage{position:sticky;top:80px;min-width:0;min-height:0;padding:18px;background:#ece3e7}
.motion-studio .ws-editor>aside{max-height:calc(100svh - 100px);top:80px}
.motion-template-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 18px}
.motion-template-heading h2{margin:7px 0;font-size:26px}
.motion-template-heading small{font-size:9px;letter-spacing:2px;color:#987180}
.motion-template-heading p{font-size:13px;color:#87747d;margin:0}
.motion-template-picker{max-height:540px;overflow:auto}
.motion-template-picker>label{max-width:300px;margin-top:0}
.motion-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.motion-template-grid>button{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;padding:0;overflow:hidden;border:2px solid transparent;background:#fcf6f8;text-align:left}
.motion-template-grid>button[aria-pressed=true]{border-color:var(--vm-brand-400);background:var(--vm-brand-50)}
.motion-template-grid img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.motion-template-grid>button>span{padding:9px 12px;font-size:12px}
.motion-led-thumbnail{display:grid;place-items:center;min-height:100px;background:radial-gradient(ellipse at bottom,#9270bd,#140b28);color:#e9d2ff;font-size:40px!important}
.motion-studio input[type=range]{accent-color:var(--vm-brand-400);padding:0}
.motion-checkbox{display:flex!important;align-items:center;gap:10px;font-size:12px!important}
.motion-checkbox input[type=checkbox]{display:block;width:auto;flex-shrink:0;accent-color:var(--vm-brand-400)}
.motion-stage-caption{text-align:center;font-size:11px}
.ws-public.ws-public-motion{max-width:none;min-height:100svh;padding:18px;background:#130d14;color:#f9edf6}
.ws-public-motion .motion-player{max-width:1600px;margin:auto}
.ws-public-motion .motion-player canvas{max-height:calc(100svh - 100px)}
.ws-public-motion>a{display:block;margin:14px;text-align:center;color:#d6a9bb;font:12px Arial,sans-serif}
@media(max-width:900px){
 .motion-studio .ws-editor.ws-motion{grid-template-columns:260px minmax(0,1fr)}
 .motion-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .motion-player-controls{gap:5px;padding-inline:7px;font-size:10px}
}
@media(max-width:700px){
 .motion-studio{padding-top:88px}
 .motion-studio .ws-editor.ws-motion{display:flex;flex-direction:column}
 .motion-studio .ws-stage{order:-1;position:static;width:100%;padding:8px}
 .motion-studio .ws-editor>aside{max-height:none;width:100%;position:static}
 .motion-template-heading h2{font-size:22px}
 .motion-template-heading>button{font-size:12px;padding:9px}
 .motion-template-heading p{font-size:11px}
 .motion-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .motion-template-grid>button>span{font-size:11px;padding:8px}
 .motion-player-controls button{padding:6px;font-size:9px}
 .motion-player-controls>span{font-size:8px}
 .motion-player-controls{gap:4px}
 #video-sample-player .motion-player-controls>span{display:none}
 .ws-public.ws-public-motion{padding:8px}
}
@media(prefers-reduced-motion:reduce){.motion-player-controls{transition:none!important}}

/* Video workspace shares the invitation editor's compact tools and rose accents. */
body:has(.motion-studio-video){overflow:hidden}
#local-workspace.motion-studio-video.ws-main{
  position:fixed;inset:0;z-index:1001;display:flex;flex-direction:column;
  width:100%;height:100dvh;min-height:0;max-width:none;padding:0;margin:0;
  background:#f5f5f7;color:#302a2d;overflow:hidden;
  font-family:var(--site-font-ui,Arial,sans-serif);
}
.motion-studio-video,.motion-studio-video *{box-sizing:border-box}
.motion-studio-video.ws-main button,.motion-studio-video.ws-main a{margin:0}
.motion-studio-video button{cursor:pointer;font-family:inherit}
.motion-studio-video button:disabled{opacity:.52;cursor:not-allowed}
.motion-studio-video :is(button,a,input,textarea,select):focus-visible{
  outline:2px solid #b5335c;outline-offset:2px;
}
#local-workspace.motion-studio-video>.video-editor-topbar{
  min-height:68px;padding:10px 18px;background:#fff;border-bottom:1px solid #e6e5e9;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;z-index:3;
}
.video-editor-identity{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.video-editor-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#202024;font-size:20px;font-weight:750;letter-spacing:-.7px;flex:none}
.video-editor-brand img{display:block;width:32px;height:32px}
.video-editor-brand b{color:#e52d56;font-weight:600}
.motion-studio-video.ws-main .video-editor-back{
  width:30px;height:38px;border:0;background:transparent;border-radius:8px;
  display:grid;place-items:center;color:#5a525b;flex:none;text-decoration:none;
}
.video-editor-back svg{width:20px;height:20px}
.video-editor-title{min-width:0;border-left:1px solid #e6e5e9;padding-left:14px}
.video-editor-title>span{display:block;font-size:11px;line-height:17px;margin-top:2px;color:#33875d}
.video-editor-title>span.video-editor-unsaved{color:#9f6b30}
#local-workspace.motion-studio-video .video-editor-title h1{
  margin:0;font-size:15px;line-height:1.4;font-weight:650;letter-spacing:0;
  max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.video-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:none}
.video-editor-collection{font-size:12px;text-decoration:none;color:#817780;padding:9px}
.video-editor-save-state{display:inline-flex;gap:7px;align-items:center;margin-right:5px;color:#438260;font-size:12px;white-space:nowrap;font-weight:650}
.video-editor-save-state>span{font-size:9px}
.video-editor-save-state.video-editor-unsaved{color:#b07638}
#local-workspace.motion-studio-video .video-editor-actions button{
  display:inline-flex;align-items:center;gap:8px;justify-content:center;
  min-height:41px;padding:8px 14px;border-radius:10px;border:1px solid #e4dce1;
  font-size:13px;font-weight:700;white-space:nowrap;background:#fff;color:#40363d;
}
.video-editor-actions svg{width:17px;height:17px;flex:none}
#local-workspace.motion-studio-video .video-editor-actions .video-editor-export-main{
  border-color:#e52d56;background:#e52d56;color:#fff;
}
#local-workspace.motion-studio-video .video-editor-actions .video-editor-export-main:hover:not(:disabled){background:#cb2047}
.video-editor-layout{
  display:grid;grid-template-columns:76px 320px minmax(0,1fr);
  flex:1;min-height:0;min-width:0;overflow:hidden;
}
.video-editor-nav{
  display:flex;flex-direction:column;gap:7px;min-width:0;overflow:auto;
  padding:12px 5px;background:#fff;border-right:1px solid #e6e5e9;
}
.video-editor-nav-label,.video-editor-nav-foot{display:none}
#local-workspace.motion-studio-video .video-editor-nav>button{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  min-height:70px;width:100%;padding:9px 2px;background:transparent;
  color:#655b64;border:0;border-radius:8px;text-align:center;flex:none;
}
#local-workspace.motion-studio-video .video-editor-nav>button[aria-pressed=true]{
  background:#fff0f4;color:#dc2350;
}
#local-workspace.motion-studio-video .video-editor-nav>button[aria-pressed=true]:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;background:#e52d56;border-radius:4px}
.video-editor-nav-icon{width:30px;height:30px;display:grid;place-items:center;flex:none}
.video-editor-nav-icon svg{width:20px;height:20px}
.video-editor-nav-text{display:flex;flex-direction:column;min-width:0}
.video-editor-nav-text b{font-size:11px;line-height:1.4;font-weight:500}
.video-editor-nav-text small{display:none}
.video-editor-nav-number{display:none}
.video-editor-nav-foot{display:none}
.video-editor-nav-foot span:before{content:'✓ ';color:#b44969;font-weight:800}
.video-editor-panel{
  display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;
  border-right:1px solid #ebe7ec;box-shadow:4px 0 14px #33252e07;
}
.video-editor-panel-header{position:relative;flex:none;padding:22px 20px 16px;border-bottom:1px solid #f1edf0}
#local-workspace.motion-studio-video .video-editor-panel-close{display:none}
.video-editor-step{font-size:10px;color:#bb365b;font-weight:800;letter-spacing:1.3px}
#local-workspace.motion-studio-video .video-editor-panel-header h2{
  margin:7px 0;font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.4px;color:#302a2d;
}
.video-editor-panel-header p{margin:0;font-size:12px;line-height:1.65;color:#887c88}
.video-editor-panel-scroll{min-height:0;overflow-y:auto;padding:18px 20px 30px;overscroll-behavior:contain;scrollbar-width:thin}
.video-editor-form{display:grid;gap:16px}
.video-editor-tip{background:#fff6f8;border:1px solid #f3e0e6;border-radius:12px;padding:13px 15px}
.video-editor-tip strong{font-size:13px;color:#a63557}
.video-editor-tip p{font-size:12px;line-height:1.65;color:#766a74;margin:5px 0 0}
.video-editor-field-group{padding:15px 15px 3px;border:1px solid #eae5e9;background:#fff;border-radius:13px;min-width:0}
.video-editor-field-group h3{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:750;margin:0 0 12px}
.video-editor-field-group h3>span{display:grid;place-items:center;flex:none;width:26px;height:26px;background:#f9ecf0;border-radius:8px;font-size:10px;color:#a73456}
.video-editor-form label,.video-editor-panel .video-editor-secondary-settings label{
  display:block;margin:0 0 14px;color:#4c434b;font-size:12px;font-weight:650;line-height:1.5;
}
#local-workspace.motion-studio-video .video-editor-form :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){
  display:block;width:100%;min-height:42px;margin:7px 0 0;padding:9px 12px;
  font-size:14px;font-weight:450;color:#332b33;background:#fff;border:1px solid #e3dde2;
  border-radius:9px;max-width:100%;
}
#local-workspace.motion-studio-video .video-editor-form textarea{resize:vertical;min-height:86px}
#local-workspace.motion-studio-video .video-editor-form input[type=date]{min-width:0}
#local-workspace.motion-studio-video .video-editor-form input[type=color]{
  width:100%;height:44px;padding:5px;cursor:pointer;
}
.video-editor-form label>output{float:right;font-variant-numeric:tabular-nums;color:#b23d60;font-weight:750}
#local-workspace.motion-studio-video .video-editor-form input[type=range]{
  display:block;width:100%;margin-top:12px;min-height:18px;accent-color:#aa365b;
}
.video-editor-field-note{margin:-3px 0 12px;font-size:11px;color:#90838e;line-height:1.6}
.video-editor-secondary-settings{border:1px solid #eee8ec;border-radius:11px;padding:0 13px 12px;background:#fdfbfc}
.video-editor-secondary-settings summary{padding:12px 1px;font-size:12px;font-weight:700;cursor:pointer;color:#645863}
.video-editor-secondary-settings label{margin-top:10px}
.video-editor-sharing{padding:15px}
.video-editor-sharing h3{font-size:13px;margin:0 0 11px;color:#514552}
#local-workspace.motion-studio-video .video-editor-next{
  display:flex;gap:10px;align-items:center;justify-content:center;
  min-height:44px;border-radius:10px;border:1px solid #d6a7b6;background:#fff4f7;
  font-weight:750;font-size:12px;color:#a43055;
}
.video-editor-next span{margin-left:auto}
.video-editor-current-template{background:#fff7f9;border:1px solid #f0dbe3;border-radius:11px;padding:14px}
.video-editor-current-template>span{display:block;font-size:9px;letter-spacing:1px;color:#b14265;font-weight:750}
.video-editor-current-template strong{display:block;margin-top:5px;font-size:16px}
.video-editor-current-template p{font-size:11px;line-height:1.5;margin:5px 0 0;color:#7b6e7a}
.video-editor-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#local-workspace.motion-studio-video .video-editor-template-grid>button{
  display:block;text-align:left;min-width:0;padding:5px;overflow:hidden;
  background:#fff;border:1px solid #ebe6ea;border-radius:11px;
}
#local-workspace.motion-studio-video .video-editor-template-grid>button[aria-pressed=true]{border:2px solid #b33c60;background:#fff5f7;padding:4px}
.video-editor-template-thumb{display:block;position:relative;overflow:hidden;border-radius:7px;background:#ece2e7}
.video-editor-template-thumb>img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.video-editor-template-thumb>span:not(.video-editor-template-selected){display:grid;place-items:center;min-height:70px}
.video-editor-template-selected{position:absolute;right:4px;bottom:4px;font-size:9px;color:#fff;background:#ad3a5e;padding:2px 5px;border-radius:4px}
.video-editor-template-name{display:block;font-size:11px;font-weight:650;padding:6px 4px 4px;color:#4a4248;line-height:1.3}
.video-editor-preview-thumb{position:relative;background:#efe7ec;border:1px solid #e9e1e6;border-radius:11px;overflow:hidden}
.video-editor-preview-thumb img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.video-editor-preview-thumb>span{display:block;padding:9px 12px;font-size:11px;color:#5e505c;font-weight:650}
.video-editor-subtitle{font-size:14px;font-weight:750;margin:0 0 -6px}
.video-editor-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#local-workspace.motion-studio-video .video-editor-choice-grid>button{
  min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;
  min-height:77px;padding:10px 8px;background:#fff;border:1px solid #e6e0e6;border-radius:10px;text-align:left;
}
#local-workspace.motion-studio-video .video-editor-choice-grid>button[aria-pressed=true]{border-color:#ad4264;background:#fff3f7}
.video-editor-choice-grid strong{font-size:11px;line-height:1.2}
.video-editor-choice-grid small{color:#998b95;font-size:10px;line-height:1.3}
.video-editor-photo-upload{
  position:relative;display:flex!important;gap:12px;align-items:center;min-height:66px;
  border:1px dashed #cfa5b5;border-radius:11px;background:#fffbfc;
  padding:12px;cursor:pointer;margin:0!important;
}
.video-editor-photo-upload svg{width:25px;height:25px;color:#b34268;flex:none}
.video-editor-photo-upload span{display:flex;flex-direction:column;gap:4px}
.video-editor-photo-upload strong{font-size:13px}
.video-editor-photo-upload small{font-size:11px;color:#968693}
.video-editor-photo-upload input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;padding:0!important;left:50%;bottom:0}
.video-editor-photo-upload:focus-within{outline:2px solid #b1365c;outline-offset:2px}
.video-editor-finish-heading{padding:18px;border:1px solid #e7e2e6;border-radius:12px;text-align:center;background:#fbfafb}
.video-editor-finish-heading svg{display:block;margin:0 auto 8px;width:30px;height:30px;color:#4a9b73}
.video-editor-finish-heading h3{margin:0;font-size:15px}
.video-editor-finish-heading p{font-size:12px;color:#877884;line-height:1.6;margin:6px 0 0}
.video-editor-export-card{border:1px solid #eed3df;padding:17px;border-radius:12px;background:linear-gradient(150deg,#fff5f8,#fff)}
.video-editor-export-card>span{font-size:9px;letter-spacing:1.2px;color:#bd3c63;font-weight:800}
.video-editor-export-card h3{margin:7px 0;font-size:18px}
.video-editor-export-card p,.video-editor-export-secondary p{margin:0 0 12px;font-size:12px;color:#7e707b;line-height:1.6}
#local-workspace.motion-studio-video .video-editor-export-card button{
  display:flex;gap:8px;align-items:center;justify-content:center;width:100%;min-height:45px;
  background:#aa3357;color:#fff;border:1px solid #aa3357;border-radius:10px;font-size:13px;font-weight:750;
}
.video-editor-export-card button svg{width:17px;height:17px}
.video-editor-export-secondary{padding:15px;border:1px solid #ebe5e9;border-radius:12px}
.video-editor-export-secondary strong{font-size:13px}
.video-editor-export-secondary p{margin:5px 0 10px}
#local-workspace.motion-studio-video .video-editor-export-secondary button{background:#fff;border:1px solid #dccbd3;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:700}
#local-workspace.motion-studio-video .video-editor-secondary-settings button{padding:9px 13px;font-size:12px;border:1px solid #e2c4d0;border-radius:8px;background:white;color:#9f3657}
.video-editor-shared{display:grid;gap:10px;padding:12px 0}
.video-editor-shared>a{font-size:12px;color:#a33c60}
.video-editor-stage{min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 30%,#fff0f470,transparent 65%),#f5f5f7;overflow:auto}
.video-editor-stage-heading{
  flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:20px 28px;font-size:10px;font-weight:750;letter-spacing:.6px;color:#8b8089;
}
.video-editor-stage-heading>div{display:flex;align-items:center;gap:9px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.video-editor-live-dot{display:inline-block;width:7px;height:7px;background:#49a27a;border-radius:50%;box-shadow:0 0 0 3px #49a27a1a;flex:none}
.video-editor-stage-separator{color:#c0b7bf;font-weight:450}
.video-editor-preview-area{max-width:1060px;width:100%;padding:12px 36px 26px;margin:auto;flex:none}
.video-editor-player-frame{min-width:0;width:100%;margin:auto}
.video-editor-player-frame .motion-player{overflow:visible;border-radius:0;background:transparent;color:#544953}
.motion-player-television .motion-player-screen{position:relative;padding:clamp(6px,.8vw,11px);padding-bottom:0;border:1px solid #414148;border-radius:clamp(8px,1vw,14px);background:linear-gradient(135deg,#414148,#161619 35%,#27272c);box-shadow:0 16px 35px #29232c22,inset 0 1px 1px #ffffff40;overflow:hidden}
.motion-player-television .motion-player-surface{aspect-ratio:16/9;background:#050506;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px #000}
.video-editor-player-frame .motion-player canvas{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.video-television-chin{position:relative;display:flex;justify-content:center;align-items:center;height:clamp(15px,1.8vw,23px);color:#a3a1a8;font-size:7px;letter-spacing:2px;font-weight:600}
.video-television-chin i{position:absolute;right:5%;width:3px;height:3px;border-radius:50%;background:#a2dcb6;box-shadow:0 0 5px #9fe0ad60}
.video-television-stand{position:relative;height:clamp(19px,2.4vw,32px);margin:0 4% 12px}
.video-television-stand:after{content:'';position:absolute;inset:40% 0 0;border-radius:50%;background:#201b2516;filter:blur(7px)}
.video-television-stand i{position:absolute;z-index:1;top:-2px;width:9%;height:90%;background:linear-gradient(100deg,#56555d,#1f1f23);clip-path:polygon(58% 0,75% 0,100% 100%,0 100%)}
.video-television-stand i:first-child{left:9%;transform:skewX(-14deg)}
.video-television-stand i:last-child{right:9%;transform:scaleX(-1) skewX(-14deg)}
.video-editor-player-frame .motion-player-controls{color:#544953;background:#fff;border:1px solid #e4e1e7;border-radius:12px;padding:8px 12px;gap:10px;box-shadow:0 3px 10px #30202d04}
.video-editor-player-frame .motion-player-controls button{background:transparent;border:0;min-height:40px;min-width:36px;border-radius:7px;font-size:12px}
.video-editor-player-frame .motion-player-controls button:hover{background:#fff0f4}
.video-editor-player-frame .motion-player-controls button:first-child{background:#fff0f4;color:#d92752;font-size:15px}
.video-editor-player-frame .motion-player-controls input[type=range]{min-height:36px;accent-color:#e52d56}
.video-editor-player-frame .motion-player-controls>span{font-size:11px}
.video-editor-player-frame .motion-player-loading,.video-editor-player-frame .motion-player-error{bottom:12px}
.motion-player-television:fullscreen{background:#09070a}
.motion-player-television:fullscreen .motion-player-screen{padding:0;border:0;border-radius:0;box-shadow:none;width:100%;height:calc(100% - 60px)}
.motion-player-television:fullscreen .motion-player-surface{height:100%;aspect-ratio:auto;box-shadow:none}
.motion-player-television:fullscreen :is(.video-television-chin,.video-television-stand){display:none}
.motion-player-television:fullscreen .motion-player-controls{border-radius:0;background:#211c24;color:white;border:0}
.video-editor-preview-explain{max-width:680px;margin:15px auto 18px;color:#817780;font-size:12px;text-align:center;line-height:1.6}
.video-editor-storyboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 10px}
.video-editor-storyboard-heading strong{font-size:13px;color:#453c45}
.video-editor-storyboard-heading span{font-size:11px;color:#a095a0}
.video-editor-storyboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.video-editor-storyboard:has(>button:only-child){grid-template-columns:1fr}
#local-workspace.motion-studio-video .video-editor-storyboard>button{
  min-width:0;min-height:65px;display:flex;align-items:center;gap:10px;
  padding:12px;background:#fff;border:1px solid #e6e1e6;border-radius:11px;text-align:left;color:#5a505b;
}
#local-workspace.motion-studio-video .video-editor-storyboard>button:hover{border-color:#b87e95}
#local-workspace.motion-studio-video .video-editor-storyboard>button[aria-pressed=true]{background:#fff8fa;border-color:#d3a5b7}
.video-editor-storyboard-index{font-size:20px;font-weight:750;color:#b5a6b0}
.video-editor-storyboard button>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.video-editor-storyboard strong{font-size:12px;line-height:1.3;white-space:normal}
.video-editor-storyboard small{font-size:10px;color:#998e98}
.video-editor-storyboard button>span:last-child{color:#b04b6b;font-size:11px}
.video-editor-stage-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9e4e9;padding:13px 26px;background:#fff}
.video-editor-stage-footer>span{display:flex;gap:8px;align-items:center;color:#827481;font-size:11px}
.video-editor-stage-footer svg{width:15px;height:15px}
#local-workspace.motion-studio-video .video-editor-stage-footer button{display:flex;align-items:center;gap:7px;border-radius:8px;padding:9px 12px;background:#fff4f7;color:#a73b5b;font-weight:750;font-size:12px;border:1px solid #eec8d5}
.video-editor-recovery,.video-editor-recording{flex:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 24px;background:#fff9ea;border-bottom:1px solid #efd8b1}
.video-editor-recovery strong,.video-editor-recording strong{font-size:12px;color:#735132}
.video-editor-recovery p,.video-editor-recording p{font-size:11px;color:#806a52;margin:3px 0}
.video-editor-recovery-actions{display:flex;gap:8px}
#local-workspace.motion-studio-video .video-editor-recovery-actions button,#local-workspace.motion-studio-video .video-editor-recording button{padding:9px 12px;border-radius:8px;background:#fff;border:1px solid #e5cbac;font-size:12px;font-weight:650;white-space:nowrap}
.video-editor-recording{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);z-index:20;width:min(680px,94vw);box-shadow:0 15px 40px #20182033;border-radius:12px;flex-wrap:wrap}
.video-editor-recording progress{width:100%;height:12px;accent-color:#9f3657}
.video-editor-storage-alert{padding:12px 24px;background:#fff2ee;color:#9f413d;margin:0;font-size:12px}
.video-editor-notice{position:absolute;left:50%;bottom:21px;z-index:10;transform:translateX(-50%);max-width:min(600px,92vw);padding:12px 16px;background:#2d252e;color:#fff;border-radius:11px;box-shadow:0 12px 30px #251a2a55;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.video-editor-empty{max-width:540px;text-align:center;margin:auto;padding:35px}
.video-editor-empty h2{font-size:22px}
.video-editor-empty p{color:#756a75}
.video-editor-empty a{display:inline-block;background:#a83759;color:#fff;padding:13px 22px;border-radius:10px;text-decoration:none}

.video-editor-dialog{position:fixed;inset:auto 0 max(0px,calc(100dvh - var(--video-viewport-height,100dvh) - var(--video-viewport-top,0px)));margin:0;width:100%;max-width:none;max-height:min(calc(var(--video-viewport-height,100dvh) * .76),690px);height:min(calc(var(--video-viewport-height,100dvh) * .76),690px);padding:0;border:0;border-radius:22px 22px 0 0;background:#fff;color:#302a2d;box-shadow:0 -8px 45px #24142026;overflow:hidden}
.video-editor-dialog[open]{display:flex;flex-direction:column}
.video-editor-dialog::backdrop{background:#27202d30;backdrop-filter:blur(2px)}
#local-workspace.motion-studio-video .video-editor-sheet-handle{display:grid;place-items:center;width:100%;height:22px;min-height:22px;padding:0;background:#fff;border:0;border-radius:0;touch-action:none;flex:none}
.video-editor-sheet-handle span{display:block;width:34px;height:4px;border-radius:4px;background:#d6ced7}
.video-editor-sheet-body{display:flex;flex:1;min-height:0}
.video-editor-sheet-body>.video-editor-panel{width:100%;border:0;flex:1}
.video-editor-dialog>footer{flex:none;padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #eee9ef;background:#fff}
.video-editor-dialog>footer p{margin:0 0 8px;padding:8px 10px;border-radius:8px;background:#fff5f8;color:#773548;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#local-workspace.motion-studio-video .video-editor-dialog>footer>button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;background:#e52d56;color:#fff;border:0;border-radius:10px;font-family:inherit;font-size:14px;font-weight:650}
.video-editor-dialog>footer svg{width:18px;height:18px}
@media(max-width:1260px){
 .video-editor-layout{grid-template-columns:76px 300px minmax(0,1fr)}
 .video-editor-preview-area{padding-inline:24px}
 .video-editor-stage-heading{padding-inline:24px}
 .video-editor-title h1{max-width:270px!important}
 .video-editor-collection{display:none}
}
@media(max-width:1000px){
 .video-editor-layout{grid-template-columns:72px 280px minmax(0,1fr)}
 .video-editor-brand>span{display:none}
 .video-editor-panel-header,.video-editor-panel-scroll{padding-inline:16px}
 .video-editor-stage-heading{flex-wrap:wrap;padding:16px 20px}
 .video-editor-preview-area{padding-inline:20px}
 .video-editor-storyboard{gap:7px}
 #local-workspace.motion-studio-video .video-editor-storyboard>button{padding:10px 7px;gap:6px}
 .video-editor-storyboard-index{font-size:15px}
 .video-editor-storyboard button>span:last-child{display:none}
 .video-editor-stage-footer>span{max-width:50%;line-height:1.5}
 .video-editor-player-frame .motion-player-controls{gap:5px;padding-inline:6px}
 .video-editor-player-frame .motion-player-controls button:last-child{font-size:10px;padding-inline:5px}
}
@media(max-width:780px){
 #local-workspace.motion-studio-video.ws-main{height:var(--video-viewport-height,100dvh)}
 #local-workspace.motion-studio-video>.video-editor-topbar{min-height:64px;padding:10px 14px;gap:10px}
 .video-editor-identity{gap:8px}
 .video-editor-title{padding-left:9px}
 #local-workspace.motion-studio-video .video-editor-title h1{font-size:14px;max-width:250px!important}
 .video-editor-title>span{font-size:10px}
 .video-editor-brand img{width:28px;height:28px}
 .video-editor-brand>span{display:none}
 .motion-studio-video.ws-main .video-editor-back{width:24px}
 .video-editor-actions{gap:7px}
 #local-workspace.motion-studio-video .video-editor-actions button{min-height:40px;padding:9px 10px;font-size:12px}
 .video-editor-actions svg{width:17px;height:17px}
 .video-editor-layout{display:flex;flex-direction:column;overflow:hidden}
 .video-editor-stage{order:0;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
 .video-editor-stage-heading{padding:16px 20px 8px;font-size:9px;gap:8px}
 .video-editor-stage-heading>div{white-space:normal}
 .video-editor-stage-heading>span{white-space:nowrap}
 .video-editor-preview-area{padding:14px 22px 24px;max-width:650px;margin:auto}
 .video-editor-preview-explain{margin:12px auto 20px;font-size:11px;max-width:390px}
 .video-editor-nav{order:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 6px max(6px,env(safe-area-inset-bottom));gap:2px;flex:none;border-top:1px solid #e6e5e9;border-right:0;overflow:visible;background:#fff;z-index:3;box-shadow:0 -3px 12px #23192305}
 #local-workspace.motion-studio-video .video-editor-nav>button{min-height:60px;padding:6px 2px;gap:4px;border-radius:9px}
 #local-workspace.motion-studio-video .video-editor-nav>button[aria-pressed=true]:before{inset:0 22% auto;height:3px;width:auto}
 .video-editor-nav-text b{font-size:11px;font-weight:500;line-height:1.25}
 .video-editor-nav-icon{height:23px;width:23px}
 .video-editor-nav-icon svg{width:21px;height:21px}
 .video-editor-panel-header{padding:5px 20px 14px}
 #local-workspace.motion-studio-video .video-editor-panel-header h2{font-size:21px;margin-top:5px}
 .video-editor-panel-header p{font-size:12px;max-width:90%}
 #local-workspace.motion-studio-video .video-editor-panel-close{position:absolute;right:12px;top:0;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:10px;margin:0;background:#fff;border:0;border-radius:8px;color:#706270}
 .video-editor-panel-close svg{width:20px;height:20px}
 .video-editor-panel-scroll{overflow:auto;flex:1;padding:16px 20px 28px}
 .video-editor-form{max-width:590px;width:100%;margin-inline:auto}
 .video-editor-tip{display:none}
 #local-workspace.motion-studio-video .video-editor-form :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px;min-height:44px}
 .video-editor-storyboard-heading{margin-top:18px}
 .video-editor-storyboard-heading strong{font-size:12px}
 .video-editor-storyboard-heading span{font-size:10px}
 .video-editor-storyboard{gap:7px}
 #local-workspace.motion-studio-video .video-editor-storyboard>button{min-height:70px;padding:10px 9px;flex-direction:column;align-items:flex-start;gap:5px}
 .video-editor-storyboard-index{font-size:10px;color:#b04b6b}
 .video-editor-storyboard strong{font-size:11px}
 .video-editor-storyboard small{font-size:9px}
 .video-editor-stage-footer{display:none}
 .video-editor-player-frame .motion-player-controls{padding:6px;gap:4px}
 .video-editor-player-frame .motion-player-controls button{min-height:40px;min-width:32px;padding-inline:7px}
 .video-editor-player-frame .motion-player-controls>span{font-size:10px}
 .video-editor-player-frame .motion-player-controls input[type=range]{min-width:35px}
 .video-editor-recovery{max-height:140px;overflow:auto;align-items:stretch;flex-direction:column;padding:10px 16px;gap:7px}
 .video-editor-recovery p{display:none}
 .video-editor-recovery-actions{display:grid;grid-template-columns:1.2fr 1fr}
 #local-workspace.motion-studio-video .video-editor-recovery-actions button{white-space:normal;min-width:0;padding:8px}
 .video-editor-notice{bottom:90px}
 .video-editor-recording{bottom:90px}
}
@media(max-width:480px){
 #local-workspace.motion-studio-video>.video-editor-topbar{flex-wrap:wrap;padding:9px 12px;gap:10px}
 .video-editor-identity{width:100%}
 #local-workspace.motion-studio-video .video-editor-title h1{max-width:calc(100vw - 115px)!important}
 .video-editor-actions{width:100%;gap:9px}
 #local-workspace.motion-studio-video .video-editor-actions button{flex:1;min-height:40px}
 .video-editor-collection{display:block;flex:1;font-size:11px}
 .video-editor-actions .video-editor-save>span{display:none}
 #local-workspace.motion-studio-video .video-editor-actions .video-editor-save{flex:none;min-width:42px}
 .video-editor-preview-area{padding-inline:16px}
 .video-editor-stage-heading{padding-inline:16px;font-size:8px;letter-spacing:.3px}
 .video-editor-stage-heading>div{max-width:70%}
 .video-editor-stage-separator{display:none}
 .video-editor-player-frame .motion-player-controls{display:grid;grid-template-columns:36px 32px minmax(0,1fr) auto;gap:3px 4px}
 .video-editor-player-frame .motion-player-controls input[type=range]{grid-column:1 / -1;grid-row:2;width:100%;min-height:32px}
 .video-editor-player-frame .motion-player-controls>span{justify-self:start;padding-left:4px}
 .video-editor-player-frame .motion-player-controls button:last-child{font-size:10px;min-height:40px}
 .video-editor-dialog{height:calc(var(--video-viewport-height,100dvh) * .74);max-height:calc(var(--video-viewport-height,100dvh) * .74)}
 .video-editor-panel-header p{font-size:11px;line-height:1.5}
 .video-editor-panel-scroll{padding-inline:16px}
 .video-editor-preview-explain{font-size:10px}
 .video-editor-nav-text b{font-size:10px}
}
@media(max-height:550px) and (max-width:780px){
 #local-workspace.motion-studio-video>.video-editor-topbar{flex-wrap:nowrap;min-height:54px;padding-block:6px}
 .video-editor-identity{width:auto}
 .video-editor-actions{width:auto}
 .video-editor-collection,.video-editor-title>span{display:none}
 .video-editor-nav{padding-block:3px}
 #local-workspace.motion-studio-video .video-editor-nav>button{min-height:49px;gap:2px}
 .video-editor-nav-icon svg{width:18px;height:18px}
 .video-editor-preview-area{max-width:420px}
 .video-editor-dialog{height:calc(var(--video-viewport-height,100dvh) * .9);max-height:calc(var(--video-viewport-height,100dvh) * .9)}
 .video-editor-panel-header p,.video-editor-step{display:none}
}
@media(prefers-reduced-motion:reduce){.motion-studio-video *{transition:none!important;animation:none!important}}

/* LED editor: the same workspace, with a venue and one or three real screens. */
.motion-studio-led .video-editor-preview-area{max-width:1220px;padding-inline:28px}
.led-editor-stage-options{display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 20px}
.led-editor-layout-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:620px}
#local-workspace.motion-studio-led .led-editor-layout-options>button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:52px;padding:10px;border:1px solid #e3dde5;border-radius:10px;background:#fff;color:#6b5d68;font-size:12px;font-weight:550}
#local-workspace.motion-studio-led .led-editor-layout-options>button[aria-pressed=true]{border-color:#e52d56;background:#fff1f5;color:#c6234c;box-shadow:0 0 0 1px #e52d5615}
.led-editor-layout-icon{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:38px;height:25px;flex:none}
.led-editor-layout-icon>b,.led-editor-layout-icon>i{display:block;background:currentColor;border-radius:2px}
.led-editor-layout-icon>b{width:30px;height:18px}
.led-editor-layout-icon>i{width:5px;height:18px;opacity:.55}
.led-editor-layout-three>b{width:25px;height:13px}
.led-editor-layout-4-3>b{width:24px}
.led-editor-view-options{display:flex;justify-content:center;gap:3px;padding:3px;background:#eeecf0;border-radius:9px}
#local-workspace.motion-studio-led .led-editor-view-options>button{min-height:34px;border:0;padding:7px 13px;background:transparent;color:#817380;border-radius:7px;font-size:11px;font-weight:600}
#local-workspace.motion-studio-led .led-editor-view-options>button[aria-pressed=true]{background:#fff;color:#4b3e4a;box-shadow:0 1px 4px #21142612}
.led-editor-preview{min-width:0;width:100%}
.led-editor-scene{position:relative;isolation:isolate;aspect-ratio:12/5;width:100%;overflow:hidden;border:1px solid #c6b2a1;border-radius:12px;background:radial-gradient(ellipse at 50% 85%,#594032,#1b151c);box-shadow:0 16px 38px #30202b1a}
.led-editor-venue-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.led-editor-screens{position:absolute;left:15.5%;right:15.5%;top:26%;height:47%;display:grid;grid-template-columns:9fr 37.333fr 9fr;gap:.35%;z-index:2}
.led-editor-main,.led-editor-side{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #29221e;background:#05050d;box-shadow:0 2px 6px #21152555}
.motion-studio-led .led-editor-main .motion-player{position:relative;isolation:isolate;width:100%;height:100%;border-radius:0;overflow:hidden;background:#05050d}
.motion-studio-led .led-editor-main .motion-player canvas,.led-editor-side canvas{position:static;display:block;width:100%;height:100%;max-height:none;object-fit:fill}
.led-editor-side>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.led-editor-preview[data-layout='16:9'] .led-editor-screens{display:block;left:32.6%;right:32.6%}
.led-editor-preview[data-layout='4:3'] .led-editor-screens{display:block;left:36.95%;right:36.95%}
.led-editor-preview:not([data-layout=three]) .led-editor-main{height:100%}
.led-editor-reflection{position:absolute;left:15.5%;right:15.5%;top:79%;height:17%;opacity:.13;background-size:100% 100%;transform:scaleY(-1);filter:blur(3px);mask-image:linear-gradient(transparent,#000);pointer-events:none;mix-blend-mode:screen}
.led-editor-scene-label{position:absolute;left:12px;bottom:10px;z-index:3;padding:5px 9px;background:#2519238c;color:#fff8f3;border:1px solid #ffffff20;border-radius:6px;font-size:9px;line-height:1.4;backdrop-filter:blur(8px)}
.led-editor-preview[data-venue=false] .led-editor-scene{aspect-ratio:16/9;border:6px solid #302b35;background:#08060c;border-radius:10px}
.led-editor-preview[data-venue=false][data-layout='4:3'] .led-editor-scene{aspect-ratio:4/3}
.led-editor-preview[data-venue=false][data-layout=three] .led-editor-scene{aspect-ratio:21/9}
.led-editor-preview[data-venue=false] .led-editor-screens{display:block;inset:0;height:auto}
.led-editor-preview[data-venue=false] .led-editor-main{width:100%;height:100%;border:0;box-shadow:none}
.led-editor-preview[data-venue=false] .led-editor-reflection{display:none}
.motion-studio-led .led-editor-controls{margin-top:16px}
.led-editor-controls svg{width:18px;height:18px;flex:none}
.led-editor-controls button:last-child{gap:6px}
.led-editor-stage-specs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px;padding:12px 0;color:#817780;font-size:11px}
.led-editor-stage-specs>span{display:inline-flex;gap:7px;align-items:center}
.led-editor-stage-specs svg{width:16px;height:16px}
.led-editor-venue-settings .led-editor-view-options{margin-bottom:14px}
.led-editor-venue-settings .video-editor-photo-upload{margin-bottom:14px!important}
#local-workspace.motion-studio-led .led-editor-reset-venue{min-height:36px;margin-bottom:12px;padding:7px 11px;border:1px solid #e4cad4;border-radius:8px;background:#fff;color:#a33758;font-size:12px}
.led-editor-preview-message{font-size:12px;padding:10px;color:#9a3150;background:#fff3f6;border-radius:8px}
.led-editor-export-set ul{margin:0 0 12px;padding-left:18px;color:#65515f;font-size:12px;line-height:1.8}
.led-editor-preview:fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:20px;background:#100d15;overflow:auto}
.led-editor-preview:fullscreen .led-editor-scene{width:min(100%,calc((100dvh - 110px) * 2.4));flex:none}
.led-editor-preview:fullscreen[data-venue=false] .led-editor-scene{width:min(100%,calc((100dvh - 110px) * 1.7778))}
.led-editor-preview:fullscreen[data-venue=false][data-layout='4:3'] .led-editor-scene{width:min(100%,calc((100dvh - 110px) * 1.3333))}
.led-editor-preview:fullscreen .led-editor-controls{max-width:1100px;width:100%;flex:none}
@media(max-width:780px){
 .motion-studio-led .video-editor-preview-area{padding:14px 16px 22px;max-width:900px}
 .led-editor-stage-options{gap:10px;margin-bottom:14px}
 #local-workspace.motion-studio-led .led-editor-layout-options>button{flex-direction:column;gap:5px;padding:9px 3px;font-size:10px;min-height:64px}
 .led-editor-layout-options{gap:6px}
 .led-editor-view-options{padding:3px}
 .led-editor-stage-specs{font-size:10px;gap:7px 14px}
 .led-editor-scene{border-radius:8px}
 .led-editor-scene-label{font-size:8px;left:7px;bottom:7px;padding:3px 5px}
 .led-editor-controls button:last-child>span{display:none}
 .led-editor-preview:fullscreen{padding:10px}
}
