/* historyalgorismo UI shell. Main visual styles live in Shadow DOM to avoid theme conflicts. */
.historyalgorismo-smartbar-host{display:block!important;position:relative!important;z-index:5!important;margin:0 0 10px 0!important;clear:both!important;contain:layout style!important;width:100%!important;max-width:100%!important;flex:0 0 100%!important;align-self:stretch!important;float:none!important;box-sizing:border-box!important}
.wb-stories--submit-form-wrapper + .historyalgorismo-smartbar-host{margin-top:12px!important}

/* 1.8.2: keep the smart bar above the entire stories row, never as a flex item between add-story and stories. */
.wb-stories-user-activities > .historyalgorismo-smartbar-host,
.wp-stories-user-stories + .historyalgorismo-smartbar-host,
.historyalgorismo-smartbar-host[data-mounted-above*="wp-stories-user-stories"]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  flex-basis:100%!important;
  order:-1!important;
  margin:0 0 10px 0!important;
  clear:both!important;
}
.wb-stories-user-activities > .historyalgorismo-smartbar-host + .wp-stories-user-stories{
  width:100%!important;
  max-width:100%!important;
}
