/* PE-Class v1.15.89
 * iPad 수행평가 점수 조작부를 PAPS 입력칸과 같은 정렬 원리로 배치합니다.
 * 셀이 text-align:center를 담당하고, 조작부 자체는 inline-grid 한 묶음으로
 * 배치해 이전 flex/absolute/좌표 보정의 영향을 받지 않게 합니다.
 */
@media (min-width:769px) and (max-width:1366px) {
  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox .premiumAssessmentScoreCell {
    text-align:center !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentScoreCell > .scoreControl {
    position:static !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 0 12px !important;
    padding:0 !important;
    text-align:center !important;
    overflow:visible !important;
    transform:none !important;
    box-sizing:border-box !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentScoreCell .premiumAssessmentControlInner {
    position:static !important;
    inset:auto !important;
    display:inline-grid !important;
    grid-template-columns:26px 52px 26px !important;
    grid-template-rows:39px !important;
    gap:12px !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    float:none !important;
    vertical-align:middle !important;
    box-sizing:border-box !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentControlInner > .assessInput {
    width:52px !important;
    min-width:52px !important;
    max-width:52px !important;
    height:39px !important;
    margin:0 !important;
    padding:0 3px !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentControlInner > button {
    width:26px !important;
    min-width:26px !important;
    max-width:26px !important;
    height:30px !important;
    min-height:30px !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
}

@media (min-width:769px) and (max-width:1180px) {
  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentScoreCell .premiumAssessmentControlInner {
    grid-template-columns:22px 48px 22px !important;
    grid-template-rows:36px !important;
    gap:8px !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentControlInner > .assessInput {
    width:48px !important;
    min-width:48px !important;
    max-width:48px !important;
    height:36px !important;
  }

  html.pe87Ipad:not(.pe87FoldWide) #assessTableBox
  .premiumAssessmentControlInner > button {
    width:22px !important;
    min-width:22px !important;
    max-width:22px !important;
    height:28px !important;
    min-height:28px !important;
  }
}
