/* ========================================================================
   EDUHUNT R435 — Principal Dashboard Upcoming Exam Typography
   Scope: Principal Portal only, mobile + tablet only.
   Desktop and all business/data logic remain unchanged.
   ======================================================================== */
@media (max-width:1024px){
  /* UPCOMING EXAMS: date line — +3px from the R434 size. */
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam > .eyebrow{
    font-size:18px!important;
    line-height:1.18!important;
    font-weight:950!important;
    letter-spacing:.035em!important;
    white-space:nowrap!important;
  }

  /* Keep the complete CDF exam information in one horizontal row. */
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf{
    display:grid!important;
    grid-template-columns:max-content max-content max-content minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:6px!important;
    row-gap:0!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  /* Test name: R434 16px -> R435 18px. */
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > h3{
    margin:0!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }

  /* Class / Subject / Chapter: R434 12px -> R435 14px. */
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-classes,
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-subject,
  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-chapter{
    margin:0!important;
    font-size:14px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }

  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-classes{
    font-weight:900!important;
  }

  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-subject{
    font-weight:850!important;
  }

  body[data-portal-role="PRINCIPAL"][data-portal-module="dashboard"]
  .principal-next-exam-list--grouped > article.is-cdf > .principal-next-exam-chapter{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-weight:650!important;
  }
}
