/* PE-Class v1.23.15 · 종목별 진도표의 기존 버튼 위치/기능 유지 */
body.subjectPlanApp #app :is(#deleteSubjectPlanRows, #mobileDeleteSubjectPlanRows) {
  border: 1px solid #f3b5b5 !important;
  background: #fff4f4 !important;
  color: #c53d3d !important;
  box-shadow: none !important;
}
body.subjectPlanApp #app :is(#addSubjectPlanRow, #mobileAddSubjectPlanRow) {
  border: 1px solid #cbd6e2 !important;
  background: #fff !important;
  color: #29415a !important;
  box-shadow: none !important;
}
body.subjectPlanApp #app :is(#saveSubjectPlanBtn, #mobileSaveSubjectPlan) {
  border: 1px solid #1f7a45 !important;
  background: #1f8b4c !important;
  color: #fff !important;
}
body.subjectPlanApp #app :is(#deleteSubjectPlanRows, #mobileDeleteSubjectPlanRows):disabled {
  opacity: .46 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
body.subjectPlanApp #app #deleteSubjectPlanRows .progressActionCount {
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  margin-left: 5px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(197, 61, 61, .12);
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  body.subjectPlanApp #mobileSubjectPlanHost .mobileSubjectPlanActions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.subjectPlanApp #mobileSubjectPlanHost .mobileSubjectPlanActions
  > :is(#mobileDeleteSubjectPlanRows, #mobileAddSubjectPlanRow, #mobileSaveSubjectPlan) {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 7px 4px !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  body.subjectPlanApp #mobileSubjectPlanHost .mobileSubjectPlanActions
  > .peSubjectReorderLaunch12271 {
    grid-column: 1 / -1 !important;
  }
}
