@media (max-width: 599px) {
  body:is(.tmo-inner, .route, .studio) main h1,
  .tmo-account-page main :is(.portal-login, .portal-top) h1 {
    min-width: 0;
    max-width: none;
    font-size: var(--tmo-phone-title-size, clamp(1.5rem, 7vw, 2.25rem));
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: wrap;
  }

  body:is(.tmo-inner, .route, .studio) main h1 br { display: none; }
  body:is(.tmo-inner, .route, .studio) main h1.tmo-phone-title-measuring { white-space: nowrap; }

  body:is(.tmo-inner, .route, .studio) main h2:not(:where(.portal-notifications-panel h2)),
  .tmo-account-page main .portal-panel h2 {
    font-size: clamp(1.25rem, 5.6vw, 1.625rem);
    line-height: 1.15;
    letter-spacing: -.04em;
  }

  body.tmo-inner main .tmo-request-aside h2 { font-size: clamp(1.125rem, 5.6vw, 1.375rem); }

  body:is(.tmo-inner, .route, .studio) main h3 {
    font-size: clamp(1.0625rem, 4.65vw, 1.25rem);
    line-height: 1.2;
    letter-spacing: -.025em;
  }
}
