/* Compact only the student Home on desktop. Shared/mobile styling stays intact. */
@media (min-width: 701px) {
  html:root .main:has(#roleWorkspaceView:not([hidden]) [data-role-group="class"]) {
    align-self: start;
    margin-block: 0;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) {
    max-width: 1180px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-welcome {
    min-height: 96px;
    padding: 16px 24px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-welcome h1 {
    font-size: 2rem;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-kicker {
    margin-bottom: 5px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-mark {
    width: 42px;
    height: 42px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-mark img {
    width: 28px;
    height: 28px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-welcome .home-logout {
    min-height: 44px;
    padding: 8px 10px;
    border-color: transparent;
    font-size: .85rem;
    font-weight: 400;
  }
  /* Keep the associated search label available to assistive technology without
     repeating the decorative wordmark above the greeting. */
  html:root #roleWorkspaceView:has([data-role-group="class"]) .space-search__brand--home {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .space-search {
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .role-workspace {
    max-width: none;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .role-workspace__grid {
    margin-top: 18px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .role-workspace__group {
    min-height: 230px;
    padding: 22px 24px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .role-workspace__group-title {
    margin-bottom: 16px;
  }
  html:root #roleWorkspaceView:has([data-role-group="class"]) .home-notifications {
    top: 104px;
  }
}
