/* =========================================================
   OSBEATS CREATOR STUDIO
   PRODUCTION TOP-NAV RECONCILIATION V57.6P1

   Promoted staging functionality without sidebar navigation.
   Analytics V58 intentionally excluded.
   ========================================================= */


/* ---------------------------------------------------------
   TOP CREATOR STUDIO NAVIGATION

   Keep every Creator Studio destination in one horizontal
   row while allowing Music Distribution enough room for
   its longer label.
   --------------------------------------------------------- */

html body .osb-top-tabs-reconciled,
html body .osbeats-studio-nav-hotfix.osb-top-tabs-reconciled{
  display:flex !important;
  flex-wrap:nowrap !important;

  align-items:stretch !important;

  width:100% !important;

  overflow-x:auto !important;
  overflow-y:hidden !important;

  gap:0 !important;

  scrollbar-width:thin;
}


html body .osb-top-tabs-reconciled > [data-studio-view],
html body .osb-top-tabs-reconciled > .osb-top-tab-item,
html body
.osbeats-studio-nav-hotfix.osb-top-tabs-reconciled
> [data-studio-view],
html body
.osbeats-studio-nav-hotfix.osb-top-tabs-reconciled
> .osb-top-tab-item{
  flex:1 1 0 !important;

  min-width:88px !important;
}


html body
.osb-top-tabs-reconciled
> [data-studio-view="distribution"],
html body
.osb-top-tabs-reconciled
> .osb-top-tab-distribution-item,
html body
.osbeats-studio-nav-hotfix.osb-top-tabs-reconciled
> [data-studio-view="distribution"],
html body
.osbeats-studio-nav-hotfix.osb-top-tabs-reconciled
> .osb-top-tab-distribution-item{
  flex:1.45 1 0 !important;

  min-width:145px !important;
}


html body
.osb-top-tabs-reconciled
a[data-studio-view]{
  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  width:100% !important;
  min-width:0 !important;
  min-height:46px !important;

  margin:0 !important;

  padding:10px 8px !important;

  box-sizing:border-box !important;

  white-space:nowrap !important;

  text-align:center !important;

  font-size:12px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
}


html body
.osb-top-tabs-reconciled
a[data-studio-view="distribution"]{
  padding-left:11px !important;
  padding-right:11px !important;

  font-size:12px !important;
}


html body
.osb-top-tabs-reconciled::-webkit-scrollbar{
  height:6px;
}


html body
.osb-top-tabs-reconciled::-webkit-scrollbar-thumb{
  background:#3d424a;

  border-radius:999px;
}


@media(max-width:900px){

  html body
  .osb-top-tabs-reconciled
  a[data-studio-view]{
    min-width:102px !important;
  }


  html body
  .osb-top-tabs-reconciled
  a[data-studio-view="distribution"]{
    min-width:150px !important;
  }
}


/* ---------------------------------------------------------
   DISTRIBUTION DRAFT CONTROLS
   Promoted from staging V57.6 without sidebar code.
   --------------------------------------------------------- */

.osb-draft-controls{
  display:flex;

  align-items:center;
  justify-content:flex-end;

  gap:7px;

  flex-wrap:wrap;

  margin-top:10px;
}


.osb-draft-control{
  min-height:32px;

  padding:0 12px;

  border:
    1px solid rgba(255,255,255,.16);

  border-radius:6px;

  background:
    linear-gradient(
      180deg,
      #1a1c21,
      #111318
    );

  color:#f4f5f7;

  font-size:11px;
  font-weight:850;

  cursor:pointer;

  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}


.osb-draft-control:hover{
  border-color:
    rgba(255,255,255,.28);

  background:#20232a;

  transform:translateY(-1px);
}


.osb-draft-control-danger{
  border-color:
    rgba(224,32,32,.52);

  background:
    linear-gradient(
      110deg,
      #17181c,
      #71070c
    );

  color:#fff;
}


.osb-draft-control-danger:hover{
  border-color:#d91f26;

  background:
    linear-gradient(
      110deg,
      #191b20,
      #a50910
    );
}


/*
   Minimized draft retains only its project heading and
   Minimize / Scrap controls.
*/

.osb-draft-collapsed >
:not(.osb-draft-top){
  display:none !important;
}


.osb-draft-collapsed{
  margin-bottom:18px;
}


/* ---------------------------------------------------------
   CREATOR EMBED SPACING
   Safe V57.6N portion only.

   Analytics V58 sizing / width code is NOT included.
   --------------------------------------------------------- */

[data-studio-panel="analytics"],
[data-studio-panel="revenue"],
[data-studio-panel="settings"]{
  margin-top:0 !important;
  padding-top:0 !important;
}


[data-studio-panel="analytics"] > *,
[data-studio-panel="revenue"] > *,
[data-studio-panel="settings"] > *{
  margin-top:0 !important;
}


#studioAnalyticsFrame,
#studioRevenueFrame,
#studioSettingsFrame{
  display:block !important;

  width:100% !important;

  margin:0 !important;
  padding:0 !important;

  border:0 !important;

  background:transparent !important;
}


/*
   Do not add the staging Analytics V58 parent-width rules.
   Existing production Analytics remains authoritative.
*/


/* ---------------------------------------------------------
   GENERAL CREATOR CONTENT CLEANUP — SAFE PORTION V57.6F
   --------------------------------------------------------- */

#musicDistributionPanel
.md-release-fee-notice{
  box-shadow:
    0 10px 24px rgba(0,0,0,.12) !important;
}


#musicDistributionPanel input,
#musicDistributionPanel textarea,
#musicDistributionPanel select{
  border-color:
    rgba(255,255,255,.14) !important;

  box-shadow:none !important;
}


#musicDistributionPanel input:focus,
#musicDistributionPanel textarea:focus,
#musicDistributionPanel select:focus{
  outline:none !important;

  box-shadow:
    0 0 0 2px rgba(210,18,29,.22) !important;
}


/* END OSBEATS CREATOR STUDIO PRODUCTION TOP-NAV RECONCILIATION V57.6P1 */
