.cp-report-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}

.cp-report-head small{
  color:#58e5ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}

.cp-report-head h1{
  margin:7px 0 6px;
  font-size:clamp(30px,3vw,44px);
  letter-spacing:-.045em;
}

.cp-report-head p{
  margin:0;
  max-width:760px;
  color:#a9c0ca;
  font-size:12px;
}

.cp-report-back{
  display:block;
  margin-bottom:13px;
  color:#7696a3;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}

.cp-report-kpis{
  display:grid;
  grid-template-columns:
    repeat(6,minmax(0,1fr));
  gap:10px;
  margin-bottom:13px;
}

.cp-report-kpi{
  position:relative;
  overflow:hidden;
  min-height:108px;
  padding:16px;
  border:1px solid
    rgba(88,229,255,.14);
  background:
    linear-gradient(
      145deg,
      rgba(16,38,48,.96),
      rgba(7,21,28,.98)
    );
}

.cp-report-kpi:after{
  content:"";
  position:absolute;
  top:-40px;
  right:-35px;
  width:90px;
  height:90px;
  border-radius:50%;
  background:
    radial-gradient(
      circle,
      rgba(88,229,255,.14),
      transparent 70%
    );
}

.cp-report-kpi small{
  display:block;
  color:#819ca7;
  font-size:8px;
  font-weight:900;
  letter-spacing:.07em;
}

.cp-report-kpi strong{
  display:block;
  margin:9px 0 4px;
  color:#58e5ff;
  font-size:28px;
}

.cp-report-kpi span{
  color:#89a4af;
  font-size:8px;
}

.cp-report-grid{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:12px;
}

.cp-report-card{
  position:relative;
  overflow:hidden;
  min-height:235px;
  padding:19px;
  border:1px solid
    rgba(88,229,255,.14);
  background:
    linear-gradient(
      145deg,
      rgba(15,36,46,.97),
      rgba(6,19,26,.99)
    );
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.cp-report-card:hover{
  transform:translateY(-2px);
  border-color:
    rgba(88,229,255,.55);
  box-shadow:
    0 18px 50px
    rgba(0,0,0,.28);
}

.cp-report-card.unavailable{
  opacity:.68;
}

.cp-report-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:20px;
}

.cp-report-icon{
  display:grid;
  place-items:center;
  width:45px;
  height:45px;
  border:
    1px solid
    rgba(88,229,255,.27);
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(88,229,255,.25),
      rgba(5,23,31,.92)
    );
  color:#58e5ff;
  font-weight:900;
}

.cp-report-status{
  padding:6px 8px;
  border:1px solid;
  font-size:7px;
  font-weight:900;
  letter-spacing:.07em;
}

.cp-report-status.online{
  border-color:
    rgba(98,224,174,.28);
  color:#62e0ae;
}

.cp-report-status.waiting{
  border-color:
    rgba(255,211,105,.28);
  color:#ffd369;
}

.cp-report-card>small{
  color:#5ee9ff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}

.cp-report-card h2{
  margin:6px 0 8px;
  font-size:21px;
}

.cp-report-card p{
  min-height:48px;
  margin:0;
  color:#94adb8;
  font-size:10px;
  line-height:1.55;
}

.cp-report-source{
  margin-top:13px;
  color:#ffd369;
  font-size:7px;
  font-weight:900;
}

.cp-report-open{
  position:absolute;
  left:19px;
  bottom:17px;
  color:#58e5ff;
  font-size:8px;
  letter-spacing:.06em;
}

.cp-report-chart-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:11px;
  margin-bottom:13px;
}

.cp-report-chart{
  min-height:255px;
  padding:18px;
  border:1px solid
    rgba(88,229,255,.14);
  background:
    linear-gradient(
      145deg,
      rgba(14,32,41,.97),
      rgba(6,19,25,.99)
    );
}

.cp-report-chart>small,
.cp-report-table-head small{
  color:#58e5ff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}

.cp-report-chart h3{
  margin:5px 0 18px;
  font-size:17px;
}

.cp-report-bars{
  display:flex;
  flex-direction:column;
  gap:13px;
}

.cp-report-bar>div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:4px;
  color:#b6cad2;
  font-size:9px;
}

.cp-report-bar svg{
  display:block;
  width:100%;
  height:8px;
}

.cp-report-bar .track{
  fill:rgba(255,255,255,.06);
}

.cp-report-bar .value{
  fill:#58e5ff;
}

.cp-report-table-card{
  padding:18px;
  border:1px solid
    rgba(88,229,255,.14);
  background:
    rgba(7,21,28,.97);
}

.cp-report-table-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:14px;
}

.cp-report-table-head h2{
  margin:4px 0 0;
  font-size:18px;
}

.cp-report-table-head>strong{
  color:#58e5ff;
  font-size:9px;
}

.cp-report-table-scroll{
  overflow:auto;
}

.cp-report-table{
  width:100%;
  min-width:980px;
  border-collapse:collapse;
}

.cp-report-table th,
.cp-report-table td{
  padding:11px;
  border-bottom:
    1px solid
    rgba(88,229,255,.08);
  text-align:left;
}

.cp-report-table th{
  color:#8099a4;
  font-size:7px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.cp-report-table td{
  color:#bfd0d7;
  font-size:9px;
}

.cp-report-table tbody tr:nth-child(even){
  background:
    rgba(255,255,255,.016);
}

.cp-report-table tbody tr:hover{
  background:
    rgba(88,229,255,.045);
}

.cp-report-offline{
  min-height:390px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px;
  border:
    1px dashed
    rgba(255,211,105,.27);
  background:
    radial-gradient(
      circle at center,
      rgba(255,211,105,.05),
      rgba(7,21,28,.96) 60%
    );
  text-align:center;
}

.cp-report-offline-icon{
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin-bottom:18px;
  border:
    1px solid
    rgba(255,211,105,.28);
  color:#ffd369;
  font-size:32px;
}

.cp-report-offline small{
  color:#ffd369;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}

.cp-report-offline h2{
  margin:8px 0;
}

.cp-report-offline p{
  max-width:620px;
  color:#91aab5;
  line-height:1.7;
}

.cp-report-export{
  padding:11px 15px;
  border:
    1px solid
    rgba(88,229,255,.2);
  background:
    rgba(6,20,27,.8);
}

.cp-report-export span{
  display:block;
  color:#58e5ff;
  font-size:9px;
  font-weight:900;
}

.cp-report-export small{
  color:#7f9aa5;
  font-size:7px;
}

@media(max-width:1200px){
  .cp-report-kpis{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

  .cp-report-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}

@media(max-width:780px){
  .cp-report-head{
    flex-direction:column;
  }

  .cp-report-kpis,
  .cp-report-grid,
  .cp-report-chart-grid{
    grid-template-columns:1fr;
  }
}

/* V8.2D-1.1 - ajuste cards aguardando fonte */

.cp-report-card.unavailable .cp-report-source {
  padding-bottom: 34px;
}

.cp-report-card.unavailable {
  min-height: 250px;
}


/* ==========================================================
   V8.2D-2 - EXPORTACOES
   ========================================================== */

.cp-report-export-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.cp-report-export-button{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 14px;
  border:1px solid rgba(88,229,255,.25);
  background:rgba(5,21,29,.90);
  font-size:8px;
  font-weight:900;
  letter-spacing:.06em;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.cp-report-export-button:hover{
  transform:translateY(-1px);
  border-color:rgba(88,229,255,.70);
  background:rgba(12,42,53,.96);
}

.cp-report-export-button strong{
  font-size:16px;
}

.cp-report-export-button.excel{
  color:#61DDAA;
}

.cp-report-export-button.pdf{
  color:#FF8195;
}

@media(max-width:780px){
  .cp-report-export-actions{
    width:100%;
  }

  .cp-report-export-button{
    flex:1;
    justify-content:center;
  }
}

