/* Overview Daily Brief toolbar — compact on desktop, sane on narrower screens */
.overview-brief-toolbar{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
}

.overview-brief-provider-wrap{
  flex:1 1 260px;
  min-width:180px;
  max-width:340px;
}

.overview-brief-actions{
  flex:0 0 auto;
  width:auto!important;
  display:flex!important;
}

.overview-brief-actions .btn{
  height:44px!important;
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 16px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  font-size:.84rem!important;
  font-weight:750!important;
}

.overview-brief-view-btn{
  min-width:132px!important;
  background:#f2f3f3!important;
  border-color:#e6e7e7!important;
  color:#171717!important;
}

.overview-brief-generate-btn{
  min-width:158px!important;
}

#overview-brief-provider{
  width:100%;
}

/* Under xl the copy sits above the toolbar, but controls remain compact. */
@media(max-width:1199.98px){
  .overview-brief-toolbar{
    justify-content:flex-start;
  }

  .overview-brief-provider-wrap{
    max-width:none;
  }
}

/* Only genuinely narrow screens may wrap controls. */
@media(max-width:767.98px){
  .overview-brief-toolbar{
    flex-wrap:wrap;
  }

  .overview-brief-provider-wrap{
    flex:1 0 100%;
    max-width:none;
  }

  .overview-brief-actions{
    width:100%!important;
  }

  .overview-brief-actions .btn{
    flex:1 1 0!important;
    min-width:0!important;
  }
}
