/* TRUEPEAK_VIDEO_PRO_LIVE_CLIP_ENTRY_V1 */
.video-pro-workspace .tp-video-pro-pro-access {
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  min-height:50px;min-width:165px;gap:3px;flex:0 1 auto;
  padding:9px 15px;border:1px solid #b69afa;border-radius:11px;
  text-decoration:none;color:#fff;background:linear-gradient(115deg,#5b21b6,#3730a3);
  box-shadow:0 8px 24px rgba(65,30,135,.26);
}
.video-pro-workspace .tp-video-pro-pro-access strong{color:#fff;font-size:14px;line-height:1.2}
.video-pro-workspace .tp-video-pro-pro-access small{color:#e9d5ff;font-size:11px;line-height:1.3}
.video-pro-workspace .tp-video-pro-pro-access:focus-visible,
.tp-clip-maker-return-link:focus-visible,.tp-video-mobile-nav-toggle:focus-visible{
  outline:3px solid #fbbf24;outline-offset:3px
}
.tp-video-mobile-nav-toggle{display:none}
.clip-maker-v2-route .tp-clip-maker-return-link{
  display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;
  color:#f5f3ff;background:#243759;border:1px solid #a78bfa;
  text-decoration:none;border-radius:10px;font-weight:750
}
@media(max-width:960px){
  body.tp-video-pro-active .app-shell{display:block}
  body.tp-video-pro-active .app-shell>.sidebar{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
    gap:10px 14px;padding:12px 16px;border-right:0;border-bottom:1px solid #233958
  }
  body.tp-video-pro-active .app-shell>.sidebar .brand span{font-size:25px}
  body.tp-video-pro-active .app-shell>.sidebar .brand small{font-size:12px}
  body.tp-video-pro-active .tp-video-mobile-nav-toggle{
    display:inline-flex;min-height:44px;align-items:center;justify-content:center;
    background:#253969;border:1px solid #8093bf;color:#fff;
    border-radius:9px;padding:9px 13px;cursor:pointer
  }
  body.tp-video-pro-active .app-shell>.sidebar:not(.tp-video-mobile-open) nav,
  body.tp-video-pro-active .app-shell>.sidebar:not(.tp-video-mobile-open) .runtime-card,
  body.tp-video-pro-active .app-shell>.sidebar:not(.tp-video-mobile-open) .plan-card,
  body.tp-video-pro-active .app-shell>.sidebar:not(.tp-video-mobile-open) .theme-control{display:none}
  body.tp-video-pro-active .app-shell>.sidebar.tp-video-mobile-open nav,
  body.tp-video-pro-active .app-shell>.sidebar.tp-video-mobile-open .runtime-card,
  body.tp-video-pro-active .app-shell>.sidebar.tp-video-mobile-open .plan-card,
  body.tp-video-pro-active .app-shell>.sidebar.tp-video-mobile-open .theme-control{
    grid-column:1/-1
  }
  body.tp-video-pro-active #main-content{padding:18px 14px 24px}
  .video-pro-workspace .workspace-header-actions{display:flex;flex-wrap:wrap;min-width:0;max-width:100%}
  .video-pro-workspace .tp-video-pro-pro-access{flex:1 1 100%;width:100%}
  .clip-maker-v2-route .cmv2-topbar{align-items:stretch}
  .clip-maker-v2-route .tp-clip-maker-return-link{width:max-content;max-width:100%}
}

/* P1083_REAL_TABLET_DIRECTOR_WIDTH_FIX
 * Actual public Chrome 768px detected the Director plan select projecting
 * 53px outside the viewport. Constrain the selector, and give this editor
 * the full tablet width without affecting Jazz/Music/Pro Speech screens. */
body.tp-video-pro-active .video-pro-ai-panel,
body.tp-video-pro-active .video-pro-ai-panel .video-director-panel,
body.tp-video-pro-active .video-pro-ai-panel .video-director-panel label,
body.tp-video-pro-active .video-pro-ai-panel .video-director-panel select{
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.tp-video-pro-active .video-pro-ai-panel .video-director-panel select{
  width:100%;display:block;
}
@media(min-width:721px) and (max-width:960px){
  body.tp-video-pro-active .video-pro-workspace .workspace-header{
    display:flex;flex-direction:column;align-items:stretch;gap:16px
  }
  body.tp-video-pro-active .video-pro-workspace .workspace-header-actions{
    width:100%;flex-wrap:wrap
  }
  body.tp-video-pro-active .video-pro-workspace .video-pro-grid{
    grid-template-columns:minmax(0,1fr)
  }
}


/* P1084_PROFESSIONAL_FORM_PARITY — exact live browser panel defect repair.
 * Scope only to Video Pro; no underlying values, business logic or other TPS
 * workspaces touched. Covers both legacy live bundle and new V2 UI. */
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls,
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline,
body.tp-video-pro-active .video-pro-workspace .video-director-panel{
  min-width:0;
  box-sizing:border-box;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
  padding:22px;
  color:#17233b;
  background:#ffffff;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls > .panel-title,
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls > p{
  grid-column:1/-1;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls > label{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  color:#263451!important;
  font-size:13px;
  line-height:1.4;
  font-weight:750;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls > label:has(input[type="range"]){
  grid-column:1/-1;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls input:not([type="range"]),
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls select{
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  border:1px solid #b7c5da;
  border-radius:10px;
  padding:10px 13px;
  background:#f8fafc!important;
  color:#182439!important;
  -webkit-text-fill-color:#182439;
  font:inherit;
  font-size:14px;
  line-height:1.4;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls input[type="range"]{
  accent-color:#6d28d9;
  width:100%;
  min-height:28px;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls > p{
  color:#53647d;
  line-height:1.55;
  font-size:13px;
  margin:0;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;
  padding:22px;
  background:#fff;
  color:#17233b;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > .panel-title,
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > p,
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > .video-caption-actions,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > .panel-title,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > p,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > .video-caption-actions{
  grid-column:1/-1;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > label,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > label{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:8px;
  color:#263451;
  font-size:13px;
  font-weight:750;
  line-height:1.4;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > label:first-of-type:has(select),
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > label:has(input[type="range"]){
  grid-column:1/-1;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > label input:not([type="checkbox"]),
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit > label select,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline > label input:not([type="checkbox"]):not([type="range"]){
  width:100%;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  border:1px solid #b7c5da;
  border-radius:10px;
  background:#f8fafc;
  color:#182439;
  padding:10px 13px;
  font:inherit;
  font-size:14px;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit .video-caption-actions,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline .video-caption-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit .video-caption-actions label,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline .video-caption-actions label{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:650;
  padding:6px 0;
  color:#334155;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit input[type="checkbox"],
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline input[type="checkbox"]{
  width:17px;
  height:17px;
  accent-color:#6d28d9;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline input[type="range"]{
  display:block;
  width:100%;
  min-height:30px;
  accent-color:#6d28d9;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline .video-caption-actions button{
  min-height:42px;
  padding:9px 14px;
  border-radius:9px;
}
body.tp-video-pro-active .video-pro-workspace .video-director-panel label{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  font-weight:700;
  color:#263451;
}
body.tp-video-pro-active .video-pro-workspace .video-director-panel label select{
  min-height:42px;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid #b7c5da;
  border-radius:9px;
  padding:8px 10px;
  background:#fff;
  color:#182439;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit .panel-title h2,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline .panel-title h2,
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls .panel-title h2{
  color:#17233b!important;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit .panel-title span,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline .panel-title span{
  color:#52627b;
}
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit input:focus-visible,
body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit select:focus-visible,
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls input:focus-visible,
body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls select:focus-visible,
body.tp-video-pro-active .video-pro-workspace .video-pro-timeline input:focus-visible,
body.tp-video-pro-active .video-pro-workspace .video-director-panel select:focus-visible{
  outline:3px solid #8b5cf6;
  outline-offset:2px;
}
@media(max-width:760px){
 body.tp-video-pro-active .video-pro-workspace .video-pro-edit-controls,
 body.tp-video-pro-active .video-pro-workspace .video-pro-brand-kit,
 body.tp-video-pro-active .video-pro-workspace .video-pro-timeline{
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  padding:16px;
 }
}
