.topbar{
  height:60px !important;
  gap:10px !important;
  padding:0 14px !important;
}

.sidebar-toggle{
  width:32px !important;
  height:32px !important;
  border-radius:10px !important;
}
.sidebar-toggle svg{width:14px !important;height:14px !important;}

.page-heading{min-width:160px !important;}
.page-heading h1{
  font-size:16px !important;
  line-height:1.1 !important;
  letter-spacing:-.2px !important;
}
.page-heading p{
  font-size:9px !important;
  margin-top:1px !important;
  line-height:1.25 !important;
}

.global-search{
  width:min(340px,32vw) !important;
}
.global-search input{
  border-radius:12px !important;
  padding:9px 38px 9px 36px !important;
  font-size:11px !important;
}
.global-search .search-icon{
  left:12px !important;
  font-size:11px !important;
}
.shortcut{
  right:8px !important;
  padding:3px 6px !important;
  font-size:9px !important;
}

.top-actions{gap:8px !important;}
.icon-btn{
  width:34px !important;
  height:34px !important;
  border-radius:12px !important;
}
.icon-btn .dot{
  top:8px !important;
  right:8px !important;
}

.user-menu{
  gap:8px !important;
  padding-left:2px !important;
}
.avatar{
  width:34px !important;
  height:34px !important;
  border-radius:12px !important;
  font-size:11px !important;
}
.user-meta strong{font-size:9px !important;line-height:1.15 !important;}
.user-meta span{font-size:9px !important;line-height:1.15 !important;}
.logout-button{
  transform:scale(.92);
}

@media(max-width:1200px){
  .page-heading h1{font-size:14px !important;}
  .page-heading p{font-size:8px !important;}
  .global-search{width:min(300px,30vw) !important;}
}

@media(max-width:820px){
  .topbar{
    height:56px !important;
    gap:8px !important;
    padding:0 10px !important;
  }
  .sidebar-toggle,.icon-btn,.avatar{width:32px !important;height:32px !important;}
  .page-heading h1{font-size:15px !important;}
  .page-heading p{font-size:9px !important;}
}

/* Ajuste v1.2.0 — subtítulo levemente maior e remoção do título duplicado em Fornecedores */
.page-heading p{
  font-size:10px !important;
}

#view-suppliers > .section-toolbar{
  justify-content:flex-end !important;
  margin-bottom:10px !important;
}

#view-suppliers > .section-toolbar > .section-title{
  display:none !important;
}

@media(max-width:1200px){
  .page-heading p{font-size:9px !important;}
}

/* Ajuste v1.3.0 — remove títulos/subtítulos duplicados de todos os módulos */
#view-suppliers > .section-toolbar > .section-title,
#view-restricted-list > .section-toolbar > .section-title,
#view-direct-suppliers > .section-toolbar > .section-title,
#view-profile > .section-toolbar > .section-title,
#view-questionnaire > .section-toolbar > .section-title,
#view-workflow > .section-toolbar > .section-title,
#view-documents > .section-toolbar > .section-title,
#view-risk > .section-toolbar > .section-title,
#view-reports > .section-toolbar > .section-title,
#view-settings > .section-toolbar > .section-title{
  display:none !important;
}

#view-suppliers > .section-toolbar,
#view-restricted-list > .section-toolbar,
#view-direct-suppliers > .section-toolbar,
#view-profile > .section-toolbar,
#view-questionnaire > .section-toolbar,
#view-workflow > .section-toolbar,
#view-documents > .section-toolbar,
#view-risk > .section-toolbar,
#view-reports > .section-toolbar,
#view-settings > .section-toolbar{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  min-height:0 !important;
  margin-bottom:10px !important;
  padding:0 !important;
  gap:8px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

#view-suppliers > .section-toolbar > .toolbar-actions,
#view-restricted-list > .section-toolbar > .toolbar-actions,
#view-direct-suppliers > .section-toolbar > .toolbar-actions,
#view-profile > .section-toolbar > .toolbar-actions,
#view-questionnaire > .section-toolbar > .toolbar-actions,
#view-workflow > .section-toolbar > .toolbar-actions,
#view-documents > .section-toolbar > .toolbar-actions,
#view-risk > .section-toolbar > .toolbar-actions,
#view-reports > .section-toolbar > .toolbar-actions,
#view-settings > .section-toolbar > .toolbar-actions{
  margin-left:auto !important;
  justify-content:flex-end !important;
}

@media(max-width:760px){
  #view-suppliers > .section-toolbar,
  #view-restricted-list > .section-toolbar,
  #view-direct-suppliers > .section-toolbar,
  #view-profile > .section-toolbar,
  #view-questionnaire > .section-toolbar,
  #view-workflow > .section-toolbar,
  #view-documents > .section-toolbar,
  #view-risk > .section-toolbar,
  #view-reports > .section-toolbar,
  #view-settings > .section-toolbar{
    align-items:stretch !important;
  }
  #view-suppliers > .section-toolbar > .toolbar-actions,
  #view-restricted-list > .section-toolbar > .toolbar-actions,
  #view-direct-suppliers > .section-toolbar > .toolbar-actions,
  #view-profile > .section-toolbar > .toolbar-actions,
  #view-questionnaire > .section-toolbar > .toolbar-actions,
  #view-workflow > .section-toolbar > .toolbar-actions,
  #view-documents > .section-toolbar > .toolbar-actions,
  #view-risk > .section-toolbar > .toolbar-actions,
  #view-reports > .section-toolbar > .toolbar-actions,
  #view-settings > .section-toolbar > .toolbar-actions{
    width:100% !important;
  }
}
