/* Restore the pre-enlargement scale for headings and subheadings only. */
.eyebrow {
  font-size: 10px;
}

.page-heading h1,
.blank-page h1,
.account-heading h1 {
  font-size: 30px;
}

.panel-heading h2 {
  font-size: 20px;
}

.invoice-queue-panel .panel-heading h2 {
  font-size: 16px;
}

.queue-card h3 {
  font-size: 13px;
}

.page-subtitle {
  font-size: 12px;
}

.customer-tax-heading p {
  font-size: 11px;
}

.invoice-section-heading p {
  font-size: 10px;
}

.job-section-heading > span {
  font-size: 11px;
}

.settings-card h2 {
  font-size: 18px;
}

.entity-timecard-day h4,
.timecard-day-heading {
  font-size: 9px;
}

@media (max-width: 760px) {
  .page-heading h1,
  .invoice-editor-heading h1,
  .blank-page h1 {
    font-size: clamp(20px, 8vw, 26px);
  }

  .schedule-page .page-heading h1 {
    font-size: 24px;
  }

  .panel-heading h2 {
    font-size: 17px;
  }

  .my-schedule-heading h1 {
    font-size: 25px;
  }

  .my-schedule-heading p:last-child {
    font-size: 12px;
  }

  .my-work-queue h2,
  .my-day-card h2 {
    font-size: 18px;
  }

  .my-day-card > header small {
    font-size: 10px;
  }
}

@media (max-width: 520px) {
  .account-heading h1 {
    font-size: 25px;
  }
}
