@media screen {
  html, body {
    color: var(--color-text);
    background: var(--color-background);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: 1.4286;
  }

  button, input, select, textarea, option { font-family: var(--font-primary); }
  :where(.app-shell, .login-shell, .mk-shell, .field-shell) :is(h1, h2, h3, h4, h5, h6, p, b, strong, small, span, label, button, input, select, textarea, th, td, a) {
    font-family: var(--font-primary);
  }
  body :where(h1, h2, h3, h4, p) { overflow-wrap: break-word; }
  body :where(.page-head h1, .mk-title h1, .title h1) {
    margin-block: 0;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    line-height: 34px;
    letter-spacing: -0.02em;
  }
  body :where(.modal h2, .mk-modal-head h2, .client-modal-header h2) {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    line-height: 28px;
  }
  body :where(.panel-head h2, .panel-head h3, .section h2) {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    line-height: 24px;
  }
  body :where(.page-head p, .mk-title p, .title p, .sub, .hint) {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 20px;
  }
  body :where(.eyebrow, .mk-title > div > small, .hero small, .title small) {
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    line-height: 16px;
  }
  body .login-brand-panel h1,
  body .login-card h2 {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    line-height: 34px;
    letter-spacing: -0.02em;
  }
  :where(button, a, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}
