/* PE-CLASS 1.20.45 · 진도표 엑셀 내보내기 버튼 전용 */
#app .progressExportHeaderActions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
}

#app .progressExportHeaderActions > .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

#app .progressExportHeaderActions > .progressExportBtn {
  min-width: 152px;
  border: 0 !important;
  background: #fff !important;
  color: #2980b9 !important;
  box-shadow: inset 0 0 0 1px #d7e4ef, 0 1px 2px rgba(15, 23, 42, .08) !important;
}

#app .progressExportHeaderActions > .progressExportBtn:hover:not(:disabled) {
  background: #f5faff !important;
  color: #1473e6 !important;
}

#app [data-progress-export][aria-busy="true"] {
  cursor: wait !important;
  opacity: .72;
}

@media (min-width: 769px) {
  #app .pe87PageHead > .progressExportHeaderActions {
    align-self: center;
  }
}

@media (max-width: 768px) {
  #app :is(.mobileSubjectPlanActions, .mobileClassProgressActions) > .mobileProgressExportBtn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #b7d8ef;
    border-radius: 10px;
    background: #f7fbff;
    color: #197bb8;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #app :is(.mobileSubjectPlanActions, .mobileClassProgressActions) > .mobileProgressExportBtn:active:not(:disabled) {
    background: #edf7ff;
  }
}
