/* RICHHOME original card style alignment */

/* 오더 상세: 기존 카드와 동일한 외형 */
.rh-site-schedule-summary {
  background:#fff !important;
  border:1px solid #dce2e8 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:20px 16px !important;
  margin:10px 0 !important;
}

.rh-site-schedule-summary > h3 {
  font-size:16px !important;
  font-weight:700 !important;
  color:#19344b !important;
  line-height:1.45 !important;
  margin:0 0 14px !important;
  letter-spacing:normal !important;
}

/* 기록: 기존 오더 상세 내부 영역과 통일 */
.rh-site-schedule-summary
[data-rh-site-records] article,
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child article {
  background:#f7f9fb !important;
  border:1px solid #e0e6ec !important;
  border-radius:6px !important;
  box-shadow:none !important;
  padding:13px !important;
  margin:9px 0 !important;
  font-size:14px !important;
  line-height:1.6 !important;
  color:#253b50 !important;
}

.rh-site-schedule-summary
[data-rh-site-records] article strong,
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child article strong {
  font-size:14px !important;
  line-height:1.5 !important;
  color:#243b51 !important;
}

/* 과거 내역: 기존 보조 메뉴 톤 */
.rh-site-schedule-summary
[data-rh-site-records] details,
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child details {
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:10px 0 !important;
  overflow:visible !important;
}

.rh-site-schedule-summary
[data-rh-site-records] summary,
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child summary {
  display:block !important;
  min-height:42px !important;
  box-sizing:border-box !important;
  padding:11px 12px !important;
  background:#f7f9fb !important;
  border:1px solid #dce4eb !important;
  border-radius:5px !important;
  color:#31546c !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.5 !important;
  box-shadow:none !important;
  cursor:pointer !important;
  list-style:revert !important;
}

.rh-site-schedule-summary
[data-rh-site-records] summary::after,
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child summary::after {
  content:none !important;
}

/* 오더 상세 버튼: 기존 작업사진 관리 스타일 */
.rh-site-schedule-summary
button[data-package-site-check-view] {
  display:block !important;
  width:100% !important;
  min-height:48px !important;
  margin:0 !important;
  padding:12px !important;
  background:#286381 !important;
  border:1px solid #286381 !important;
  border-radius:8px !important;
  box-shadow:none !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.5 !important;
}

/* 팝업: 추가기록 영역 정리 */
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child {
  background:#fff !important;
  border:1px solid #dce4eb !important;
  border-radius:8px !important;
  box-shadow:none !important;
  padding:14px !important;
  margin:10px 0 !important;
}

.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child > h3 {
  font-size:16px !important;
  color:#19344b !important;
  font-weight:700 !important;
  margin:0 0 13px !important;
}

/* 새 내용 추가: 동일한 리치홈 주요 버튼 */
.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child > button:not([hidden]) {
  display:block !important;
  width:100% !important;
  min-height:48px !important;
  margin:14px 0 0 !important;
  padding:11px 14px !important;
  background:#286381 !important;
  color:#fff !important;
  border:1px solid #286381 !important;
  border-radius:8px !important;
  box-shadow:none !important;
  font-size:15px !important;
  font-weight:700 !important;
}

.richhome-site-check.sc-package-detail
.sc-scroll > section.sc-field:first-child > button[hidden] {
  display:none !important;
}

/* 모바일 간격 */
@media(max-width:600px) {
  .rh-site-schedule-summary {
    padding:17px 14px !important;
  }

  .rh-site-schedule-summary > h3 {
    font-size:16px !important;
  }
}
