/* Business Builder lives in the Classic header, immediately beside Vocal Space. */
.orbeuss-business-builder-entry{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 12px!important;
  margin:0!important;
  gap:0!important;
  border:1px solid rgba(79,208,255,.24)!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,rgba(25,129,178,.12),rgba(33,171,224,.07))!important;
  color:#bcefff!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  text-align:center!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.orbeuss-business-builder-entry:hover{
  color:#effcff!important;
  border-color:rgba(98,220,255,.46)!important;
  background:rgba(33,171,224,.12)!important;
  box-shadow:0 0 18px rgba(44,190,255,.08)!important;
}
.orbeuss-business-builder-entry:focus-visible{
  outline:2px solid rgba(104,220,255,.62);
  outline-offset:1px;
}
/* No decorative logo in the Business Builder header button. */
.orbeuss-business-builder-icon{
  display:none!important;
}
.orbeuss-business-builder-copy{
  display:block;
  min-width:0;
}
.orbeuss-business-builder-copy b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:inherit;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit;
  letter-spacing:inherit;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-business-builder-entry{
  background:linear-gradient(135deg,#edf8fd,#f8fcfe)!important;
  color:#075c83!important;
  border-color:rgba(13,118,165,.27)!important;
  box-shadow:none!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-business-builder-entry:hover{
  background:linear-gradient(135deg,#e3f5fc,#f4fbfe)!important;
  color:#034f75!important;
  border-color:rgba(7,103,150,.42)!important;
  box-shadow:0 9px 26px rgba(35,119,158,.13)!important;
}

/* Classic sidebar coordinator: exact requested hierarchy, production revision. */
.sidebar .sidebar-nav-scroll{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  margin-top:0!important;
  padding-top:0!important;
  row-gap:0!important;
}

/* Native Nouveau Chat plus the cloned Nouveau projet action stay together. */
.sidebar .new-chat:not(.orbeuss-new-project-button){
  margin-bottom:6px!important;
}
.sidebar #orbeussNewProjectButton{
  margin-top:0!important;
  margin-bottom:6px!important;
}

/* Project creation is exposed only by the top-level Nouveau projet shortcut. */
.sidebar .project-create-button:not(.orbeuss-new-project-button){
  display:none!important;
}

/* One compact rhythm for the requested sober rows. */
.sidebar .orbeuss-sidebar-uniform-item{
  margin-bottom:6px!important;
}
.sidebar .orbeuss-sidebar-uniform-item:not(.new-chat){
  margin-top:0!important;
}

/* Créations, Automatisations and Compétences share one sober treatment. */
.sidebar .orbeuss-sidebar-sober-entry{
  width:calc(100% - 24px)!important;
  max-width:none!important;
  min-height:44px!important;
  height:44px!important;
  margin-left:12px!important;
  margin-right:12px!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#8da9b8!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) minmax(24px,max-content) 14px!important;
  column-gap:8px!important;
  align-items:center!important;
  justify-items:start!important;
  font-family:inherit!important;
  font-size:var(--orbeuss-sidebar-uniform-font-size,15px)!important;
  font-weight:550!important;
  line-height:1.2!important;
  text-align:left!important;
  box-shadow:none!important;
}
.sidebar .orbeuss-sidebar-sober-entry:hover,
.sidebar .orbeuss-sidebar-sober-entry.active{
  background:rgba(48,163,225,.09)!important;
  color:#e8f9ff!important;
}
.sidebar .orbeuss-sidebar-sober-entry > span,
.sidebar .orbeuss-sidebar-sober-entry > b{
  translate:none!important;
}
.sidebar .orbeuss-sidebar-sober-entry b,
.sidebar .orbeuss-creations-trigger > b,
.sidebar .myaltero-automations-nav > span:nth-child(2),
.sidebar .myaltero-skills-nav > span:nth-child(2){
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:var(--orbeuss-sidebar-uniform-font-size,15px)!important;
  font-weight:550!important;
  line-height:1.2!important;
}
.sidebar .myaltero-automations-icon,
.sidebar .myaltero-skills-icon,
.sidebar .orbeuss-creations-trigger > span:first-child{
  grid-column:1!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:17px!important;
  line-height:1!important;
}
.sidebar .myaltero-automations-nav .nav-count,
.sidebar .myaltero-skills-nav .nav-count{
  display:none!important;
}
.sidebar .myaltero-automations-nav .nav-chevron,
.sidebar .myaltero-skills-nav .nav-chevron{
  grid-column:3!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  justify-self:end!important;
  width:14px!important;
  min-width:14px!important;
  margin:0!important;
  text-align:right!important;
  font-size:17px!important;
  line-height:1!important;
}
.sidebar .orbeuss-creations-trigger{
  grid-template-columns:24px minmax(0,1fr)!important;
  margin-top:0!important;
  margin-bottom:6px!important;
}

html[data-orbeuss-effective-theme="light"] .sidebar .orbeuss-sidebar-sober-entry{
  color:#566f7d!important;
  background:transparent!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar .orbeuss-sidebar-sober-entry:hover,
html[data-orbeuss-effective-theme="light"] .sidebar .orbeuss-sidebar-sober-entry.active{
  background:linear-gradient(90deg,rgba(24,132,180,.095),rgba(24,132,180,.045))!important;
  color:#0a5578!important;
}

/* Automatisations then Compétences live immediately after Créations. */
.orbeuss-sidebar-tools-slot{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  gap:6px!important;
  margin:0 0 6px!important;
  padding:0!important;
}
.orbeuss-sidebar-tools-slot .sidebar-nav-main{
  flex:0 0 auto!important;
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.sidebar .orbeuss-sidebar-tools-slot .myaltero-automations-nav,
.sidebar .orbeuss-sidebar-tools-slot .myaltero-skills-nav{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:12px!important;
  grid-template-columns:24px minmax(0,1fr) 14px!important;
}

/* Recherche, Projets and Chats keep their native visual structure. */
.sidebar .sidebar-search{
  margin-top:0!important;
  margin-bottom:6px!important;
}
.sidebar .orbeuss-section-header{
  width:calc(100% - 24px)!important;
  max-width:calc(100% - 24px)!important;
  min-height:44px!important;
  height:44px!important;
  margin-left:12px!important;
  margin-right:12px!important;
  box-sizing:border-box!important;
}

/* Restore the identity hierarchy that existed before the sidebar rework. */
.sidebar .agent-brand .orbeuss-agent-brand-primary{
  font-size:20px!important;
  line-height:1.08!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
  color:#eefaff!important;
}
.sidebar .agent-brand .orbeuss-agent-brand-subtitle{
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:560!important;
  letter-spacing:.06em!important;
  color:#7894a3!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar .agent-brand .orbeuss-agent-brand-primary{
  color:#102c3a!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar .agent-brand .orbeuss-agent-brand-subtitle{
  color:#607b89!important;
}

/* Wallet belongs to the account footer, immediately below the account row. */
.sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host{
  display:block!important;
  width:calc(100% - 20px)!important;
  box-sizing:border-box!important;
  margin:8px 10px 0!important;
  padding:0!important;
}
.sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host .myaltero-recharge-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  padding:0 14px!important;
  margin:0!important;
  border:1px solid rgba(98,220,255,.64)!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,#159fdf,#3bc9ff)!important;
  color:#04131c!important;
  box-shadow:0 0 18px rgba(52,190,245,.14)!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host .myaltero-balance-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:3px 7px!important;
  margin:0!important;
  border:1px solid rgba(98,203,255,.30)!important;
  border-radius:999px!important;
  background:#07141d!important;
  color:#62cbff!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host .myaltero-recharge-btn:hover{
  color:#031018!important;
  border-color:rgba(140,232,255,.82)!important;
  background:linear-gradient(135deg,#25afea,#58d5ff)!important;
  box-shadow:0 0 22px rgba(52,190,245,.20)!important;
  filter:none!important;
  transform:none!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host .myaltero-recharge-btn{
  color:#04131c!important;
  border-color:rgba(13,118,165,.34)!important;
  background:linear-gradient(135deg,#159fdf,#3bc9ff)!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-bottom > #myaltero-quick-wallet.orbeuss-wallet-sidebar-host .myaltero-balance-chip{
  color:#075c83!important;
  background:#e8f7fd!important;
  border-color:rgba(13,118,165,.24)!important;
}
