/* Final launch audit: keep compact action menus and document previews inside
   every supported phone viewport without changing their desktop layout. */
@media (max-width: 720px) {
  .people-person-heading {
    position: relative;
    width: 100%;
  }

  .people-person-heading .people-quick-menu {
    position: static;
  }

  .people-person-heading .people-quick-menu .more-menu-panel {
    position: fixed;
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(60vh, 420px);
  }
}

@media (max-width: 780px) {
  .transcript-document-viewport {
    margin-inline: -12px;
  }
}

/* Empty activity rows contain bare text rather than the icon/content/time
   children used by populated rows, so they must not inherit the three-column
   activity grid. */
.parent-activity-list > li.utility-muted {
  display: block;
  min-width: 0;
  overflow-wrap: normal;
}

/* The gradebook header can have six or more management actions. Preserve a
   readable title column and let the action group wrap before a whole word is
   split by the global long-value safety rule. */
.gradebook-page-header > div:first-child {
  flex: 1 0 220px;
}

.gradebook-page-header h1 {
  width: max-content;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}


/* Shared Sharpena platform branding: supplied official assets only. */
.platform-public-brand {
  gap: 12px;
}

.platform-wordmark {
  display: block;
  width: clamp(150px, 18vw, 194px);
  height: auto;
}

.platform-public-brand .public-brand-copy {
  display: grid;
  gap: 0;
}

.platform-public-brand .public-brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.platform-login-brand-mark,
.platform-login-card-mark {
  padding: 4px;
  overflow: hidden;
  background: #f4f8fc;
}

.platform-login-brand-mark img,
.platform-login-card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 520px) {
  .platform-wordmark {
    width: 156px;
  }
}
