/* PE-Class v1.20.67 — PAPS recovered-table production front parity */

#papsTableBox[data-paps-frontend-pending="12067"]{
  position:relative!important;
  min-height:clamp(240px,45vh,560px)!important;
  overflow:hidden!important;
}

#papsTableBox[data-paps-frontend-pending="12067"]>*{
  visibility:hidden!important;
}

#papsTableBox[data-paps-frontend-pending="12067"]::after{
  content:"PAPS 불러오는 중...";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#71869a;
  font-size:13px;
  font-weight:800;
}

#papsTableBox .papsDynamicProductionTable td[data-label="BMI 점수"]>.bmiValue{
  display:block!important;
  width:100%!important;
  margin:0!important;
  text-align:center!important;
}

#papsTableBox .papsDynamicProductionTable td[data-label="BMI 점수"]>.papsGrade{
  margin:5px auto 0!important;
}

html[data-pe-foundation] :is(#papsTableBox .papsDynamicProductionTable,.mobilePapsStudentCard[data-paps-dynamic-signature],.foldPapsDetailModal) :is(.papsGrade.g1,.papsGrade.bmiThin){
  background:linear-gradient(145deg,#14b88f,#078267)!important;
  color:#fff!important;
}

html[data-pe-foundation] :is(#papsTableBox .papsDynamicProductionTable,.mobilePapsStudentCard[data-paps-dynamic-signature],.foldPapsDetailModal) :is(.papsGrade.g2,.papsGrade.bmiNormal){
  background:linear-gradient(145deg,#4a9cf5,#2567c7)!important;
  color:#fff!important;
}

html[data-pe-foundation] :is(#papsTableBox .papsDynamicProductionTable,.mobilePapsStudentCard[data-paps-dynamic-signature],.foldPapsDetailModal) :is(.papsGrade.g3,.papsGrade.bmiOver){
  background:linear-gradient(145deg,#ff9a4e,#e36025)!important;
  color:#fff!important;
}

html[data-pe-foundation] :is(#papsTableBox .papsDynamicProductionTable,.mobilePapsStudentCard[data-paps-dynamic-signature],.foldPapsDetailModal) :is(.papsGrade.g4,.papsGrade.bmiMild){
  background:linear-gradient(145deg,#ef6f6a,#c8423d)!important;
  color:#fff!important;
}

html[data-pe-foundation] :is(#papsTableBox .papsDynamicProductionTable,.mobilePapsStudentCard[data-paps-dynamic-signature],.foldPapsDetailModal) :is(.papsGrade.g5,.papsGrade.bmiHigh,.papsGrade.bmiUnknown){
  background:linear-gradient(145deg,#8d9dad,#647586)!important;
  color:#fff!important;
}
