/* Dev Schotan — rodapé global espelhado no index */
.ds-global-footer.footer{
  width:100%!important;
  margin:0!important;
  padding:60px 0 26px!important;
  border:0!important;
  border-top:1px solid #17232c!important;
  background:#020507!important;
  color:#e9f1f5!important;
  font-family:Inter,Sora,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  position:relative!important;
  z-index:2!important;
  box-shadow:none!important;
}
.ds-global-footer *{box-sizing:border-box!important}
.ds-global-footer .ds-footer-container{
  width:min(calc(100% - 48px),1220px)!important;
  max-width:1220px!important;
  margin:0 auto!important;
  padding:0!important;
}
.ds-global-footer .ds-footer-grid{
  display:grid!important;
  grid-template-columns:minmax(0,2.1fr) minmax(150px,1fr) minmax(190px,1.1fr)!important;
  gap:64px!important;
  align-items:start!important;
}
.ds-global-footer .ds-footer-col{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:10px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.ds-global-footer .ds-footer-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:12px!important;
  text-decoration:none!important;
  color:#fff!important;
  margin:0 0 8px!important;
}
.ds-global-footer .ds-footer-brand img{width:40px!important;height:40px!important;object-fit:contain!important;display:block!important}
.ds-global-footer .ds-footer-brand-copy{display:flex!important;flex-direction:column!important;line-height:1.1!important}
.ds-global-footer .ds-footer-brand-copy strong{font-size:.98rem!important;color:#fff!important;font-weight:800!important;margin:0!important}
.ds-global-footer .ds-footer-brand-copy small{font-size:.66rem!important;color:#708491!important;margin-top:4px!important}
.ds-global-footer .ds-footer-desc{max-width:470px!important;color:#748795!important;margin:2px 0 0!important;font-size:.82rem!important;line-height:1.65!important}
.ds-global-footer .ds-footer-title{display:block!important;color:#f0f5f7!important;font-size:.82rem!important;font-weight:800!important;margin:2px 0 5px!important}
.ds-global-footer a.ds-footer-link{color:#8ea1af!important;text-decoration:none!important;font-size:.8rem!important;line-height:1.45!important;transition:color .18s ease!important;background:none!important;border:0!important;padding:0!important;min-height:0!important;box-shadow:none!important}
.ds-global-footer a.ds-footer-link:hover{color:#64f09a!important}
.ds-global-footer .ds-footer-bottom{
  border-top:1px solid #17232c!important;
  margin-top:40px!important;
  padding-top:20px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
  color:#667b89!important;
  font-size:.72rem!important;
  line-height:1.7!important;
}
.ds-global-footer .ds-footer-legal{display:flex!important;justify-content:flex-end!important;gap:5px 10px!important;flex-wrap:wrap!important;max-width:760px!important}
.ds-global-footer .ds-footer-legal a{color:#718693!important;text-decoration:none!important;white-space:nowrap!important}
.ds-global-footer .ds-footer-legal a:hover{color:#64f09a!important}
@media(max-width:800px){
 .ds-global-footer.footer{padding:46px 0 24px!important}
 .ds-global-footer .ds-footer-container{width:min(calc(100% - 32px),1220px)!important}
 .ds-global-footer .ds-footer-grid{grid-template-columns:1fr 1fr!important;gap:34px 28px!important}
 .ds-global-footer .ds-footer-col:first-child{grid-column:1/-1!important}
 .ds-global-footer .ds-footer-bottom{flex-direction:column!important;gap:12px!important}
 .ds-global-footer .ds-footer-legal{justify-content:flex-start!important}
}
@media(max-width:520px){
 .ds-global-footer .ds-footer-grid{grid-template-columns:1fr!important;gap:28px!important}
 .ds-global-footer .ds-footer-col:first-child{grid-column:auto!important}
 .ds-global-footer .ds-footer-legal{gap:6px 12px!important}
 .ds-global-footer .ds-footer-legal a{white-space:normal!important}
}

/* V124 — rodapé sempre depois do conteúdo do painel profissional */
html:has(body.professional-shell){min-height:100%}
body.professional-shell{min-height:100vh!important;display:flex!important;flex-direction:column!important}
body.professional-shell>.main{flex:1 0 auto!important;width:calc(100% - 240px)!important}
body.professional-shell>.ds-global-footer.footer{flex-shrink:0!important;margin-top:auto!important;margin-left:240px!important;width:calc(100% - 240px)!important}
@media(max-width:720px){body.professional-shell>.main{width:100%!important}body.professional-shell>.ds-global-footer.footer{margin-left:0!important;width:100%!important}}

/* V125 — painel profissional sem overflow horizontal, largura sincronizada com a sidebar */
body.professional-shell{--professional-sidebar-width:240px;overflow-x:hidden!important;max-width:100vw!important}
body.professional-shell>.main{
  margin-left:var(--professional-sidebar-width)!important;
  width:calc(100vw - var(--professional-sidebar-width))!important;
  max-width:calc(100vw - var(--professional-sidebar-width))!important;
  min-width:0!important;
  overflow-x:hidden!important;
}
body.professional-shell>.main>.view,
body.professional-shell>.main>.view.active{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.professional-shell>.ds-global-footer.footer{
  margin-left:var(--professional-sidebar-width)!important;
  width:calc(100vw - var(--professional-sidebar-width))!important;
  max-width:calc(100vw - var(--professional-sidebar-width))!important;
  overflow:hidden!important;
}
body.professional-shell>.ds-global-footer.footer .ds-footer-container{
  width:min(calc(100% - 48px),100%)!important;
  max-width:none!important;
}
body.professional-shell .stats,
body.professional-shell .stats-extended,
body.professional-shell .overview-grid,
body.professional-shell .commercial-kpis,
body.professional-shell .overview-operation-grid,
body.professional-shell .customer-toolbar,
body.professional-shell .editor-grid,
body.professional-shell .data-list{
  min-width:0!important;
  max-width:100%!important;
}
@media(min-width:1600px){body.professional-shell{--professional-sidebar-width:280px}}
@media(min-width:2400px){body.professional-shell{--professional-sidebar-width:330px}}
@media(max-width:1100px) and (min-width:721px){body.professional-shell{--professional-sidebar-width:210px}}
@media(max-width:720px){
  body.professional-shell{--professional-sidebar-width:0px}
  body.professional-shell>.main{margin-left:0!important;width:100%!important;max-width:100%!important}
  body.professional-shell>.ds-global-footer.footer{margin-left:0!important;width:100%!important;max-width:100%!important}
  body.professional-shell>.ds-global-footer.footer .ds-footer-container{width:calc(100% - 32px)!important}
}
.ds-install-link{appearance:none;background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer}
