
/* Layered important declarations take precedence over legacy component sizes. */
@layer mcb-typography {
  :root {
    --mcb-font-family: system-ui;
    --mcb-size-h1: 2.5rem;
    --mcb-size-h2: 1rem;
  }

  html {
    font-size: 100% !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body,
  body * {
    font-family: var(--mcb-font-family) !important;
    font-size: var(--mcb-size-h2) !important;
  }

  h1,
  h1 * {
    font-size: var(--mcb-size-h1) !important;
  }

  body *::before,
  body *::after,
  body *::marker,
  input::placeholder,
  textarea::placeholder {
    font-family: inherit !important;
    font-size: inherit !important;
  }
}
/* Let larger labels wrap without reducing their font size. */
.ace-header .dd-desc {
  white-space: normal;
  overflow-wrap: anywhere;
}

.ace-header .brand-icon span {
  width: 8px;
  height: 8px;
  top: 4px;
  right: 4px;
  background: #bde8ff;
  color: transparent;
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

@media (max-width: 360px) {
  .ace-header .ace-chapters {
    margin-inline: 6px;
  }

  .ace-header .p-pill {
    padding-inline: 0 !important;
  }

  .ppg-mindset-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}
