/**
 * Snippet Name: BrightLeaf · MS — Student profile panels + message pop-up (CSS, view 230)
 * Generated: 2026-11-13 12:53:06
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* BrightLeaf · MS — Student profile: Entry Notes / Message History panels + message pop-up
   Page: /dashboard/adminstudents/entry/NNN/ (view 230 single entry, also its lightbox).
   Same behaviour as the parent profile (custom-css-js 6888, view 341). Scope: view 230 single entry only. */

/* Entry notes and message history start closed; the buttons open them */
html body .gv-list-single-container.gv-container-230 .gv-list-view-content-description > .parententrynotes:not(.ms-open),
html body .gv-list-single-container.gv-container-230 .gv-list-view-content-description > .messagehistory:not(.ms-open) {
  display: none !important;
}
html body .gv-list-single-container.gv-container-230 .crmbottombuttons.ms-active {
  background: var(--pe-primary-light, #0b3a66) !important;
}

/* Message form opens as a pop-up */
html body .gv-list-single-container.gv-container-230 #myMessageModal {
  display: none !important;
}
html body .gv-list-single-container.gv-container-230 #myMessageModal.ms-open {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  background: rgba(2, 35, 66, 0.55) !important;
  overflow-y: auto !important;
  padding: 48px 16px !important;
  margin: 0 !important;
}
html body .gv-list-single-container.gv-container-230 #myMessageModal .message-modal-content {
  position: relative !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  background: #fff !important;
  border-radius: 16px !important;
  padding: 28px 24px 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}
html body .gv-list-single-container.gv-container-230 #myMessageModal .message-close {
  position: absolute !important;
  top: 8px !important;
  right: 14px !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  color: #1b1b1b !important;
}
html body.ms-modal-open {
  overflow: hidden !important;
}
