/* V79 — gráfico diário isolado e barra comercial clara, sem sobreposição do período. */
body.ux-v79 #campaign-daily-wrapper-v73 .profile-chart-daily{
  min-height:0!important;
}
body.ux-v79 #campaign-daily-wrapper-v73 .profile-chart-daily .profile-chart-canvas{
  position:relative!important;
  height:340px!important;
  min-height:340px!important;
  max-height:340px!important;
  overflow:hidden!important;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:11px 0 2px;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat{
  min-width:0;
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.13);
  border-radius:12px;
  background:rgba(15,23,42,.62);
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat span{
  display:block;
  color:#8292B2;
  font-size:8px;
  font-weight:850;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat strong{
  display:block;
  margin-top:4px;
  color:#F5F7FF;
  font-size:18px;
  line-height:1.1;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat small{
  display:block;
  margin-top:4px;
  color:#94A3B8;
  font-size:8px;
  line-height:1.35;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-empty{
  position:absolute;
  inset:18px;
  display:none;
  place-items:center;
  padding:28px;
  border:1px dashed rgba(148,163,184,.20);
  border-radius:14px;
  background:rgba(8,13,26,.72);
  color:#94A3B8;
  text-align:center;
  font-size:11px;
  line-height:1.55;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-empty.open{display:grid}

/* O rodapé comercial é único e sempre legível. */
body.ux-v79 .v64-consultant-footer{display:none!important}
body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
  display:grid!important;
  position:fixed!important;
  left:var(--app-sidebar-width,286px)!important;
  right:0!important;
  bottom:0!important;
  z-index:1840!important;
  height:88px!important;
  min-height:88px!important;
  grid-template-columns:minmax(500px,1fr) minmax(500px,610px)!important;
  align-items:center!important;
  gap:14px!important;
  padding:10px 18px!important;
  border-top:1px solid rgba(96,165,250,.22)!important;
  background:rgba(7,12,24,.985)!important;
  box-shadow:0 -18px 42px rgba(0,0,0,.48)!important;
  backdrop-filter:blur(16px)!important;
}
body.sidebar-collapsed.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
  left:var(--app-sidebar-collapsed,82px)!important;
}
body.ux-v79.commercial-footer-visible-v79 .main-container{
  padding-bottom:122px!important;
}
body.ux-v79 .v64-footer-modes{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  height:66px!important;
  padding:5px!important;
  border:1px solid rgba(148,163,184,.15)!important;
  border-radius:15px!important;
  background:#0D1425!important;
}
body.ux-v79 .v64-footer-mode{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:9px!important;
  min-width:0!important;
  height:56px!important;
  padding:6px 10px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#B7C3D9!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.ux-v79 .v64-footer-mode:hover{
  border-color:rgba(96,165,250,.18)!important;
  background:rgba(255,255,255,.045)!important;
  color:#F8FAFC!important;
}
body.ux-v79 .v64-footer-mode.active{
  border-color:rgba(96,165,250,.48)!important;
  background:linear-gradient(135deg,rgba(37,99,235,.30),rgba(124,58,237,.27))!important;
  color:#FFFFFF!important;
  box-shadow:inset 0 -3px 0 rgba(96,165,250,.85),0 8px 20px rgba(37,99,235,.12)!important;
}
body.ux-v79 .v64-footer-mode i{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.075)!important;
  color:#DDE8FF!important;
  font-style:normal!important;
  font-size:14px!important;
}
body.ux-v79 .v64-footer-mode .v79-mode-copy{min-width:0!important}
body.ux-v79 .v64-footer-mode .v79-mode-copy strong{
  display:block!important;
  color:inherit!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.15!important;
  white-space:normal!important;
}
body.ux-v79 .v64-footer-mode .v79-mode-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#8292B2!important;
  font-size:7.5px!important;
  font-weight:650!important;
  line-height:1.15!important;
  white-space:normal!important;
}
body.ux-v79 .v64-footer-mode.active .v79-mode-copy small{color:#BFD5FF!important}
body.ux-v79 .v64-footer-tools{
  display:grid!important;
  grid-template-columns:auto minmax(190px,1fr) auto auto!important;
  align-items:center!important;
  gap:9px!important;
  height:66px!important;
}
body.ux-v79 .v64-footer-profile{
  height:48px!important;
  min-width:148px!important;
  max-width:190px!important;
}
body.ux-v79 .v64-footer-select label{
  color:#91A2C0!important;
  font-size:8px!important;
  font-weight:850!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
body.ux-v79 .v64-footer-select select,
body.ux-v79 .v64-footer-action{
  height:42px!important;
  min-height:42px!important;
  font-size:10px!important;
}
body.ux-v79 .v64-footer-action{padding-inline:13px!important}

/* O período permanece no canto inferior direito, mas sobe acima do rodapé comercial. */
body.ux-v79.commercial-footer-visible-v79 #floating-period-indicator-v78{
  max-width:315px!important;
}
body.ux-v79.commercial-footer-visible-v79 .period-comparison-strip-v76{
  bottom:174px!important;
}

@media(max-width:1280px){
  body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
    grid-template-columns:minmax(450px,1fr) minmax(410px,500px)!important;
    padding-inline:10px!important;
  }
  body.ux-v79 .v64-footer-profile{display:none!important}
  body.ux-v79 .v64-footer-tools{grid-template-columns:minmax(180px,1fr) auto auto!important}
}
@media(max-width:900px){
  body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
    left:0!important;
    height:154px!important;
    min-height:154px!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:8px!important;
  }
  body.ux-v79 .v64-footer-modes,body.ux-v79 .v64-footer-tools{height:64px!important}
  body.ux-v79 .v64-footer-mode{height:54px!important;padding:5px 7px!important;grid-template-columns:28px minmax(0,1fr)!important;gap:6px!important}
  body.ux-v79 .v64-footer-mode i{width:28px!important;height:28px!important;font-size:12px!important}
  body.ux-v79 .v64-footer-mode .v79-mode-copy strong{font-size:9px!important}
  body.ux-v79 .v64-footer-mode .v79-mode-copy small{display:none!important}
  body.ux-v79.commercial-footer-visible-v79 .main-container{padding-bottom:186px!important}
  body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-summary{grid-template-columns:1fr!important}
}