/* SAFE V90 — scoped light contact notice contrast in dark student detail. */
#view-detail .student-contact-warning-v33 {
  background:#fff8e9!important;
  color:#644816!important;
  border-color:#e6c98e!important;
  border-left-color:#b9822f!important;
}
#view-detail .student-contact-warning-v33 b {
  color:#644816!important;
  opacity:1!important;
}
#view-detail .student-contact-warning-v33 span {
  color:#7a643d!important;
  opacity:1!important;
}
#view-detail .student-contact-warning-v33 .student-contact-action-v33 {
  background:#f1e6cd!important;
  color:#624819!important;
  border-color:#ddc795!important;
}

/* SAFE V91: desktop service-only profile contrast and navigation visibility. */
#view-detail .service-customer-tabbar-safe-v91 {
  display:flex!important;
  flex-wrap:wrap;
  overflow:visible;
  position:static;
  gap:10px;
  background:transparent!important;
}
#view-detail .service-customer-tabbar-safe-v91 .student-tab {
  min-width:110px;
  background:#303139!important;
  color:#f4f4f6!important;
  border:1px solid #555963!important;
}
#view-detail .service-customer-tabbar-safe-v91 .student-tab.active {
  background:#274734!important;
  color:#e8fff0!important;
  border-color:#4b7b5b!important;
}
#view-detail .student-summary-card .actions button.ghost {
  background:#303640!important;
  color:#f4f4f6!important;
  border:1px solid #59616d!important;
}
#view-detail [data-student-panel="profile"] {
  min-width:0;
  overflow-wrap:anywhere;
}
#view-detail [data-student-panel="profile"] input,
#view-detail [data-student-panel="profile"] textarea {
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
