
/* V411 - Kế toán thuế: biểu đồ chuyên nghiệp desktop + mobile */
.v411-chart-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
.v411-chart-card{
  min-width:0;
  overflow:hidden;
}
.v411-chart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.v411-chart-head h3{
  margin:0;
  font-size:14.5px;
  line-height:1.35;
  font-weight:650;
  color:var(--foreground);
}
.v411-chart-head p{
  margin:3px 0 0;
  font-size:10.5px;
  line-height:1.4;
  color:var(--muted-foreground);
}
.v411-chart-head>span{
  flex:none;
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px 7px;
  font-size:9.5px;
  font-weight:600;
  color:var(--muted-foreground);
  background:var(--card);
}
.v411-chart-card .recharts-wrapper{
  max-width:100%;
}
.v411-chart-card .recharts-default-tooltip{
  border-radius:8px!important;
}
@media(max-width:1100px){
  .v411-chart-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .v411-chart-grid{gap:9px}
  .v411-chart-card{
    padding:12px!important;
  }
  .v411-chart-head{
    margin-bottom:7px;
    gap:8px;
  }
  .v411-chart-head h3{
    font-size:13.5px;
  }
  .v411-chart-head p{
    font-size:10px;
  }
  .v411-chart-head>span{
    font-size:9px;
    padding:3px 6px;
  }
  .v411-chart-card .recharts-surface{
    overflow:visible;
  }
}
