.ce-export-filter { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ce-export-filter label { flex: 1; min-width: 0; max-width: 660px; }
.ce-export-filter select { width: 100%; margin: 4px 0 0; }
.ce-export-filter strong { white-space: nowrap; padding-bottom: 10px; }
.ce-sms-draft { padding: 12px 0; border-block: 1px solid #d1dee3; margin-bottom: 12px; }
.ce-sms-draft header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ce-sms-draft output { font-size: .8rem; color: #526675; }
.ce-sms-draft textarea, .ce-export-feedback textarea { display: block; box-sizing: border-box; width: 100%; min-height: 82px; resize: vertical; margin: 8px 0; padding: 10px; font-family: inherit; font-size: .9rem; line-height: 1.5; }
.ce-sms-draft small { display: block; color: #526675; font-size: .75rem; }
.ce-export-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.ce-export-tools button, #course-report-detail-excel { width: auto; margin: 0; min-height: 40px; }
.ce-export-students .analytics-table { width: 100%; min-width: 0; table-layout: fixed; }
.ce-export-students th:first-child { width: 22%; }
.ce-export-students th:nth-child(2) { width: 52%; }
.ce-export-students th:last-child { width: 26%; }
.ce-export-students th { white-space: normal; overflow-wrap: anywhere; }
.ce-export-students td { overflow-wrap: anywhere; white-space: normal; }
.ce-export-feedback { color: #8b2430; font-size: .85rem; padding-top: 8px; }
.course-report-modal-dialog > header > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.course-report-modal-dialog > header .btn-outline { display: inline-flex; width: auto; align-items: center; justify-content: center; }
@media(max-width:600px) {
  .ce-chart-output.ce-with-excel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ce-chart-output.ce-with-excel button { font-size: 12px; padding: 8px; }
  .ce-export-filter { align-items: stretch; flex-direction: column; gap: 4px; }
  .ce-export-filter strong { padding: 0; }
  .course-report-modal-dialog > header { flex-wrap: wrap; }
  .course-report-modal-dialog > header > div { min-width: 0; }
}
